🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #7768

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

#7768
From: Leonard Sitongia
Date: Fri, 10 May 1991 13:03
59 lines
2838 bytes
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@ncar.ucar.edu
System Manager                 (303) 497-1509
High Altitude Observatory      P.O. Box 3000 Boulder CO  80307
Technical Details
Message-ID: <2839@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: sitongia@hao.ucar.edu (Leonard Sitongia)
Newsgroups: comp.sys.sun
Subject: Cannot use cmdtool on NCD X-terminal in SunOS 4.1 with OLWM
Keywords: Windows
Message-ID: <2839@brchh104.bnr.ca>
Date: 10 May 91 13:03:00 GMT
Sender: news@brchh104.bnr.ca
Organization: Sun-Spots
Lines: 60
Approved: Sun-Spots@rice.edu
X-Original-Date: 2 May 91 23:57:44 GMT
X-Sun-Spots-Digest: Volume 10, Issue 97, message 9
X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu