Hi Bob,

Thank you for the clear and detailed informations.

Yes, *I* use cat (display a file on a terminal) as you said since... well... maybe 1976 ;) But in these years, the standard output was a belt printer.

And yes, the culprit was the prompt. I'm using zsh with a fancy prompt.
Switching to a basic prompt solved the problem.

I was confused because this file used to be "displayable" with the cat command (which is very handy to do this kind of thing).

For those interested in, the manpage of the 1st edition of UNIX manual was saying:

11/3/71                                                   CAT (I)
NAME         cat -- concatenate and print
SYNOPSIS     cat file1 ...
DESCRIPTION  cat reads each file in sequence and writes it on
the standard output stream.  Thus:
cat file
is about the easiest way to print a file.  Also:
cat file1 file2 >file3
is about the easiest way to concatenate files.
If no input file is given cat_ reads from the
standard input

So there are some excuses using cat as a "way to print a file".

Thanks and regards

Jean-Luc

Reply via email to