🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.ultrix
Article #8927

Trouble with expect 4.7 on ULTRIX 4.2

#8927
From: Richard Kasperowski
Date: Mon, 26 Jul 1993 16:34
28 lines
1346 bytes
Has anyone had any success with expect 4.7 on ULTRIX 4.2?  My specific
test case is the following three-line expect script: 

 spawn csh
 send date\n
 expect

On AIX, HP/UX, and SunOS, the above expect script produces output
similar to:

 prompt% date
 Mon Jul 26 11:24:10 EDT 1993
 prompt% 

On ULTRIX, the output is simply:

 date

The csh is not connected to a terminal, as evidenced by the output of
"ps".  The problem only occurs with csh (and possibly bash and tcsh,
although this information is second-hand); sh and other programs work
properly with expect.

Any help is appreciated.

--
- --
Rich Kasperowski     richk@icad.com
Technical Details
Message-ID: <RICHK.93Jul26113418@wolverine.icad.com>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!uunet!icad!richk

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,c819da13fd2f4103,start
X-Google-Attributes: gid1025b4,public
X-Google-Thread: 10b612,c819da13fd2f4103,start
X-Google-Attributes: gid10b612,public
X-Google-ArrivalTime: 1993-07-26 10:05:53 PST
Newsgroups: comp.unix.ultrix,gnu.misc.discuss
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!uunet!icad!richk
From: richk@icad.com (Richard Kasperowski)
Subject: Trouble with expect 4.7 on ULTRIX 4.2
Message-ID: <RICHK.93Jul26113418@wolverine.icad.com>
Sender: news@icad.com
Organization: ICAD Inc., Cambridge, MA
Distribution: comp
Date: Mon, 26 Jul 1993 16:34:18 GMT
Lines: 28