Red Hat Bugzilla – Bug 74331
^J shows up as ^M
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/20020809
Description of problem:
I have discovered that the terminal appears to interpret ^J as ^M.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. start vi
2. type 'i' to insert text
3. type Ctrl V
4. type Ctrl J
5. Observe ^M
This does not happen with other versions of gnome-terminal
Actual Results: I saw ^M instead of ^J
Expected Results: I expected to see ^J instead of ^M. This comes into play
when using pico to edit documents. ^J justifies a skewed paragraph. Imagine my
amazement when it only inserted a newline.
My keyboard set is standard US, I don't have any special languages or fonts
installed. This is pretty much a run-of-the-mill null installation.
What you're seeing is bug 72639, I think; I've changed the summary of that bug
to hopefully make it easier to find.
Interestingly enough, with vte-0.8.19, I'm seeing ^@ show up in vi at step 5.
I'm guessing that's a vim bug or feature (I don't even know which), as I don't
have this bug/feature in bash, this bug/feature also shows up at a text (non-X)
console, and ^J still works fine in pine and pico.
Marking as a duplicate of 72639.
*** This bug has been marked as a duplicate of 72639 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.