🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #9489

shelltool child of another shelltool

#9489
From: tale
Date: Thu, 22 Dec 1988 05:13
31 lines
1921 bytes
Here is a bug, unless someone can convince me it is a feature.

The scenario:
	SunOS 3.5 based on BSD 4.2.
	suntools-e
	default shell: /usr/local/bin/ecsh  (emacs-like c-shell)

Now my problems mught arise over either my use of a non-standard suntools
(modifications had nothing to do with window control, though, at least as
reported by the author) or ecsh, which does do a couple of weird (read as:
neat!) things with command lines.  Perhaps it is the interaction of both.
I'm am pretty sure they are involved, though, because when I am defaulted
to csh in good old suntools, it works fine.

The problem?  When I run shelltool in the background from another
shelltool, it loads with only stty kill '' set.  stty\n shows that
everything is <undef[ined]>.  This creates a problem when I run any of my
C programmes, all of which use fgets 99% of the time to read input.  I
type on the stdin, but nothing gets displayed.  It gets passed, but not
displayed.  If I set all the sttys by hand, they don't work on my command
line.  Any suggestions?  [[ Type an "stty" command with appropriate
settings?  Type the "reset" command?  Or do you mean something more
automated?  --wnl ]]

Incidentally, the olny reason I am running a shelltool from within another
shelltool rather than from the menu is that I need it -Wn and that is not
an escape sequence which I can echo from within the shell.

Dave

      tale@rpitsmts.bitnet, tale%mts@rpitsgw.rpi.edu, tale@pawl.rpi.edu
Technical Details
Message-ID: <8812160250.AA05738@pawlsub.rpi.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!rice!sun-spots-request
From: tale@pawl.rpi.edu
Newsgroups: comp.sys.sun
Subject: shelltool child of another shelltool
Message-ID: <8812160250.AA05738@pawlsub.rpi.edu>
Date: 22 Dec 88 05:13:35 GMT
Sender: usenet@rice.edu
Organization: Sun-Spots
Lines: 31
Approved: Sun-Spots@rice.edu
Original-Date: Thu, 15 Dec 88 21:50:27 EST
X-Sun-Spots-Digest: Volume 7, Issue 71, message 5 of 16