🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sources.bugs
3 messages
3 total messages Started by Eiji Hirai Tue, 08 Sep 1992 22:03
csh/tcsh 6.02 weirdness?
#334
Author: Eiji Hirai
Date: Tue, 08 Sep 1992 22:03
24 lines
1266 bytes
DEC 5000/200 running Ultrix 4.2
Sun Sparcstation-2 running SunOS 4.1.2

tcsh 6.02 compiled with /bin/cc under Ultrix and gcc-2.2.1 under SunOS.

I get the following weirdness.  Is this normal behaviour?  I got the same
weirdness in /bin/csh under Ultrix and SunOS.

gingko% echo $version
tcsh 6.02.00 (Cornell) 92/05/15 options 8b,nls,dl,al,dir
gingko% echo | echo
gingko% Reset tty pgrp from 28435 to 26785
gingko% jobs
[1]  + 28435 Running                echo |
gingko% fg
echo |
gingko% jobs
gingko% 

--
Eiji Hirai <hirai@cc.swarthmore.edu>    :     :    :   :  : :: ::: :::: :::::
Unix Hacker for Swarthmore College      :     :    :   :  : :: ::: :::: :::::
Information Services, Swarthmore, PA, USA.      Copyright 1992 by Eiji Hirai.
I don't speak for Swarthmore College.                    All Rights Reserved.
Re: csh/tcsh 6.02 weirdness?
#335
Author: Thomas Aaron Insel
Date: Wed, 09 Sep 1992 02:14
21 lines
1163 bytes
hirai@cc.swarthmore.edu (Eiji Hirai) writes:

> I get the following weirdness.  Is this normal behaviour?  I got the same
> weirdness in /bin/csh under Ultrix and SunOS.

> gingko% echo $version
> tcsh 6.02.00 (Cornell) 92/05/15 options 8b,nls,dl,al,dir
> gingko% echo | echo
> gingko% Reset tty pgrp from 28435 to 26785
> gingko% jobs
> [1]  + 28435 Running                echo |
> gingko% fg
> echo |
> gingko% jobs
> gingko% 

Unfortunately, yes.  This is an example of one of a few wierd bugs that
exist under the c-shell.
-- 
Thomas Aaron Insel (tinsel@uiuc.edu)
  "We must not confuse dissent with disloyalty." -- Edward R. Murrow
Re: csh/tcsh 6.02 weirdness?
#336
Author: Juan Orlandini
Date: Thu, 10 Sep 1992 14:31
47 lines
1950 bytes
In article <BuAGwC.C55@news.cso.uiuc.edu> tinsel@uiuc.edu writes:
<hirai@cc.swarthmore.edu (Eiji Hirai) writes:
<
<> I get the following weirdness.  Is this normal behaviour?  I got the same
<> weirdness in /bin/csh under Ultrix and SunOS.
<
<> gingko% echo $version
<> tcsh 6.02.00 (Cornell) 92/05/15 options 8b,nls,dl,al,dir
<> gingko% echo | echo
<> gingko% Reset tty pgrp from 28435 to 26785
<> gingko% jobs
<> [1]  + 28435 Running                echo |
<> gingko% fg
<> echo |
<> gingko% jobs
<> gingko% 
<
<Unfortunately, yes.  This is an example of one of a few wierd bugs that
<exist under the c-shell.
<-- 
<Thomas Aaron Insel (tinsel@uiuc.edu)
<  "We must not confuse dissent with disloyalty." -- Edward R. Murrow

Seems to me like the problem lies in the fact that you are using the
built in echo and not /bin/echo that causes the bug to surface:

(54:ashone:~) echo $version
tcsh 6.01.00 (Cornell) 12/19/91 options 8b,nls,dl,vi,al,dir
(55:ashone:~) echo | echo
(56:ashone:~) Reset tty pgrp from 1645 to 639
(56:ashone:~) jobs
[1]    Running                echo |
(57:ashone:~) %1
echo |
(58:ashone:~) 
(58:ashone:~) jobs
(59:ashone:~) /bin/echo | /bin/echo

(60:ashone:~) jobs
(61:ashone:~) 


Juan
Juan Orlandini         (juan@cc.gatech.edu)    |     Home of the:
College of Computing   (super user at large)   |  
Georgia Institute of Technology                |  Pre-emptive Maintenance.
(standard disclaimer - not 'em that said it)   |  Agnostic Downtime.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads