<feed xmlns='http://www.w3.org/2005/Atom'>
<title>st-fork, branch patches</title>
<subtitle>Fork of simpleterm. Contains patches for Xembed hosting.</subtitle>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/st-fork/'/>
<entry>
<title>When embedded, st fails with BadMatch error if the embedder's window has</title>
<updated>2024-08-08T11:47:03+00:00</updated>
<author>
<name>Robin Haberkorn</name>
<email>robin.haberkorn@googlemail.com</email>
</author>
<published>2024-08-08T11:47:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/st-fork/commit/?id=735332a5048f90869a7f8cf62a19717220f78dea'/>
<id>735332a5048f90869a7f8cf62a19717220f78dea</id>
<content type='text'>
non-default colormap/depth/visual.  This commit fixes that by creating
st's window inside root and then reparent it into embedder.

The reference window for dc.gc is also changed to match root's visuals.

A similar commit had been made for dmenu[1].
See this issue[2] on github for context.

[1]: https://git.suckless.org/dmenu/commit/0fe460dbd469a1d5b6a7140d0e1801935e4a923b.html
[2]: https://github.com/phillbush/xfiles/issues/47

See: https://lists.suckless.org/hackers/2408/19158.html#start19158
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
non-default colormap/depth/visual.  This commit fixes that by creating
st's window inside root and then reparent it into embedder.

The reference window for dc.gc is also changed to match root's visuals.

A similar commit had been made for dmenu[1].
See this issue[2] on github for context.

[1]: https://git.suckless.org/dmenu/commit/0fe460dbd469a1d5b6a7140d0e1801935e4a923b.html
[2]: https://github.com/phillbush/xfiles/issues/47

See: https://lists.suckless.org/hackers/2408/19158.html#start19158
</pre>
</div>
</content>
</entry>
<entry>
<title>inherit window icon from embedded (Xembed) application</title>
<updated>2024-02-03T13:59:00+00:00</updated>
<author>
<name>Robin Haberkorn</name>
<email>robin.haberkorn@googlemail.com</email>
</author>
<published>2024-02-03T00:36:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/st-fork/commit/?id=9b45bbe7a2061d46fb4a062c2e30ba2fbfae1219'/>
<id>9b45bbe7a2061d46fb4a062c2e30ba2fbfae1219</id>
<content type='text'>
* This is largely taken from tabbed's "icon" patch (cf. xseticon()):
  https://tools.suckless.org/tabbed/patches/icon/
* I found that some applications that show their icon flawlessly in the WM
  won't work (neither in st, nor in tabbed).
  This was the case with SciTECO, but it could be resolved
  by reordering some statements.
* Once the embedded application terminates, we try to remove the icon again.
  `xprop` confirms that this worked.
  Unfortunately, Awesome WM will continue to show the old icon, which
  is probably an Awesome WM bug.
  Perhaps we should therefore apply this patch on top of netwmicon (FIXME):
  https://st.suckless.org/patches/netwmicon/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* This is largely taken from tabbed's "icon" patch (cf. xseticon()):
  https://tools.suckless.org/tabbed/patches/icon/
* I found that some applications that show their icon flawlessly in the WM
  won't work (neither in st, nor in tabbed).
  This was the case with SciTECO, but it could be resolved
  by reordering some statements.
* Once the embedded application terminates, we try to remove the icon again.
  `xprop` confirms that this worked.
  Unfortunately, Awesome WM will continue to show the old icon, which
  is probably an Awesome WM bug.
  Perhaps we should therefore apply this patch on top of netwmicon (FIXME):
  https://st.suckless.org/patches/netwmicon/
</pre>
</div>
</content>
</entry>
<entry>
<title>Embedder: This respects the embedded window's name/title</title>
<updated>2024-02-03T13:09:35+00:00</updated>
<author>
<name>Robin Haberkorn</name>
<email>robin.haberkorn@googlemail.com</email>
</author>
<published>2024-02-01T14:11:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/st-fork/commit/?id=722582c552e5a2c9c37e713a711b31788c28b833'/>
<id>722582c552e5a2c9c37e713a711b31788c28b833</id>
<content type='text'>
Imports gettextprop() from tabbed.c.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Imports gettextprop() from tabbed.c.
</pre>
</div>
</content>
</entry>
<entry>
<title>Hi list,</title>
<updated>2024-02-03T13:09:35+00:00</updated>
<author>
<name>Jochen Sprickerhof</name>
<email>suckless@jochen.sprickerhof.de</email>
</author>
<published>2024-02-01T03:16:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/st-fork/commit/?id=1b61390375255529635d627397d3f759357d8613'/>
<id>1b61390375255529635d627397d3f759357d8613</id>
<content type='text'>
I've implemented embedder support, i.e. the host part, for st. This
allows clients to embed into the st window and is useful if you start X
applications from the terminal. For example:

$ surf -e $WINDOWID

The behavior is similar to Plan 9 where applications can take over
windows.. as far as this is possible in X ;).

The attached patch is against git master and I intent to put it into the
wiki unless someone things it's worth for mainline.

Cheers Jochen

Source: https://lists.suckless.org/hackers/2001/17072.html
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I've implemented embedder support, i.e. the host part, for st. This
allows clients to embed into the st window and is useful if you start X
applications from the terminal. For example:

$ surf -e $WINDOWID

The behavior is similar to Plan 9 where applications can take over
windows.. as far as this is possible in X ;).

The attached patch is against git master and I intent to put it into the
wiki unless someone things it's worth for mainline.

Cheers Jochen

Source: https://lists.suckless.org/hackers/2001/17072.html
</pre>
</div>
</content>
</entry>
<entry>
<title>st-scrollback-mouse-altscreen</title>
<updated>2024-02-03T13:09:07+00:00</updated>
<author>
<name>asparagii</name>
<email>michele.lambertucci1@gmail.com</email>
</author>
<published>2022-01-27T14:49:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/st-fork/commit/?id=a6d484d8723d493bc09a5122128aaea729adaa80'/>
<id>a6d484d8723d493bc09a5122128aaea729adaa80</id>
<content type='text'>
Source: https://st.suckless.org/patches/scrollback/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Source: https://st.suckless.org/patches/scrollback/
</pre>
</div>
</content>
</entry>
<entry>
<title>st-scrollback-mouse</title>
<updated>2024-02-03T13:08:49+00:00</updated>
<author>
<name>asparagii</name>
<email>michele.lambertucci1@gmail.com</email>
</author>
<published>2022-01-27T14:44:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/st-fork/commit/?id=e4912814c02fdf4fae9fe9b655ee147f714ceb0d'/>
<id>e4912814c02fdf4fae9fe9b655ee147f714ceb0d</id>
<content type='text'>
Source: https://st.suckless.org/patches/scrollback/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Source: https://st.suckless.org/patches/scrollback/
</pre>
</div>
</content>
</entry>
<entry>
<title>Terminal scrollback with ring buffer</title>
<updated>2024-02-03T13:08:49+00:00</updated>
<author>
<name>Timo Röhling</name>
<email>timo@gaussglocke.de</email>
</author>
<published>2024-02-01T02:27:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/st-fork/commit/?id=d1443515a862307ef46f3d902f632655bc54997e'/>
<id>d1443515a862307ef46f3d902f632655bc54997e</id>
<content type='text'>
This patch adds a ring buffer for scrollback to the terminal.  The
advantage of using a ring buffer is that the common case, scrolling with
no static screen content, can be achieved very efficiently by
incrementing and decrementing the starting line (modulo buffer size).

The scrollback buffer is limited to HISTSIZE lines in order to bound
memory usage. As the lines are allocated on demand, it is possible to
implement unlimited scrollback with few changes.  If the terminal is
reset, the scroll back buffer is reset, too.

Source: https://st.suckless.org/patches/scrollback/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds a ring buffer for scrollback to the terminal.  The
advantage of using a ring buffer is that the common case, scrolling with
no static screen content, can be achieved very efficiently by
incrementing and decrementing the starting line (modulo buffer size).

The scrollback buffer is limited to HISTSIZE lines in order to bound
memory usage. As the lines are allocated on demand, it is possible to
implement unlimited scrollback with few changes.  If the terminal is
reset, the scroll back buffer is reset, too.

Source: https://st.suckless.org/patches/scrollback/
</pre>
</div>
</content>
</entry>
<entry>
<title>Add switch to provide initial working directory</title>
<updated>2024-02-03T13:08:20+00:00</updated>
<author>
<name>David Gricar</name>
<email>coppie@protonmail.com</email>
</author>
<published>2024-02-01T02:13:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/st-fork/commit/?id=a8a9fdc32ffc5ee6e3953322a48e0a8dbceff5a7'/>
<id>a8a9fdc32ffc5ee6e3953322a48e0a8dbceff5a7</id>
<content type='text'>
This patch adds -p switch which takes one argument 'path' and can be
used to set the initial working directory of the new st instance.
It acts the same as running 'cd path' command after starting the st
instance.

Source: https://st.suckless.org/patches/workingdir/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds -p switch which takes one argument 'path' and can be
used to set the initial working directory of the new st instance.
It acts the same as running 'cd path' command after starting the st
instance.

Source: https://st.suckless.org/patches/workingdir/
</pre>
</div>
</content>
</entry>
<entry>
<title>Add terminfo entries for bracketed paste mode</title>
<updated>2023-10-07T10:16:59+00:00</updated>
<author>
<name>Peter Hofmann</name>
<email>scm@uninformativ.de</email>
</author>
<published>2023-10-07T05:41:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/st-fork/commit/?id=9846a56bd7fdc86bf788db04bbbcbde7b7eb9952'/>
<id>9846a56bd7fdc86bf788db04bbbcbde7b7eb9952</id>
<content type='text'>
Helps Vim (and hopefully others) to discover that this feature exists
without further user configuration.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Helps Vim (and hopefully others) to discover that this feature exists
without further user configuration.
</pre>
</div>
</content>
</entry>
<entry>
<title>Unhide cursor on RIS (\033c)</title>
<updated>2023-10-07T10:16:59+00:00</updated>
<author>
<name>Peter Hofmann</name>
<email>scm@uninformativ.de</email>
</author>
<published>2023-10-07T05:40:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/st-fork/commit/?id=559fdc278681c98470749adb59f01cd071720458'/>
<id>559fdc278681c98470749adb59f01cd071720458</id>
<content type='text'>
It is unclear if it's "required" to do this on RIS, but it's useful when
calling reset(1) after interactive programs have crashed and garbled up
the screen.

FWIW, other terminals do it as well (tested with XTerm, VTE, Kitty,
Alacritty, Linux VT).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is unclear if it's "required" to do this on RIS, but it's useful when
calling reset(1) after interactive programs have crashed and garbled up
the screen.

FWIW, other terminals do it as well (tested with XTerm, VTE, Kitty,
Alacritty, Linux VT).
</pre>
</div>
</content>
</entry>
</feed>
