Can't use Alt- Commands in xterm

2010-02-18 Thread Craig Moore
Hi, I cannot execute commands using the Alt key. For example, whenever I press, Alt -. I get a zero instead of the previous command. This is also a problem whenever I run emacs inside xterm. Alt-w produces a ÷ (division symbol) instead of executing a copy region command. Also Alt-x doesn't give

Re: Can't use Alt- Commands in xterm

2010-02-18 Thread Thomas Dickey
On Thu, 18 Feb 2010, Craig Moore wrote: Hi, I cannot execute commands using the Alt key. For example, whenever I press, Alt -. I get a zero instead of the previous command. This is also a problem whenever I run emacs inside xterm. Alt-w produces a ÷ (division symbol) instead of executing a

Re: Can't use Alt- Commands in xterm

2010-02-18 Thread Craig Moore
In man xterm, see eightBitInput and metaSendsEscape. Thanks, that lead me to this solution: xterm-Main Menu-Meta Sends Escape and now alt behaves as it should (Why isn't this the default setting?!?) Is there someway to set xterm to always have 'Meta Sends Escape' enabled? Also, I would

Re: Can't use Alt- Commands in xterm

2010-02-18 Thread Thomas Dickey
On Thu, 18 Feb 2010, Craig Moore wrote: In man xterm, see eightBitInput and metaSendsEscape. Thanks, that lead me to this solution: xterm-Main Menu-Meta Sends Escape and now alt behaves as it should (Why isn't this the default setting?!?) Is there someway to set xterm to always have 'Meta

Re: Can't use Alt- Commands in xterm

2010-02-18 Thread Craig Moore
On Thu, 18 Feb 2010 05:46:37 -0500 (EST) Thomas Dickey dickey at his dot com wrote: Those can be done via resource-settings, e.g. in your $HOME/.Xdefaults, or in /etc/X11/app-defaults Ok, I enabled 'Meta Sends Escape' option by adding this to my ~/.Xdefaults file: XTerm*metaSendsEscape: true

Re: Can't use Alt- Commands in xterm

2010-02-18 Thread Gery
Instead of the Alt key, you have to use the Alt Gr key, then you'll get all symbols you need in the xterm. Sent from my iPod. On Feb 18, 2010, at 4:25, Thomas Dickey dic...@his.com wrote: On Thu, 18 Feb 2010, Craig Moore wrote: Hi, I cannot execute commands using the Alt key. For