[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] linewrap bug with words longer than terminal
From: |
Mike Frysinger |
Subject: |
[Nano-devel] linewrap bug with words longer than terminal |
Date: |
Sun, 11 Jun 2006 13:35:46 -0400 |
User-agent: |
KMail/1.9.1 |
if you have a "word" that is longer than the terminal (say 80 char terminal
and the word is 100 chars) and line wrapping enabled, then the words after it
don't get wrapped properly
for example, set your terminal to 80 characters, and then run:
$ perl -e "print 'a' x 100" > foo
$ echo " hi there bub" >> foo
$ nano foo
turn on line wrapping, and then with your cursor at the beginning of
the "word" 'a', hit space ... instead of bringing down the words after the
long string of a's, the whole line is wrapped down
if you expand the terminal to over 100 chars so you can start to see the stuff
after the string of a's (like expand the terminal to just 105 cols), then the
stuff after will get line wrapped properly when you start inserting
whitespace at the beginning of the string of a's
normally i just notice this when editing config.log files and i have a
configure option with a really long path:
--datadir=/some/really/long/path/that/scrolls/beyond/80/cols
-mike
pgpcAG8YI7anY.pgp
Description: PGP signature
- [Nano-devel] linewrap bug with words longer than terminal,
Mike Frysinger <=