<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/shell, branch su_cmd</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=su_cmd</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=su_cmd'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2023-04-17T06:32:52+00:00</updated>
<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>ash,hush: tab completion of functions and aliases</title>
<updated>2023-04-16T15:15:05+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-13T11:56:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=acae889dd97280ee59b7e04c18005bb8875cb0d2'/>
<id>urn:sha1:acae889dd97280ee59b7e04c18005bb8875cb0d2</id>
<content type='text'>
Since commit 9e2a5668f (ash,hush: allow builtins to be tab-completed,
closes 7532) ash and hush have supported tab completion of builtins.

Other shells, bash and ksh for example, also support tab completion
of functions and aliases.

Add such support to ash and hush.

function                                             old     new   delta
ash_command_name                                       -      92     +92
hush_command_name                                      -      63     +63
ash_builtin_name                                      17       -     -17
hush_builtin_name                                     38       -     -38
------------------------------------------------------------------------------
(add/remove: 2/2 grow/shrink: 0/0 up/down: 169/-55)           Total: 100 bytes

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
Signed-off-by: Avi Halachmi &lt;avihpit@yahoo.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: more Unix-style path fixes</title>
<updated>2023-04-16T09:03:09+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-16T09:03:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=86ff1772f25dff819c1983418ac36822745a6d19'/>
<id>urn:sha1:86ff1772f25dff819c1983418ac36822745a6d19</id>
<content type='text'>
Commit 950b318a2 (ash: Unix-style paths, shell builtins and applets)
broke running of Unix-style absolute paths from the shell by PATH
search.  The copy of the program name on the stack should only be
used in the first call to tryexec() otherwise it interferes with the
use of the stack by padvance().

Also, bring the code to handle Unix-style paths in find_command()
into line with the revised code in shellexec().
</content>
</entry>
<entry>
<title>hush: quote variable values printed by "set" (match ash behavior)</title>
<updated>2023-04-13T07:20:24+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-04-13T07:20:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=90b607d79a1377d6a5dda44ee112698c58432203'/>
<id>urn:sha1:90b607d79a1377d6a5dda44ee112698c58432203</id>
<content type='text'>
function                                             old     new   delta
builtin_set                                          258     301     +43

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>ash: remove ASH_IGNORE_CR config option</title>
<updated>2023-04-09T09:48:58+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-09T09:48:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=fa04f2dc766c76f2caa44a4b8429185dde6a66b0'/>
<id>urn:sha1:fa04f2dc766c76f2caa44a4b8429185dde6a66b0</id>
<content type='text'>
No further problems with CRLF handling have been reported.  Remove
the configuration option that allowed some recent changes to be
turned off.

Also, prevent some WIN32 code from being included in the POSIX
build.  The faulty code is from commit 64c8f5f3d (ash: add support
for INT trap).

These changes don't alter the default WIN32 build.
</content>
</entry>
<entry>
<title>ash: special treatment for read builtin</title>
<updated>2023-04-05T08:31:50+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-05T08:31:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d4494ebdeb3340f98a7a79244601b5d574ae36d1'/>
<id>urn:sha1:d4494ebdeb3340f98a7a79244601b5d574ae36d1</id>
<content type='text'>
When INT is being trapped the read builtin gets special treatment
in bash.  In a top-level interactive shell interrupting the read
with Ctrl-C clears the input and allows the user to enter a new
string.  In a subshell Ctrl-C really does interrupt the read and
the trap isn't executed.

zsh works similarly, except that in the latter case the trap is
executed.

dash interrupts the read and executes the trap in both cases.

ksh also interrupts the read in both cases but only executes the
trap in the first.

Implement the bash behaviour.

(GitHub issue #303)
</content>
</entry>
<entry>
<title>ash: reinstate fix for ctrl-c issue</title>
<updated>2023-04-05T08:31:14+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-05T08:31:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=490bbbb6e3a93045bb40442f5fc76d17a86b596b'/>
<id>urn:sha1:490bbbb6e3a93045bb40442f5fc76d17a86b596b</id>
<content type='text'>
Reinstate the change introduced in commit 96c104a61c (ash: try harder
to avoid ctrl-c issue).  It was removed during recent work on traps.
</content>
</entry>
<entry>
<title>ash: code shrink: do not take address of prefix(), allowing it to inline</title>
<updated>2023-04-03T15:30:03+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-04-03T15:30:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=46e92e1e568021ecdfa30bfea0efabe72b85633b'/>
<id>urn:sha1:46e92e1e568021ecdfa30bfea0efabe72b85633b</id>
<content type='text'>
function                                             old     new   delta
getjob                                               281     285      +4
prefix                                                13       -     -13
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 1/0 up/down: 4/-13)              Total: -9 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: code shrink - reuse is_prefixed_with() from libbb</title>
<updated>2023-04-03T13:19:13+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-04-03T13:19:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a33d19eba8c614d113378ed07bbec0ce06227028'/>
<id>urn:sha1:a33d19eba8c614d113378ed07bbec0ce06227028</id>
<content type='text'>
function                                             old     new   delta
changepath                                            67      68      +1
legal_pathopt                                         70      66      -4
prefix                                                34      13     -21
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 1/-25)             Total: -24 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
