home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.windows.x:16093 comp.unix.questions:10691
- Path: sparky!uunet!mcsun!sun4nl!rwzl10!rwzl01!versloot
- From: versloot@rwzl01.zld.rws.nl (Jack versloot)
- Newsgroups: comp.windows.x,comp.unix.questions
- Subject: Help wanted on hpterm problem
- Keywords: X, hpterm
- Message-ID: <2505@rwzl01.zld.rws.nl>
- Date: 3 Sep 92 14:58:22 GMT
- Followup-To: poster
- Organization: Dutch Min. of transport Zeeland, Middelburg
- Lines: 35
-
-
- Help wanted on the following problem.
-
- First some information:
- Language: FORTRAN
- Machine : HP9000
- Terminal: hp
-
- I have a program doing the following:
- - set up protected fields on the terminal
- - let the user enter some data in these fields
- - reading lines from the terminal (with the entered information) with:
- READ (*, '(A)') line
-
- To read lines ESCd is sent to the terminal. The character*512 variable
- line is searched for ESC[ (begin protected field) and ESC] (end
- protected field). All information between these two codes will be the
- information entered by the user.
-
- This works FINE for a real hp-terminal. On a X-window with hpterm it
- doesn't work however! The last field on each line is misformed: the
- code for 'end protected field' is missing.
-
- My question:
- Why?
- and more important:
- What can I do about it?
-
- Is hpterm not completely compatible with a hp-terminal or should I (maybe)
- give hpterm some options or what?
-
- If you have the answer please send it by E-mail to the
- following address:
-
- ingen@rwzl01.zld.rws.nl
-