From: ceharris@vt.edu (Carl Harris)
Subject: Re: backtick on ULTRIX
Date: 18 Jul 1994 01:41:31 GMT [thread overview]
Message-ID: <30cmkb$srs@solaris.cc.vt.edu> (raw)
In-Reply-To: MANOWAR.94Jul17195750@brilliant.engin.umich.edu
krisztian flautner (manowar@engin.umich.edu) wrote:
: I have noticed that when I issue a command under ULTRIX (4.2.0) enclosed in
: back ticks then the command does not behave the same way as under other
: variants of UNIX (AIX, SunOS, HP-UX). One of the things that I noticed is that
: the process issued is removed from the controlling tty.
If the process is being removed from the controlling tty, it is a function
of the shell. Judging from your prompt, I presume you're using csh. I
don't have access to an Ultrix 4.2 system, but csh on my Ultrix 4.4 system
does the following:
% echo `stty size`
24 80
%
Using csh on Ultrix 4.4, SunOS 5.3, AIX 3.2.5, HP-UX A.09.01, OSF/1 1.3,
OSF/1 2.0, NetBSD 0.9, and Linux 1.1.24, I get exactly the same behavior
from "echo `stty size`" (yes, I tried it on every one of those systems just
now :). I'm inclined to think it is a bug in the Ultrix 4.2 version of csh;
try running
% sh
$ echo `stty size`
and see what happens. If you still get the 'not a typewriter' business,
something else is amiss. But if it goes away, try to convince your sysadmin
to upgrade the system (Ultrix 4.2 is, after all, pretty old and buggy), or
make sure that your Perl script uses sh to invoke stty, using something
like
`sh -c "stty size"`
Good luck!
--
Carl Harris "If you give an infinite number of monkeys desktop
EXECUTIVE Scapegoat publishing software, they will eventually produce an
ceharris@vt.edu issue of _Wired_." -Marc VanHeyningen
http://csugrad.cs.vt.edu/aboutus/ceharris.html
next prev parent reply other threads:[~1994-07-18 1:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-07-17 23:57 backtick on ULTRIX krisztian flautner
1994-07-18 1:41 ` Carl Harris [this message]
1994-07-18 17:52 ` Peter da Silva
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox