<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/shell, branch noconsole2</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=noconsole2</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=noconsole2'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2023-08-20T12:35:20+00:00</updated>
<entry>
<title>ash: detect console state on shell start up</title>
<updated>2023-08-20T12:35:20+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-08-20T11:53:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=67ed7484be88e3be5a5a51f404f1325a569be173'/>
<id>urn:sha1:67ed7484be88e3be5a5a51f404f1325a569be173</id>
<content type='text'>
Set 'noconsole' to match the actual state of the console (normal/
iconified) when the shell is started.  Thus ShowWindow() will only
be called if the actual state differs from the default or user
defined state.

Costs 20-24 bytes.

(GitHub issue #325)
</content>
</entry>
<entry>
<title>ash: detect native Windows environment on Wine</title>
<updated>2023-08-17T14:09:14+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-08-17T14:09:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=5c1a3b00e235da31b2c73bae18aa5622d820b68a'/>
<id>urn:sha1:5c1a3b00e235da31b2c73bae18aa5622d820b68a</id>
<content type='text'>
The shell detected a native Windows environment by checking for a
mixed-case 'Path' environment variable.  This has always worked on
Windows but recent versions of Wine have a 'PATH' environment
variable.

Check also for 'ComSpec'.

Costs 24-48 bytes.
</content>
</entry>
<entry>
<title>ash: improved support for trap built-in</title>
<updated>2023-08-15T07:42:28+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-08-15T07:42:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=44349e33d7cf05225f8c39cee7fc2b89cfc72ce8'/>
<id>urn:sha1:44349e33d7cf05225f8c39cee7fc2b89cfc72ce8</id>
<content type='text'>
Make it possible to use the 'trap' built-in with command substitution,
process substitution and in pipelines.

Costs 200-256 bytes.
</content>
</entry>
<entry>
<title>ash: code shrink</title>
<updated>2023-08-15T07:38:21+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-08-15T07:38:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=41384b4829db50c7b7ba07c720d299ce098d320d'/>
<id>urn:sha1:41384b4829db50c7b7ba07c720d299ce098d320d</id>
<content type='text'>
Move the code to handle the case nprocs == 1 from jobtab_size()
to procstat_size().

Saves 16 bytes.
</content>
</entry>
<entry>
<title>ash: improved support for jobs built-in</title>
<updated>2023-08-08T08:51:03+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-08-08T08:51:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=7b692ddf0c746014f94813bcb6418f0c95d85afc'/>
<id>urn:sha1:7b692ddf0c746014f94813bcb6418f0c95d85afc</id>
<content type='text'>
Pass job data to child shells.  This makes it possible to use
the 'jobs' built-in with command substitution, process substitution
and in pipelines.

Costs 576-672 bytes

(GitHub issue #350)
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2023-07-13T07:06:26+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-07-13T07:06:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=bd978d0256fd3a67de1a7dd54f1a37f9435be363'/>
<id>urn:sha1:bd978d0256fd3a67de1a7dd54f1a37f9435be363</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ash: fix 'read' shell built-in (1)</title>
<updated>2023-07-12T10:52:06+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-07-12T10:52:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=8e699173370d68262273390e1b631300d9c5017c'/>
<id>urn:sha1:8e699173370d68262273390e1b631300d9c5017c</id>
<content type='text'>
Consider this test case:

   { echo -n te; sleep 3; echo st; } | (read -t 1 x; echo "$x")

- bash echoes "te" after 1 second.

- Upstream BusyBox echoes an empty "$x" after 1 second.

- busybox-w32 echoes an empty "$x" after 3 seconds.

The delayed echo in busybox-w32 arises because the 'read' shell
built-in omits the code to poll for input.

Rearrange the code so that polling takes place.  This doesn't address
the difference between BusyBox and bash.

Costs 48-64 bytes.
</content>
</entry>
<entry>
<title>ash: properly echo console input to 'read' built-in</title>
<updated>2023-07-12T10:52:06+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-07-12T10:52:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2a4b086d4848616306f97f6378e0f10a48d41929'/>
<id>urn:sha1:2a4b086d4848616306f97f6378e0f10a48d41929</id>
<content type='text'>
The 'read' shell built-in echoed console input to stdout.  Echo
directly to the console instead.

Costs 124-136 bytes.
</content>
</entry>
<entry>
<title>Update applet size estimates</title>
<updated>2023-07-10T15:25:21+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-07-10T15:25:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=5353df91cba7b397b9407701681708d0a1518df6'/>
<id>urn:sha1:5353df91cba7b397b9407701681708d0a1518df6</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: tweak comments, no code changes</title>
<updated>2023-07-10T10:02:34+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-07-10T10:02:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a9047e09807f11bcd62f69c481ce19b2663f8862'/>
<id>urn:sha1:a9047e09807f11bcd62f69c481ce19b2663f8862</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
