Red Hat Bugzilla – Bug 72639
gnome-terminal: Control-J (^J) does not work in pine or pico
Last modified: 2008-05-01 11:38:03 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823
Description of problem:
Pressing Control-J in pine is supposed to Justify the current paragraph, but
when it's pressed when using pine through gnome-terminal, it does the same thing
as carriage return instead.
Version-Release number of selected component (if applicable):
gnome-terminal 2.0.1-3 (from rawhide)
Steps to Reproduce:
1. Install pine, or SSH into another box which has pine (Solaris machines in my
case, but it probably doesn't matter).
2. Start pine, start a new message, and type a few words.
3. Hit left arrow a few times, to go back into the middle of a word.
4. Hit control-J.
Actual Results: New line started in the middle of a word
Expected Results: It should justify the paragraph (so if there are only a few
words, you'll probably just go to the next line *without* adding a line break in
the middle of a word).
This happens no matter whether pine (4.44-11 from rawhide) is running locally or
whether pine (not sure what versions) is accessed via SSH on a remote machine.
It does not happen at the text console. It does not happen with Konsole instead
of GNOME Terminal. If you need any locale-related info, please tell me how to
find it if possible. (Any locale-related settings were left to their defaults. I
did a US English-only install.)
Ugh, I knew I was forgetting something. :(
I had the same problem in limbo2 as well, but I didn't get around to reporting
Fixing in 0.8.10 -- cr/lf substitition should only be performed when pasting,
not when the user directly inputs text.
I've verified that 0.8.10 indeed fixes it.
changing summary because I saw a dupe of this (bug 74331)
*** Bug 74331 has been marked as a duplicate of this bug. ***