[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Telnet/SSH Terminal Help



s. keeling wrote:
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!


Well, honestly, I have no idea what any of those settings do. I just want mc and aptitude to properly draw lines. Without the LC_ALL line the lines are not drawn correctly. What setting should I use to fix the lines in those two programs?

Jeff



Reply to: