[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#227474: ssh: Message 'No value for $TERM and no -T specified'



On 2004-01-14 00:21:45 +0000, Colin Watson wrote:
> On Wed, Jan 14, 2004 at 12:00:46AM +0100, Vincent Lefevre wrote:
> > Concerning ssh, why isn't TERM passed to the remote side? IMHO, this
> > would make sense and would be very useful. This is just the opposite
> > of rlogin, which passes TERM, but not DISPLAY!
> 
> Um. It is! Look in ssh.c and session.c for client and server ends
> respectively.

Only if a pseudo-tty is allocated (-t option). But in this case, I get
a "Connection to ... closed." message at the end of the connection (and
possibly other side effects). I could use the -q option too, though.
But this is quite annoying if I want to have them by default. There
doesn't seem to be an option for TERM to put in the .ssh/config (and
the link between LogLevel and the -q option isn't very clear).

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA




Reply to: