Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!uw-beaver!rice!rice!sun-spots-request From: auspex!guy@uunet.uu.net (Guy Harris) Newsgroups: comp.sys.sun Subject: Re: Curses question Keywords: Miscellaneous Message-ID: <1990Aug23.225431.10321@rice.edu> Date: 15 Aug 90 20:14:38 GMT Sender: sun-spots-request@rice.edu Organization: Sun-Spots Lines: 11 Approved: Sun-Spots@rice.edu Originator: spots@titan.rice.edu X-Sun-Spots-Digest: Volume 9, Issue 308, message 8 X-Refs: Original: v9n304 >I'm starting to work with curses and have already run into a bit of a >problem.. I need to be able to tell the difference between the tab (->) >and backtab (<-) keys. At least within a "shelltool" window, there *is* no difference. SHIFT+TAB "sends" a TAB character, just as TAB does. If you want to treat SHIFT+TAB differently from TAB, you'll either have to roll your own terminal emulator, or use the window system directly rather than running a "dumb terminal" program within a "shelltool" (or, if using XView or have SunView source, hack up the tty subwindow code to treat SHIFT+TAB differently from TAB, so that there is a differnce in a "shelltool" window).