<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/script/script.c, branch releng/4.9</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F4.9</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F4.9'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2000-07-20T10:35:28Z</updated>
<entry>
<title>MFC: Don't call vfprintf-like functions without a format string.</title>
<updated>2000-07-20T10:35:28Z</updated>
<author>
<name>Kris Kennaway</name>
<email>kris@FreeBSD.org</email>
</author>
<published>2000-07-20T10:35:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2836fb81112adc51d4768d5c19e13c9bfa31981d'/>
<id>urn:sha1:2836fb81112adc51d4768d5c19e13c9bfa31981d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>$Id$ -&gt; $FreeBSD$</title>
<updated>1999-08-28T01:08:13Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-08-28T01:08:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c3aac50f284c6cca5b4f2eb46aaa13812cb8b630'/>
<id>urn:sha1:c3aac50f284c6cca5b4f2eb46aaa13812cb8b630</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Pass as argv[0] the name of the shell executed instead of "sh".</title>
<updated>1999-08-11T23:45:59Z</updated>
<author>
<name>Sheldon Hearn</name>
<email>sheldonh@FreeBSD.org</email>
</author>
<published>1999-08-11T23:45:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5cba8ccae58fd988d6e50d72bf49eddd7ec05264'/>
<id>urn:sha1:5cba8ccae58fd988d6e50d72bf49eddd7ec05264</id>
<content type='text'>
PR:	2851
Reported by:	era@iki.fi
Obtained from:	NetBSD
</content>
</entry>
<entry>
<title>Fix the following bugs:</title>
<updated>1998-09-19T09:45:42Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>1998-09-19T09:45:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b1c669700c0f52b1c3c886958fe6d75b8ac389f7'/>
<id>urn:sha1:b1c669700c0f52b1c3c886958fe6d75b8ac389f7</id>
<content type='text'>
  - if a command was specified and script(1) failed to execute it,
    it would print the name of your shell in the error message
    instead of that of the command that failed.

  - since finish() was installed as a SIGCHLD handler, it would
    often run before the main loop had had time to process the
    last few bytes of output. This resulted in very strange
    truncated error messages.

  - script(1) would almost always return with an exit status of 0,
    even if the command returned a non-zero exit status. This broke
    my 'build world, install it and rebuild the kernel' scripts
    because 'make installworld' would run even if 'make buildworld'
    had failed.
</content>
</entry>
<entry>
<title>Rewrite script as a select loop rather than as a twin reader/write process.</title>
<updated>1998-03-08T14:19:18Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1998-03-08T14:19:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e8eb82a81cc4c0aa5731030989a8647bdc655cc0'/>
<id>urn:sha1:e8eb82a81cc4c0aa5731030989a8647bdc655cc0</id>
<content type='text'>
This allows simple logging of keys sent to a session (turned on with -k).
Also allow specifying the script file flush interval.
</content>
</entry>
<entry>
<title>Fix typo while copying patch from the 2.2 system that it came from</title>
<updated>1997-12-30T01:20:08Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1997-12-30T01:20:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0e604e984ac44b6279909e5444afee66cea13435'/>
<id>urn:sha1:0e604e984ac44b6279909e5444afee66cea13435</id>
<content type='text'>
Use execvp rather than execv so that full paths are not needed.
</content>
</entry>
<entry>
<title>script(1) has annoyed me with it's inflexable command argument parsing</title>
<updated>1997-12-29T13:31:46Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1997-12-29T13:31:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=51afb8df2cd90c6887e3177ee5756c8b53f78660'/>
<id>urn:sha1:51afb8df2cd90c6887e3177ee5756c8b53f78660</id>
<content type='text'>
since I first saw it.  I finally needed to pass arguments through to
the spawned command badly enough (and urgently) that I threw this together.
</content>
</entry>
<entry>
<title>Add usage(). Use err(3) instead of local redefinition.</title>
<updated>1997-08-08T12:24:49Z</updated>
<author>
<name>Philippe Charnier</name>
<email>charnier@FreeBSD.org</email>
</author>
<published>1997-08-08T12:24:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=236d2f558312262d86504309292a2358283f626c'/>
<id>urn:sha1:236d2f558312262d86504309292a2358283f626c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>compare return value from getopt against -1 rather than EOF, per the final</title>
<updated>1997-03-29T04:34:07Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>1997-03-29T04:34:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1c8af8787354e20c2b38cab5801698133ff8b403'/>
<id>urn:sha1:1c8af8787354e20c2b38cab5801698133ff8b403</id>
<content type='text'>
posix standard on the topic.
</content>
</entry>
<entry>
<title>Don't use __dead or __pure in user code.  They were obfuscations</title>
<updated>1996-09-14T03:00:32Z</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>1996-09-14T03:00:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=eaa86f9d7fcbe6b82b1defa62f31071324c836ed'/>
<id>urn:sha1:eaa86f9d7fcbe6b82b1defa62f31071324c836ed</id>
<content type='text'>
for gcc &gt;= 2.5 and no-ops for gcc &gt;= 2.6.  Converted to use __dead2
or __pure2 where it wasn't already done, except in math.h where use
of __pure was mostly wrong.
</content>
</entry>
</feed>
