Cannot use cmdtool on NCD X-terminal in SunOS 4.1 with OLWM

Leonard Sitongia sitongia at hao.ucar.edu
Fri May 10 23:03:00 AEST 1991


hao.ucar.edu is a Sun-4/280 running SunOS 4.1.  It is the boot host for my
NCD X-19 X-terminal, which is running revision 2.1.0 of the server code.
hao runs xdm from X11R4.  My .xsession starts up the olwm from OpenWindows
2.0.  Clients are then launched from the Workspace menu.  The olwm menu
simply exec's the cmdtool.  

Under SunOS 4.0.3 this all worked fine.  After upgrading hao to 4.1 I have
been unable to use cmdtool on hao.  The symptoms are that the cmdtool
runs, it opens a window on my X terminal, and text I type is echoed, but
not executed.

The xdm error log indicates:

ttysw-TIOCSPGRP: Interrupted system call

If I trace the cmdtool process, I see (I typed "a"):

select (256, 0xf7fff5f8, 0xf7fff5d8, 0xf7fff5b8, 0) = 1
ioctl (3, 0x4004667f, 0xf7ffef54) = 0
read (3, "".., 32) = 32
ioctl (3, 0x4004667f, 0xf7ffefec) = 0
write (3, "".., 244) = 244
ioctl (3, 0x4004667f, 0xf7fff2e4) = 0
select (256, 0xf7fff5f8, 0xf7fff5d8, 0xf7fff5b8, 0) = 1
ioctl (3, 0x4004667f, 0xf7ffef54) = 0
read (3, "".., 32) = 32
ioctl (3, 0x4004667f, 0xf7ffefec) = 0
ioctl (3, 0x4004667f, 0xf7fff2e4) = 0
select (256, 0xf7fff5f8, 0xf7fff5d8, 0xf7fff5b8, 0) =

So the cmdtool is selecting but it doesn't read anything.  If I exec a
cmdtool which rlogin's to hao, it works fine, logging me in and I proceed
normally.  Tracing such a cmdtool gives (I typed "a"):

select (256, 0xf7fff5f0, 0xf7fff5d0, 0xf7fff5b0, 0) = 1
write (4, "a", 1) = 1
ioctl (3, 0x4004667f, 0xf7fff2dc) = 0
read (3, "".., 32) = 32
ioctl (3, 0x4004667f, 0xf7fff1f4) = 0
ioctl (3, 0x4004667f, 0xf7fff2dc) = 0
select (256, 0xf7fff5f0, 0xf7fff5d0, 0xf7fff5b0, 0) = 1
readv (4, 0xf774bd70, 2) = 2
gettimeofday (0xa9bc, 0) = 0
write (3, "".., 76) = 76
ioctl (3, 0x4004667f, 0xf7fff2dc) = 0
gettimeofday (0xf7fff4b0, 0) = 0
setitimer (0, 0xf7fff420, 0) = 0
select (256, 0xf7fff5f0, 0xf7fff5d0, 0xf7fff5b0, 0xf7746894) =

So, it got the letter "a" that I typed.

Does anyone know what is causing this?  Where do I point the finger?
SunOS? OpenWindows? NCD?

Thanks for your time,

-Leonard E. Sitongia           sitongia at ncar.ucar.edu
System Manager                 (303) 497-1509
High Altitude Observatory      P.O. Box 3000 Boulder CO  80307




More information about the Comp.sys.sun mailing list