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: