Subject: Re: script command
To: Simon J. Gerraty <email@example.com>
From: Greg A. Woods <firstname.lastname@example.org>
Date: 05/01/2003 12:31:03
[ On Wednesday, April 30, 2003 at 21:43:54 (-0700), Simon J. Gerraty wrote: ]
> Subject: Re: script command
> On Wed, 30 Apr 2003 12:49:32 -0400 (EDT), "Greg A. Woods" writes:
> > Ah, well there is that nifty snp(4) driver and associated watch(8)
> > command in FreeBSD. I don't know if it works on /dev/tty itself, but
> Perhaps, but porting script(1) to solaris and linux is a bit more
> feasible ;-)
I assume you mean porting the FreeBSD version of script(1) to pkgsrc,
and maybe eventually even bringing it into NetBSD proper.
If you do that then hopefully you can fix their parameter syntax botch
so that the "bug" they mention about the "command" feature goes away.
I'm thinking the synopsis should be:
script [-a] [-k] [-q] [-t time] [-o file] [-c command [args ...]]
script [-a] file
I.e. the new feature should work like "sh -c", and thus "su -c" et al,
and that anyone wanting to use the new feature must use the new syntax.
Greg A. Woods
+1 416 218-0098; <email@example.com>; <firstname.lastname@example.org>
Planix, Inc. <email@example.com>; VE3TCP; Secrets of the Weird <firstname.lastname@example.org>