[Gllug] Shell prompt and input echoing
t.clarke
tim at seacon.co.uk
Tue Apr 1 11:14:25 UTC 2003
Hi there
I have a peculiar issue with a cobol program which directs its stderr
messages to a file (fine !), but when a sub-shell is invoked (usual fork
and exec routine I believe) the shell prompts to not appear on the screen
nor do any echoes back of entered commands. Further head-scratching
revealed that the prompts and echoes were being directed into stderr.
I confirmed this , what seems to me, strange behaviour by typing at the
shell prompt 'sh 2> file-name'. Again the same behaviour; no prompts or
echoes; which go into 'file-name'.
Could anyone confirm whether:
a) their version of linux does the same thing
b) is this behaviour 'noral' (it doesn't do it on Unix !!)
PS: My version is redhat 7.1 / kernel 2.4.2 / bash 2.04
Thanks
Tim
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list