[Gllug] Shell prompt and input echoing

Stig Brautaset gllug at brautaset.org
Tue Apr 1 11:28:42 UTC 2003


On Apr 01 2003, t.clarke wrote:
> 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

dash and bash show this behaviour, zsh does not. 

> b) is this behaviour 'noral'  (it doesn't do it on Unix !!)

Dunno.


Stig
-- 
brautaset.org

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list