<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Daniel Lange's blog (Entries tagged as keyboard)</title>
    <link>http://daniel-lange.com/</link>
    <description>agrep -pB IT /dev/life</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 2.6-alpha1 - http://www.s9y.org/</generator>
    <pubDate>Fri, 16 Jan 2026 07:09:38 GMT</pubDate>

    <image>
    <url>//daniel-lange.com/uploads/Avatar_Blog_144_234.png</url>
    <title>RSS: Daniel Lange's blog - agrep -pB IT /dev/life</title>
    <link>http://daniel-lange.com/</link>
    <width>144</width>
    <height>234</height>
</image>

<item>
    <title>Resizing Xterm fonts with Ctrl+&lt;plus&gt; and Ctrl+&lt;minus&gt;</title>
    <link>http://daniel-lange.com/archives/196-Resizing-Xterm-fonts-with-Ctrl+plus-and-Ctrl+minus.html</link>
            <category>Linux</category>
    
    <comments>http://daniel-lange.com/archives/196-Resizing-Xterm-fonts-with-Ctrl+plus-and-Ctrl+minus.html#comments</comments>
    <wfw:comment>http://daniel-lange.com/wfwcomment.php?cid=196</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://daniel-lange.com/rss.php?version=2.0&amp;type=comments&amp;cid=196</wfw:commentRss>
    

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;Xterm misses the convenient option to resize the fonts with &lt;code&gt;Ctrl+&amp;lt;plus&amp;gt;&lt;/code&gt; and &lt;code&gt;Ctrl+&amp;lt;minus&amp;gt;&lt;/code&gt; like xfce4-terminal or gnome-terminal do out of the box.&lt;/p&gt;

&lt;p&gt;This feature can be added on Debian systems by dropping a configuration snippet into &lt;code&gt;/etc/X11/Xresources/x11-xterm-fontsize&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&quot;text geshi&quot; style=&quot;text-align: left&quot;&gt;! Allow XTerm font size to be changed with Ctrl+&amp;lt;plus&amp;gt; and &amp;lt;minus&amp;gt;&lt;br /&gt;XTerm.vt100.translations: #override \n\&lt;br /&gt;&amp;#160; Ctrl &amp;lt;Key&amp;gt; minus: smaller-vt-font() \n\&lt;br /&gt;&amp;#160; Ctrl &amp;lt;Key&amp;gt; plus: larger-vt-font()&lt;/div&gt;

&lt;p&gt;Any new X session will inherit this configuration and &lt;code&gt;Ctrl+&amp;lt;plus&amp;gt;&lt;/code&gt; and &lt;code&gt;Ctrl+&amp;lt;minus&amp;gt;&lt;/code&gt; will work to adjust the font size (and taking the window size along).&lt;/p&gt;

&lt;p&gt;The font sizes that Xterm iterates through can be viewed on the &lt;code&gt;Ctrl-&amp;lt;right click&amp;gt;&lt;/code&gt; context menu:&lt;/p&gt;

&lt;p&gt;&lt;!-- s9ymdb:739 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;530&quot; height=&quot;519&quot;  src=&quot;http://daniel-lange.com/uploads/entries/xterm_right-click_menu.png&quot; title=&quot;aah, the UI charm of the 80s 😍&quot; loading=&quot;lazy&quot; alt=&quot;Screenshot of an Xterm window with the context menu displayed&quot;&gt;
NB: The context menu allows to switch the fonts on systems where the above snippet has not (yet) been installed. So good enough for a one-off.&lt;/p&gt;

&lt;p&gt;Credits: &lt;a href=&quot;https://askubuntu.com/questions/161652/how-to-change-the-default-font-size-of-xterm&quot;&gt;Stack Overflow/Ask Ubuntu, Matthew Hoener&lt;/a&gt;.&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Mon, 12 Jan 2026 12:15:00 +0000</pubDate>
    <guid isPermaLink="false">http://daniel-lange.com/archives/196-guid.html</guid>
    <category>keyboard</category>
<category>x11</category>
<category>xterm</category>

</item>
<item>
    <title>Irssi update to 0.8.19 from Debian jessie-backports may break enter / carriage return key / ↵ key </title>
    <link>http://daniel-lange.com/archives/118-Irssi-update-to-0.8.19-from-Debian-jessie-backports-may-break-enter-carriage-return-key-key.html</link>
            <category>Debian</category>
    
    <comments>http://daniel-lange.com/archives/118-Irssi-update-to-0.8.19-from-Debian-jessie-backports-may-break-enter-carriage-return-key-key.html#comments</comments>
    <wfw:comment>http://daniel-lange.com/wfwcomment.php?cid=118</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://daniel-lange.com/rss.php?version=2.0&amp;type=comments&amp;cid=118</wfw:commentRss>
    

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;Updating to irssi 0.8.19 (which is a mainly a bugfix release to 0.8.18) proved a real issue.
The enter key (return key) stopped working. Ctrl-J still worked but that&#039;s way too annoying to remember after each line.
Searching the github issues turned up &lt;a href=&quot;https://github.com/irssi/irssi/issues/327&quot;&gt;#327 Numeric keypad &quot;Enter&quot; key stopped working&lt;/a&gt; which didn&#039;t help much.
Digging deeper it shows the irssi devs enabled &quot;App key&quot; mode in these releases which causes so many issues, they had to implement a switch to &lt;a href=&quot;https://github.com/ailin-nemui/irssi/commit/b9914abbf3a7fae6d15f26650a98d8e74aa1fa05&quot;&gt;turn it off&lt;/a&gt; again.&lt;/p&gt;

&lt;p&gt;So a hopeful:
&lt;code&gt;/set term_appkey_mode off&lt;/code&gt;  &lt;i&gt; followed by &lt;kbd&gt;Ctrl&lt;/kbd&gt;+&lt;kbd&gt;J&lt;/kbd&gt;, remember ...&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;and ... nothing changed.&lt;/p&gt;

&lt;p&gt;So finally, after more digging and a quick consideration to go back to irssi 0.8.17 on Debian stable (Jessie) ...&lt;/p&gt;

&lt;p&gt;&lt;code&gt;/bind ^M key return&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Yes, irssi 0.8.19 wants to be told what the enter key is, like, by default. Duh.&lt;br /&gt;
No idea what caused this in my configuration, I&#039;ve been using irssi for more than a decade so much cruft has accumulated in my &lt;code&gt;.irssi/config&lt;/code&gt; but ... in case you run into this as well, hopefully I helped you save a morning for something better to do.&lt;/p&gt;

&lt;p&gt;If you want to fumble this into your &lt;code&gt;.irssi/config&lt;/code&gt; (e.g. because Ctrl-J does not work for you):&lt;/p&gt;

&lt;pre&gt;
keyboard = (
  [...]
  { key = &quot;^M&quot;; id = &quot;key&quot;; data = &quot;return&quot;; },
  [...]
);
&lt;/pre&gt;
 
    </content:encoded>

    <pubDate>Fri, 06 May 2016 08:30:00 +0000</pubDate>
    <guid isPermaLink="false">http://daniel-lange.com/archives/118-guid.html</guid>
    <category>irssi</category>
<category>key</category>
<category>keyboard</category>
<category>keymap</category>
<category>update</category>

</item>
<item>
    <title>Fixing FreeNX / NoMachine NX keyboard glitches (e.g. ALTGr)</title>
    <link>http://daniel-lange.com/archives/45-Fixing-FreeNX-NoMachine-NX-keyboard-glitches-e.g.-ALTGr.html</link>
            <category>Linux</category>
    
    <comments>http://daniel-lange.com/archives/45-Fixing-FreeNX-NoMachine-NX-keyboard-glitches-e.g.-ALTGr.html#comments</comments>
    <wfw:comment>http://daniel-lange.com/wfwcomment.php?cid=45</wfw:comment>

    <slash:comments>16</slash:comments>
    <wfw:commentRss>http://daniel-lange.com/rss.php?version=2.0&amp;type=comments&amp;cid=45</wfw:commentRss>
    

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;There is a add-on technology to X or VNC called &lt;a href=&quot;http://www.nomachine.com/sources.php&quot; title=&quot;NX Sources download&quot;&gt;NX&lt;/a&gt; by an Italian company called &lt;a href=&quot;http://www.nomachine.com&quot; title=&quot;NoMachine homepage&quot;&gt;NoMachine&lt;/a&gt;.
It&#039;s quite useful as it speeds up working on remote desktops via slow network connections (i.e. DSL pipes) substantially.&lt;/p&gt;

&lt;p&gt;The libraries that implement NX are released under GPLv2 by that company.
A server wrapping up the libraries&#039; functionality is available as closed source from NoMachine or as a free product (GPLv2 again) by Fabian Franz, called &lt;a href=&quot;http://freenx.berlios.de/&quot; title=&quot;FreeNX homepage&quot;&gt;FreeNX&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;FreeNX itself is amazing as it is written in BASH (with a few helper functions in C). It&#039;s also able to mend some of the shortcomings of the NX architecture. E.g. stock NX requires a technical user called &quot;nx&quot; to able to ssh into the NX server with a public/private keypair.
FreeNX can work around that for more secure set-ups.&lt;/p&gt;

&lt;p&gt;One issue I bumped into quite regularly with Linux clients and Linux hosts from different distributions/localisations is that the keymaps are not compatible. This usually results in the ALTGr key not usable, so German keyboard users can&#039;t enter a pipe (&quot;|&quot;), tilde (&quot;~&quot;) or a backslash (&quot;\&quot;) character.  Also the up and down keys are usually resulting in weird characters being pasted to the shell. Now all of that makes using a shell/terminal prompt quite &lt;em&gt;interesting&lt;/em&gt;.&lt;/p&gt;
 &lt;a class=&quot;block_level&quot; href=&quot;http://daniel-lange.com/archives/45-Fixing-FreeNX-NoMachine-NX-keyboard-glitches-e.g.-ALTGr.html#extended&quot;&gt;Continue reading &quot;Fixing FreeNX / NoMachine NX keyboard glitches (e.g. ALTGr)&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 10 May 2009 11:44:18 +0000</pubDate>
    <guid isPermaLink="false">http://daniel-lange.com/archives/45-guid.html</guid>
    <category>freenx</category>
<category>gentoo</category>
<category>keyboard</category>
<category>keymap</category>
<category>nx</category>
<category>ubuntu</category>

</item>

</channel>
</rss>
