Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 May 2016 08:26:27 +0200
From:      Sebastian Gniazdowski <sgniazdowski@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Curses applications to catch SHIFT + cursor keys
Message-ID:  <CAKc7PVBszCaWzZjgC9evmi0TrZGgYsySmXCC1dd9haycsHOgow@mail.gmail.com>

Next in thread | Raw E-Mail | Index | Archive | Help
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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAKc7PVBszCaWzZjgC9evmi0TrZGgYsySmXCC1dd9haycsHOgow>