<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/win32, branch noconsole</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=noconsole</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=noconsole'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2017-01-18T10:44:58+00:00</updated>
<entry>
<title>win32: implement nanosleep and enable float sleep by default</title>
<updated>2017-01-18T10:44:58+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2017-01-18T10:44:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=c6ec14a39aa1a6fe98fe4bec1ee3d545be9d5410'/>
<id>urn:sha1:c6ec14a39aa1a6fe98fe4bec1ee3d545be9d5410</id>
<content type='text'>
Don't expect sleeping for fractions of a second to be very accurate.
</content>
</entry>
<entry>
<title>win32: allow ANSI emulation to be disabled</title>
<updated>2016-11-10T15:38:34+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-11-10T15:31:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=9fa1e4990e655a85025c9d270a1606983e375e47'/>
<id>urn:sha1:9fa1e4990e655a85025c9d270a1606983e375e47</id>
<content type='text'>
If the environment variable BB_SKIP_ANSI_EMULATION is set (the value
doesn't matter) escape sequences are passed through to the terminal.
</content>
</entry>
<entry>
<title>win32: don't attempt ANSI emulation on data containing NUL characters</title>
<updated>2016-08-16T14:47:33+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-08-16T14:47:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=977d65c1bbc57f5cdd0c8bfd67c8b5bb1cd390dd'/>
<id>urn:sha1:977d65c1bbc57f5cdd0c8bfd67c8b5bb1cd390dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>win32: allow for vsnprintf returning -1</title>
<updated>2016-07-08T07:50:16+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-07-08T07:50:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=3ee1cc4e3986b74a7126871ad2a677b9e3ac3662'/>
<id>urn:sha1:3ee1cc4e3986b74a7126871ad2a677b9e3ac3662</id>
<content type='text'>
vsnprintf can return -1.  I've seen it do this when writing to a small
buffer while vsnprintf(NULL, 0, ...) returns a valid length.  I'd prefer
not to rely on the latter working with arbitrary old Windows runtimes
so just skip ANSI emulation if -1 is returned.
</content>
</entry>
<entry>
<title>win32: correct cast of argument to _open_osfhandle</title>
<updated>2016-05-25T07:58:07+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-05-25T07:58:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=204f9419baa815d3030ea618ddde5d05525c6c6c'/>
<id>urn:sha1:204f9419baa815d3030ea618ddde5d05525c6c6c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>win32: return an error when lseek is applied to a pipe</title>
<updated>2016-05-24T09:48:34+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-05-24T09:48:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0d5f85b255e68385b4aa1b6b8c40ab4b7ad35125'/>
<id>urn:sha1:0d5f85b255e68385b4aa1b6b8c40ab4b7ad35125</id>
<content type='text'>
tail failed to process input from a pipe correctly:

   $ echo -n 54321 | tail -c 3
   543

It was trying to use lseek as an optimisation but WIN32 lseek doesn't
return an error whan applied to a pipe.  Fix this by providing a wrapper
for lseek.
</content>
</entry>
<entry>
<title>ash: fix use of pid/handle in waitpid_child</title>
<updated>2016-05-18T10:06:02+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-05-18T10:06:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=c7c05c8e5723ed833ed0e73d24d7f7c45169c6e9'/>
<id>urn:sha1:c7c05c8e5723ed833ed0e73d24d7f7c45169c6e9</id>
<content type='text'>
Previously spawn was returning a process handle which was treated as a
pid in certain circumstances.  This resulted in the following failing:

   find . -type f | sed xargs -n 1 sed -n '1 p'

It should output the first line of each file but stopped after the
first.
</content>
</entry>
<entry>
<title>win32: adjustments to spawn functions</title>
<updated>2016-05-18T07:43:42+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-05-17T07:29:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=4988f3c4cc3cb9e8b1ccb06e84768c177cb13385'/>
<id>urn:sha1:4988f3c4cc3cb9e8b1ccb06e84768c177cb13385</id>
<content type='text'>
Make mingw_spawn_applet and mingw_spawn_1 static.

The return value from spawnve is an exit code in synchronous mode
and a process handle in asynchronous mode.  Pass these upwards
without interpretation.
</content>
</entry>
<entry>
<title>winansi: revert to previous console behaviour for vi/less</title>
<updated>2016-04-26T15:48:38+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-04-26T15:48:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=248a2600a2f4b442101ad568d1994b908bb28d4b'/>
<id>urn:sha1:248a2600a2f4b442101ad568d1994b908bb28d4b</id>
<content type='text'>
Recent changes to make the Windows console behave more like a *nix
terminal didn't work too well for vi/less.  On *nix the terminal
buffer can't be scrolled while such screen-based applications are
running.  In the Windows console this remained possible and led to
confusion.

Add a new routine to allow vi/less to revert to their previous
behaviour where the cursor is positioned at the top of the buffer
and the entire buffer is cleared.
</content>
</entry>
<entry>
<title>lineedit: move console viewport to cursor on keypress</title>
<updated>2016-04-26T15:45:09+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-04-26T15:45:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=601f47a2ebcc54c995359c6f87e0eed932329e89'/>
<id>urn:sha1:601f47a2ebcc54c995359c6f87e0eed932329e89</id>
<content type='text'>
When a normal *nix terminal has been scrolled back through its
buffer, any keypress will return to the cursor position.  Add code
to lineedit.c to do the same for the Windows console.
</content>
</entry>
</feed>
