From: cgf AT cygnus DOT com (Christopher Faylor) Subject: Re: TERM/termcap question 15 Nov 1998 15:17:32 -0800 Message-ID: <19981115174722.A32510.cygnus.cygwin32.developers@cygnus.com> References: <19981114224052 DOT A27081 AT cygnus DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: Corinna Vinschen , cygwin32-developers AT cygnus DOT com On Sun, Nov 15, 1998 at 01:00:23PM +0100, Corinna Vinschen wrote: >Christopher Faylor wrote: >> [...] >> I couldn't bring myself to have a product called "cygwin" use a default >> TERM setting of "linux". > >I agree. > >> [...] >> So the question is what should the default TERM setting be? Should it >> be cygwin, linux, vt100, or...? Incidentally, the cygwin terminal >> setting is not strictly the same as a linux console because it also >> allows xterm escapes for setting the console title. So, I guess that >> another option for the terminal name is "xterm". > >I think, the question is, who needs the default TERM setting? >Who is the typical user for this setting? >The target for this default setting is the beginner, above all the >one, who downloads cygwin stuff the first time. After installing >full.exe he has a batch file, to start it. Now, the user has a >standard setting of CYGWIN=.. notty .. > >IMHO, the user should get a default TERM setting, which reflects >the standard windows console as near as possible. Setting CYGWIN=tty has no bearing on this. This is a separate issue. The standard setting right now should be TERM=linux regardless of whether the user has set CYGWIN=tty or CYGWIN=notty. In either case the terminal emulation in fhandler_console still works. >The file `cygnus.bat' should contain a line `set TERM=cygwin' to >show, that a TERM setting is not unimportant. I was proposing setting the TERM environment variable automatically. Not everyone runs the programs via the cygnus.bat file. -- cgf AT cygnus DOT com http://www.cygnus.com/