Date: Sat, 9 Jul 2011 12:09:53 -0400 (EDT) From: David Krauser <david.krauser@gmail.com> To: Joshua Isom <jrisom@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Color Spills Over From SSH Session Message-ID: <alpine.BSO.2.00.1107091209140.7261@wolfman.devio.us> In-Reply-To: <4E17FBDD.6050008@gmail.com> References: <alpine.BSO.2.00.1107082350050.15592@wolfman.devio.us> <4E17FBDD.6050008@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Figured it out. I just needed screen installed on the FreeBSD box. Thanks for all your help! On Sat, 9 Jul 2011, Joshua Isom wrote: > On 7/8/2011 11:07 PM, David Krauser wrote: >> >> Hello everybody, >> >> I've tried to setup a kind of 'dedicated ssh client' using FreeBSD, and >> I'm having some issues with the terminal colors. >> >> I have a basic install of FreeBSD 8.2-RELEASE (I only had kernel-dev >> packages checked at installation) and I rebuilt the GENERIC kernel with >> the VESA and SC_PIXEL_MODE options enabled (for a high resolution >> terminal). >> >> Now here's the problem: when I ssh into another box and issue a command >> with colors (like vim's syntax hilighting or a colored ls) the primary >> color of the terminal will change. I'm often left with a crazy colored >> and hard to read bash prompt (all in the ssh session). When I exit the >> session back to FreeBSD, the colors persist. I have to use the command >> 'reset' to fix the issue. >> >> I believe my primary FreeBSD shell is csh (it's whatever the default is >> in FreeBSD) and I'm not sure if it can handle colors or if it has them >> enabled. I generally ssh into a bash shell. >> >> I'm really a newcomer with FreeBSD, and any help would be greatly >> appreciated. >> >> Thanks a bunch, >> >> David Krauser >> david.krauser@gmail.com > > > Are you sshing from the console or an xterm? If it's from the console, it > should be cons25, and if it's from an xterm it should be xterm or > xterm-color. You might have the .cshrc on the other box forcing it to > something that it's not. On the FreeBSD box, run `echo $TERM` and note what > it says, then ssh into the other box and run it again. They're probably > different. > > It's probably not the FreeBSD box, but the other box doesn't know what you're > using. > _______________________________________________ > 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSO.2.00.1107091209140.7261>