help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: function keys in macro


From: Emanuel Berg
Subject: Re: function keys in macro
Date: Tue, 14 Jan 2014 02:47:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Emanuel Berg <embe8573@student.uu.se> writes:

> * chvt (doesn't work from Emacs, tmux, or X, but from
> an "empty" Linux VT, it works to everywhere including
> X)

I found a way to make chvt work from everywhere
(including Emacs and tmux, in- and outside of X). The
console remap is perhaps better (safer) for keypresses
(at least there is no reason not to use it, as that's
what you do), but if you really want it as a *command*
(to be invoked from Emacs and/or shell functions) this
makes it work:

sudo chmod u+s /bin/chvt

-- 
underground experts united:
http://user.it.uu.se/~embe8573


reply via email to

[Prev in Thread] Current Thread [Next in Thread]