Article View: news.software.readers
Article #67066[slrn] Patch to slang 1.4.2 for MacOS X Public Beta
From: stefa... Stefan Elisa Kapusniak
Date: Sun, 29 Oct 2000 14:29
Date: Sun, 29 Oct 2000 14:29
27 lines
1759 bytes
1759 bytes
This is doubtless completely the wrong way to do it
but with this change to the s-lang library source
and the usual massaging of the Makefiles required
on MacOS X, I seem to be able to get a working slrn
with working keyboard input.
--- originalSrc/slutty.c Sun Aug 20 02:20:38 2000
+++ src/slutty.c Sun Oct 29 13:32:34 2000
@@ -240,7 +240,11 @@
|| (1 != isatty (SLang_TT_Read_FD)))
{
#ifdef O_RDWR
-# ifndef __BEOS__ /* I have been told that BEOS will HANG if passed /dev/tty */
+
+# if !defined(__BEOS__) && !defined(__APPLE__)
+/* I have been told that BEOS will HANG if passed /dev/tty */
+/* MacOS X doesn't seem to like it either */
+
if ((SLang_TT_Read_FD = open("/dev/tty", O_RDWR)) >= 0)
{
TTY_Open = 1;
-- Kapusniak, Stefan e
Technical Details
Message-ID:
<o8cht8.os2.ln@localhost>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!psinet-eu-nl!psiuk-p4!uknet!peer1.news.dircon.net!peer2.news.dircon.net!news.dircon.co.uk.POSTED!stefan.kapusShow Full Headers
Complete Article Headers
Message-ID: <o8cht8.os2.ln@localhost> Subject: [slrn] Patch to slang 1.4.2 for MacOS X Public Beta Date: Sun, 29 Oct 2000 14:29:44 +0000 From: stefa...@zetnet.co.uk (Stefan Elisa Kapusniak) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!psinet-eu-nl!psiuk-p4!uknet!peer1.news.dircon.net!peer2.news.dircon.net!news.dircon.co.uk.POSTED!stefan.kapus Newsgroups: news.software.readers,alt.lang.s-lang User-Agent: slrn/0.9.6.3 (Darwin) Lines: 26 NNTP-Posting-Host: 195.157.32.188 X-Complaints-To: news-...@dircon.co.uk X-Trace: news.dircon.co.uk 972826613 195.157.32.188 (Sun, 29 Oct 2000 13:36:53 GMT) NNTP-Posting-Date: Sun, 29 Oct 2000 13:36:53 GMT