Bug 74331 - ^J shows up as ^M
^J shows up as ^M
Status: CLOSED DUPLICATE of bug 72639
Product: Red Hat Linux
Classification: Retired
Component: vte (Show other bugs)
8.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-09-20 12:47 EDT by Piet E Barber
Modified: 2008-05-01 11:38 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-02-21 13:49:39 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Piet E Barber 2002-09-20 12:47:37 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):


How reproducible:
Always

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. 

Additional info:

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.
Comment 1 Barry K. Nathan 2002-09-21 03:56:56 EDT
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.
Comment 2 Nalin Dahyabhai 2003-01-13 23:32:14 EST
Marking as a duplicate of 72639.

*** This bug has been marked as a duplicate of 72639 ***
Comment 3 Red Hat Bugzilla 2006-02-21 13:49:39 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.