<feed xmlns='http://www.w3.org/2005/Atom'>
<title>st, branch 0.8.5</title>
<subtitle>a modified version of st (simple terminal)</subtitle>
<link rel='alternate' type='text/html' href='http://git.yctct.com/st/'/>
<entry>
<title>bump version to 0.8.5</title>
<updated>2022-01-07T11:39:57+00:00</updated>
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<published>2022-01-07T11:39:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.yctct.com/st/commit/?id=7fb0c0cc681f36be2ad12091ef93a41671f32738'/>
<id>7fb0c0cc681f36be2ad12091ef93a41671f32738</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>FAQ: fix a typo, patch -&gt; path</title>
<updated>2022-01-02T11:16:57+00:00</updated>
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<published>2022-01-02T11:15:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.yctct.com/st/commit/?id=7e1c68f25d9f08687a94eeef8d7f8ffd0d14b911'/>
<id>7e1c68f25d9f08687a94eeef8d7f8ffd0d14b911</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix overtyping wide characters.</title>
<updated>2021-12-30T17:37:17+00:00</updated>
<author>
<name>jamin</name>
<email>acdimalev@gmail.com</email>
</author>
<published>2021-12-29T17:07:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.yctct.com/st/commit/?id=65f1dc428315ae9d7f362e10c668557c1379e7af'/>
<id>65f1dc428315ae9d7f362e10c668557c1379e7af</id>
<content type='text'>
Overtyping the first half of a wide character with the
second half of a wide character results in display garbage.
This is because the trailing dummy is not cleaned up.

i.e.  ATTR_WIDE, ATTR_WDUMMY, ATTR_WDUMMY

Here is a short script for demonstrating the behavior:

	#!/bin/sh
	alias printf=/usr/bin/printf
	printf こんにちは！; sleep 2
	printf '\x1b[5D'; sleep 2
	printf へ; sleep 2
	printf ' '; sleep 2
	echo
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Overtyping the first half of a wide character with the
second half of a wide character results in display garbage.
This is because the trailing dummy is not cleaned up.

i.e.  ATTR_WIDE, ATTR_WDUMMY, ATTR_WDUMMY

Here is a short script for demonstrating the behavior:

	#!/bin/sh
	alias printf=/usr/bin/printf
	printf こんにちは！; sleep 2
	printf '\x1b[5D'; sleep 2
	printf へ; sleep 2
	printf ' '; sleep 2
	echo
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix null pointer access in strhandle</title>
<updated>2021-12-27T12:07:11+00:00</updated>
<author>
<name>Jochen Sprickerhof</name>
<email>git@jochen.sprickerhof.de</email>
</author>
<published>2021-12-27T10:41:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.yctct.com/st/commit/?id=a0467c802d4f86ed162486e3453dd61181423902'/>
<id>a0467c802d4f86ed162486e3453dd61181423902</id>
<content type='text'>
According to the spec the argument is optional for 104, so p can be
NULL as can be tested with printf '\x1b]104\x07'. This is a regression
of 8e31030.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to the spec the argument is optional for 104, so p can be
NULL as can be tested with printf '\x1b]104\x07'. This is a regression
of 8e31030.
</pre>
</div>
</content>
</entry>
<entry>
<title>follow-up fix for OSC color sequences, return</title>
<updated>2021-12-26T18:00:41+00:00</updated>
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<published>2021-12-26T18:00:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.yctct.com/st/commit/?id=273db5ceaf392e68c2faf8f7dec14ea2e25e980d'/>
<id>273db5ceaf392e68c2faf8f7dec14ea2e25e980d</id>
<content type='text'>
Otherwise the message "erresc: unknown str" is printed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise the message "erresc: unknown str" is printed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for OSC color sequences</title>
<updated>2021-12-26T17:57:44+00:00</updated>
<author>
<name>Raheman Vaiya</name>
<email>r.vaiya@gmail.com</email>
</author>
<published>2021-12-26T17:57:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.yctct.com/st/commit/?id=8e310303903792c010d03c046ba75f8b18f7d3a7'/>
<id>8e310303903792c010d03c046ba75f8b18f7d3a7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix possible rare crash when Xutf8TextPropertyToTextList fails</title>
<updated>2021-08-24T11:44:35+00:00</updated>
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<published>2021-08-24T11:44:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.yctct.com/st/commit/?id=2f6e597ed871cff91c627850d03152cae5f45779'/>
<id>2f6e597ed871cff91c627850d03152cae5f45779</id>
<content type='text'>
from the XmbTextListToTextProperty(3) man page:

"If insufficient memory is available for the new value string, the functions
return XNoMemory.  If the current locale is not supported, the functions return
XLocaleNotSupported.  In both of these error cases, the functions do not set
text_prop_return."

Reported by Steffen Nurpmeso &lt;steffen@sdaoden.eu&gt;, thanks!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
from the XmbTextListToTextProperty(3) man page:

"If insufficient memory is available for the new value string, the functions
return XNoMemory.  If the current locale is not supported, the functions return
XLocaleNotSupported.  In both of these error cases, the functions do not set
text_prop_return."

Reported by Steffen Nurpmeso &lt;steffen@sdaoden.eu&gt;, thanks!
</pre>
</div>
</content>
</entry>
<entry>
<title>fix a problem that the standard streams are unexpectedly closed</title>
<updated>2021-08-24T11:30:11+00:00</updated>
<author>
<name>Koichi Murase</name>
<email>myoga.murase@gmail.com</email>
</author>
<published>2021-08-23T21:25:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.yctct.com/st/commit/?id=1d3142da968da7f6f61f1c1708f39ca233eda150'/>
<id>1d3142da968da7f6f61f1c1708f39ca233eda150</id>
<content type='text'>
In the current implementation, the slave PTY (assigned to the variable
`s') is always closed after duplicating it to file descriptors of
standard streams (0, 1, and 2).  However, when the allocated slave PTY
`s' is already one of 0, 1, or 2, this causes unexpected closing of a
standard stream.  The same problem occurs when the file descriptor of
the master PTY (the variable `m') is one of 0, 1, or 2.

In this patch, the original master PTY (m) is closed before it would
be overwritten by duplicated slave PTYs.  The original slave PTY (s)
is closed only when it is not one of the stanrad streams.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the current implementation, the slave PTY (assigned to the variable
`s') is always closed after duplicating it to file descriptors of
standard streams (0, 1, and 2).  However, when the allocated slave PTY
`s' is already one of 0, 1, or 2, this causes unexpected closing of a
standard stream.  The same problem occurs when the file descriptor of
the master PTY (the variable `m') is one of 0, 1, or 2.

In this patch, the original master PTY (m) is closed before it would
be overwritten by duplicated slave PTYs.  The original slave PTY (s)
is closed only when it is not one of the stanrad streams.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add 14th bit to XK_SWITCH_MOD bitmask</title>
<updated>2021-07-18T09:44:56+00:00</updated>
<author>
<name>Petar Kapriš</name>
<email>petarkapris@firemail.cc</email>
</author>
<published>2021-07-17T22:14:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.yctct.com/st/commit/?id=2ec571a30c0c3b1a17f6b3631c80d573582f59a1'/>
<id>2ec571a30c0c3b1a17f6b3631c80d573582f59a1</id>
<content type='text'>
The bits of uint signal in an XKeyEvent which concern the key group (keyboard
layout) are bits 13 and 14, as documented here:
https://www.x.org/releases/X11R7.7/doc/libX11/XKB/xkblib.html#Groups_and_Shift_Levels
In the older version, only bit 13 was marked as part of XK_SWITCH_MOD, this
causes issues for users who have more than two keymaps. the 14th bit is not
in ignoremod, key sequences are not caught by match(), if they switch to a third
or fourth keyboard.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The bits of uint signal in an XKeyEvent which concern the key group (keyboard
layout) are bits 13 and 14, as documented here:
https://www.x.org/releases/X11R7.7/doc/libX11/XKB/xkblib.html#Groups_and_Shift_Levels
In the older version, only bit 13 was marked as part of XK_SWITCH_MOD, this
causes issues for users who have more than two keymaps. the 14th bit is not
in ignoremod, key sequences are not caught by match(), if they switch to a third
or fourth keyboard.
</pre>
</div>
</content>
</entry>
<entry>
<title>Mild const-correctness improvements.</title>
<updated>2021-05-06T16:21:10+00:00</updated>
<author>
<name>Markus F.X.J. Oberhumer</name>
<email>markus@oberhumer.com</email>
</author>
<published>2021-03-28T19:16:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.yctct.com/st/commit/?id=4536f46cfff50c66a115755def0155d8e246b02f'/>
<id>4536f46cfff50c66a115755def0155d8e246b02f</id>
<content type='text'>
Only touch a few things, the main focus is to
improve code readability.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only touch a few things, the main focus is to
improve code readability.
</pre>
</div>
</content>
</entry>
</feed>
