Allow more virtual terminal devices to be found on NetBSD.

Approved by jlam.
This commit is contained in:
rillig 2005-02-14 15:40:49 +00:00
parent f798b24e7c
commit 59cd2e95a0
2 changed files with 20 additions and 8 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.7 2004/06/02 12:48:18 recht Exp $
$NetBSD: distinfo,v 1.8 2005/02/14 15:40:49 rillig Exp $
SHA1 (aterm-0.4.2.tar.gz) = 8ce3f1fcdc12805068ff5acde6f130a22e1f5b9b
Size (aterm-0.4.2.tar.gz) = 312730 bytes
@ -6,5 +6,5 @@ SHA1 (patch-aa) = 59cf8fe42bf4291b2a98c0d95170a02308197645
SHA1 (patch-ab) = 9b4e6785912de338db958e9ad48c4cafcb344270
SHA1 (patch-ac) = 28c79343079680251a013ec3fe364b01f5a5ccac
SHA1 (patch-ad) = 0c87ee69672e98189afa2cfdcdd9691a1571f354
SHA1 (patch-ae) = cc35107d24362f8bf31badb7aa9e4aec069171b2
SHA1 (patch-ae) = 469251f0ab9bd8db70700d742c7a161c705669c8
SHA1 (patch-af) = e8e41fbc9837e87bc6bc495b4b698617bd1ea2ea

View file

@ -1,8 +1,20 @@
$NetBSD: patch-ae,v 1.3 2004/06/02 12:48:18 recht Exp $
$NetBSD: patch-ae,v 1.4 2005/02/14 15:40:49 rillig Exp $
--- src/command.c.orig 2004-05-20 12:10:08.000000000 +0200
+++ src/command.c 2004-05-20 12:09:37.000000000 +0200
@@ -1146,6 +1146,11 @@
--- src/command.c.orig Thu Sep 6 18:38:07 2001
+++ src/command.c Mon Feb 14 16:26:50 2005
@@ -534,7 +534,11 @@
ttydev = tty_name;
# define PTYCHAR1 "pqrstuvwxyz"
+#ifdef __NetBSD__
+# define PTYCHAR2 "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
+#else
# define PTYCHAR2 "0123456789abcdef"
+#endif
for (c1 = PTYCHAR1; *c1; c1++) {
ptydev[len - 2] = ttydev[len - 2] = *c1;
for (c2 = PTYCHAR2; *c2; c2++) {
@@ -1146,6 +1150,11 @@ init_command(char *argv[])
num_fds = getdtablesize();
#endif
@ -14,7 +26,7 @@ $NetBSD: patch-ae,v 1.3 2004/06/02 12:48:18 recht Exp $
#ifdef META8_OPTION
meta_char = (Options & Opt_meta8 ? 0x80 : 033);
if (rs_modifier
@@ -1763,16 +1768,21 @@
@@ -1763,16 +1772,21 @@
}
break;
@ -41,7 +53,7 @@ $NetBSD: patch-ae,v 1.3 2004/06/02 12:48:18 recht Exp $
break;
case XK_F6: /* "\033[17~" */
@@ -2024,7 +2034,7 @@
@@ -2024,7 +2038,7 @@
#endif
/* See if we can read from the application */