From owner-freebsd-hackers Wed Aug 30 14:33:56 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id OAA02644 for hackers-outgoing; Wed, 30 Aug 1995 14:33:56 -0700 Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.20.4]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id OAA02638 for ; Wed, 30 Aug 1995 14:33:54 -0700 Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id QAA05554; Wed, 30 Aug 1995 16:32:57 -0500 From: Joe Greco Message-Id: <199508302132.QAA05554@brasil.moneng.mei.com> Subject: Re: Gritching about XFree86 and serial port naming To: bde@zeta.org.au (Bruce Evans) Date: Wed, 30 Aug 1995 16:32:56 -0500 (CDT) Cc: bde@zeta.org.au, peter@nmti.com, hackers@freebsd.org In-Reply-To: <199508302012.GAA20135@godzilla.zeta.org.au> from "Bruce Evans" at Aug 31, 95 06:12:36 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: hackers-owner@freebsd.org Precedence: bulk > >What's wrong with "ttya0" or "cuad0"? > > "ttyd0" is not distinguishable from "cuad0" when truncated to 2 characters > for printing by ps, etc. :-) I would gladly trade that very minor bit of information in exchange for the ability to name 32 serial ports in an easy-to-remember-and-translate fashion. In the process of setting up a BocaBoard 2016, I basically stopped in my tracks when I hit the 13th port. "Um. Ok, if I was on ttydf, I should really go to ttye0, but then what do I do with cuaaf, go to cuab0?" I decided the naming convention was poor at best and decided to continue running out through ttydj/cuaaj. This could conceivably handle 32 ports but it just looks silly, and it will need to be revamped in the future when somebody modifies sio to handle 1024++ serial ports (it breaks at 37 ports, which is NOT unthinkable!). Personally I _WOULD_ like to see the tty naming start with tty00-0f,10-1f, cua00-0f, etc. Maintaining the current behaviour for ps's benefit is rather shortsighted in my humble opinion because it *will* have to be broken at some point. ps will still give you a really good idea of which port a process is involved with, you'll just have to be clever enough to decide if "uucico" on "01" is either dial in or call out. :-) Is there anyone else besides me who is looking at putting lots of serial ports on a BSD box, by the way? ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/342-4847