* tcsh and pipelines
@ 1994-03-23 22:49 Elaine Lolos
1994-03-24 10:25 ` Stefan Monnier
1994-03-24 15:08 ` Wolfgang Zweimueller
0 siblings, 2 replies; 9+ messages in thread
From: Elaine Lolos @ 1994-03-23 22:49 UTC (permalink / raw)
Hi all,
We have tcsh 6.03 running on an OSF/1 v1.3A Alpha system. Everything
seems to be working fine except when you pipe any commands.
For example, the command "grep osf .newsrc | wc -l" will work about
50% of the time, and the other times the following error is received:
setpgid child:
: Not owner.
I cannot detect any pattern to the error occuring. If you know anything
about this problem, help is appreciated. We have this version of tcsh
running on other Unix systems (not OSF) and there are no problems.
Thank you!
Elaine Lolos
System Programmer
Academic Computer Services
Tufts University - Medford, MA
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: tcsh and pipelines
1994-03-23 22:49 tcsh and pipelines Elaine Lolos
@ 1994-03-24 10:25 ` Stefan Monnier
1994-03-24 15:08 ` Wolfgang Zweimueller
1 sibling, 0 replies; 9+ messages in thread
From: Stefan Monnier @ 1994-03-24 10:25 UTC (permalink / raw)
In article <Cn53F3.KEF@news.tufts.edu>,
Elaine Lolos <elolos@jade.tufts.edu> wrote:
> setpgid child:
> : Not owner.
That's an easy one:
get 6.04. Oh and don't forget to '#undef VFORK' in the config file
(the std config file for osf/1 uses erroneously VFORK. This doesn't
prevent tcsh from running, but you then still get those stpgid errors
(but still much less frequently))
Stefan
--
-----------------------------------------------------
-- On the average, people seem to be acting normal --
-----------------------------------------------------
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: tcsh and pipelines
1994-03-23 22:49 tcsh and pipelines Elaine Lolos
1994-03-24 10:25 ` Stefan Monnier
@ 1994-03-24 15:08 ` Wolfgang Zweimueller
1994-03-24 15:57 ` Steve Rosen
1994-03-29 2:03 ` Christos Zoulas
1 sibling, 2 replies; 9+ messages in thread
From: Wolfgang Zweimueller @ 1994-03-24 15:08 UTC (permalink / raw)
Elaine Lolos (elolos@jade.tufts.edu) wrote:
: Hi all,
: We have tcsh 6.03 running on an OSF/1 v1.3A Alpha system. Everything
: seems to be working fine except when you pipe any commands.
: For example, the command "grep osf .newsrc | wc -l" will work about
: 50% of the time, and the other times the following error is received:
: setpgid child:
: : Not owner.
Well, we have the same prob's. As I am not the biggest friend of the [t]csh
I will move to bash :-)
+------------------------------------+----------------------------------------+
|Wolfgang Zweimueller | Student of Computer Science |
|Muhrgasse 9 | at the University of Salzburg |
|A-5020 SALZBURG, AUSTRIA | |
+------------------------------------+----------------------------------------+
|E-Mail: wzwei@cosy.sbg.ac.at | |
|Phone: (0043)662-457583 | |
+------------------------------------+----------------------------------------+
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: tcsh and pipelines
1994-03-24 15:08 ` Wolfgang Zweimueller
@ 1994-03-24 15:57 ` Steve Rosen
[not found] ` <2mv1q4INNblg@no-names.nerdc.ufl.edu>
1994-03-29 2:03 ` Christos Zoulas
1 sibling, 1 reply; 9+ messages in thread
From: Steve Rosen @ 1994-03-24 15:57 UTC (permalink / raw)
In article <Cn6CqH.Mr@cosy.sbg.ac.at>, wzwei@cosy.sbg.ac.at (Wolfgang Zweimueller) writes:
|> Elaine Lolos (elolos@jade.tufts.edu) wrote:
|> : Hi all,
|> : We have tcsh 6.03 running on an OSF/1 v1.3A Alpha system. Everything
|> : seems to be working fine except when you pipe any commands.
|> : For example, the command "grep osf .newsrc | wc -l" will work about
|> : 50% of the time, and the other times the following error is received:
|> : setpgid child:
|> : : Not owner.
I have 6.04 running on the Alpha and I believe it fixes the problem
--
--------------------------------
Steve Rosen
Fox Chase Cancer Center
SM_Rosen@fccc.edu
(215) 728-3665
________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: tcsh and pipelines
[not found] ` <2mv1q4INNblg@no-names.nerdc.ufl.edu>
@ 1994-03-28 15:03 ` Peter Derr
1994-03-28 21:06 ` Brent A. Nelson
[not found] ` <Cn8Kwn.58w@news.tufts.edu>
1994-03-29 7:12 ` Burkhard Neidecker-Lutz
2 siblings, 1 reply; 9+ messages in thread
From: Peter Derr @ 1994-03-28 15:03 UTC (permalink / raw)
tcsh 6.04 works great for me and has for a long time. How did you create the
Makefile? Did you generate it from the Imakefile using xmkmf? If not, I
suggest you try it that way. Read README.imake from the tcsh 6.04
distribution.
--
+----------------------------------------------------------+
|Peter Derr Unix Software Group |
|Mailstop: ZKO3-3/Y15 (dtn) 381-2977 |
|Digital Equipment Corp. (603)881-2977 |
|110 Spitbook Road inet: pderr@zk3.dec.com |
|Nashua, NH 03062-2698 decnet: quarry::pderr |
+----------------------------------------------------------+
--
+----------------------------------------------------------+
|Peter Derr Unix Software Group |
|Mailstop: ZKO3-3/Y15 (dtn) 381-2977 |
|Digital Equipment Corp. (603)881-2977 |
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: tcsh and pipelines
1994-03-28 15:03 ` Peter Derr
@ 1994-03-28 21:06 ` Brent A. Nelson
0 siblings, 0 replies; 9+ messages in thread
From: Brent A. Nelson @ 1994-03-28 21:06 UTC (permalink / raw)
In article <2n6rkn$juk@utne.zk3.dec.com> pderr@zk3.dec.com (Peter Derr) writes:
>
>tcsh 6.04 works great for me and has for a long time. How did you create the
>Makefile? Did you generate it from the Imakefile using xmkmf? If not, I
>suggest you try it that way. Read README.imake from the tcsh 6.04
>distribution.
>
First I tried modifying the Makefile.std. At someone's suggestion, I tried
imake with identical results (the prompt will still sometimes disappear when
pressing the up arrow or when typing something and then hitting Ctrl-w. Clear
seems to stop this behavior temporarily). Could some stty setting be
messing us up?
Brent Nelson
brent@phys.ufl.edu
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: tcsh and pipelines
[not found] ` <2n7435E1gs@uni-erlangen.de>
@ 1994-03-28 23:42 ` Elaine Lolos
0 siblings, 0 replies; 9+ messages in thread
From: Elaine Lolos @ 1994-03-28 23:42 UTC (permalink / raw)
Finally !! I was able to build an executable with no pipe bugs!
Key #1 - using xmkmf as suggested by Peter Derr (thanks!) and not
following the usual method using the Makefile (yes, that was suggested
in the README's..... that'll teach me! But being new to doing alot of
this type of thing, I have never used Imake before.)
However, I did have to do the following steps exactly in order:
- untar latest version (for a fresh start after all my failed attempts...)
- copy config/config.osf1 to config.h
- xmkmf
- make depend (which may spit out an error... thats ok)
- make clean
- make
I hope this helps all the others who mailed me "me too"-type messages!
And thanks to my friend Gary who made use of DEC's axposf system
for alot of testing! ( Gary: go buy your own Alpha... ;-) )
Elaine Lolos
Academic Computer Services
Tufts University
Medford, MA
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: tcsh and pipelines
1994-03-24 15:08 ` Wolfgang Zweimueller
1994-03-24 15:57 ` Steve Rosen
@ 1994-03-29 2:03 ` Christos Zoulas
1 sibling, 0 replies; 9+ messages in thread
From: Christos Zoulas @ 1994-03-29 2:03 UTC (permalink / raw)
In article <Cn6CqH.Mr@cosy.sbg.ac.at> wzwei@cosy.sbg.ac.at (Wolfgang Zweimueller) writes:
>Elaine Lolos (elolos@jade.tufts.edu) wrote:
>: Hi all,
>: We have tcsh 6.03 running on an OSF/1 v1.3A Alpha system. Everything
>: seems to be working fine except when you pipe any commands.
>: For example, the command "grep osf .newsrc | wc -l" will work about
>: 50% of the time, and the other times the following error is received:
>: setpgid child:
>: : Not owner.
>
>Well, we have the same prob's. As I am not the biggest friend of the [t]csh
>I will move to bash :-)
>
get tcsh-6.04 from tesla.ee.cornell.edu; you might need to turn the
optimizer off...; xmkmf && make should work
christos
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: tcsh and pipelines
[not found] ` <2mv1q4INNblg@no-names.nerdc.ufl.edu>
1994-03-28 15:03 ` Peter Derr
[not found] ` <Cn8Kwn.58w@news.tufts.edu>
@ 1994-03-29 7:12 ` Burkhard Neidecker-Lutz
2 siblings, 0 replies; 9+ messages in thread
From: Burkhard Neidecker-Lutz @ 1994-03-29 7:12 UTC (permalink / raw)
In article <2mv1q4INNblg@no-names.nerdc.ufl.edu> brent@quark.phys.ufl.edu (Brent A. Nelson) writes:
>Could someone with a fully functional tcsh on Alpha please post how they
>compiled tcsh-6.04 (what did you have to do to the Makefile, what config_f.h
CFLAGS= -O -std -Olimit 2000
It should be noted that under OSF/1 V2.0 you need to delete the line
with the declaration of sbrk() from tc.os.h.
Here is my config.h:
/*
* config.h -- configure various defines for tcsh
*
* All source files should #include this FIRST.
*
* Edit this to match your system type.
*/
#ifndef _h_config
#define _h_config
/****************** System dependant compilation flags ****************/
/*
* POSIX This system supports IEEE Std 1003.1-1988 (POSIX).
*/
#define POSIX
/*
* POSIXJOBS This system supports the optional IEEE Std 1003.1-1988 (POSIX)
* job control facilities.
*/
#define POSIXJOBS
/*
* POSIXSIGS Use the POSIX signal facilities to emulate BSD signals.
*/
#undef POSIXSIGS
/*
* VFORK This machine has a vfork().
* It used to be that for job control to work, this define
* was mandatory. This is not the case any more.
* If you think you still need it, but you don't have vfork,
* define this anyway and then do #define vfork fork.
* I do this anyway on a Sun because of yellow pages brain damage,
* [should not be needed under 4.1]
* and on the iris4d cause SGI's fork is sufficiently "virtual"
* that vfork isn't necessary. (Besides, SGI's vfork is weird).
* Note that some machines eg. rs6000 have a vfork, but not
* with the berkeley semantics, so we cannot use it there either.
*/
#define VFORK
/*
* BSDJOBS You have BSD-style job control (both process groups and
* a tty that deals correctly
*/
#define BSDJOBS
/*
* BSDSIGS You have 4.2-style signals, rather than USG style.
* Note: POSIX systems should not define this unless they
* have sigvec() and friends (ie: 4.3BSD-RENO, HP-UX).
*/
#define BSDSIGS
/*
* BSDTIMES You have BSD-style process time stuff (like rusage)
* This may or may not be true. For example, Apple Unix
* (OREO) has BSDJOBS and BSDSIGS but not BSDTIMES.
*/
#define BSDTIMES
/*
* BSDLIMIT You have BSD-style resource limit stuff (getrlimit/setrlimit)
*/
#define BSDLIMIT
/*
* BSDNICE Your system uses setpriority() instead of nice, to
* change a processes scheduling priority
*/
#define BSDNICE
/*
* TERMIO You have struct termio instead of struct sgttyb.
* This is usually the case for SYSV systems, where
* BSD uses sgttyb. POSIX systems should define this
* anyway, even though they use struct termios.
*/
#define TERMIO
/*
* SYSVREL Your machine is SYSV based (HPUX, A/UX)
* NOTE: don't do this if you are on a Pyramid -- tcsh is
* built in a BSD universe.
* Set SYSVREL to 1, 2, 3, or 4, depending the version of System V
* you are running. Or set it to 0 if you are not SYSV based
*/
#define SYSVREL 0
/*
* YPBUGS Work around Sun YP bugs that cause expansion of ~username
* to send command output to /dev/null
*/
#undef YPBUGS
/*
* SIGVOID Define this if your signal handlers return void. On older
* systems, signal returns int, but on newer ones, it returns void.
*/
#define SIGVOID
/*
* HAVEDUP2 Define this if your system supports dup2().
*/
#define HAVEDUP2
/*
* UTHOST Does the utmp file have a host field?
*/
#define UTHOST
/*
* DIRENT Your system has <dirent.h> instead of <sys/dir.h>
*/
#define DIRENT
/****************** local defines *********************/
#undef PW_AUTH /* Define this if you are running the security gunk */
/****************** configurable hacks ****************/
/* have been moved to config_f.h */
#include "config_f.h"
#endif /* _h_config */
Burkhard Neidecker-Lutz
Distributed Multimedia Group, CEC Karlsruhe
BERKOM II Project
Digital Equipment Corporation
neideck@nestvx.enet.dec.com
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~1994-03-29 7:12 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-03-23 22:49 tcsh and pipelines Elaine Lolos
1994-03-24 10:25 ` Stefan Monnier
1994-03-24 15:08 ` Wolfgang Zweimueller
1994-03-24 15:57 ` Steve Rosen
[not found] ` <2mv1q4INNblg@no-names.nerdc.ufl.edu>
1994-03-28 15:03 ` Peter Derr
1994-03-28 21:06 ` Brent A. Nelson
[not found] ` <Cn8Kwn.58w@news.tufts.edu>
[not found] ` <2n7435E1gs@uni-erlangen.de>
1994-03-28 23:42 ` Elaine Lolos
1994-03-29 7:12 ` Burkhard Neidecker-Lutz
1994-03-29 2:03 ` Christos Zoulas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox