Article View: news.software.readers
Article #38247slrn portability and SLMouseEnable()
From: root
Date: Sat, 24 Jan 1998 00:00
Date: Sat, 24 Jan 1998 00:00
13 lines
1079 bytes
1079 bytes
At present, when slrn is called with the `-m' option, the slrn code
issues a `mouse enable' escape sequence to the terminal it is running
on. This is a very Unix-specific thing. If you want slrn to be portable
to non-Unix platforms like OS/2 and Windows NT, then the `printf("\e[?...");'
statements should be replaced by `SLMouseEnable(TRUE)' and
`SLMouseEnable(FALSE)' respectively.
That way, slutty.c can issue the `printf' statements and slw32tty.c and
slos2tty.c can set things up to detect console mouse clicks in the style
of their OSs.
Technical Details
Message-ID:
<34c9301f.0@news3.ibm.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <34c9301f.0@news3.ibm.net> Subject: slrn portability and SLMouseEnable() Date: Sat, 24 Jan 1998 00:00:00 +0000 From: root@tailor.aleim.net (root) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 318720782 Reply-To: vischne@ibm.net-nospam Organization: The Light Newsgroups: news.software.readers