🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by David Heath Thu, 10 May 1990 01:48
nn in sunos4.0.3?
#353
Author: David Heath
Date: Thu, 10 May 1990 01:48
32 lines
1857 bytes
Has anyone successfully installed nn6.4 on a sun4 running sunos4.0.3?
If so, I would appreciate hearing from you. nn compiles and almost runs
correctly, but with the following symptons:

1) kill and erase characters are not set to the default

2) nn is not in CBREAK mode (you have to hit enter for any commands to
   be accepted. Of course, enter is taken as a command also.)

I have discovered a serious problem. The call

ioctl (0, TIOCGETP, &norm_tty) 

in function init_term() in file term.c
is failing (returning -1). perror prints "Inappropriate ioctl for device"
I was thinking that this had something to do with the fact that sunos4.0
has termio. So, I defined this in the end of s-sunos4-0.h and removed
all #includes of <sys/ioctl.h> (since this had alternate definitions of
things in <sys/termio.h>). I also had to change the name of the WRAP
variable to avoid conflicts. Now, the ioctl call was:

ioctl (0, TCGETA, &norm_tty)

However, this fails with the same error.

Now, I am not a sun guru, but it seems that the original ioctl() should
have worked. At this point I am basically stuck.

Any help would be appreciated.

-dave heath
heath@boingo.med.jhu.edu   -or-   heath@crabcake.cs.jhu.edu
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