home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / ultrix / 6387 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  1.2 KB

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