Backspace is ignored in Mutt pager in Xfce terminal

This is strange.
I found out today that the BackSpace key which I'd been used to for moving backward (bottom to top) through a message by line was being ignored.   Mutt helpfully informs me "Key is not bound.  Press '?' for help." on the input line.  As this had been working previously when running Debian/Linux Mint, I checked those RC files but find no mention of binding the BackSpace to the "previous-line" function.  I added "bind pager <backspace> previous-line" to my .muttrc to no avail.  Pressing ? in the pager and looking over the key bindings I see that it appears to be bound "<BackSpace>  previous-line            scroll up one line" but I still get the error.
I've verified that BackSpace works as expected in Midnight Commander, Vim, and at the shell command line.  I am running mustt in an Xfce terminal session.  I have also verified that BackSpace has the expected behavior in a virtual terminal.  I have also verified that the $TERM variable is set to xterm in Xfce terminal.
Looking at the output of xev all looks as expected:
KeyPress event, serial 35, synthetic NO, window 0x3e00002,
root 0x274, subw 0x0, time 46127167, (-451,280), root:(100,695),
state 0x0, keycode 22 (keysym 0xff08, BackSpace), same_screen YES,
XLookupString gives 1 bytes: (08) "
XmbLookupString gives 1 bytes: (08) "
XFilterEvent returns: False
KeyRelease event, serial 35, synthetic NO, window 0x3e00002,
root 0x274, subw 0x0, time 46127261, (-451,280), root:(100,695),
state 0x0, keycode 22 (keysym 0xff08, BackSpace), same_screen YES,
XLookupString gives 1 bytes: (08) "
XFilterEvent returns: False
At the virtual console I get:
keycode 14 press
keycode 14 release
when pressing BackSpace.
Using the "what-key" function in Mutt in the Xfce terminal shows:
Char = ^?, Octal = 177, Decimal = 127
while at the virtual console it shows:
Char = <BackSpace>, Octal = 420, Decimal = 272
when pressing BackSpace.  The code in the Xfce terminal is that of ASCII Delete, so things are a bit awry.  Meanwhile Mutt sees the Delete key as:
Char = <Delete>, Octal = 423, Decimal = 275
in Xfce terminal and in the virtual console. 
Interestingly, typing Ctl+Shft+/ (for Ctl-?) Mutt shows BackSpace in virtual console but ^? Xfce terminal.
I also have the same behavior when using SSH to remotely access the desktop as I get from Xfce terminal.  In fact, this is how I first noticed this.
So far this is the only real glitch I've encountered since trying Arch.

Looks as though I may have fixed it in Xfce terminal by going to Edit=>Preferences=>Advanced and set "Backspace key generates:" to "Control-H".  So far it has not broken Midnight Commander or Vim and the key is now recognized in Mutt's pager and also works as the BackSpace (deleting the character to the left of the cursor and then moving the cursor to that place) in Mutt's editing fields.
Last edited by Nate_KS (2011-01-08 14:04:40)

Similar Messages

  • No scrolling when viewing man pages with Gnome terminal?

    Hi all,
    I have just installed Oracle Solaris 11 on x86. For a long time I've used Solaris 9 on SPARC. I like the new OS, but I'm having a problem viewing man pages with Gnome terminal. When I view a long man page, e.g., "man newfs", I don't get a functional scroll bar on the right hand side of the window. And although the space bar works to advance the page, when I reach the end, it doesn't return to the command prompt. It just beeps, prints "END", and I can only exit by closing the window. Can anyone tell me how to fix this? Suggestions would be much appreciated.
    Many thanks,
    Chris Tidy

    It does sound like you're using "less" instead of more. When you see the "(END)" prompt you can simply type "q" and it will exit back to the command line prompt making it unnecessary to close the window. See the "less" manual page for more detail on the less command. Under Solaris 9 the paging was done with the "more" command. If you set the PAGER environment variiable to "more" the man page will use more and revert to the behavior you'd be used to with Solaris 9. Less erases the text you've already read when you type that final "q" which is a behavior I don't like. I didn't bother to determine if there is a way to fix that with less, I just went back to more. The choice between "more" and "less" is a personal preference.

  • [SOLVED] Xfce terminal open links with wrong browser.

    After installing Opera as second browser, xfce terminal began to open links with it, instead of my default browser - Firefox.
    I right click on an URL, choose 'Open Link' and it opens in Opera.
    Firefox is set as default browser in Settings -> Preferred Applications -> Web Browser
    xdg-open http://archlinux.org
    - opens Firefox
    exo-open http://archlinux.org
    - opens Firefox
    After quick search through xfce terminal sources i found it uses some function - gtk_show_uri.
    I googled it, found that topic: https://bbs.archlinux.org/viewtopic.php?id=140028 and tried the solution:
    cat ~/.local/share/applications/mimeapps.list
    [Added Associations]
    x-scheme-handler/mailto=exo-mail-reader.desktop
    x-scheme-handler/http=firefox-browser.desktop
    strangely it doesn't help.
    After all righ click url in terminal and 'Open Link' still uses Opera.
    Any ideas? What else can i do to find out a reason?
    Last edited by spacetekk (2015-01-04 11:41:53)

    Tried BROWSER envar - doesnt help, and as i understand it must work only for cli apps.
    Editing of  ~/.config/mimeapps.list doesnt help eather:
    cat ~/.config/mimeapps.list
    [Default Applications]
    text/vcard=firefox.desktop
    text/html=firefox.desktop
    [Added Associations]
    text/vcard=firefox.desktop;
    text/html=firefox.desktop
    but maybe it's not correct.
    After that i tried to strace xfce4-terminal:
    poll([{fd=4, events=POLLIN}], 1, 4294967295) = 1 ([{fd=4, revents=POLLIN}])
    recvmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"\34\0.\331!\t`\2N\1\0\0\330\336\7\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 352
    recvmsg(4, 0x7fff5ad349d0, 0) = -1 EAGAIN (Resource temporarily unavailable)
    stat("/home/user/.local/share//mime/mime.cache", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
    stat("/home/user/.local/share//mime/globs", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
    stat("/home/user/.local/share//mime/magic", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
    stat("/usr/local/share/mime/mime.cache", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
    stat("/usr/local/share/mime/globs", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
    stat("/usr/local/share/mime/magic", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
    stat("/usr/share/mime/mime.cache", {st_mode=S_IFREG|0644, st_size=115108, ...}) = 0
    open("/usr/share/applications/opera.desktop", O_RDONLY) = 13
    fstat(13, {st_mode=S_IFREG|0644, st_size=550, ...}) = 0
    read(13, "[Desktop Entry]\nVersion=1.0\nName"..., 4096) = 550
    read(13, "", 4096) = 0
    close(13) = 0
    access("/usr/local/sbin/opera", X_OK) = -1 ENOENT (No such file or directory)
    access("/usr/local/bin/opera", X_OK) = -1 ENOENT (No such file or directory)
    access("/usr/bin/opera", X_OK) = 0
    getuid() = 1000
    stat("/usr/bin/opera", {st_mode=S_IFREG|0755, st_size=416, ...}) = 0
    access("/usr/local/sbin/opera", X_OK) = -1 ENOENT (No such file or directory)
    access("/usr/local/bin/opera", X_OK) = -1 ENOENT (No such file or directory)
    access("/usr/bin/opera", X_OK) = 0
    getuid() = 1000
    stat("/usr/bin/opera", {st_mode=S_IFREG|0755, st_size=416, ...}) = 0
    pipe2([13, 19], 0) = 0
    pipe2([20, 21], 0) = 0
    clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fd725cf1bd0) = 1469
    close(19) = 0
    close(21) = 0
    wait4(1469, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1469
    and it's strange but as i can understand it uses some mime cache file located at /usr/local/share/mime/mime.cache
    and before that some other non existing files, but i dont see there any familiar config files.

  • XFCE Terminal ? (Question Mark) Characters

    I think special characters are not displayed correctly on my XFCE terminal:
    I think my locale is OK:
    [jiewmeng@JM backbone-aura-try]$ locale
    LANG=en_US.UTF-8
    LC_CTYPE="en_US.UTF-8"
    LC_NUMERIC="en_US.UTF-8"
    LC_TIME="en_US.UTF-8"
    LC_COLLATE="en_US.UTF-8"
    LC_MONETARY="en_US.UTF-8"
    LC_MESSAGES="en_US.UTF-8"
    LC_PAPER="en_US.UTF-8"
    LC_NAME="en_US.UTF-8"
    LC_ADDRESS="en_US.UTF-8"
    LC_TELEPHONE="en_US.UTF-8"
    LC_MEASUREMENT="en_US.UTF-8"
    LC_IDENTIFICATION="en_US.UTF-8"
    LC_ALL=en_US.UTF-8
    These are set in
    # ~/.bashrc
    export LANG=en_US.UTF-8
    export LC_ALL=en_US.UTF-8
    So whats the problem? My console font is set to DejaVu Sans Mono. I tried afew others but got a similar result.

    cookies wrote:http://ubuntuforums.org/showthread.php?t=1806330 might help.
    I think that's a completely different issue. 'tree' doesn't print file permission, it uses utf8 symbols to print lines:
    $ tree
    ├── 1
    ├── 1.wav
    ├── 2
    ├── 2.wav
    ├── 3
    ├── 3.wav
    ├── 4
    ├── 4.wav
    ├── 5
    ├── 5.wav
    ├── 6
    ├── 6.wav
    ├── 7
    └── 7.wav

  • XFCE terminal opens in background

    What I mean by background is usually I just click the terminal shortcut and start typing.  Now I have to click in the window first.  This also happens with the file manager shortcut.  This is a regression although I'm not sure what update caused it.  The problem appears to be with the "exo-open" program that the shortcuts in the quickbar (and also with the "terminal emulator" and "file manager" shortcuts in the Applications menu.)  The "exo-open" program opens whatever terminal or file manager you have set as default.
    If I go down to system > Xfce Terminal or Thunar file manager which opens those programs directly I don't have this problem.  They open in the foreground.  The quickbar "exo-open" shortcuts used to do that same.  I'm wondering what changed.
    Last edited by weirddan455 (2015-03-21 00:36:48)

    Nevermind found the regression.  Looks like exo is its own package and was just updated two days ago.  Downgraded from exo-0.10.4-1 to exo-0.10.3-2 and the problem went away.
    EDIT:  And bug report opened https://bugs.archlinux.org/task/44282
    Not sure whether this should also be reported upstream.
    Last edited by weirddan455 (2015-03-21 00:48:04)

  • Xmonad + dmenu + Xfce Terminal Emulator hangs at green box

    Previously I had been using the Xfce Terminal Emulator with dmenu xmonad. Most recently it stopped working and starting exhibiting the following behavior:
    If I launch "Terminal" through dmenu then the terminal launches but hangs before providing a prompt. It shows instead a madding green cursor box. The menu system is still active but it never seems to be able to execute a shell. Alternatively, if I launch mrxvt and then type "Terminal" it works correctly but displays the following warning:
    (Terminal:7162): GLib-GIO-WARNING **: Could not initialize inotify
    Oddly, if I start a terminal with dmenu and then try to start another from mrxvt then they both hang with the green box. Close both down and suddenly mrxvt launched Terminals start working again.
    Any ideas as to why Xfce Terminal isn't working with dmenu?

    I never use terminal, but I gave this a try since I am running xmonad.
    I get that empty but for a green cursor when I try to launch terminal from gmrun, but it works fine from dmenu. 
    I get an "Unable to load terminal preferences." if I try to run it from a urxvtc command line, but it launches just fine. 
    My hotkey works fine, but it is bound to urxvtc.
    Last edited by llcawthorne (2009-11-24 02:59:07)

  • [SOLVED]How do I change the title string of XFCE Terminal App.

    Hi,
    I'd like to change the window title string of XFCE Terminal Application to "current directory path string"
    What is the configuration file?
    Regards.
    Last edited by koro (2007-06-13 03:11:33)

    Thank you ataraxia,
    With your advice, I went to google, and I could find a topic about escape sequence of  bash.
    That was almost same as your zsh script.
    First, I edited my .bashrc file:
    export PROMPT_COMMAND='echo -ne "\033]0; $HOSTNAME: $PWD\007" '
    It was fine.
    Next, I wrote your script in my.bashrc file .
    It was fine, too.
    Now I could change title string of my terminal application.
    Thank you very much.
    Best regards.

  • Can I ustomize XFCE terminal?

    In KDE terminal I could define "bookmarks" instead of typing ssh <HOST> -p <PORT> (my server exposes different VMs' SSHells on different host ports) by hand every time. Can I do the same in XFCE terminal? Or is there some other terminal client I'd look at? Or ist there another way to 'bookmark' frequently used commands?

    If you liked the KDE console, you can install it and use it on xfce.
    pacman -S kdebase-konsole
    Edit: You'll probably have to install a bunch of KDE dependencies though, so you might not want this, but it is an option.
    Last edited by purilepolterguist (2010-07-30 13:15:30)

  • Vim runs a bit slowly on XFCE terminal emulator?

    This is strange. vim runs a bit slow when run from XFCE terminal emulator.
    For example: when I type "aaaaaaaa", there will be a lag about 1 second, then "a" will appear one by one.
    But when I run it from the KDE Konsole, vim goes fine. No lag at all.
    I don't have compiz/composite desktop enabled.
    Just in case someone is wondering, this is my ~/.vimrc
    syntax on
    set number
    if has('gui_running')
    set guifont=Courier\ 9
    set guioptions-=T
    colorscheme slate
    "autocmd FocusGained * :colorscheme pablo
    "autocmd FocusLost * :colorscheme slate
    endif
    I just tried adding these to my xorg.conf
    Section "Extensions"
    Option "Composite" "Disable"
    EndSection
    And it didn't work.

    Check out the posts in this topic: [SOLVED] Certain types of GTK frames redrawing slowly.

  • Is it possible to ignore the cover page of a document when viewing two pages at a time.

    when viewing a document with two pages up at a time, I want to ignore the very first page/cover page in the document so that all subsequent pages line up correctly. I can't find how to do this, is it possible. I cannot extract or delete the first page b/c the document is protected. I don't want to modify the document in any way. This document is a catalog that has information spread across two pages. So, when the cover page is included in the two page scroll viewing option, all the corresponding pages are offset by one page. I want the cover page to be at the top, by itself and the rest of the pages to show side by side.

    Show - Page Display - tick Show Cover Page in Two Page View.
    On Fri, Aug 15, 2014 at 4:55 PM, lost in acrobat <[email protected]>

  • How do I stop backspace from going back one page?

    I am trying to play Evony but whenever I press backspace it dumps me out of the game and goes back to the logn page.
    I have tried adding an extension, but there are no how-to's telling me how tomake it work.
    It has taken me 20 mins to post this because every time I try and type in this box the page gets reloaded and corrupted & I have to start again. Safari keeps reloading a help section within the text box then hangs, then crashes.
    Ended up typing this in NOTEPAD and pasting it in.
    Think I'll use Any Other Broser TBH.

    OK, I have found that I cannot use Safari on this website!! I am now using Chrome to be ble to reply here!!
    Whenever I use Safari, this txt box gets filled in with a web page telling me something cannot be found, then the browser hangs, then crashes.
    Using Chrome, the backspace button does NOT navigate me back one page like it does in Safari.
    Add that to the fact that the Safari browser cannot visit the Apple page and you have my answer.
    DONT use Safari!!

  • PrintJob is ignoring print dialog page range

    The class flash.printing.PrintJob presents an OS print dialog box when the start() method is executed, but in Windows XP the dialog option to select a page range is disabled.  In Mac OSX Snow Leopard the page range portion of the dialog is enabled, but is not recognized.  Instead, all pages are printed regardless of the entry.  It does work correctly for an Air application running under adl, but it does not work correctly for an Air application running under Air. It does not work correctly for a Flex application running in the browser, or running from Flash Builder.

    Did it work before? It could be a printer driver problem with the OS.
    It could also be a PS preferences problem.
    To fix, reset your preferences as described in the FAQ.
    http://www.adobeforums.com/webx/.ef4a07f/1
    You either have to physically delete (or rename) the preference files or, if using the Alt, Ctrl, and Shift method, be sure that you get a confirmation dialog.
    This resets all settings in Photoshop to factory defaults.
    A complete uninstall/re-install will not affect the preferences and a corrupt file there may be causing the problem.

  • When on grooveshark my keys suddenly stop working ie. can't type in search bar, backspace is suddenly back a page etc. A comp restart fixes the problem.

    seems only to happen when on that one specific site, it seems like my keys are reset to be shortcuts, very frustrating.

    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    Please report back soon.

  • The web.de version of Firefox is a pain (it always ignores my start page and gives me Web.de Search instead and worse it ignores how I choose to manage my search engines and always restores its own preferred list!

    The installed software is:
    Mozilla Firefox 3.6.8
    Firefox WEB.DE Edition
    WEB.DE update

    If you download a version of Firefox from some site other than the official Mozilla site, then you accept their terms and conditions and you agree to use the product with any changes that they made to the product.
    '''Official Firefox download sites''':
    *https://www.mozilla.com/en-US/firefox/personal.html
    *http://www.mozilla.com/en-US/firefox/all.html

  • Xfce Terminal segfaults after 4.6 upgrade

    Hi folks.
    I traced the problem back to the line "MiscAlwaysShowTabs=TRUE" in .config/Terminal/terminalrc. Switching to FALSE (default) lets Terminal start normally.
    Could I get a "yeah, same here / me too!" for this?
    (I didn't look at Xfce's Bugzilla yet.)

    Yep, me too.
    /usr/bin/Terminal is owned by terminal 0.2.10-1
    Mektub

Maybe you are looking for