home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / hp / 10046 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  1.3 KB

  1. Path: sparky!uunet!mcsun!sun4nl!rwzl10!rwzl01!versloot
  2. From: versloot@rwzl01.zld.rws.nl (Jack versloot)
  3. Newsgroups: comp.sys.hp
  4. Subject: Help wanted on hpterm
  5. Keywords: X, hpterm
  6. Message-ID: <2506@rwzl01.zld.rws.nl>
  7. Date: 4 Sep 92 08:37:39 GMT
  8. Organization: Dutch Min. of transport Zeeland, Middelburg
  9. Lines: 35
  10.  
  11.  
  12. Help wanted on the following problem.
  13.  
  14. First some information:
  15. Language: FORTRAN
  16. Machine : HP9000
  17. Terminal: hp
  18.  
  19. I have a program doing the following:
  20.    - set up protected fields on the terminal
  21.    - let the user enter some data in these fields
  22.    - reading lines from the terminal (with the entered information) with:
  23.         READ (*, '(A)') line
  24.  
  25. To read lines ESCd is sent to the terminal. The character*512 variable
  26. line is searched for ESC[ (begin protected field) and ESC] (end
  27. protected field). All information between these two codes will be the
  28. information entered by the user.
  29.  
  30. This works FINE for a real hp-terminal. On a X-window with hpterm it
  31. doesn't work however! The last field on each line is misformed: the
  32. code for 'end protected field' is missing.
  33.  
  34. My question: 
  35.    Why?
  36. and more important:
  37.    What can I do about it?
  38.  
  39. Is hpterm not completely compatible with a hp-terminal or should I (maybe)
  40. give hpterm some options or what?
  41.  
  42. If you have the answer please send it by E-mail to the
  43. following address:
  44.  
  45.              ingen@rwzl01.zld.rws.nl
  46.