Path: utzoo!mnetor!uunet!husc6!bbn!rochester!udel!burdvax!psuvax1!gondor.cs.psu.edu!schwartz From: schwartz@gondor.cs.psu.edu (Scott Schwartz) Newsgroups: comp.unix.questions Subject: Re: ascii or not ascii Message-ID: <3498@psuvax1.psu.edu> Date: 30 Apr 88 00:37:06 GMT References: <533@zoot.lamont.Columbia.edu> Sender: netnews@psuvax1.psu.edu Reply-To: schwartz@gondor.cs.psu.edu (Scott Schwartz) Organization: Penn State University Lines: 11 Keywords: ascii, prime Summary: Why we love primos In article <533@zoot.lamont.Columbia.edu> hough@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@gondor.cs.psu.edu schwartz@psuvaxg.bitnet