Thread View: news.software.readers
3 messages
3 total messages
Started by Yunho Jeon
Mon, 08 Jul 1996 00:00
Slrn does not set tty as raw mode
Author: Yunho Jeon
Date: Mon, 08 Jul 1996 00:00
Date: Mon, 08 Jul 1996 00:00
21 lines
1708 bytes
1708 bytes
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. I used gcc 2.7.2 to compile those programs. The configure utility generated '-traditional' option for gcc comiler, which caused errors with parameter typing. So I removed the 'traditional' option from Makefile, and except some warnings, the program compiled well. I successfully compiled slrn in Solaris and it works as expected, but I'd like to use it in SunOS 4.1.3 machine. Please send e-mail to me. Before I solve the problem, I can't read this newsgroup often. Thanks in advance, -- ------------------------------------------------------------------------ Yunho Jeon yunho@amadeus.kist.re.kr Div. of Electronics & Information Technology Tel: +82-2-958-5747 Korea Institute of Science and Technology Fax: +82-2-958-5709
Re: Slrn does not set tty as raw mode
Author: T.E.Dickey
Date: Mon, 08 Jul 1996 00:00
Date: Mon, 08 Jul 1996 00:00
17 lines
1399 bytes
1399 bytes
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. : I used gcc 2.7.2 to compile those programs. The configure utility generated : '-traditional' option for gcc comiler, which caused errors with parameter : typing. So I removed the 'traditional' option from Makefile, and except some : warnings, the program compiled well. that was an error. The -traditional is fixing the terminal I/O so it'll work. -- Thomas E. Dickey dickey@clark.net
Re: Slrn does not set tty as raw mode
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads