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

RE : Bug#227474: ssh: Message 'No value for $TERM and no -T speci f ied'



It works for me and it was resolve my problem.
Et ... J'ai été très décu par star wars 3 ;-)

-----Message d'origine-----
De : Vincent Lefevre [mailto:vincent@vinc17.org] 
Envoyé : vendredi 3 juin 2005 16:16
À : PELLEN Philippe
Cc : debian-ssh@lists.debian.org
Objet : Re: Bug#227474: ssh: Message 'No value for $TERM and no -T specif
ied'


On 2005-06-03 16:00:38 +0200, Philippe.Pellen@ratp.fr wrote:
> Solution :
> You must put this line :
>  
> PS1=`hostname`":"'$PWD'"# "
> export PS1
> 
> at the and of your .bashrc
>  
> and not before this  :
> # Source global definitions
> if [ -f /etc/bashrc ]; then
>         . /etc/bashrc
> fi
>  
> in the .bashrc

I'm not using bash. But why would setting PS1 change anything? This would be
incorrect if the shell isn't interactive anyway.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> 100%
accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Reply to: