From owner-freebsd-questions@FreeBSD.ORG Sun Nov 23 16:24:31 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3107616A4CE for ; Sun, 23 Nov 2003 16:24:31 -0800 (PST) Received: from ms-smtp-03-eri0.southeast.rr.com (ms-smtp-03-lbl.southeast.rr.com [24.25.9.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF0CE43FBD for ; Sun, 23 Nov 2003 16:24:29 -0800 (PST) (envelope-from wegster@mindcore.net) Received: from mindcore.net (rdu163-100-105.nc.rr.com [24.163.100.105]) hAO0NvFm010706; Sun, 23 Nov 2003 19:23:58 -0500 (EST) Message-ID: <3FC14F9B.8010103@mindcore.net> Date: Sun, 23 Nov 2003 19:23:55 -0500 From: Scott W User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: falaki@ce.sharif.edu References: <2294.81.31.160.71.1069663685.squirrel@ce.sharif.edu> In-Reply-To: <2294.81.31.160.71.1069663685.squirrel@ce.sharif.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@FreeBSD.ORG Subject: Re: telnet and ssh problem. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2003 00:24:31 -0000 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