From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,f5f203cfee8cfb13 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-07-17 18:41:47 PST Path: bga.com!news.sprintlink.net!hookup!yeshua.marcam.com!MathWorks.Com!solaris.cc.vt.edu!ceharris From: ceharris@vt.edu (Carl Harris) Newsgroups: comp.sys.dec Subject: Re: backtick on ULTRIX Date: 18 Jul 1994 01:41:31 GMT Organization: Virginia Tech Distribution: world Message-ID: <30cmkb$srs@solaris.cc.vt.edu> References: Reply-To: ceharris@vt.edu NNTP-Posting-Host: mal9000.bevc.blacksburg.va.us NNTP-Posting-User: ceharris X-Newsreader: TIN [version 1.2 PL2] 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