Re: Problem with readline (command line editing)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01Dec2011 01:38, suvayu ali <fatkasuvayu+linux@xxxxxxxxx> wrote:
| Suddenly today I noticed several of the readline bindings are not
| working any more. I have not made any customisations either through
| ~/.inputrc or through bind statements in my ~/.bashrc. I have tried
| rebooting, logging in as a freshly created user. Neither of them helped.
| 
| To illustrate my issues, neither of the following work:
| 
| 1. forward-word            -  M-f
| 2. backward-word           -  M-b
| 3. forward-search-history  -  C-s
| 4. yank-nth-arg            -  M-C-y
| 5. yank-last-arg           -  M-.
| 6. transpose-words         -  M-t
| 7. upcase-word             -  M-u
| 8. backward-kill-word      -  M-<DEL>
| 9. kill-word               -  M-d
| 
| While compiling the above list I realised its all the keybindings with
| the Alt (meta) key. Any ideas what went wrong?

Might your terminal emulator settings have changed?

Possibilities:

  Alt and Meta are actually distinct keys in the X11 keyboard model;
  this association may have been changed.

  Terminal emulators choose to associate Alt and Meta too. Maybe your
  terminal emulator config has changed.

  Ctrl-S is "XOFF" - cease output - when flow control is on on a
  terminal/serial device (and terminals _are_ serial devices:-).
  Readline probably turns this off, but may not. If Ctrl-S doesn't
  prevent other typing, you can probably ignore this idea.

Check your newly created user - be sure there is no default .inputrc.
And isn't there a system wide inputrc, maybe in /etc?

Check that you're using "emacs" command line editing; bash may only
offer that, but zsh at least has a "vi" mode command line editing
as well, which would break the mappings you expect.

Do other readline capable programs also fail?

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

Dangerous stuff, science.  Lots of us not fit for it.
        - H.C. Bailey, _The Long Dinner_
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux