Re: binding command character to f12

Bruno Cudini <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
On Fri, Mar 15, 2013 at 05:30:27AM +0400, sonne wrote:
> Binding command character to f12. Impossible?
> 
> From this
> http://www.gnu.org/software/screen/manual/screen.html#Command-Character
> manual, it appears that I can only bind command char to a key that
> emits asci code. I don't know of any asci code being associated with
> f12 key, though, as well as any other f and many other keys.

The 'escape' command doesn't support non-ASCII characters, but you can
bind the F12 key to 'command':
	bindkey -k F2 command

F2 does actually mean F12, see the INPUT TRANSLATION section in the man
page for more information about it.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.