Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!hpfcso!rjn From: rjn@hpfcso.HP.COM (Bob Niland) Newsgroups: comp.sys.hp Subject: Re: Programming hp9000/300 keyboards Message-ID: <7370027@hpfcso.HP.COM> Date: 9 Nov 89 19:49:07 GMT References: <13680@boulder.Colorado.EDU> Organization: Hewlett-Packard, Fort Collins, CO, USA Lines: 41 re: "I would like to program the 8 grey function keys on the hp98700 keyboards, without using X windows, hpwm or any such system." I presume that, based on the subject line and the above sentence, that you have a Series 300 computer with a 46020A or 46021A keyboard. If so, the keyboard interface (HP-HIL) is hosted by the SPU, and not the 98700A/H graphics processor. I also have to assume that you are running the HP-UX, and not BASIC/WS or Pascal/WS operating system. Further assuming the HP-UX is a recent revision... The manual "Facilities for Series 200, 300 and 500", part number 97089-90081 is what you need. It is shipped with HP-UX, so you should have a copy. If you are just trying to download to keys f1 thru f8, see the section on "Series 300 ITE". It is fairly simple to create a text file containing the download escape sequences, and 'cat' it to yourself. My .login script loads my keys everytime I log in. Here's a sample keyload. I have substituted the character pair ^[ for the raw escape character actually required. The trailing ^[A simply suppress LF when the 'cat' is executed. This works for ITE (non-window mode), X and HP-Windows. ^[KKey 3: delete trailing blanks^[A ^[&f3k0a8d14L del " "^[:1,$s/ *$//g If you want to catch raw keystrokes yourself, see "Using HP-HIL Devices". I would also suggest ordering a copy of "HP-HIL Technical Reference Manual", product number 45918A. Link-level HIL programming is non-trivial. By the way, if you have either RCS or AMS software support services, you can direct questions about supported HP products to your regional HP Response Center. HP people who respond to netnews questions are contributing the time to do so. We not have the full resources of a Response Center at our disposal, and netnews is a very slow way to get questions answered. Regards, Hewlett-Packard Bob Niland ARPA: rjn%hpfcrjn@hplabs.HP.COM 3404 East Harmony Road UUCP: [hplabs|hpfcse]!hpfcla!rjn Ft Collins CO 80525-9599 This response does not represent the official position of, or statement by, the Hewlett-Packard Company. The above data is provided for informational purposes only. It is supplied without warranty of any kind.