LIF Text Format(s)?



#3

I'm converting all the LIF TEXT files I can find in the swap disks to ASCII as part of my plan to index and document those disks. It appears there are several "TEXT" formats in use. The 71B HP-IL interface manual says type "TEXT" is rquivilant to type "LIF" implying that there is one way to represent text. But using Tony Duell's "text75" program results in gibberish for several of the text files, making me think there is more than one format involved. I've developed a Perl script that converts TRANSFORMed 71 BASIC files to ASCII, but that's helped along by the fact that there are line numbers in such a listing.

What I'd like to find out, if someone knows off the top of their head, is where are the various formats defined? I'm going to conduct a search of my own, but I thought I might be able to shortcut the process a little by posting here.

Thanks,
Howard


#4

There are at least 2 text formats...

There's what I call TEXT75, which is, AFAIK, used by the HP75 only. The structure of that is similar to a BASIC program from what I can tell

Then there's the normal LIF text file, which is used by just about every HP machine that supports LIF disks. It's the HP41 ASCII file, the HP71 text file, HP75's can produce it too, I've also come across it on larger machines.

This is handled by my hptext program in my LIF utilities for Linux distribution. I think the format is given in the back of the HP71 HPIL manual.


#5

Thanks again, Tony. I had missed hptext in your suite. Another of my Perl scripts bites the dust due to your effort! Thanks!

(No irony there. I really prefer to use someone else's tool, if it works as advertised, which yours do.)


Possibly Related Threads...
Thread Author Replies Views Last Post
  Prime: how to detect date format giancarlo 1 189 12-02-2013, 11:21 AM
Last Post: Michael de Estrada
  HP 50g - displaying result in engineering format Sean Freeman 10 527 11-24-2013, 05:44 AM
Last Post: C.Ret
  HP PRIME: Fixed 4 number format 0.001000 Joseph Ec 18 789 11-07-2013, 11:51 AM
Last Post: Geoff Quickfall
  PRIME: re-format the flash drive to recover the operating system Harold A Climer 2 236 11-06-2013, 12:22 AM
Last Post: Michael de Estrada
  File Format: hpprgm Thomas Chrapkiewicz 6 377 10-30-2013, 09:32 PM
Last Post: Thomas Chrapkiewicz
  Prime 'CONTENT' section not retaining info text Geoff Quickfall 2 225 10-17-2013, 05:24 PM
Last Post: Geoff Quickfall
  go71b 'lexs' or 'raws' file format? Christoph Giesselink 2 219 08-21-2013, 02:53 AM
Last Post: Christoph Giesselink
  [HP Prime CAS] No Pretty Print (Text Book) CompSystems 1 167 08-17-2013, 12:41 PM
Last Post: CompSystems
  WP34s displaying text Steve B (Canada) 3 229 04-16-2013, 04:32 PM
Last Post: Walter B
  HP 15C LE, Program Display Format Control Uli 4 304 01-20-2013, 01:22 AM
Last Post: Ethan Conner

Forum Jump: