Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!rpi!crdgw1!uunet!cbmvax!andy From: andy@cbmvax.commodore.com (Andy Finkel) Newsgroups: comp.sys.amiga.introduction Subject: Re: Full Screen Shell Message-ID: <19128@cbmvax.commodore.com> Date: 19 Feb 91 23:42:50 GMT References: <3265@ux.acs.umn.edu> <1991Feb19.143219.15684@tridom.uucp> Reply-To: andy@cbmvax.commodore.com (Andy Finkel) Organization: Commodore, West Chester, PA Lines: 52 In article <1991Feb19.143219.15684@tridom.uucp> lkollar@tridom.UUCP (Larry Kollar (Operations)) writes: >In article <3265@ux.acs.umn.edu> jrosnow@vx.acs.umn.edu writes: >>I was wondering how to have the shell open up so that it is the full size of >>the screen rather than opening it up and then having to resize it all of the >>time. Can this be done? How? > >Several people have pointed out the "con:0/0/640/200/Title" thing. I once >wrote a little program that would get the actual Workbench screen size & >return it as "640/200" or whatever. Handy if you use ARP Shell, SKsh, or >another shell that supports "embedded" commands. For example, the opening >line would be: > > > newshell con:0/0/$(screensize)/Title > >The shell runs "screensize," then inserts the output in the command line Under 2.02 Shell you can use the backticks, ie newshell "con:0/0/`screensize`/title" and the screensize program will execute and output gets added to the command line. Also, the 2.02 con-handler does a max operation on your window parameters, so con://2000/2000/Title will generally give you a full screen window under 2.0; unless you are using an unusual monitor. You can even (by copying the shell project icon and adding the WINDOW= tooltype) make shell window icons for all occasions. >-- >Larry Kollar ...!emory!tridom!lkollar / lkollar@tridom.uucp andy -- andy finkel {uunet|rutgers|amiga}!cbmvax!andy Commodore-Amiga, Inc. "God was able to create the world in only seven days because there was no installed base to consider." Any expressed opinions are mine; but feel free to share. I disclaim all responsibilities, all shapes, all sizes, all colors.