Date: Sat, 31 Mar 2012 12:32:28 +1030 From: Matt Thyer <matt.thyer@gmail.com> To: Jim Bryant <kc5vdj.freebsd@gmail.com> Cc: freebsd-stable@freebsd.org Subject: Re: ESCape codes displayed instead of processed in pager Message-ID: <CACM2%2B-5c9P3K5uMUY6S0LJTiv86eZ6Nmi172hvrC5RQeLaq2cw@mail.gmail.com> In-Reply-To: <4F75FC5E.5020303@gmail.com> References: <4F735CEC.5060101@gmail.com> <CACM2%2B-6xrRw_J17tK8pgu%2BZZLsfFGkDq6Tkk==7_PmQkvqXV3Q@mail.gmail.com> <4F75FC5E.5020303@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 31, 2012 5:02 AM, "Jim Bryant" <kc5vdj.freebsd<kc5vdj.freebsd@gmail.com> @ <kc5vdj.freebsd@gmail.com>gmail.com <kc5vdj.freebsd@gmail.com>> wrote: > > Matt Thyer wrote: > >> >> On Mar 29, 2012 5:18 AM, "Jim Bryant" <kc5vdj.freebsd<kc5vdj.freebsd@gmail.com> @ <kc5vdj.freebsd@gmail.com>gmail.com <kc5vdj.freebsd@gmail.com> <mailto: kc5vdj.freebsd <kc5vdj.freebsd@gmail.com>@ <kc5vdj.freebsd@gmail.com> gmail.com <kc5vdj.freebsd@gmail.com>>> wrote: >> > >> > Ever since I have upgraded to 9-stable, I have noticed that the manpages seem to be munged up with displayed instead of processed ESCape codes. >> >> I believe that this is due to the terminal type of the console changing from "cons25" to "xterm". If you fix your /etc/ttys to reflect this things should be OK. >> > 1:27:57pm argus(19): tty > /dev/pts/7 > 1:28:03pm argus(20): setenv TERM xterm > 1:28:05pm argus(21): man man > > MAN(1) FreeBSD General Commands Manual MAN(1) > > ESC[1mNAMEESC[0m > ESC[1mman ESC[22m-- display online manual documentation pages > > same thing going on. that's after switching every vty and the console to xterm in /etc/ttys as well. > > i'm kinda lost on this one. i have determined that somehow, it's the pager... hang on a sec... lemme try vi. > > vi seems to be working properly... it's not the termcap/terminfo... the only thing causing this seems to be more and less, both. > > when i pipe man into cat, everything gets properly interpreted by the tty/vty/pty, when i use the pager, i get this crap....argh.. > Some suggestions: Test with a clean environment (most easily done by creating a new user account). If that doesn't fix it then you have a problem with your upgrade that may be fixed by mergemaster. You may need to back up your data and do a clean install.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACM2%2B-5c9P3K5uMUY6S0LJTiv86eZ6Nmi172hvrC5RQeLaq2cw>