Curses applications to catch SHIFT + cursor keys

Sebastian Gniazdowski sgniazdowski at gmail.com
Fri May 20 06:26:50 UTC 2016


Hello,
is there a way to make curses applications correctly catch SHIFT +
cursor left / cursor right? I tested this with zsh and curses module,
and it doesn't work. Also, following short test application:

http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/1.0-RELEASE/ports/ss/sunfkeys/f1.c

shows that KEY_SLEFT, KEY_SRIGHT aren't catched. On X11 pressing the
combinations outputs an escape series. Is there any solution?

Best regards,
Sebastian Gniazdowski


More information about the freebsd-questions mailing list