Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 2003 19:23:55 -0500
From:      Scott W <wegster@mindcore.net>
To:        falaki@ce.sharif.edu
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: telnet and ssh problem.
Message-ID:  <3FC14F9B.8010103@mindcore.net>
In-Reply-To: <2294.81.31.160.71.1069663685.squirrel@ce.sharif.edu>
References:  <2294.81.31.160.71.1069663685.squirrel@ce.sharif.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
falaki@ce.sharif.edu wrote:

>Hi Every body;
>   I have a FreeBSD Server. It has telnet and ssh up. They work, but not
>properly. When I ssh to the server or telnet from Linux shell by each
>Enter I see the following message:
>
>bash: \033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\007: bad substitution
>
>      But when I telnet from Windows no such error is shown, but obviously
>the terminal does not work properly, especially
>when using things like less, vim and ...
>
>I would be thankful if someone help me.
>
>Yours,
>Mohammad H. Falaki.
>
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>  
>
Sounds like a classic terminal emulation issue.  On your Linux system, do:
export TERM=xterm
and then telnet or ssh in.  Let me guess, you're using a 'funky' 
terminal like GNOME Terminal or KTerm?

Scott




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FC14F9B.8010103>