slang-users mailing list

[1999 Date Index] [1999 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Some key handling questions


In slang, you wrote:
>First, I'd like to preserve the default suspend key, in case it has been
>changed with stty or the like.  I can preserve interrupts with a parameter
>to SLang_init_tty, but I see nothing about preserving Ctrl-Z.  I have also

After calling SLang_init_tty, call `SLtty_set_suspend_state(1)'.

>Second, I would like to use SLkp to catch a Ctrl-Space keystroke.  How
>would I do this?  I don't see an ASCII code for a Ctrl-Space.

Ctrl-Space is not an ASCII character.  Some terminal emulators map it
to Ctrl-@, but not all of them.

--John


[1999 date index] [1999 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]