|
|
1.1 ! root 1: ! 2: ! 3: fnkey Command fnkey ! 4: ! 5: ! 6: ! 7: ! 8: Set/print function keys ! 9: ! 10: ffnnkkeeyy [ _n [ _s_t_r_i_n_g ] ] ! 11: ! 12: The console keyboard of an IBM AT COHERENT system includes 10 ! 13: special function keys, labelled F1 through F10. Initially, ! 14: typing these keys has no effect. ! 15: ! 16: fnkey with a numeric argument n in the range 1 to 10 programs ! 17: function key Fn to send the given string. If no string is given, ! 18: fnkey resets Fn to send nothing. If n is 0, fnkey resets all ! 19: function keys to send nothing. ! 20: ! 21: With no argument, fnkey prints the current string for each func- ! 22: tion key. ! 23: ! 24: ***** Example ***** ! 25: ! 26: The following example programs function key FF22 to execute the ! 27: COHERENT command date: ! 28: ! 29: ! 30: fnkey 2 'date ! 31: ' ! 32: ! 33: ! 34: Note that this command sets F2 to the string ddaattee\nn. If you type ! 35: fnkey without any arguments, it prints the following on your ! 36: screen: ! 37: ! 38: ! 39: F2: date\n ! 40: ! 41: ! 42: ***** Files ***** ! 43: ! 44: /dev/console ! 45: ! 46: ***** See Also ***** ! 47: ! 48: commands ! 49: ! 50: ***** Diagnostics ***** ! 51: ! 52: fnkey prints ``cannot open /dev/console'' if the user lacks per- ! 53: mission to open /dev/console. ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.