Newsgroups: comp.sys.pyramid
Path: utzoo!censor!geac!wcm
From: wcm@geac.com (W Christopher Martin)
Subject: xterm problem with ioctl
Message-ID: <1991Apr12.041012.9878@geac.com>
Sender: wcm@geac.com (W Christopher Martin)
Organization: Geac Computer Corporation
Date: Fri, 12 Apr 91 04:10:12 GMT

I've compiled the X11R4 package under the ucb universe on our Pyramid
(att uname -a = "OSx120M pyrogy 5.1a-900725 0409e MIS-2/02") and
everything works great except for xterm.  It complains about
"Error 16, errno 25: Inappropriate I/O control operation" which I've
tracked down to the TIOCGETC in main.c.

I tried a simple test program which did the same ioctl on a pseudo-tty
and it worked fine, I believe there must be a problem with the way
xterm is opening the pseudo-tty.  Before I start trying to dig any
further into xterm, I felt it would be better to check to see if
anyone else could shed some light on the problem.

Patches to make xterm work on the Pyramid would be even better.

Thanks,
wcm
-- 
W. Christopher Martin  <wcm@geac.com>
