<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs-and-support</title><link href="https://sourceforge.net/p/tinyfugue/bugs-and-support/" rel="alternate"/><link href="https://sourceforge.net/p/tinyfugue/bugs-and-support/feed.atom" rel="self"/><id>https://sourceforge.net/p/tinyfugue/bugs-and-support/</id><updated>2022-08-22T09:54:06.463000Z</updated><subtitle>Recent changes to bugs-and-support</subtitle><entry><title>New SSL EOF error behavior when remote connection closes</title><link href="https://sourceforge.net/p/tinyfugue/bugs-and-support/39/" rel="alternate"/><published>2022-08-22T09:54:06.463000Z</published><updated>2022-08-22T09:54:06.463000Z</updated><author><name>fluffy</name><uri>https://sourceforge.net/u/plaidfluff/</uri></author><id>https://sourceforge.net6a8a3e1a42e6b5c639d1c9bd7a7346bf969f4ff4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I recently upgraded to Ubuntu 22.04 LTS, and now when the remote server disconnects I get some new error messages which didn't appear before:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="c"&gt;% Connection to (world) closed: SSL/lib: error:0A000126:SSL routines::unexpected eof while reading&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="c"&gt;% Connection to (world) closed: SSL/lib: error:0A000197:SSL routines::shutdown while in init&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This replaces the previous behavior of it simply giving a single "connection closed" line. This behavior appears to be new to libssl3; previously, Ubuntu 20.4 LTS used openssl27.&lt;/p&gt;
&lt;p&gt;This is an extremely minor issue but it possibly indicates a change in the OpenSSL API that might need addressing. From a cursory GitHub search it seems that it's appropriate to call this in the SSL context setup:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;SSL_CTX_set_options(ctx, SSL_OP_IGNORE_UNEXPECTED_EOF);
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;although it's unclear if that will cause other issues with how remote connections close from the server side.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#38 Unable to Compile on CentOS 9 Stream</title><link href="https://sourceforge.net/p/tinyfugue/bugs-and-support/38/?limit=25#0e74" rel="alternate"/><published>2022-05-12T20:16:22.315000Z</published><updated>2022-05-12T20:16:22.315000Z</updated><author><name>SKasai</name><uri>https://sourceforge.net/u/skasai/</uri></author><id>https://sourceforge.netbe374c10b9ad78834bd831bd2e178a8da6ea84d5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I should point out the  last error is pointing to the '==' in  old_sighup_handler == SIG_DFL&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Unable to Compile on CentOS 9 Stream</title><link href="https://sourceforge.net/p/tinyfugue/bugs-and-support/38/" rel="alternate"/><published>2022-05-12T20:14:31.621000Z</published><updated>2022-05-12T20:14:31.621000Z</updated><author><name>SKasai</name><uri>https://sourceforge.net/u/skasai/</uri></author><id>https://sourceforge.netcaefc81975045e44eef89ff65294829f42e76106</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am taking the 5.0 Beta 8 Source Code and trying to compile on CentOS 9 Stream (No Tinyfugue in the repos for CentOS 9 yet)&lt;/p&gt;
&lt;p&gt;./configure works (Although had to modify to file to take out the PC UTF-8 FFs out)&lt;br/&gt;
When making, this comes up:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;signals.c:72:9: warning: type defaults to ‘int’ in declaration of ‘RETSIGTYPE’ &lt;span&gt;[-Wimplicit-int]&lt;/span&gt;&lt;br/&gt;
   72 | typedef RETSIGTYPE (SigHandler)(int sig);&lt;br/&gt;
      |         ^~~~~~~~~~&lt;br/&gt;
signals.c:72:9: error: ‘RETSIGTYPE’ declared as function returning a function&lt;br/&gt;
signals.c:72:1: warning: parameter names (without types) in function declaration&lt;br/&gt;
   72 | typedef RETSIGTYPE (SigHandler)(int sig);&lt;br/&gt;
      | ^~~~~~~&lt;br/&gt;
signals.c:133:21: error: ‘parent_tstp_handler’ declared as function returning a function&lt;br/&gt;
  133 | static RETSIGTYPE (&lt;em&gt;parent_tstp_handler)(int sig);&lt;br/&gt;
      |                     ^~~~~~~~~~~~~~~~~~~&lt;br/&gt;
signals.c:140:19: error: ‘core_handler’ declared as function returning a function&lt;br/&gt;
  140 | static RETSIGTYPE core_handler(int sig);&lt;br/&gt;
      |                   ^~~~~~~~~~~~&lt;br/&gt;
signals.c:141:19: error: ‘signal_scheduler’ declared as function returning a function&lt;br/&gt;
  141 | static RETSIGTYPE signal_scheduler(int sig);&lt;br/&gt;
      |                   ^~~~~~~~~~~~~~~~&lt;br/&gt;
signals.c:142:19: error: ‘signal_jumper’ declared as function returning a function&lt;br/&gt;
  142 | static RETSIGTYPE signal_jumper(int sig);&lt;br/&gt;
      |                   ^~~~~~~~~~~~~&lt;br/&gt;
signals.c:148:8: error: unknown type name ‘SigHandler’&lt;br/&gt;
  148 | static SigHandler &lt;/em&gt;old_sighup_handler;&lt;br/&gt;
      |        ^~~~~~~~~~&lt;br/&gt;
signals.c:149:8: error: unknown type name ‘SigHandler’&lt;br/&gt;
  149 | static SigHandler &lt;em&gt;setsighandler(int sig, SigHandler &lt;/em&gt;func);&lt;br/&gt;
      |        ^~~~~~~~~~&lt;br/&gt;
signals.c:149:43: error: unknown type name ‘SigHandler’; did you mean ‘sa_handle’?&lt;br/&gt;
  149 | static SigHandler &lt;em&gt;setsighandler(int sig, SigHandler &lt;/em&gt;func);&lt;br/&gt;
      |                                           ^~~~~~~~~~&lt;br/&gt;
      |                                           sa_handler&lt;br/&gt;
signals.c:165:8: error: unknown type name ‘SigHandler’&lt;br/&gt;
  165 | static SigHandler &lt;em&gt;setsighandler(int sig, SigHandler &lt;/em&gt;func)&lt;br/&gt;
      |        ^~~~~~~~~~&lt;br/&gt;
signals.c:165:43: error: unknown type name ‘SigHandler’; did you mean ‘sa_handle’?&lt;br/&gt;
  165 | static SigHandler &lt;em&gt;setsighandler(int sig, SigHandler &lt;/em&gt;func)&lt;br/&gt;
      |                                           ^~~~~~~~~~&lt;br/&gt;
      |                                           sa_handler&lt;br/&gt;
signals.c: In function ‘checkstring’:&lt;br/&gt;
signals.c:196:5: error: unknown type name ‘SigHandler’; did you mean ‘sa_handler’?&lt;br/&gt;
  196 |     SigHandler &lt;em&gt;old_sigsegv_handler, &lt;/em&gt;old_sigbus_handler;&lt;br/&gt;
      |     ^~~~~~~~~~&lt;br/&gt;
      |     sa_handler&lt;br/&gt;
signals.c:202:27: warning: implicit declaration of function ‘setsighandler’; did you mean ‘sa_handler’? &lt;span&gt;[-Wimplicit-function-declaration]&lt;/span&gt;&lt;br/&gt;
  202 |     old_sigsegv_handler = setsighandler(SIGSEGV, signal_jumper);&lt;br/&gt;
      |                           ^~~~~~~~~~~~~&lt;br/&gt;
      |                           sa_handler&lt;br/&gt;
signals.c:202:25: warning: assignment to ‘int &lt;em&gt;’ from ‘int’ makes pointer from integer without a cast &lt;span&gt;&lt;span&gt;[-Wint-conversion]&lt;/span&gt;&lt;/span&gt;&lt;br/&gt;
  202 |     old_sigsegv_handler = setsighandler(SIGSEGV, signal_jumper);&lt;br/&gt;
      |                         ^&lt;br/&gt;
signals.c:203:24: warning: assignment to ‘int &lt;/em&gt;’ from ‘int’ makes pointer from integer without a cast &lt;span&gt;[-Wint-conversion]&lt;/span&gt;&lt;br/&gt;
  203 |     old_sigbus_handler = setsighandler(SIGBUS, signal_jumper);&lt;br/&gt;
      |                        ^&lt;br/&gt;
signals.c: In function ‘init_signals’:&lt;br/&gt;
signals.c:233:24: warning: assignment to ‘int &lt;em&gt;’ from ‘int’ makes pointer from integer without a cast &lt;span&gt;&lt;span&gt;[-Wint-conversion]&lt;/span&gt;&lt;/span&gt;&lt;br/&gt;
  233 |     old_sighup_handler = setsighandler(SIGHUP  , signal_scheduler);&lt;br/&gt;
      |                        ^&lt;br/&gt;
signals.c:246:25: warning: assignment to ‘int (&lt;/em&gt;)(int)’ from ‘int’ makes pointer from integer without a cast &lt;span&gt;[-Wint-conversion]&lt;/span&gt;&lt;br/&gt;
  246 |     parent_tstp_handler = setsighandler(SIGTSTP , signal_scheduler);&lt;br/&gt;
      |                         ^&lt;br/&gt;
signals.c: In function ‘suspend’:&lt;br/&gt;
signals.c:295:29: warning: comparison of distinct pointer types lacks a cast&lt;br/&gt;
  295 |         parent_tstp_handler == SIG_DFL) /&lt;em&gt; parent process does job-control &lt;/em&gt;/&lt;br/&gt;
      |                             ^~&lt;br/&gt;
signals.c: At top level:&lt;br/&gt;
signals.c:313:19: error: ‘core_handler’ declared as function returning a function&lt;br/&gt;
  313 | static RETSIGTYPE core_handler(int sig)&lt;br/&gt;
      |                   ^~~~~~~~~~~~&lt;br/&gt;
signals.c: In function ‘core_handler’:&lt;br/&gt;
signals.c:329:17: warning: ‘return’ with no value, in function returning non-void&lt;br/&gt;
  329 |                 return;&lt;br/&gt;
      |                 ^~~~~~&lt;br/&gt;
signals.c:313:19: note: declared here&lt;br/&gt;
  313 | static RETSIGTYPE core_handler(int sig)&lt;br/&gt;
      |                   ^~~~~~~~~~~~&lt;br/&gt;
signals.c: At top level:&lt;br/&gt;
signals.c:570:19: error: ‘signal_scheduler’ declared as function returning a function&lt;br/&gt;
  570 | static RETSIGTYPE signal_scheduler(int sig)&lt;br/&gt;
      |                   ^~~~~~~~~~~~~~~~&lt;br/&gt;
signals.c:577:19: error: ‘signal_jumper’ declared as function returning a function&lt;br/&gt;
  577 | static RETSIGTYPE signal_jumper(int sig)&lt;br/&gt;
      |                   ^~~~~~~~~~~~~&lt;br/&gt;
signals.c: In function ‘process_signals’:&lt;br/&gt;
signals.c:596:67: warning: comparison of distinct pointer types lacks a cast&lt;br/&gt;
  596 | f (VEC_ISSET(SIGHUP, &amp;amp;pending_signals) &amp;amp;&amp;amp; old_sighup_handler == SIG_DFL)&lt;br/&gt;
      |                                                              ^~&lt;/p&gt;
&lt;p&gt;make&lt;span&gt;[1]&lt;/span&gt;: &lt;strong&gt;&lt;em&gt; &lt;span&gt;&lt;span&gt;[&amp;lt;builtin&amp;gt;: signals.o]&amp;lt;/builtin&amp;gt;&lt;/span&gt;&lt;/span&gt; Error 1&lt;br/&gt;
make&lt;span&gt;&lt;span&gt;[1]&lt;/span&gt;&lt;/span&gt;: Leaving directory '/root/software/tf-50b8/src'&lt;br/&gt;
make: &lt;/em&gt;&lt;/strong&gt; &lt;span&gt;[Makefile:18: files]&lt;/span&gt; Error 2&lt;/p&gt;
&lt;/blockquote&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="nv"&gt;Not&lt;/span&gt; &lt;span class="nv"&gt;sure&lt;/span&gt; &lt;span class="nv"&gt;what&lt;/span&gt; &lt;span class="nv"&gt;I&lt;/span&gt; &lt;span class="nv"&gt;should&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt; &lt;span class="nv"&gt;now&lt;/span&gt; &lt;span class="nv"&gt;to&lt;/span&gt; &lt;span class="nv"&gt;resolve&lt;/span&gt; &lt;span class="nv"&gt;this&lt;/span&gt;.
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</summary></entry><entry><title>#36 Does Not Compile on Mac OS 10.10.1</title><link href="https://sourceforge.net/p/tinyfugue/bugs-and-support/36/?limit=25#6970" rel="alternate"/><published>2021-06-25T00:21:42.624000Z</published><updated>2021-06-25T00:21:42.624000Z</updated><author><name>wstarter</name><uri>https://sourceforge.net/u/wstarter/</uri></author><id>https://sourceforge.net75cebaac2027310a84932fa2b4c55cf7b94c724b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Some people seem to fix this by changing the pointer type of mmaloc_base&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blakesmith.me/2009/10/28/tinyfugue-on-snow-leopard.html" rel="nofollow"&gt;http://blakesmith.me/2009/10/28/tinyfugue-on-snow-leopard.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Others fix it by adding this to malloc.c:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="cp"&gt;#include&lt;/span&gt; &lt;span class="cpf"&gt;&amp;lt;sys/types.h&amp;gt;&lt;/span&gt;&lt;span class="cp"&gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;And it also seems like mmaloc_base is never used anywhere else, so potentially you can just remove that line referenced in the link and be done with it.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#37 ANSI code 39 is being ignored</title><link href="https://sourceforge.net/p/tinyfugue/bugs-and-support/37/?limit=25#5255" rel="alternate"/><published>2020-08-23T18:14:17.657000Z</published><updated>2020-08-23T18:14:17.657000Z</updated><author><name>Marcos Daniel Marado Torres</name><uri>https://sourceforge.net/u/mindbooster/</uri></author><id>https://sourceforge.net4b0adaad92bfb5caa265ca269a103a6b45e1fc07</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In attachment, a patch fixing this (in a far from elegant way).&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>ANSI code 39 is being ignored</title><link href="https://sourceforge.net/p/tinyfugue/bugs-and-support/37/" rel="alternate"/><published>2020-08-23T15:23:44.018000Z</published><updated>2020-08-23T15:23:44.018000Z</updated><author><name>Marcos Daniel Marado Torres</name><uri>https://sourceforge.net/u/mindbooster/</uri></author><id>https://sourceforge.netca0ac267d916fc6361a399b4e5854ecb9ccafb13</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;ANSI's code 39 means "Default foreground color", and should reset the foreground color, but tf5 is currently ignoring it.&lt;/p&gt;
&lt;p&gt;For example, this:&lt;br/&gt;
ÿü^A^[[34m+blue+^[[39mno color^M&lt;/p&gt;
&lt;p&gt;will correctly show in another client as "+blue+no color" with the part "+blue+" in blue, but the "no color" part without color. On the other hand, on tf it will show entirely in blue.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#35 undefined reference to 'pcre_info'</title><link href="https://sourceforge.net/p/tinyfugue/bugs-and-support/35/?limit=25#fa5f" rel="alternate"/><published>2020-04-17T00:44:43.737000Z</published><updated>2020-04-17T00:44:43.737000Z</updated><author><name>Louis Erickson</name><uri>https://sourceforge.net/u/laufeyjarson/</uri></author><id>https://sourceforge.net7929086be812e26672ee9a5fc8fe9bba44f5fbd4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Had a similar problem on linux.  Did the replacement to pcre_fullinfo, then it crashed instantly on start.&lt;/p&gt;
&lt;p&gt;Problem was that -lpcre was finding the system pcre library, which was a much newer version.&lt;/p&gt;
&lt;p&gt;Solved it by adding --with-libdirs=&lt;code&gt;pwd&lt;/code&gt;/src/pcre-2.08 to the configure command line, so the -lpcre would get the version expected by tf.  No code change needed, just to use the included library instead of the system one.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#33 TF unusable due to display issues in visual mode</title><link href="https://sourceforge.net/p/tinyfugue/bugs-and-support/33/?limit=25#6b6a" rel="alternate"/><published>2019-09-30T15:20:13.332000Z</published><updated>2019-09-30T15:20:13.332000Z</updated><author><name>TextureGlitch</name><uri>https://sourceforge.net/u/textureglitch/</uri></author><id>https://sourceforge.netbffe25ab6b832d9a674ec2e10bf17828dab217de</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you soooo much for this, I thought I was going mad!&lt;br/&gt;
Would be better if the compile fails without ncurses, unless you force vt100 with a flag :)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#33 TF unusable due to display issues in visual mode</title><link href="https://sourceforge.net/p/tinyfugue/bugs-and-support/33/?limit=25#8733" rel="alternate"/><published>2019-04-13T23:24:16.539000Z</published><updated>2019-04-13T23:24:16.539000Z</updated><author><name>Michael Martin</name><uri>https://sourceforge.net/u/sparrohawc/</uri></author><id>https://sourceforge.net6b83f8a466d6da2948853524b74f985b9d1c6122</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Current version for Ubuntu is libncurses5-devel.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#34 Can't connect with SSL in Windows 10 Ubuntu layer</title><link href="https://sourceforge.net/p/tinyfugue/bugs-and-support/34/?limit=25#20f8" rel="alternate"/><published>2018-08-12T15:20:23.649000Z</published><updated>2018-08-12T15:20:23.649000Z</updated><author><name>Brian Kendig</name><uri>https://sourceforge.net/u/bkendig/</uri></author><id>https://sourceforge.net8fedf602cbd27db1286d294f65f51c0cfbebee69</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This has been fixed by a newer version of the Windows Subsystem for Linux.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>