home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!Germany.EU.net!unido!inasys!behe
- From: behe@inasys.UUCP (Bernd Hentig)
- Newsgroups: comp.unix.ultrix
- Subject: pg and echo don't work any more on Ultrix 4.2A, why ?
- Message-ID: <2314@inasys.UUCP>
- Date: 21 Aug 92 10:12:20 GMT
- Distribution: comp
- Organization: inasys GmbH, Bonn, Germany
- Lines: 26
-
- Hello,
- we installed DEC Ultrix 4.2A on 2 DECsystems 5000/240 and my default shell
- on one system became the ksh :) (korn shell), the other system uses csh :(
-
- If I use pg (e.g. ls|pg) from within the ksh, it just says:
- 'pg: cannot reopen stdout'.
- What is it ? This works from the csh on the other machine, so what the hell ...
-
-
- The other little thing is: echo does not handle escape sequences (why ?),
- even if I use the built-in echo from csh or ksh ('which echo' gives 'echo'
- so this must be built in).
-
- Example:
-
- echo '\033[0m' on any Unix flavour I know (even AIX !!!) sends the proper
- escape sequence to the terminal (this time it resets the video attributes).
-
- on Ultrix this gives:
- '\033[0m'
-
- This is a bug and lots of shell scripts won't run properly under Ultrix.
- Perhaps I should use pdksh ? Haven't tried yet, but if anyone says it's easy
- to compile, I'll do it.
-
- Bernd
-