amiga.org
     
iconAll times are GMT -6. The time now is 02:15 PM. | Welcome to Forum, please register to access all of our features.

» Amiga.org » Amiga computer related discussion » Amiga Software Issues and Discussion » CLI size?

Amiga Software Issues and Discussion This forum exists for the discussion of the use, issues with, and fun brought about by classic and next generation Amiga software.

Reply
 
Thread Tools Display Modes
Old 12-10-2002, 11:28 AM   #1
Dagon
Cult Member
Points: 6,227, Level: 51 Points: 6,227, Level: 51 Points: 6,227, Level: 51
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2002
Posts: 612
Default CLI size?

Hi, how can I set the default size of AmigaShell? I know that this can be set as a tooltype on the CLI icon but I always open cli from the execute command shortcut so that I wont have to grab the mouse. It must be a variable on env:

Can anyone help me?

I always use rAmiga+E to open a prefs program, or start a cli and even to open the window of a dir which its path is very deep and knowing by heart its path is faster doing it with my program openwin :-D
That`t one of the things that make my Amiga fun using it.

You can find it on Aminet under util/cli.
openwin.lha

Megadeth RuLe!!! :-D
__________________
\"So we must exercise ourselves in the things which bring happiness, since, if that be present, we have everything, and, if that be absent, all our actions are directed towards attaining it\" - Epicurus
Dagon is offline   Reply With Quote
Old 12-11-2002, 09:32 AM   #2
Thomas
Kindred of Babble-on
Points: 13,942, Level: 76 Points: 13,942, Level: 76 Points: 13,942, Level: 76
Activity: 13% Activity: 13% Activity: 13%
 
Thomas's Avatar
 
Join Date: Jun 2002
Posts: 2,925
Default Re: CLI size?


The default size of the window is hard coded. You could search the string in the executable with a hex editor and patch it.

But the better solution would be this:

create a small shell script in S: (lets call it NS) containing the command

newshell con:0/150//300/AmigaShell/AUTO/CLOSE

then set the S flag (protect s:ns +s).

Now you can open the execute window and enter ns for a new shell window. Even shorter than CLI.

Make sure that S: is contained in your path before LoadWB is called. Maybe you have to move the script to C:. Workbench is very restrictive with its path setting.

Bye,
Thomas
__________________
Email: thomas-rapp@web.de
Home: thomas-rapp.homepage.t-online.de/
Thomas is offline   Reply With Quote
Old 12-15-2002, 03:41 AM   #3
Rebel
Beginner
Points: 5,329, Level: 46 Points: 5,329, Level: 46 Points: 5,329, Level: 46
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2002
Posts: 41
Default Re: CLI size?

Quote:
Thomas wrote:

The default size of the window is hard coded. You could search the string in the executable with a hex editor and patch it.

But the better solution would be this:

create a small shell script in S: (lets call it NS) containing the command

newshell con:0/150//300/AmigaShell/AUTO/CLOSE

then set the S flag (protect s:ns +s).

Now you can open the execute window and enter ns for a new shell window. Even shorter than CLI.

Make sure that S: is contained in your path before LoadWB is called. Maybe you have to move the script to C:. Workbench is very restrictive with its path setting.

Bye,
Thomas
Or you could do the same using the "Alias" command. Add the following to your User-Startup :

Alias ns "c:newshell con:0/150//300/AmigaShell/AUTO/CLOSE"



Either this or Tomas's solution should work for you, and will also save typing! (ie type "ns" instead of "newshell")


Alternatively, I use Toolsdaemon to launch apps from the menubar, and you can also assign a hot-key to each one. (I use R-Amiga + / to bring up a shell window at a specified size and screen position.)

Toolsdaemon can lauch progs from either their WB icon tooltypes or from a cli command. If you dont like Toolsdaemon there are 101 other progs that could give you the same hotkey functionality.

-Rebel
Rebel is offline   Reply With Quote
Old 12-11-2002, 09:49 AM   #4
blobrana
Energizer Bunny of Babble
Points: 16,995, Level: 83 Points: 16,995, Level: 83 Points: 16,995, Level: 83
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2002
Posts: 4,743
Default Re: CLI size?

Do you just need to change SHELL in the S: directory?

If so click on SHELL icon and goto `information` in menu. You can add stack size etc. from there.

Have a look at `shell startup`, also in S: to change the size , font, colour etc...
__________________

http://www.amiga.org/themes/Amiga.or...ange_arrow.gif[size=x-small]For Astronomy News[/size]
blobrana is offline   Reply With Quote
Old 12-15-2002, 04:55 AM   #5
Rudei
Technoid
Points: 5,669, Level: 48 Points: 5,669, Level: 48 Points: 5,669, Level: 48
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2002
Posts: 277
Default Re: CLI size?

write a script (or build the script into the icon) and use the command "winsize"

this will default the CLI to the entire screen size
Rudei is offline   Reply With Quote
Reply

Bookmarks

Tags
size , cli

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HDD Size TiredOLife Amiga Hardware Issues and discussion 1 03-04-2007 12:24 PM
MP3 audio cut to size amiga4001 Amiga Software Issues and Discussion 2 10-03-2005 12:52 PM
block size orange Amiga Software Issues and Discussion 10 07-25-2005 12:18 PM
The size of a file srg86 Amiga OS -- Development 6 05-04-2005 07:08 AM
HDD size orange Amiga Software Issues and Discussion 1 09-18-2004 07:22 PM