delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/26/10:34:40

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 26 Jul 2001 15:33:41 +0100
Message-ID: <9692-Thu26Jul2001153341+0100-starksb@ebi.ac.uk>
X-Mailer: emacs 20.7.1 (via feedmail 9-beta-7 I);
VM 6.92 under Emacs 20.7.1
From: David Starks-Browning <starksb AT ebi DOT ac DOT uk>
MIME-Version: 1.0
To: Troy Noble <troy DOT noble AT channelpoint DOT com>, robert DOT thompson2 AT firstunion DOT com
Cc: cygwin AT cygwin DOT com
Subject: RE: Cygwin Telnet Configuration
In-Reply-To: <8F23E55D511AD5119A6800D0B76FDDE1CA2F6B@cpex3.channelpoint.com>
References: <8F23E55D511AD5119A6800D0B76FDDE1CA2F6B AT cpex3 DOT channelpoint DOT com>

Better yet, just *use* rxvt instead of the standard command window.
Then TERM should be set to 'xterm' for you, and it should all work very
well.

David

On Thursday 26 Jul 01, Troy Noble writes:
> I've had luck using the following in my .profile on my Unix boxes:
> 
> if [ "X${TERM}X" = "XcygwinX" ]; then TERM=ansi; export TERM; fi
> 
> Of course on non-Linux systems you won't get color highlighting,
> since the normal "ansi" terminal on solaris and other commercial
> Unix systems I've used typically doesn't enable color by default.
> 
> To get color on such systems you'll likely need to get a recent copy
> of rxvt sources, look in the etc subdirectory for the rxvt.terminfo
> file, and follow the instructions for running tic to get
> rxvt into your terminfo database (you'll need to be root to do so).
> Or if it's really old unix, edit your /etc/termcap file to add
> the contents of rxvt.termcap.
> 
> Then you can set TERM=rxvt to enable the ANSI color codes.
> 
> Troy
> 
> -----Original Message-----
> From: robert DOT thompson2 AT firstunion DOT com
> [mailto:robert DOT thompson2 AT firstunion DOT com]
> Sent: Thursday, July 26, 2001 7:57 AM
> To: cygwin AT cygwin DOT com
> Subject: Cygwin Telnet Configuration
> 
> 
> First let me say Thanks for creating such a wonderful Unix toolset for
> Windows. I am a DBA/Developer who works
> a lot on Unix and Windows NT. This makes things so much easier.
> 
> I am having a problem using telnet via Cygwin on Windows NT 4.0 service
> pack 6a. It looks like a configuration problem.
> If I telnet into an HP-UX machine using telnet the HP-UX box cannot tell
> what terminal type that I have. Vi and other programs
> won't allow me to scroll back and forth. If I telnet in using M$ telnet
> program I don't get that problem. I am using Cygwin 1.3.1.
> 
> Once I telnet and login I get the following:
> 
> Type cygwin unknown
> 
> from the server. Is there something that I should set in my profile on the
> HP to get around this.
> 
> the output from my running cygcheck is:
> 
> ---snip
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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