View previous topic :: View next topic |
Author |
Message |
vpoinot Apprentice
Joined: 10 Nov 2003 Posts: 155
|
Posted: Wed Aug 04, 2004 8:09 pm Post subject: Alt + backspace doesn't work in xterm (xorg) [SOLVED] |
|
|
I emerged XOrg today and now typing <alt>+<backspace> in an xterm doesn't work anymore (it should kill the previous word).
Note that this combination works in a console.
I tried to add the line:
Code: | Meta-Rubout: kill-backward-word |
to my /etc/inputrc file after reading the readline manual, but that did not change anything.
It seems that pressing <alt>+<backspace> produces something, though, because I can then delete my prompt ! Looks like it's outputting some kind of control characters...
Any idea how to have this combination work again as expected ?
Last edited by vpoinot on Tue Jul 26, 2005 6:03 pm; edited 1 time in total |
|
Back to top |
|
|
smonijhay1 Apprentice
Joined: 29 Apr 2004 Posts: 229 Location: Ann Arbor Michigan
|
Posted: Wed Aug 04, 2004 8:35 pm Post subject: |
|
|
just a guess, but in your .Xresources file what do you have for your
variable? _________________ you mean you are going to remember me by what I type....here? |
|
Back to top |
|
|
vpoinot Apprentice
Joined: 10 Nov 2003 Posts: 155
|
Posted: Wed Aug 04, 2004 8:57 pm Post subject: |
|
|
I'm afraid I have no .Xresources file: I checked in my home dir and in /etc/X11, but could not find any such file...
Is this bad ? |
|
Back to top |
|
|
vpoinot Apprentice
Joined: 10 Nov 2003 Posts: 155
|
Posted: Wed Aug 04, 2004 9:45 pm Post subject: |
|
|
I've just noticed something even worse: I can not get an "M" (uppercase "m"). Well, yes I can, but not in an xterm: <shift>+<m> won't produce anything ! Even in a console...
It works in my browser (Firefox), in Xemacs, etc.
I don't know if this can help you, but here are some of my settings. First, my kernel config regarding NLS:
Code: | CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=m
CONFIG_NLS_CODEPAGE_850=m
CONFIG_NLS_ISO8859_1=y
CONFIG_NLS_ISO8859_15=m
CONFIG_NLS_UTF8=m |
My /etc/rc.conf:
Code: | KEYMAP="fr-latin1"
SET_WINDOWKEYS="yes"
EXTENDED_KEYMAPS=
CONSOLEFONT="default8x16"
CONSOLETRANSLATION="8859-1_to_uni" |
(By the way, if anyone can explain me why I have to set this CONSOLETRANSLATION variable to have accented characters in a console, I would appreciate... I mean, my kernel uses iso8859-1 by default and I use a latin1 keymap, so why should I translate anything to unicode ?)
My /etc/env.d/02locale:
My LC variables:
Code: | bash-2.05b$ locale
LANG=fr_FR
LC_CTYPE=fr_FR
LC_NUMERIC="fr_FR"
LC_TIME="fr_FR"
LC_COLLATE="fr_FR"
LC_MONETARY="fr_FR"
LC_MESSAGES="fr_FR"
LC_PAPER="fr_FR"
LC_NAME="fr_FR"
LC_ADDRESS="fr_FR"
LC_TELEPHONE="fr_FR"
LC_MEASUREMENT="fr_FR"
LC_IDENTIFICATION="fr_FR"
LC_ALL=
|
Thanks in advance for your insight, this stuff is getting on my nerves ! |
|
Back to top |
|
|
vpoinot Apprentice
Joined: 10 Nov 2003 Posts: 155
|
Posted: Thu Aug 05, 2004 11:34 am Post subject: |
|
|
[Sorry, I realize that I raised two different problems in the same post, but I do not know how to split it]
This uppercase 'M' issue is really annoying now: I can not use commands involving "Master" or "PCM" to configure ALSA for example ! I thought I could maybe copy/paste the words from my browser orXemacs, where it works, to a terminal: no, impossible ! The 'M' and the next character would get "swallowed" by the terminal: they do not appear when I paste the string...
First, I thought it was an xterm problem, but this is not the case as I cannot get an uppercase 'M' in a console either, nor in rxvt (I haven't tried in eterm, but I guess it would be the same).
As a sidenote, <alt>+<backspace> works in rxvt, so this seems to be an xterm problem.
Please help, this is very frustrating ! |
|
Back to top |
|
|
vpoinot Apprentice
Joined: 10 Nov 2003 Posts: 155
|
Posted: Sat Aug 07, 2004 12:03 pm Post subject: |
|
|
I finally solved my first problem (the <alt>+<backspace> stuff): as smonijhay1 suggested, it was an xterm configuration problem.
I simply created an .Xresources file in my home directory and added the line:
Code: | XTerm.vt100.metaSendsEscape: true |
and
Code: | xrdb -merge .Xresources |
And now the "alt" key behaves as before. It seems that for some reason, XOrg resets XFree's default behaviour, in this respect.
I still have this upper 'm' problem, though... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|