Re: Telnet/SSH Terminal Help
Jeff Grossman <jeff@stikman.com>:
> > Douglas A. Tutty wrote:
> >> On Mon, Oct 29, 2007 at 06:03:01AM -0700, Jeff Grossman wrote:
> >>>
> >>> If I do an 'export LC_ALL=C' then term=linux and term=screen appear to
> >>> act the same. The display is much better but still not perfect. I
> >>> have
> >>> updated a new picture at http://www.stikman.com/mcdisplay1.jpg.
> >>
> >> What about TERM=screen ?
>
> Where should I put the 'export LC_ALL=C' command so it is always done for
> each login and for each user? The /etc/bash.bashrc file?
/etc/profile is the usual place, but are you sure you want to do that?
That would have no effect here because I clobber whatever the system
gives me in my own startup scripts.
btw, defining LC_ALL=C is heavy-handed overkill. Better would be
LANG. I also set LC_COLLATE=C. Here's what I end up with:
(0) heretic /home/keeling_ locale
LANG=en_US.iso885915
LC_CTYPE="en_US.iso885915"
LC_NUMERIC="en_US.iso885915"
LC_TIME="en_US.iso885915"
LC_COLLATE=C
LC_MONETARY="en_US.iso885915"
LC_MESSAGES="en_US.iso885915"
LC_PAPER="en_US.iso885915"
LC_NAME="en_US.iso885915"
LC_ADDRESS="en_US.iso885915"
LC_TELEPHONE="en_US.iso885915"
LC_MEASUREMENT="en_US.iso885915"
LC_IDENTIFICATION="en_US.iso885915"
LC_ALL=
LC_ALL isn't even set!
--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://blinkynet.net/comp/uip5.html Linux Counter #80292
- - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me.
Reply to: