<feed xmlns='http://www.w3.org/2005/Atom'>
<title>plan9port/src, branch patch</title>
<subtitle>Plan 9 from User Space (with patches)</subtitle>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/'/>
<entry>
<title>Custom shortcuts and other minor changes</title>
<updated>2026-02-24T21:55:48+00:00</updated>
<author>
<name>bt</name>
<email>bt@rctt.net</email>
</author>
<published>2026-02-20T15:04:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=e14493abb20ab0c808f109bb56aaf141ad08d178'/>
<id>e14493abb20ab0c808f109bb56aaf141ad08d178</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>win: fix spaces in Acme window tag</title>
<updated>2026-02-08T14:47:45+00:00</updated>
<author>
<name>Dmitri Vereshchagin</name>
<email>dmitri.vereshchagin@gmail.com</email>
</author>
<published>2026-02-01T07:06:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=cb7001c8d27f22f7229be302f53012bb1db52418'/>
<id>cb7001c8d27f22f7229be302f53012bb1db52418</id>
<content type='text'>
Acme adds a space after Look at the end of window tags.  Therefore, the
space before Send is not needed.  The space after Send is for consistency
and convenience.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Acme adds a space after Look at the end of window tags.  Therefore, the
space before Send is not needed.  The space after Send is for consistency
and convenience.
</pre>
</div>
</content>
</entry>
<entry>
<title>devdraw: allow resize in xattach</title>
<updated>2026-02-05T18:26:53+00:00</updated>
<author>
<name>user</name>
<email>user@my.domain</email>
</author>
<published>2026-02-05T16:35:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=a39606e3241540482afd13e93d7f34defa7d74ce'/>
<id>a39606e3241540482afd13e93d7f34defa7d74ce</id>
<content type='text'>
The created window in xattach is missing the StructureNotifyMask,
if the WM does resize the window before mapping (like tiling WMs
do), the client will not get notified (and XGetWindowAttributes
in the same function will not get updated values)

Reproducible by starting acme in e.g. dwm.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The created window in xattach is missing the StructureNotifyMask,
if the WM does resize the window before mapping (like tiling WMs
do), the client will not get notified (and XGetWindowAttributes
in the same function will not get updated values)

Reproducible by starting acme in e.g. dwm.
</pre>
</div>
</content>
</entry>
<entry>
<title>devdraw: repair incomplete repainting</title>
<updated>2026-01-31T14:37:01+00:00</updated>
<author>
<name>MvA</name>
<email>vanattenmark@gmail.com</email>
</author>
<published>2026-01-31T08:08:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=b3741e6ce39cdcdb09485c088034b723ed023b0b'/>
<id>b3741e6ce39cdcdb09485c088034b723ed023b0b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>troff: fix SIGFPE when using modulus operator</title>
<updated>2025-11-09T19:25:48+00:00</updated>
<author>
<name>G. Branden Robinson</name>
<email>g.branden.robinson@gmail.com</email>
</author>
<published>2025-11-09T12:38:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=f39a2407b6e6ace6af68e466bfa2f362b9a9dd36'/>
<id>f39a2407b6e6ace6af68e466bfa2f362b9a9dd36</id>
<content type='text'>
I uncovered this problem while writing unit tests for GNU troff's
delimited expression handling.  Plan 9 troff's numeric expression
evaluator handles division by zero but not modulus by zero.

Fixes:
$ echo '.if %0%0% .tm true' | 9 troff
Floating point exception (core dumped)
$ echo '.if 1%0 .tm true' | 9 troff
Floating point exception (core dumped)

After this patch:
$ echo '.if %0%0% .tm true' | 9 troff
x T utf
x res 720 1 1
x init
troff: modulus by zero.; stdin:1
troff: modulus by zero.; stdin:1
x trailer
V0
x stop
$ echo '.if 1%0 .tm true' | 9 troff
x T utf
x res 720 1 1
x init
troff: modulus by zero.; stdin:1
x trailer
V0
x stop
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I uncovered this problem while writing unit tests for GNU troff's
delimited expression handling.  Plan 9 troff's numeric expression
evaluator handles division by zero but not modulus by zero.

Fixes:
$ echo '.if %0%0% .tm true' | 9 troff
Floating point exception (core dumped)
$ echo '.if 1%0 .tm true' | 9 troff
Floating point exception (core dumped)

After this patch:
$ echo '.if %0%0% .tm true' | 9 troff
x T utf
x res 720 1 1
x init
troff: modulus by zero.; stdin:1
troff: modulus by zero.; stdin:1
x trailer
V0
x stop
$ echo '.if 1%0 .tm true' | 9 troff
x T utf
x res 720 1 1
x init
troff: modulus by zero.; stdin:1
x trailer
V0
x stop
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd/devdraw: handle X11 selections better</title>
<updated>2025-11-04T12:10:14+00:00</updated>
<author>
<name>Scott Schwartz</name>
<email>scott7z123@gmail.com</email>
</author>
<published>2025-11-04T04:25:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=37cd522b0a79b4f6b2b5d4b8d27667dea44f71d4'/>
<id>37cd522b0a79b4f6b2b5d4b8d27667dea44f71d4</id>
<content type='text'>
x11-screen.c accepts selection targets with the MIME type
"text/plain;charset-UTF8", but it should do so case insensitively. The
current code draws an error when working with xfce4-terminal 1.0.4,
which sends lower case.  To reproduce, run acme, snarf some text, then
paste in the terminal.  acme will report:
acme: cannot handle selection request for 'text/plain;charset=utf-8' (590)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
x11-screen.c accepts selection targets with the MIME type
"text/plain;charset-UTF8", but it should do so case insensitively. The
current code draws an error when working with xfce4-terminal 1.0.4,
which sends lower case.  To reproduce, run acme, snarf some text, then
paste in the terminal.  acme will report:
acme: cannot handle selection request for 'text/plain;charset=utf-8' (590)
</pre>
</div>
</content>
</entry>
<entry>
<title>nroff: bad symbold definition on command line.</title>
<updated>2025-10-10T18:34:02+00:00</updated>
<author>
<name>Dan Cross</name>
<email>cross@gajendra.net</email>
</author>
<published>2025-10-10T18:33:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=499efb270d7d5e841b51fc1a44400da54ba58361'/>
<id>499efb270d7d5e841b51fc1a44400da54ba58361</id>
<content type='text'>
`-DTDEVNAME=...` should be `-DNDEVNAME=...`.  We've been
defaulting for "37", probably forever.

Signed-off-by: Dan Cross &lt;cross@gajendra.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`-DTDEVNAME=...` should be `-DNDEVNAME=...`.  We've been
defaulting for "37", probably forever.

Signed-off-by: Dan Cross &lt;cross@gajendra.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>devdraw: work around XWayland pointer warping</title>
<updated>2025-10-09T23:37:41+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2025-10-09T23:37:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=19263a10717840901efc6b1cc2f802e7f5173c55'/>
<id>19263a10717840901efc6b1cc2f802e7f5173c55</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>devdraw: fix dangling else</title>
<updated>2025-10-09T13:29:12+00:00</updated>
<author>
<name>Arusekk</name>
<email>floss@arusekk.pl</email>
</author>
<published>2025-10-09T06:48:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=00754b35a22d491b614fefe5149bcedad1523ef2'/>
<id>00754b35a22d491b614fefe5149bcedad1523ef2</id>
<content type='text'>
Because of a dangling else, after adding a name to an image with 'N',
it was immediately deleted, resulting in Enoname in response to 'n'.

This went mostly unnoticed, since plan9port itself does not use named
images, but it can break external applications like truedraw[1].

[1]: https://git.sr.ht/~arusekk/truedraw

Fixes: c66b52501b63 ("new draw server")
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because of a dangling else, after adding a name to an image with 'N',
it was immediately deleted, resulting in Enoname in response to 'n'.

This went mostly unnoticed, since plan9port itself does not use named
images, but it can break external applications like truedraw[1].

[1]: https://git.sr.ht/~arusekk/truedraw

Fixes: c66b52501b63 ("new draw server")
</pre>
</div>
</content>
</entry>
<entry>
<title>src/cmd/rc: import rc syntax `delim{cmd} for splitting commands from 9atom</title>
<updated>2025-07-27T13:55:45+00:00</updated>
<author>
<name>lufia</name>
<email>lufia@lufia.org</email>
</author>
<published>2025-07-21T04:36:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=8ff39da0623dbab13c00ce25a16dda168f6ec0a0'/>
<id>8ff39da0623dbab13c00ce25a16dda168f6ec0a0</id>
<content type='text'>
Co-authored-by: &lt;ori@eigenstate.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: &lt;ori@eigenstate.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
