blob: 50c1fc4eeadb8f44dac058722b265dd676c0ceeb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
$NetBSD: patch-aa,v 1.4 2000/05/04 01:33:06 hubertf Exp $
--- common/constants.h.orig Tue Apr 18 03:38:29 2000
+++ common/constants.h Thu May 4 03:25:23 2000
@@ -127,19 +127,24 @@
#endif
#if !TERMINFO
+#ifndef __NetBSD__
#define KEY_BREAK 0400 /* easier to define than to add #if around the use */
#define KEY_ENTER 0401
#define KEY_BACKSPACE 0402
-
+#endif
+#ifndef __NetBSD__
#if !sun
#define cbreak() crmode() /* name change */
#endif
+#endif
+#ifndef __NetBSD__
#if UNIXPC
#define erasechar() (_tty.c_cc[VERASE]) /* equivalent */
#define killchar() (_tty.c_cc[VKILL]) /* equivalent */
#else
#define erasechar() (_tty.sg_erase) /* equivalent */
#define killchar() (_tty.sg_kill) /* equivalent */
+#endif
#endif
#endif
|