Re: Not setting TERM explicitly wraps commands at 80 columns with nested shells in xterms using sh + bash?

From: Garrett Cooper <yanegomi_at_gmail.com>
Date: Fri, 21 Oct 2011 00:15:44 -0700
On Fri, Oct 21, 2011 at 12:08 AM, Ed Schouten <ed_at_80386.nl> wrote:
> * Garrett Cooper <yanegomi_at_gmail.com>, 20111021 09:00:
>> On Thu, Oct 20, 2011 at 11:59 PM, Ed Schouten <ed_at_80386.nl> wrote:
>> > Hi Garrett,
>> >
>> > * Garrett Cooper <yanegomi_at_gmail.com>, 20111021 08:40:
>> >>     If I fire up an xterm without setting TERM={ansi,vt100,xterm},
>> >> [...]
>> >
>> > So what's the idea behind this? Why not just set TERM properly?
>>
>> It is set properly though -- that's the confusing part:
>>
>> $ echo $TERM
>> xterm
>
> Oh, okay. So you mean "If I fire up an xterm without changing the
> default TERM, [...]", right?
>
> Can you check whether `stty size' does return the correct numbers? That
> way we can determine if it's a problem in xterm, your shell (or maybe
> the kernel). Thanks!

I'll run that in the next window I find that's acting funky.
Unfortunately my system is behaving properly right now.
Thanks for the tip :)!
-Garrett
Received on Fri Oct 21 2011 - 05:15:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:19 UTC