[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 Wed, Jan 14, 2004 at 12:00:46AM +0100, Vincent Lefevre wrote:
> On 2004-01-13 22:09:53 +0000, Colin Watson wrote:
> > That's strange. I can't find that message anywhere in the openssh
> > source code ...
> 
> for i in /usr/bin/*; strings -a $i|grep "No value for" && echo $i
> 
> said that this comes from /usr/bin/tput, called from my ".zshenv".
> I've just reported a wishlist bug on ncurses-bin to ask for better
> error messages (with the program name).

Ah, thanks.

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

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]




Reply to: