<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/libbb, branch su_cmd3</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=su_cmd3</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=su_cmd3'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2023-04-19T11:51:19+00:00</updated>
<entry>
<title>win32: case-sensitivity in tab completion</title>
<updated>2023-04-19T11:51:19+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-19T11:51:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=7b81a44c87cf71dfb4f647ba107624e208ffbefe'/>
<id>urn:sha1:7b81a44c87cf71dfb4f647ba107624e208ffbefe</id>
<content type='text'>
The tab-completion code treated all matches as case-insensitive
because that's how Microsoft Windows handles filenames.

This is now inadequate, as shell builtins, functions and aliases
are case sensitive.

Modify the treatment of case-sensitivity in tab completion:

- Track whether each potential match is case-insensitive (filename)
  or case-sensitive (shell builtin, function or alias).

- When comparing matches use a case-insensitive comparison if either
  value is a filename.  Otherwise use a case-sensitive comparison.

Adds 64 bytes.
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2023-04-17T06:32:52+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-17T06:32:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=8cdeb571cfbf3bb6edc44779e46537b072b8cd08'/>
<id>urn:sha1:8cdeb571cfbf3bb6edc44779e46537b072b8cd08</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wget: enable progress bar in default configuration</title>
<updated>2023-04-16T12:52:49+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-16T12:29:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=41827dd448c001b52b4f0e591ea605cb5de1d230'/>
<id>urn:sha1:41827dd448c001b52b4f0e591ea605cb5de1d230</id>
<content type='text'>
For some reason the progress bar in wget has never been enabled.

Costs 1536-1600 bytes.
</content>
</entry>
<entry>
<title>libbb: don't build useless functions</title>
<updated>2023-04-16T12:13:52+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-16T12:13:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=74734bff81dc2e1a5b160d5621eeea35c5defabd'/>
<id>urn:sha1:74734bff81dc2e1a5b160d5621eeea35c5defabd</id>
<content type='text'>
The functions ndelay_on(), ndelay_off() and close_on_exec_on()
don't do anything useful because our fcntl(2) implementation
doesn't support the features they require.

Replace them with stubs.

Saves 176-208 bytes.
</content>
</entry>
<entry>
<title>lineedit: fix crash when icanon set with -echo</title>
<updated>2023-04-12T11:49:14+00:00</updated>
<author>
<name>Akos Somfai</name>
<email>akos.somfai@gmail.com</email>
</author>
<published>2023-04-03T20:52:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=853cfe927fd656a2688ac2bfc81c69e1004c44df'/>
<id>urn:sha1:853cfe927fd656a2688ac2bfc81c69e1004c44df</id>
<content type='text'>
When icanon is set with -echo (e.g. ssh from an emacs shell) then
S.state will remain null but later it will be deferenced causing ash to
crash. Fix: additional check on state.

Signed-off-by: Akos Somfai &lt;akos.somfai@gmail.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>appletlib: fix "warning: unused variable applet_no"</title>
<updated>2023-04-10T14:56:55+00:00</updated>
<author>
<name>Tomas Paukrt</name>
<email>tomaspaukrt@email.cz</email>
</author>
<published>2023-04-09T08:18:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=85e4805ae94ce653d8088d6575dc01114cd00bcf'/>
<id>urn:sha1:85e4805ae94ce653d8088d6575dc01114cd00bcf</id>
<content type='text'>
Signed-off-by: Tomas Paukrt &lt;tomaspaukrt@email.cz&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: fix sleep built-in not running INT trap immediately on ^C</title>
<updated>2023-04-10T14:30:27+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-04-10T14:30:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=7362d2979434c565ae70b0ccf9d4b09d7597fb48'/>
<id>urn:sha1:7362d2979434c565ae70b0ccf9d4b09d7597fb48</id>
<content type='text'>
function                                             old     new   delta
sleep_for_duration                                   169     149     -20

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2023-04-09T10:24:09+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-09T10:24:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d9f2ea8628452f787e02dd0e496af612a2e94578'/>
<id>urn:sha1:d9f2ea8628452f787e02dd0e496af612a2e94578</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libbb: consolidate NOMMU fix of restoring high bit in argv[0][0]</title>
<updated>2023-04-06T19:20:28+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-04-06T19:20:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a26711a2d1464167be4ebc990fe21a3809a2da34'/>
<id>urn:sha1:a26711a2d1464167be4ebc990fe21a3809a2da34</id>
<content type='text'>
function                                             old     new   delta
fork_or_rexec                                         46      56     +10
bootchartd_main                                     1087    1079      -8
cpio_main                                            674     661     -13
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 10/-21)            Total: -11 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: add support for INT trap</title>
<updated>2023-04-03T07:33:14+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-03T07:33:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=64c8f5f3d0bbfcaf3b88aa97a23d90c14326b79e'/>
<id>urn:sha1:64c8f5f3d0bbfcaf3b88aa97a23d90c14326b79e</id>
<content type='text'>
The trap builtin now handles INT.  As before, other signals (from
a limited list) are accepted but their traps don't have any effect.

There's some variability in how shells handle traps.  This patch
upholds that proud tradition.

Various changes are needed to make this work:

- Line editing has a new flag to ignore Ctrl-C.

- If INT is being trapped or ignored don't call raise_interrupt().

- A minimal implementation of dotrap() is provided.

- Call dotrap() when the read builtin or line input detect Ctrl-C.

- Adjust Ctrl-C detection when the INT trap is changed.

- Set may_have_traps when an INT trap is set.

Costs 368-448 bytes.

(GitHub issue #303)
</content>
</entry>
</feed>
