summaryrefslogtreecommitdiffstats
path: root/sys/i386/include
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>1995-01-28 22:18:05 +0000
committersos <sos@FreeBSD.org>1995-01-28 22:18:05 +0000
commit46c57c8d60f9e4d55975c87fd39f7d838ecd623b (patch)
tree8d94b9bdf40304a1e5f19a3d7bf0346504971453 /sys/i386/include
parente3426906a343032da48990bb566d7acd95dec4cd (diff)
downloadFreeBSD-src-46c57c8d60f9e4d55975c87fd39f7d838ecd623b.zip
FreeBSD-src-46c57c8d60f9e4d55975c87fd39f7d838ecd623b.tar.gz
Third round in syscons update.
Display update method changed, now allways write in memory buffer, then periodically update physical display. Speed improvements (now > 5 times faster than the old syscons). History now circular buffer, with changeable size. History scroll by up/down line, up/down page, home and end. Backtab proberly implemented. Now space for 96 function keys, 63 allocated standard, default now SCO/SYSV compat again as in the old days. New keyboard definition files ~share/syscons/keymaps/* Misc fixes for old "hacks" that broke SCO/SYSV compat. More that I forgot before writing this...
Diffstat (limited to 'sys/i386/include')
-rw-r--r--sys/i386/include/console.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/sys/i386/include/console.h b/sys/i386/include/console.h
index faf6d98..4f6ecca 100644
--- a/sys/i386/include/console.h
+++ b/sys/i386/include/console.h
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: console.h,v 1.16 1995/01/26 10:13:38 ache Exp $
+ * $Id: console.h,v 1.15 1995/01/20 08:35:18 sos Exp $
*/
#ifndef _CONSOLE_H_
@@ -160,8 +160,7 @@ struct keymap {
};
#define MAXFK 16
-#define NUM_FKEYS 65
-#define NUM_SCRNS 16
+#define NUM_FKEYS 96
struct fkeytab {
u_char str[MAXFK];
@@ -223,24 +222,25 @@ typedef struct ssaver ssaver_t;
#define LCTR 0x09 /* left control key */
#define NEXT 0x0a /* switch to next screen */
#define F_SCR 0x0b /* switch to first screen */
+#define L_SCR 0x1a /* switch to last screen */
#define F_FN 0x1b /* first function key */
-#define RCTR 0x7b /* right control key */
-#define RALT 0x7c /* right alt (altgr) key */
-#define ALK 0x7d /* alt lock key */
-#define ASH 0x7e /* alt shift key */
-#define META 0x7f /* meta key */
-#define RBT 0x80 /* boot machine */
-#define DBG 0x81 /* call debugger */
-#define SUSP 0x82 /* suspend power (APM BIOS) */
+#define L_FN 0x7a /* last function key */
+/* 0x7b-0x7f reserved do not use ! */
+#define RCTR 0x80 /* right control key */
+#define RALT 0x81 /* right alt (altgr) key */
+#define ALK 0x82 /* alt lock key */
+#define ASH 0x83 /* alt shift key */
+#define META 0x84 /* meta key */
+#define RBT 0x85 /* boot machine */
+#define DBG 0x86 /* call debugger */
+#define SUSP 0x87 /* suspend power (APM) */
#define F(x) ((x)+F_FN-1)
-#define L_FN F(NUM_FKEYS) /* last function key */
#define S(x) ((x)+F_SCR-1)
-#define L_SCR S(NUM_SCRNS) /* switch to last screen */
-
#define NOKEY 0x100 /* no key pressed marker */
#define FKEY 0x200 /* funtion key marker */
#define MKEY 0x400 /* meta key marker (prepend ESC)*/
+#define BKEY 0x800 /* backtab (ESC [ Z) */
#define KB_DATA 0x60 /* kbd data port */
#define KB_STAT 0x64 /* kbd status port */
OpenPOWER on IntegriCloud