home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume6 / vt100tool / part08 / vconfig.h next >
Encoding:
C/C++ Source or Header  |  1986-11-30  |  2.8 KB  |  47 lines

  1. /* Copyright MITRE Corp. */
  2.  
  3. #define  MAIN_FONT_DIR         "/usr/local/lib/fonts/vtfonts"
  4.  
  5. /* This structure holds the array of labels for the Pf keys on the
  6.    vt100 panel. It is best not to try to add or subtract from the
  7.    structure. The labels themselves can be easily changed in the
  8.    array "keys" which follows. Just keep them to 6 chars in length.
  9. */
  10.  
  11. struct key_labels {
  12.   caddr_t button_handle;
  13.   char norm_label[6];
  14.   char mred_label[6];
  15.   char ibm_label[6];
  16.   char wd11_label[6];
  17.   char emacs_label[6];
  18. };
  19.  
  20. /* These are the labels which appear on the PF keys when the mouse
  21.    clicks the label choice item (looks better in a wide window) */
  22. struct key_labels keys[23] = {
  23.   0,    "",    "",             "",        "",            "",                        /* dummy     */
  24.   0,    "1",    "-line",    "10",           "back",          "",                        /* 1 key = 1 */
  25.   0,    "2",    "v",        "11",           "line",          "",                        /* 2 key = 2*/     
  26.   0,    "3",    "-page",    "12",           "uppr",          "",                        /* 3 key = 3 */    
  27.   0,    "4",    "<--",        "7",            "word",          "",                        /* 4 key = 4 */    
  28.   0,    "5",    "home",        "8",            "para",          "",                        /* 5 key = 5 */    
  29.   0,    "6",    "-->",        "9",            "bold",          "",                        /* 6 key = 6 */    
  30.   0,    "7",    "+line",    "4",            "< >",           "",                        /* 7 key = 7 */    
  31.   0,    "8",    "^",        "5",            "tabp",          "",                        /* 8 key = 8 */    
  32.   0,    "9",    "+page",    "6",            "under",         "",                        /* 9 key = 9 */    
  33.   0,    "0",    "rplcw",    "pf+12",        "advan",         "",                /* 0 key = 10 */  
  34.   0,    "PF1",    "pick",        "1",            "gold",          "",                        /* PF1 key = 11 */ 
  35.   0,    "PF2",    "put",        "2",            "page",          "",                        /* PF2 key = 12 */ 
  36.   0,    "PF3",    "-tabw",    "3",            "sent",          "",                        /* PF3 key = 13 */ 
  37.   0,    "PF4",    "+tabw",    "PA1",          "  ",            "",                /* PF4 key = 14 */
  38.   0,    "-",    "+srch",    "PA2",          "aftwd",         "",                        /* - key = 15 */   
  39.   0,    ",",    "-srch",    "PA3",          "phras",         "",                        /* , key = 16 */   
  40.   0,    "enter","goto",        "clear",        "swap",          "",                /* enter key = 17 */
  41.   0,    ".",    "use",        "insrt",        "selct",         "",                /* . key = 18 */  
  42.   0,    "^",    "open",        "^",            "ruler",         "",                        /* up key = 19 */  
  43.   0,    "-->",    "close",    "-->",          "cut",           "",                        /* right key = 20 */
  44.   0,    "v",    "fill",        "v",            "delte",         "",                        /* down key = 21 */
  45.   0,    "<--",    "tmpin",    "<--",          "paste",         ""                /* left key = 22 */
  46. };
  47.