Path: utzoo!yunexus!ists!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!otter!hpcpbla!kev From: kev@hpcpbla.HP.COM (Kevin Jones) Newsgroups: comp.sys.hp Subject: Re: Programming hp9000/300 keyboards Message-ID: <660004@hpcpbla.HP.COM> Date: 10 Nov 89 07:46:11 GMT Article-I.D.: hpcpbla.660004 References: <13680@boulder.Colorado.EDU> Organization: HP Computer Peripherals Bristol, UK Lines: 54 I've appended a program that should set up function keys on most types of HP terminals (be they genuine or emulated). ----------------------------------------------------------------- Kevin Jones. | Hewlett Packard Ltd, | Computer Peripherals Bristol, kev%hpcpbla@hplb.hpl.hp.com | Filton Road, | Stoke Gifford, Tel: 011 44 272 799910 (ext 22351) | Bristol. BS12 6QZ. | ENGLAND. ----------------------------------------------------------------- /******************************************************************/ /* */ /* FUNCTION KEY PROGRAM */ /* Kevin Jones. 10 November 1989. */ /* */ /* Function key sequence: */ /* &fkdL */ /* */ /* */ /******************************************************************/ main () { /* Define function key 1 */ printf ("&f1k8d7LWho Am Iwhoami /* Define function key 2 */ printf ("&f2k11d3LList Dirls /* Define function key 3 */ printf ("&f3k3d4Lpwdpwd /* Define function key 4 */ printf ("&f4k6d7LLogoutlogout /* Define function key 5 */ printf ("&f5k6d7LLogoutlogout /* Define function key 6 */ printf ("&f6k6d7LLogoutlogout /* Define function key 7 */ printf ("&f7k6d7LLogoutlogout /* Define function key 8 */ printf ("&f8k6d7LLogoutlogout /* Update function keys to display. */ printf ("&jB"); }