delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/14/15:56:13

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
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" <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.7 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Steve Coleman <Steve DOT Coleman AT jhuapl DOT edu>
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>

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     <Steve DOT Coleman AT jhuapl DOT edu>   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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019