conf/109075: [termcap] Line wrapping doesn't work when TERM is set to 'linux'

Imri Zvik imriz at co.zahav.net.il
Mon Feb 12 15:10:30 UTC 2007


The following reply was made to PR conf/109075; it has been noted by GNATS.

From: "Imri Zvik" <imriz at co.zahav.net.il>
To: <bug-followup at FreeBSD.org>
Cc:  
Subject: Re: conf/109075: [termcap] Line wrapping doesn't work when TERM is set to 'linux'
Date: Mon, 12 Feb 2007 17:08:50 +0200

 I feel a bit stupid, but I think I've found my error - PS1 was set to
 '\e[1m\u@\h\e[m:\w\$ ' which somehow messed the terminal if xn was
 enabled.
 
 Changing it to: PS1=3D"\[\033[1;37m\]\u@\h\[\033[0m\]:\w\$ " fixed
 everything.
 
 
 I'm really sorry for hurrying with this PR - please close it.
 
 Thanks,
 
 


More information about the freebsd-bugs mailing list