mpm@hpfcmgw.HP.COM (Mike McCarthy) (06/28/89)
I am posting this for one of our Response Center engineers. If you wish to respond directly to Kelly, please use the address given at the end of this posting. You may also send responses to me, and I will forward them. -- Mike McCarthy INTERNET: mpm@hpfcmr.hp.com | UUCP: <backbone>!{hplabs, hp-sde}!hpfcla!mpm -------------- C U T ------------------------- H E R E --------------- I need some help in setting up the special function keys (SFK) for an HP 2394A terminal via the "terminfo" database. (I want to define this in a modified "terminfo" entry for the terminal.) I think that I should use the "pkey_xmit" capability to do this, but I don't have an example entry for what the capability definition would look like. Before I reinvent the wheel here, I would like an example to work from. A problem I see is that there are at least three variables in the string to program a function key on the HP 2394A: SFK number, SFK label, and the string to transmit. The "pkey_xmit" capability takes only two parameters. In addition to defining the appropriate capability in the "terminfo" entry, I also need to know how to enable the keys. How should I do that? I am looking for any examples or ideas that could help. That includes how to call a "curses" routine to use a parameterized capability string like "pkey_xmit". (I can use "tputs" but I don't think that will do what I want.) Kelly "terminfo hurts!" Oden North American Response Center Atlanta, GA UUCP: hplabs!hpfcla!hpfcse!kgo INTERNET: kgo@hpfcse.hp.com