From owner-freebsd-current Thu May 9 7:51:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id 5D15A37B403 for ; Thu, 9 May 2002 07:51:49 -0700 (PDT) Received: (qmail 7169 invoked from network); 9 May 2002 14:51:47 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 9 May 2002 14:51:47 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g49EpZF38183; Thu, 9 May 2002 10:51:36 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200205091500.23240.jon@witchspace.com> Date: Thu, 09 May 2002 10:51:26 -0400 (EDT) From: John Baldwin To: Jonathan Belson Subject: Re: Perl scripts that need rewiting - Any volunteers? Cc: current@freebsd.org, Mark Murray Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 09-May-2002 Jonathan Belson wrote: > On Thursday 09 May 2002 10:57 am, Mark Murray wrote: > >> It would be acceptable to rewrite in C (C++?) or /bin/sh (/bin/csh?). > >> /usr/sbin/kbdmap >> /usr/sbin/vidfont > > These seem to be the same program. I'll take this if there are no > objections. > > Am I allowed to use STL? :-) As in C++ STL? C is really preferred if possible to make porting to other arch's easier. However, it's using a hash and it's a lot easier to use a map in C++ than to write your own map implementation in C, I suppose C++ is ok.. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message