From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1012a6,6951dff1ae2a4a51,start X-Google-Attributes: gid1012a6,public X-Google-Thread: ffe6d,6951dff1ae2a4a51,start X-Google-Attributes: gidffe6d,public X-Google-Thread: fee84,6951dff1ae2a4a51,start X-Google-Attributes: gidfee84,public From: curts@compgen.com (Curt Smith) Subject: KSH: error when redirecting in subshell: stty: syntax error Date: 1996/03/04 Message-ID: <4hesp2$cdi@nntp.atlanta.com>#1/1 X-Deja-AN: 141960667 organization: Internet Atlanta newsgroups: comp.unix.shell,comp.unix.osf.osf1,comp.sys.ncr Hi, Ksh is giving the following error messages. A simple test script is the following: ( ksh -c "echo hi" >>/tmp/a 2>&1 ) & On NCR Unix SVR4.0 v3.0: the following messages are written to /tmp/a: UX:basename: ERROR: Incorrect usage UX:basename: TO FIX: Usage: basename [ path [ suffix-pattern ] ] UX:stty: ERROR: No such device UX:stty: ERROR: No such device UX:stty: ERROR: No such device hi On UnixWare SVR4.2 v1.1.4, no error messages DEC Unix v3.0, No error messages DEC Unix v3.2c, YES error messages. Putting trap "" 27 has no effect stty -tostop is set. Any Ideas?? Thanks. -- Curt Smith curts@compgen.com