From owner-freebsd-current Tue May 2 23:02:18 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id XAA01424 for current-outgoing; Tue, 2 May 1995 23:02:18 -0700 Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id XAA01418 ; Tue, 2 May 1995 23:02:15 -0700 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.11/8.6.9) id XAA12888; Tue, 2 May 1995 23:02:13 -0700 Date: Tue, 2 May 1995 23:02:13 -0700 Message-Id: <199505030602.XAA12888@silvia.HIP.Berkeley.EDU> To: current@FreeBSD.org, rich@FreeBSD.org In-reply-to: <199505030159.SAA09479@silvia.HIP.Berkeley.EDU> (asami@cs.berkeley.edu) Subject: Re: xterm can't find ttyp[g-v] From: asami@cs.berkeley.edu (Satoshi Asami | =?ISO-2022-JP?B?GyRCQHUbKEI=?= =?ISO-2022-JP?B?GyRCOCsbKEIgGyRCOC0bKEI=?=) Sender: current-owner@FreeBSD.org Precedence: bulk * Should have mentioned I did "sh MAKEDEV pty1" (which will make the * ttyq* devices) and it doesn't work either. I'm not sure if this is * because the kernel has only 32 pty's and all of them are taken by * ttyp*'s. Just to follow up on my own post, the following patch to xterm fixed it: ===== --- ./ptyx.h.org Mon Aug 15 12:48:46 1994 +++ ./ptyx.h Tue May 2 22:54:12 1995 @@ -91,7 +91,11 @@ #ifdef hpux #define PTYCHAR2 "fedcba9876543210" #else /* !hpux */ +#ifdef __FreeBSD__ +#define PTYCHAR2 "0123456789abcdefghijklmnopqrstuv" +#else /* !__FreeBSD__ */ #define PTYCHAR2 "0123456789abcdef" +#endif /* !__FreeBSD__ */ #endif /* !hpux */ #endif /* !PTYCHAR2 */ ===== Rich, can you please give this back to the XFree86 people? Satoshi