From owner-freebsd-arch@FreeBSD.ORG Mon Jan 3 14:57:19 2005 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B20D516A4CE for ; Mon, 3 Jan 2005 14:57:19 +0000 (GMT) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9103343D2D for ; Mon, 3 Jan 2005 14:57:19 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.12.8) with ESMTP id j03EvINl067505; Mon, 3 Jan 2005 06:57:18 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id j03EvGO2067504; Mon, 3 Jan 2005 06:57:16 -0800 (PST) (envelope-from rizzo) Date: Mon, 3 Jan 2005 06:57:16 -0800 From: Luigi Rizzo To: Poul-Henning Kamp Message-ID: <20050103065715.A67451@xorpc.icir.org> References: <18962.1104749259@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <18962.1104749259@critter.freebsd.dk>; from phk@phk.freebsd.dk on Mon, Jan 03, 2005 at 11:47:39AM +0100 cc: arch@freebsd.org Subject: Re: making nmdm(4) emulate actual speed. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jan 2005 14:57:19 -0000 On Mon, Jan 03, 2005 at 11:47:39AM +0100, Poul-Henning Kamp wrote: > > I participated in an "Editor Celebrity Death Match" recently and > being the senior combatant my weapon of choice was ed(1). To > properly show off ed(1)'s main weakness I wanted to run my slides > in ed(1) on a 300 bps line. > > Rather than use two USB-serial dongles and a usb-hub, I hacked nmdm(4) > up to actually respect the baud-rate set with stty. > > Would this be considered generally useful ? being nmdm(4) an emulation tool, i'd say definitely yes, probably even more useful if you provide a knob to enable/disable the speed emulation -- i see a point in actually emulating the wire speed, but also one in not doing so when the application is not speed-sensitive and you just want it to run quickly. cheers luigi > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incompetence. > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"