home *** CD-ROM | disk | FTP | other *** search
- *** 1.8 1991/09/24 17:24:27
- --- Changelo 1992/01/14 19:56:18
- ***************
- *** 98,100 ****
- --- 98,106 ----
- where you do a fork(), and chars accumulate while in the child
- process.
- -------------------------- Patchelevel 9 ---------------------------------
- +
- + xconsole.c:: ++jrb
- + when a key in not alted, return <key>| 0x80 on a alt-key.
- + thanks to scott for this idea.
- +
- + -------------------------- Patchelevel 10 ---------------------------------
- *** 1.7 1991/09/24 17:24:27
- --- PatchLev.h 1992/01/14 19:56:19
- ***************
- *** 1,5 ****
- /*
- ! * PathLevel: 9
- *
- * the Patch Level above is to identify the version
- * of the all the files in this directory. given the above
- --- 1,5 ----
- /*
- ! * PathLevel: 10
- *
- * the Patch Level above is to identify the version
- * of the all the files in this directory. given the above
- *** 1.5 1991/09/24 17:24:27
- --- xconsole.c 1992/01/14 19:56:28
- ***************
- *** 156,163 ****
- {
- k_buf *p;
- short i, j, dev;
- ! unsigned scan, key, shft;
- long r;
-
- dev = LOOKUP(handle);
-
- --- 156,164 ----
- {
- k_buf *p;
- short i, j, dev;
- ! unsigned scan, key, shft = 0;
- long r;
- + static unsigned char _alt_str[2] = {0, 0};
-
- dev = LOOKUP(handle);
-
- ***************
- *** 184,190 ****
- --- 185,198 ----
- if (scan > 0 && scan < N_KEYCODES) {
- shft = Kbshift(-1);
- if (shft & S_ALT)
- + {
- _str = kb_alt[scan];
- + if(!_str)
- + { /* return <META>-key */
- + _str = (char *)_alt_str;
- + _alt_str[0] = 0x80 | key;
- + }
- + }
- else if (shft & S_SHIFT)
- _str = kb_shft[scan];
- else if (!(shft & S_CNTRL))
-