Bug 8639 - no entries for ^[OH and ^[OF in inputrc (xterm home/end)
no entries for ^[OH and ^[OF in inputrc (xterm home/end)
Product: Red Hat Linux
Classification: Retired
Component: setup (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Depends On:
  Show dependency treegraph
Reported: 2000-01-19 17:42 EST by Hans de Goede
Modified: 2014-03-16 22:12 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-01-31 00:11:00 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
my inputrc (523 bytes, patch)
2000-01-19 17:43 EST, Hans de Goede
no flags Details | Diff

  None (edit)
Description Hans de Goede 2000-01-19 17:42:50 EST
The summary says it all,

I've attached my own inputrc as replacement, it just adds:

#for xterm
"\eOH": beginning-of-line
"\eOF": end-of-line

And it adds some comments on why most lines are there.
Comment 1 Hans de Goede 2000-01-19 17:43:59 EST
Created attachment 71 [details]
my inputrc
Comment 2 Bill Nottingham 2000-01-19 18:02:59 EST
Fixed in setup >= 2.1, which will be in the next Raw Hide.
Comment 3 Hans de Goede 2000-01-30 09:25:59 EST
The fix in setup-2.1.3 is based upon a very old mail fo mine, sorry for the
confusion :| . I thought entering the newer version of my inputrc in bugzilla
would be enough.

I see 2 problems wiht this fix:
-it doesn't contain ^[[F / ^[[H for end / home, these are used by freebsd
 console and by a lott of broken xterm emulators. Telnetting from these
 will work better if these are present.
-at the time I wrote the mail on which the current fixed is based I still
 thought it was a good idea to bind true 8-bit meta chars for alt-b and -alt-f
 to word-backward / word-forward. Later I learned that this might bite
 international characters, since then trying to input a + ^ for example will
 result in word backward. So please remove the M- bindings, and add
 the ^[[F / ^[[H bindings, or use the inputrc attached to the bugreport,
 it is identical to the one in setup-2.1.3 accept:
 -it adds ^[[F / ^[[H
 -it removes the M- bindings.
Comment 4 Bill Nottingham 2000-01-31 00:11:59 EST
Will be fixed in setup-2.1.4.

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