frodo@EDDIE.MIT.EDU (06/20/89)
Ooops. The last command was "pps *.h *.cc | lpr &" I was running under X11r3 (not sure what patch level) using the awm. Other than that everything is pretty much standard. In my ~/.bashrc I have pps aliased to: alias pps='pps -l c++' I am running a SUN3 under SunOs 4.0.1 w/ 12MB. BTW, bash is very VERY useful. Thanks to all of you for BASH, GNU emacs, etc. David Fletcher, Advanced Development, NCR Microelectronics 2001 Danfield Court, |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ft. Collins, CO 80525 | "... Let everything else go ..." (303) 223-5100 x 432 | -- Phil Keaggy ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~s bug-report: *m++ == MAGIC1 This is a Bash bug report. Bash maintainers should be getting this report. If this mail has bounced, for right now please send it to: bfox@ai.mit.edu since he is the current maintainer of this version of the shell. This is /usr/local/.NCR/share/src/SLIC/src/Utilities/Hash/bash, version 0.99, on host inverness, used by frodo. This shell is interactive, and it is not a login shell. The host is a SUN3 running SUNOS4. Here are the last 40 commands. su cd cd ~CC ls pwd cd handel cd xinit exit mail xinit mail exit xinit mail frodo exit xinit exit cd /usr/local/FR/src ls which idraw mail ? cd ~slic/src/Utilities/Hash/ ls rtell ls RCS rlog -R -L RCS/* ls ls -l chmod 440 Hash.3 ls -l rtell rolo Rich f rich f ricardo ? ls ls *.h *.cc
diekema@SHARKEY.CC.UMICH.EDU (Jon Diekema) (01/07/90)
From comp.unix.i386 Tue Oct 10 16:19:30 1989 Path: jdbbs!wybbs!wyn386!sharkey!shadooby!ginosko!usc!bloom-beacon!eru!luth!sunic!tut!santra!digiw!petri From: petri@digiw.UUCP (Petri Alhola) Newsgroups: gnu.bash.bug,comp.unix.i386 Subject: Re: Problem with bash functions in 386/ix 2.0.2 --> Fixes Keywords: bash 386/ix Message-ID: <924@digiw.UUCP> Date: 3 Oct 89 18:35:10 GMT References: <923@digiw.UUCP> Reply-To: petri@digiw.UUCP (Petri Alhola) Organization: Digiware , Helsinki Finland Lines: 54 In article <923@digiw.UUCP> you write: >i have bash-1.03 running in Interactive systems 386/ix ver 2.02 >that is System V 3.2 in 386 . I have found two problems. > >1 - I have shell function > l=() { > ls -CF $*; > } > When i execute it, and when it terminates i got infinite number of > error message Wait: No child process. If i use it with pipe > like l | less . it works fine. > I found that in file nojobs.c there is wait() loop, if it gets error from waits, it prints it out and then waits again. If error is No Child Process ,ECHILD it sill tries wait again infinitely. The fix is that break loop in ECHILD. here is diff. *** nojobs.c Mon Oct 2 14:49:17 1989 --- nojobs.c~ Mon Oct 2 14:24:30 1989 *************** *** 221,227 **** { if (got_pid < 0 && errno != EINTR) file_error ("wait"); - if (got_pid < 0 && errno == ECHILD) break; } /* Default return value. */ --- 221,226 ---- >2 - When i am running bash in xterm window i have problems with ls > listings . The xterm works , i have used in many months with > sh and gnu emacs and other programs. The problem is that i am losing > randomly lines !!. > The problem can be in Interactive systems X11.3 xterm also, but only > program that have this problem is bash. > This is actual output from other x-term window. > The bug was not in xterm , it was in rlogin. The rlogin lost all lines in buffer when IXON flag was changed by ioctl call. I do not know does this bug exist in other rlogins that 386/ix one. Fix: use stty -ixon in rlogin sessions with 386/ix After these two fixes bash seems to work fine in 386/ix 2.0 Now i use it in normal use. Petri Alhola petri@digiw.fi petri@digiw.UUCP