Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
54 user(s) are online (50 user(s) are browsing Forums)

Members: 2
Guests: 52

sinisrus, Skateman, more...

Support us!

Headlines

 
  Register To Post  

KingCON buffer! How make it bigger ?
Quite a regular
Quite a regular


See User information
Hello,

I'm using KingCON on AOS4 but the size of the log/history showed isn't enough big.

- How can I increase the size buffer of kingCON ?

A1200+Mediator+VooDoo3+060/50+96mo+IIYAMA 17"+CD,CDRW,ZIP SCSI-KIT
SAM440EP on Mapower 3000+AOS4.1

Amiga Docs Disk Preservation Project
Go to top
Re: KingCON buffer! How make it bigger ?
Just can't stay away
Just can't stay away


See User information
@mrodfr

I don't use KingCON myself, so I can't answer directly. But if you have a problem reading output from an exe, then you can try and redirect the output to a file, like this:

> yourapp >log.txt

Or if your app writes to the error out channel you can use:

> yourapp *>log.txt

And then just read log.txt with notepad.

Go to top
Re: KingCON buffer! How make it bigger ?
Not too shy to talk
Not too shy to talk


See User information
@mrodfr

I just needed to do this myself. The buffer defaults to 64Kb, to change it, set this variable in a shell, setenv KCon.prefs /////MAXBUF -128, thats 5 slashes & sets the buffer to 128Kb. There are other settings you can set between the slashes, but I had no need to do that. Make sure you save the file to SYS:Prefs/Env-Archive so you don't need to set the variable on every boot.

Look, only one leg, count em, one!
X1000/PA6T@1800MHz/2Gb/Radeon 4850

Go to top
Re: KingCON buffer! How make it bigger ?
Home away from home
Home away from home


See User information
I use .../MAXBUF1024/...

I believe that sets the buffer to 1MB!

Author of the PortablE programming language.
Go to top
Re: KingCON buffer! How make it bigger ?
Quite a regular
Quite a regular


See User information
Hello,

Thanks to all (and specially to sundown) ! this is all I need.

In fact, I don't think I have 64kb (because filled rapidly). Will check that this day.


EDIT:

More informations on the....manual

http://aminet.net/package/util/shell/KingCON_404

A1200+Mediator+VooDoo3+060/50+96mo+IIYAMA 17"+CD,CDRW,ZIP SCSI-KIT
SAM440EP on Mapower 3000+AOS4.1

Amiga Docs Disk Preservation Project
Go to top
Re: KingCON buffer! How make it bigger ?
Quite a regular
Quite a regular


See User information
Hello,

I'm trying to use the KCon.prefs setting on env-archive, with personnal CON size and ALT size, a new shell titlescreen,.....

on the User-startup-sequence:

;BEGIN KingCon shell
assign CON: DISMOUNT
assign RAW: DISMOUNT
mount CON: from DEVS:KingCON-mountlist
mount RAW: from DEVS:KingCON-mountlist
;END KingCon shell

I have the handler and the mountlist well installed.


But the result is a allways a normal shell with dimensions from the icon of the shell program by itself.

- How can I allways use KCON: with AOS4 ?

A1200+Mediator+VooDoo3+060/50+96mo+IIYAMA 17"+CD,CDRW,ZIP SCSI-KIT
SAM440EP on Mapower 3000+AOS4.1

Amiga Docs Disk Preservation Project
Go to top
Re: KingCON buffer! How make it bigger ?
Quite a regular
Quite a regular


See User information
@Mrodfr

I do not know how to do this with a prefs file, but the following works for me with KingCON version 1.8 ...

The Shell icon has a tool type
WINDOW=CON:50/50/600/350/AmigaShell/CLOSE

I changed my User-Startup sequence to match yours,
and changed the tool types on the Shell icon.

WINDOW=CON:/50//350/AmigaShell/CLOSE
This gives me a window called AmigaShell that is as wide as the screen and has KingCON menus, scrollbar and gadgets.

WINDOW=CON:/50//350//CLOSE
This gives me a window called KingCON that is as wide as the screen and has KingCON menus, scrollbar and gadgets.

---
redfox
MicroA1 + AmigaOS 4.1 Update 2
KingCON version 1.8 ( also known as KingCON (68020) 1.8 )

PS --

Normally I use the normal AmigaShell and use KingCON with my ARexx programs, so I use a slightly different User-Startup sequence that allows me to preserve the normal AmigaShell but also use KingCON when I want to have a scrollable console window.

;This mounts KCON and KRAW
if exists DEVS:KingCON-mountlist
Mount KCON: from DEVS:KingCON-mountlist
Mount KRAW: from DEVS:KingCON-mountlist
endif

This way I can use a KingCON Shell icon with the following tool types
WINDOW=KCON:/50//350//CLOSE

It also allows me to use CON: or KCON: with my ARexx programs.


Edited by redfox on 2011/5/28 23:04:23
Edited by redfox on 2011/5/28 23:07:01
Edited by redfox on 2011/5/28 23:09:16
Go to top
Re: KingCON buffer! How make it bigger ?
Quite a regular
Quite a regular


See User information
I played a bit with a KCON.prefs file.

0/50///Testing/ALT0/50//100/MAXBUF-128/CLOSE

This opens a full width window called Testing with all the normal KingCON gadgets. Aternate size is same width but smaller top to bottom.

Clicking on the Zoom gadget selects the alternative size. Clicking Zoom again restores the window to the normal size.

If I iconify the window while it is in the normal size, the Zoom gadget works ok after I restore the window to normal operation.

If I click the Zoom gadget to make the window smaller and then iconify, it goes back to the smaller size when I restore normal operation and the Zoom gadget no longer works as expected. The system seems to ignore the Zoom gadget. If I stretch the window using the Sizing gadget, then I can use the Zoom gadget again after that. Sizing gadget seems to wake up the system again.

---
redfox


Edited by redfox on 2011/5/29 15:07:01
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project