Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!ulowell.CSNET!BURATI From: BURATI@ulowell.CSNET ("Michael R. Burati") Newsgroups: mod.computers.vax Subject: FMS key definitions (need help/examples) Message-ID: <8608200329.AA21464@ucbvax.Berkeley.EDU> Date: Tue, 19-Aug-86 02:11:00 EDT Article-I.D.: ucbvax.8608200329.AA21464 Posted: Tue Aug 19 02:11:00 1986 Date-Received: Wed, 20-Aug-86 23:27:03 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 34 Approved: info-vax@sri-kl.arpa I'm working on a project using (and learning at the same time) FMS ver2.3 on VMS 4.4. The people that I'm doing the project for want the UP/DOWN arrow keys to perform the PREVIOUS/NEXT-FIELD functions, instead of using the TAB/BACKSPACE default keys. I tried the examples given in the manual (p 5-17) but couldn't get it to work (note: I had to convert their example to PASCAL for my use). This is what I tried. VAR Keytable: ARRAY [1..4] OF INTEGER; BEGIN Keytable[1] := FDV$K_KF_NTR; Keytable[2] := 1033; Keytable[3] := FDV$K_KF_NXT; Keytable[4] := 1037; FDV$ATERM(%DESCR(TCA),12,2); FDV$DFKBD(%DESCR(Keytable),2); The call returned FDV$_KIF, which specifies that an "Illegal key function was given". What did I do wrong? Does anybody have an example (in PASCAL preferably) to do this? An example of defining the ARROW keys as I mentioned above, would be even better. Please include any related commands that must be executed along with the DFKBD command... Please mail responses directly to me, the machine that I normally read this group on will be down for a while. Thanks, Michael Burati University of Lowell CS Dept CSNET: burati@ulowell.csnet