home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.ultrix
- Path: sparky!uunet!stanford.edu!morrow.stanford.edu!decwrl!pa.dec.com!heiney
- From: heiney@wsl.dec.com (Bob Heiney)
- Subject: Re: Using mouse input in xterm/DECterm, possible?
- Message-ID: <1992Aug19.192327.1350@PA.dec.com>
- Keywords: mouse
- Sender: news@PA.dec.com (News)
- Organization: Digital Equipment Corporation
- References: <bibhas.714234503@femto.engr.mun.ca>
- Date: Wed, 19 Aug 92 19:23:27 GMT
- Lines: 18
-
- In article <bibhas.714234503@femto.engr.mun.ca> bibhas@pico.engr.mun.ca
- (Bibhas Bhattacharya) writes:
- >Hi,
- >I was wondering if it's possible to incorporate mouse in a curses
- >programming.
-
- If you run your program in an xterm, you can ask the xterm to send mouse
- down and mouse up events (in the form of escape sequences) to your
- application. Xterm also has some highlighting features, but I haven't
- played with them.
-
- See the file "ctlseqs.ms" in the R5 source for xterm.
-
- --
- Bob Heiney
- Technical Consultant
- Digital Equipment Corporation, US Desktop Sales, Palo Alto, CA
- All opinions expressed are mine, and not necessarily those of my employer
-