delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/11/11:01:40

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3E96D878.5070005@heaton6.freeserve.co.uk>
Date: Fri, 11 Apr 2003 16:00:08 +0100
From: Garry Heaton <garry AT heaton6 DOT freeserve DOT co DOT uk>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en, en-us
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Limited remote terminal access via cygwin]
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0304111041110 DOT 26381-100000 AT slinky DOT cs DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.44.0304111041110.26381-100000@slinky.cs.nyu.edu>

Igor Pechtchanski wrote:
> On Fri, 11 Apr 2003, Garry Heaton wrote:
> 
> 
>>Reid Thompson wrote:
>>
>>>after you login to your remote box run one of the following commands
>>>    export TERM=xterm
>>>or
>>>    export TERM=vt100
>>>or
>>>    export TERM='whatever term type you normally use & is recognized on
>>>the remote system"
>>>reid
>>>
>>>
>>>>-----Original Message-----
>>>>From: Garry Heaton [mailto:garry AT heaton6 DOT freeserve DOT co DOT uk]
>>>>Sent: Friday, April 11, 2003 7:46 AM
>>>>To: Cygwin
>>>>Subject: Limited remote terminal access via cygwin
>>>>
>>>>I'm setting-up headless Linux/SAMBA servers for use in
>>>>Windows office networks which I want to admin from Windows
>>>>via Cygwin. When I 'ssh' into the Linux box from Cygwin I
>>>>only have limited terminal access. When I try to launch emacs
>>>>on the remote machine I get the response:
>>>>
>>>>emacs: Terminal type cygwin is not defined.
>>>>
>>>>When I examine files using 'less' I also receive the message:
>>>>
>>>>WARNING: terminal is not fully functional
>>>>
>>>>With 'less' the Cygwin/Windows terminal only displays a fixed
>>>>% of the file examined and will not scroll to the end.
>>>>
>>>>My Cygwin environment settings are:
>>>>
>>>>ntsec check_case:strict tty
>>>>
>>>>Garry Heaton
>>
>>Tried all of these but nothing worked. I'm not running X on Cygwin. Just
>>console mode. Still can't scroll past the first screen of an opened file.
>>Emacs-nox also has display problems.
>>
>>Garry
> 
> 
> Garry,
> 
> TERM should reflect the terminal you're running *in* (the one you use to
> ssh to the Windows machine).  Normally, ssh will inherit the TERM setting
> from the invoking shell.  If something resets the TERM value (I'm guessing
> your ~/.bashrc or ~/.bash_profile), you'll need to fix that (e.g., by
> putting a "[ -z TERM ]" guard).
> 
> Try invoking "bash --login -v" from ssh to see if a TERM=... command is
> executed.
> 	Igor

I'm not 'ssh'-ing into the Windows machine. I'm running Cygwin on the
Windows machine to admin a Linux server. So far running emacs-nox produces
faulty screen output. 'less' also has some problems.

Garry






--
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