Article View: news.software.readers
Article #23931Re: Slrn does not set tty as raw mode
From: Yunho Jeon
Date: Tue, 09 Jul 1996 00:00
Date: Tue, 09 Jul 1996 00:00
23 lines
1546 bytes
1546 bytes
On 8 Jul 1996 06:30:02 GMT, Yunho Jeon <yunho@saturn.kist.re.kr> wrote: >I compiled and installed slrn 0.8.8.2 and slang 0.99-31 in my >sun running SunOS 4.1.3. It seems to work basically, but the tty is not set >correctly. Commands do not work as soon as I type them. Rather, they work > after > I press the enter key. Obviously the tty is working in line buffered mode. Because I just solved the problem, I'm following my own article. For some reason I don't know, while compiling slutty.c of slang library, TCGETS macro was defined and ioctl() was called instead of tcgetattr() for GET_TERMIOS() macro. I just commented out one line to force to call tcgetattr() and the problem was solved. -- Yunho Jeon Tel: +82-2-880-6482~90 ext) 410 Intelligent Control Lab +82-2-875-9183 School of Electrical Engineering Fax: +82-2-888-4182 Seoul National University, Korea Email: yunho@csl.snu.ac.kr
Technical Details
Message-ID:
<slrn4u428u.eup.yunho@csl.snu.ac.kr>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-mailReferences:
<4rq9ta$1s6@news.kreonet.re.kr>Show Full Headers
Complete Article Headers
Message-ID: <slrn4u428u.eup.yunho@csl.snu.ac.kr> Subject: Re: Slrn does not set tty as raw mode Date: Tue, 09 Jul 1996 00:00:00 +0000 From: yunho@csl.snu.ac.kr (Yunho Jeon) References: <4rq9ta$1s6@news.kreonet.re.kr> 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: 167356277 Organization: Seoul National Univ. Computing Center Reply-to: yunho@csl.snu.ac.kr Newsgroups: news.software.readers