🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #353

nn in sunos4.0.3?

#353
From: 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
Technical Details
Message-ID: <1990May10.014855.28148@boingo.med.jhu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!aplcen!boingo.med.jhu.edu!dave

Show Full Headers
Complete Article Headers
Message-ID: <1990May10.014855.28148@boingo.med.jhu.edu>
Subject: nn in sunos4.0.3?
Date: Thu, 10 May 1990 01:48:55 +0000
From: dave@boingo.med.jhu.edu (David Heath)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!aplcen!boingo.med.jhu.edu!dave
Newsgroups: news.software.nn
Keywords: nn, sunos, bug, termio
Organization: The Johns Hopkins Hospital-Body CT Imaging Lab
Lines: 32
Posted: Thu May 10 02:48:55 1990