Date: Wed, 29 May 2002 06:10:36 -0700 From: "Philip J. Koenig" <pjklist@ekahuna.com> To: questions@FreeBSD.ORG Cc: Roman Neuhauser <neuhauser@bellavista.cz> Subject: Re: grep and console width Message-ID: <20020529131034381.AAA484@empty1.ekahuna.com@pc02.ekahuna.com> In-Reply-To: <20020529120526.GD18367@freepuppy.bellavista.cz> References: <20020529114249806.AAA471@empty1.ekahuna.com@pc02.ekahuna.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 29 May 2002, at 14:05, Roman Neuhauser boldly uttered: > > From: "Philip J. Koenig" <pjklist@ekahuna.com> > > Date: Wed, 29 May 2002 04:42:51 -0700 > > > > On 29 May 2002, at 12:13, Roman Neuhauser boldly uttered: > > > > > > From: "Philip J. Koenig" <pjklist@ekahuna.com> > > > > Date: Wed, 29 May 2002 02:41:46 -0700 > > > > Subject: Re: grep and console width > > > > > > > > On 29 May 2002, at 10:34, Roman Neuhauser boldly uttered: > > > it's $COLUMNS, sorry. > > > > > > > set | grep -ai colu > > > COLUMNS=80 > > > > > > but I think I misunderstood what you said. you meant you set your > > > console to the 132x43, which is just fine. :) > > > > > > No COLUMNS variable either. FWIW I'm using tcsh on the machine in > > question. Maybe I need to add something to my .cshrc or .login... > > > > (I tried "setenv COLUMNS 80", but it didn't help the situation in > > mutt - when I press F1, the text still looks like a mess unless I > > change to 132 cols) > > hm. I use zsh, and the variable *is* there; apparently, it's > readonly. > > btw, I just pressed <F1> in one of mutt's screens, and now I know > what you're talking about. the problem is in the file itself, > /usr/local/share/doc/mutt/manual.txt. delete the first 7 columns in > the file (it's just indent), and the text will be legible again. > > <C-V>6lGx:wq! should take care of it. :) > > the lines are simply too long to fit in a standard console, and > breaks on the 80'th char, and the on LF. Pretty bizarre. Is that a fairly recent version? (I still have 1.2.4 on the box in question) The reason I assumed it wasn't mutt-specific is that I've occasionally run into similiar situations where stuff that seemed absolutely unlikely to not be designed for 80-col displays, wrapped in a similar way. (ie as if there was a "left margin indent".) I just wondered if there was some kind of pager or termcap that internally ignored that indent or something. FWIW, on the linux box in a terminal session, mutt 1.2.5-10 doesn't suffer from this problem. -- Philip J. Koenig pjklist@ekahuna.com Electric Kahuna Systems -- Computers & Communications for the New Millenium To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020529131034381.AAA484>