Thank you! I confirm that it works without any other configuration.
On 3/19/24 17:25, char...@lisp.mobi wrote:
init.el:
(set-input-mode t nil t)
On 3/19/24 03:07, Irek Szcześniak wrote:
Hi,
I would like to use Emacs in the console, but the problem is the Meta
key. I'm using OpenBSD 7.4 GENERIC.MP#1397 amd64 with regular PC
keyboards where I got used to the left Alt as the Meta key. I know
that instead of using Meta (e.g., Alt+x), I can prefix with Esc, and
then press x. However, I would like to get the left Alt work the way
I'm used to. But how?
Supposedly, this should work:
wsconsctl keyboard.encoding=us.metaesc
However, it doesn't work for me, and I don't know how to diagnose the
problem. I can use Emacs (emacs -nw) in xterm and cwm (from there I
can ssh to a different system and can use Emacs with the left Alt key
allright), where I had to tweak the .Xdefaults:
XTerm*eightBitInput: false
XTerm*eightBitOutput: true
How to get the console work the way I want?
Thanks & best,
Irek