home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!zaphod.mps.ohio-state.edu!uwm.edu!psuvax1!psuvm!auvm!SIVM.BITNET!NASSH100
- Message-ID: <NOTABENE%92121519001385@TAUNIVM>
- Date: Tue, 15 Dec 92 11:57:04 EST
- Sender: Nota Bene List <NOTABENE@TAUNIVM.BITNET>
- Comments: Converted from PROFS to RFC822 format by PUMP V2.2
- From: Allan Needell <NASSH100@SIVM.BITNET>
- Subject: xpl/NB4 problems + email fix
- Newsgroups: bit.listserv.notabene
- Lines: 57
-
- From: Allan Needell
-
- Greetings,
-
- List traffic has been a bit slow, so I thought I'd describe something
- a bit complicated.
-
- I have been working with a version of Michael Shalev's program to
- prepare a file suitable for email from a normally entered nb text
- document. It turns out, at least for me, that the Shalev program
- contains a character combination that causes nb4 (even nb4 without
- LINGUA) to invoke a complex and destructive set of conversions. Most
- important, if the file is called to the screen with either ca or cap,
- an LA2 delta is inserted at the beginning of the file and all of the
- open and close delta characters (double angle brackets) are replaced
- by "less/greater than or equal" signs. Worse, if the file is saved
- (in my case with or without the -x switch) the original file is
- corrupted and rendered useless. I suspect the -x switch works only
- with LINGUA.
-
- The problem is the way in which Michael chose to remove the MDxx
- deltas from the file. He first saves "MD??" (where ? is a "wild
- letter" xpl marker) using the xpl sv function. Later he executes a
- change routine using the xpl pv command, but in such a way as to nest
- a delta within a delta (i.e. the sole content of one delta is a pv77
- delta. Apparently this construction drives nb4 crazy. (NB3.1 handled it
- fine.)
-
- I don't know how general the problem is, perhaps the xpl experts will
- look at it. In the meantime, I have revised Michael Shalev's program
- in several ways to make it work with nb4 and the default HPIII laser
- printer cartridge I have loaded. First, inelegantly I admit, I
- eliminate mdxx deltas one mode at a time. Second I replace the use by
- Shalev of the "ab" command (which in nb4 calls for a "y" verification
- if a file has been altered), with a "st" and "ernv" sequence. The new
- program works for me in nb4. Before, it would get hung up looking for
- the "y" verification. I assume it will work in LINGUA. Most
- important, it can be called and edited in NB4 to reflect the font
- families and pitch/point sizes that come with your normally active
- printer table. (It is simplest to insert monospaced 10 PITCH (not
- point) ff/pt combination into the program). Finally, I have added a
- change sequence to remove all triple carriage returns. Why the program
- tends to pile up cr's at the end I do not know. Rather than figure
- it out, I have chosen simply to remove them.
-
- I can provide an xxencoded copy of the revised xpl program privately.
-
- I'd also be interested in comments on the more general problem. Why
- should an LA2 delta appear in files called by NB4 without LINGUA. A
- check with the dos list command shows that the LA2 delta is not there
- originally.
- |
-
- Allan Needell
- National Air & Space Museum
- Smithsonian Institution
- Washington, DC 20560 (BITNET: NASSH100@SIVM)
-