home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / laptops / 4825 < prev    next >
Encoding:
Internet Message Format  |  1992-12-28  |  5.3 KB

  1. Xref: sparky comp.sys.laptops:4825 comp.sys.hp:14380 comp.sys.hp48:6539
  2. Path: sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!sunic!corax.udac.uu.se!irfu.se!bt
  3. From: bt@irfu.se (Bo Thide')
  4. Newsgroups: comp.sys.laptops,comp.sys.hp,comp.sys.hp48
  5. Subject: Re: Need hp95lx data file formats -- Any HPers out there?
  6. Message-ID: <1992Dec27.142129.16982@irfu.se>
  7. Date: 27 Dec 92 14:21:29 GMT
  8. References: <1992Dec26.164929.104612@jrh.uucp>
  9. Organization: Swedish Institute of Space Physics, Uppsala, Sweden
  10. Lines: 107
  11.  
  12. In article <1992Dec26.164929.104612@jrh.uucp> jrh@jrh.uucp (James R. Hamilton) writes:
  13. >    HP provides a connectivity package that allows hp95lx users to transfer
  14. >    data to and from DOS based systems, however, since I run a UNIX box, this
  15. >    doesn't solve the problem for me.  File transfer is easy but what is 
  16. >    missing is a description of the file formats used by the telephone, memo,
  17. >    and appointment applications.
  18. >
  19. >    With a description of the file formats, they can be translated to and from
  20. >    industry standard formats for data exchange with other systems and other
  21. >    applications.
  22. >
  23. >    Even if you can't help, a reference to a likely HP contact or a pointer to 
  24. >    a HP system support net ID would be very useful.  Thanks,
  25. >
  26. >                    --jrh
  27. >-- 
  28. >
  29. >James R. Hamilton                               inet: jrh@jrh.gts.org
  30. >telephone: +1 416 493 4162                      uunet: ...!uunet!jrh!jrh
  31. >Toronto, Canada                                 work: jrh@torolab.vnet.ibm.com
  32.  
  33.  
  34.  
  35. This is what I found in a package from csn.org:
  36. ==============================================
  37.  
  38. HP 95LX Phone Book File Format
  39.  
  40. The HP 95LX Phone Book file is structured as a file identification 
  41. record, followed by a variable number of phone book data records, 
  42. and terminated by an end of file record.  Each data record contains
  43. the information for one phone book entry.
  44.  
  45. The format of these phone book records is described below.  In the
  46. descriptions, the type <int> refers to a two byte integer stored least 
  47. significant byte first, the type <char> refers to a one byte integer, 
  48. and the type <ASCII> refers to a string of ASCII characters.
  49.  
  50. HP 95LX Phone Book File Identification Record:
  51.  
  52. Byte Offset      Name            Type     Contents
  53.  
  54. 0                ProductCode     int      -2 (FEh, FFh)
  55. 2                ReleaseNum      int      1 (01h, 00h)
  56. 4                FileType        char     3 (03h)   
  57.  
  58.  
  59. HP 95LX Phone Book Data Record:
  60.  
  61. Byte Offset      Name            Type     Contents
  62.  
  63. 0                RecordType      char     1 (01h)
  64. 1                RecordLength    int      Number of bytes in remainder
  65.                                           of this data record, see note
  66.                                           below.
  67. 3                NameLength      char     Length of name text in bytes.
  68. 4                NumberLength    char     Length on number text in bytes.
  69. 5                AddressLength   int      Length of address text in bytes.
  70. 7                NameText        ASCII    Name text, 30 characters maximum.
  71. 7+NameLength     NumberText      ASCII    Number text, 30 characters maximum.
  72. 7+NameLength+
  73.   NumberLength   AddressText     ASCII    Address text where the null 
  74.                                           character is used as the line 
  75.                                           terminator.  Addresses are limited
  76.                                           to a maximum of 8 lines of 39
  77.                                           characters per line (not counting
  78.                                           the line terminator).
  79.  
  80. HP 95LX Phone Book End of File Record:
  81.  
  82. Byte Offset      Name            Type     Contents
  83.  
  84. 0                RecordType     char      2 (02h)
  85. 1                RecordLength   int       0 (00h, 00h)
  86.  
  87.  
  88.  
  89. Note: Files created by the Phone Book application may contain 
  90. some padding following the last field of some data records.  Hence,
  91. the RecordLength field must be used to determine the start of the
  92. next record.  Phone book files created by other programs need not
  93. have any padding.
  94.  
  95. ================================================
  96.  
  97.  
  98. I think the HP95LX appointment book format is similar.  Now, you just
  99. have to write a HP-UX <--> HP95LX filter.  Please e-mail me a copy when
  100. you have done it :-).  Seriously, I would very much like to see the VUE
  101. 'datebook' being able to handle the HP95LX appointment book format (plus
  102. 'calendar', 'finger', and its own format).  Or, even better, I would
  103. like to have a filter which translates the HP95LX file to pure ACII
  104. files and back.  Then it would be possible to keep your VUE 'datebook'
  105. and the HP95LX appointment calendar synchronized and up to date a all
  106. times.  You just connect the HP95 and your HP workstation via a serial
  107. line ('kermit' works great on both, that's what I use all the time) and
  108. transfer the calendar data between them.  It could even be done
  109. automatically so that whenever you update 'datebook', the data gets
  110. translated and automatically transferred to the HP95LX if it's connected.
  111.  
  112. Bo
  113. -- 
  114.    ^   Bo Thide'----------------------------------------------Science Director
  115.   |I|        Swedish Institute of Space Physics, S-755 91 Uppsala, Sweden
  116.   |R|    Phone: (+46) 18-303671.  Fax: (+46) 18-403100.  IP: 130.238.30.23
  117.  /|F|\          INTERNET: bt@irfu.se      UUCP: ...!mcvax!sunic!irfu!bt  
  118.  ~~U~~ ----------------------------------------------------------------sm5dfw-
  119.