ascii or not ascii

Scott Schwartz schwartz at gondor.cs.psu.edu
Sat Apr 30 10:37:06 AEST 1988


In article <533 at zoot.lamont.Columbia.edu> hough at lamont.Columbia.edu (sue hough) writes:
>I am trying to read an ascii (Prime generated) 9-track tape on a Unix
> system.  The restored files look like ascii when I use MORE, CAT,
> HEAD, etc.  But when I try to edit them with vi, I get
> "not an ascii file".  Any suggestions appreciated.

Prime sets the high bit of all characters.  Vi thinks that characters
with the high bit set are not ascii.  A clash of wills takes place :-)
Use tr to map all the prime-ascii characters to real ascii.

-- Scott Schwartz     schwartz at gondor.cs.psu.edu    schwartz at psuvaxg.bitnet



More information about the Comp.unix.questions mailing list