nano question

Thomas Stivers stivers_t at tomass.dyndns.org
Mon Jun 28 09:44:46 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Jun 28 2004  1:09 AM, Joseph C. Lininger wrote:
> Hi all,
> I was wondering if anyone could possibly help with a nano question. When 
> I type in text, nano word wraps just fine. However, if I insert text in 
> to a file, sometimes the wrapping doesn't happen correctly. It takes the 
> long part of the line down and stopps. This results in a line which is 
> much shorter than the others. Can anyone give me a suggestion to fix 
> this short of going in and retyping the remainder of the paragraph so 
> that it has the correct formatting? Thanks in advance.

The *best* solution is to use vi, but that's another issue for another
day. *smile* You can use the justify command to fix the line lengths of
all the lines of the paragraph you're in. That's control-j. Also the -r
command line option when running nano lets you specify how long you want
lines to be. So were I using nano for this message I would have used

set editor="nano -r72"

HTH

- -- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

Thomas Stivers	e-mail: stivers_t at tomass.dyndns.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA4CDO5JK61UXLur0RAkVLAJ9LfvG6CCJmqtxjRpuI071xGfT34QCdGjCK
kyfcZ2fKC4KSu7GdpPRFeXE=
=Y9Rm
-----END PGP SIGNATURE-----




More information about the Speakup mailing list