Commit Graph

17 Commits

Author SHA1 Message Date
lukem 6c108bbd74 Fix WARNS=4 issues (-Wcast-qual -Wshadow) 2009-04-13 07:15:32 +00:00
lukem 98e5374ccb Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
christos c3b08dc40f PR/36955: Ighighi: Use fseeko instead of fseek. 2007-09-09 12:20:27 +00:00
christos 3f074821a5 Apparently seeking forward on a FIFO does not work (why?). Read instead.
Patch from Jukka Salmi.
2007-08-20 03:44:17 +00:00
christos c40c743211 deal with non-regular files. 2007-08-19 10:31:13 +00:00
liamjfoy 4511d3297e Fix PR: 26363: script core dumps on incorrect input files.
This patch virtually re-writes the playback code and contains
improvements (mainly the dependency upon BUFSIZ being the same
size as it was wrote at).

OK: christos, joerg
2006-06-14 16:05:38 +00:00
rpaulo a0713f21de ANSIfy. de-P. 2006-03-29 15:40:49 +00:00
wiz f4128b317e Add -d to usage; use getprogname(3). From Kouichirou Hiratsuka in PR 26227. 2004-07-13 12:07:51 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
atatat 8f6bada139 Add an alternate "typescript mode" that contains timestamps and other
data interleaved between chunks of actual output (and input), and
teach script how to read the new format so that sessions can be played
back at "proper" time.
2002-06-21 18:46:31 +00:00
christos 861d7d0674 don't use union wait; an int is good enough. 1998-12-19 21:53:56 +00:00
kleink 0a87884eba Need <time.h> for time() and ctime() prototypes. 1998-04-02 11:00:10 +00:00
lukem 78093e2b86 WARNSify, fix .Nm usage, deprecate register, getopt returns -1 not EOF 1997-10-19 22:57:47 +00:00
mikel e60e80fff9 pass $SHELL or /bin/sh as argv[0] to subshell, instead of "sh"; fixes
PR bin/3276.
1997-03-03 04:02:21 +00:00
jtc ae2384963b Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-21 08:55:39 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00