From owner-freebsd-hackers Wed Feb 14 10:42:16 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA06028 for hackers-outgoing; Wed, 14 Feb 1996 10:42:16 -0800 (PST) Received: from mpp.minn.net (root@mpp.Minn.Net [204.157.201.242]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id KAA06019 for ; Wed, 14 Feb 1996 10:42:07 -0800 (PST) Received: (from mpp@localhost) by mpp.minn.net (8.7.3/8.6.9) id MAA03544; Wed, 14 Feb 1996 12:41:59 -0600 (CST) Message-Id: <199602141841.MAA03544@mpp.minn.net> Subject: Re: man page fix for kbdcontrol To: angio@aros.net (Dave Andersen) Date: Wed, 14 Feb 1996 12:41:59 -0600 (CST) From: "Mike Pritchard" Cc: hackers@freebsd.org In-Reply-To: <199602140829.BAA04612@terra.aros.net> from "Dave Andersen" at Feb 14, 96 01:29:04 am X-Mailer: ELM [version 2.4 PL25 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org Precedence: bulk Dave Andersen wrote: > > > This diff has two things.. fixes two typos in the kbdcontrol(1) man page > ("argument may be one of normal which set" (instead of sets)) and puts in > a blurb that it accepts \n or \t as an argument to -f. > > (That is, provided the changes to kbdcontrol go over well). > > Why does the 1994 date on that file make me feel like I'm the only one > who's running a non-X freebsd machine at home? I rarely run X myself, so you aren't alone. I'll gladly go install your patch, but first explain to me how you get "\n" or "\t" to work as arguments to -f. Every attempt I make to use those escape sequences simply generates the string "\n" back at me. E.g. kbdcontrol -f 1 "ls\n" (hit F1) ls\n The "ls\n" is exactly what is displayed on my screen. Looking at kbdcontrol.c, it doesn't look like the set_functionkey routine is doing anything special with the string, or looking for things like "\n" or "\t". -- Mike Pritchard mpp@minn.net "Go that way. Really fast. If something gets in your way, turn"