Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <38063520.CA4742AA@ece.gatech.edu> Date: Thu, 14 Oct 1999 15:55:12 -0400 From: "Charles S. Wilson" X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Steve Coleman CC: cygwin AT sourceware DOT cygnus DOT com Subject: Re: [ANN] Size: a console resizer for Win9x References: <199910141808 DOT OAA13918 AT beau_jos DOT cognex DOT com> <38061D53 DOT 726FDB06 AT ece DOT gatech DOT edu> <3806289D DOT EE0E651A AT jhuapl DOT edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sigh. Okay, resize-this-stupid-Win9x-console.exe it will be. That's probably unique. No, I'm just kidding. Any objections to "resizeconsole.exe"? (other than length; if you want to alias it to something shorter, that's fine -- I'm just talking about the default name). --Chuck Steve Coleman wrote: > > "Charles S. Wilson" wrote: > > > > A very good point. I had no idea another "size" existed. I'll rename to > > "resize". > > There is also a standard binary in the standard X-Windows distribution > called "resize". It's job is to set the environment to the current xterm > geometry. The X user would first drag the window to the size they want > then use resize to update the environment settings. > > Since the usage and syntax is different you might want to name it > something to reflect what it does like resizeconsole (recon), or maybe > consize, cmdsize, etc.. > > The user of course can alias the "resize" command to whatever they want, > or better yet, make the alias do the right thing based on the current > terminal type. But it's best not to have multiple binaries named the > same thing. > > NAME > resize - set TERMCAP and terminal settings to current xterm > window size > > SYNOPSIS > resize [ -u | -c ] [ -s [ row col ] ] > > DESCRIPTION > Resize prints a shell command for setting the TERM and > TERMCAP environment variables to indicate the current size > of xterm window from which the command is run. For this > output to take effect, resize must either be evaluated as > part of the command line (usually done with a shell alias or > function) or else redirected to a file which can then be > read in. From the C shell (usually known as /bin/csh), the > following alias could be defined in the user's .cshrc: > > % alias rs 'set noglob; eval `resize`' > > -- > Steve Coleman http://www.jhuapl.edu/ > <<--------->> Johns Hopkins Applied Physics Laboratory <<---------->> > Balt:443-778-6330 Fax:443-778-5597 Wash:240-228-6330 Fax:240-228-5597 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com