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

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