🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #208970

Re: {slrn} build 234: 2 small probs

#208970
From: John E. Davis
Date: Fri, 19 Oct 2007 01:40
32 lines
1992 bytes
On 19 Oct 2007 01:21:41 GMT, andrew <andrew@ilium.invalid>
wrote:
> Same effect with (..) {...} [...]
>
> But only when I compile with S-Lang 2.0.7, perfect with 2.1.2

There were a number of changes to the SLrline functions between 2.0.7
and 2.1.2.  In slrn/src/misc.c, you will find a section of code that
looks like:
#v+

   unsigned int flags = SL_RLINE_BLINK_MATCH;
   
   if (Slrn_UTF8_Mode)
     flags |= SL_RLINE_UTF8_MODE;

   if (NULL == (rli = SLrline_open (SLtt_Screen_Cols, flags)))
     return NULL;

#v-

Change the very first line above to

#v+
   unsigned int flags = 0;
#v-

If this solves the problem, the the next update will disable this
feature for slang-2.0.x.

Thanks,
--John
Technical Details
Message-ID: <slrnfhg2o0.1ps.jed@aluche.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!panix!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!dreaderd!not-for-mail
References: <slrnfhfm48.36g.andrew@ilium.invalid> <slrnfhfprd.6mo.andrew@ilium.invalid> <slrnfhftdn.uoc.jed@aluche.mit.edu> <slrnfhfu9a.a06.andrew@ilium.invalid> <slrnfhg126.1ps.jed@aluche.mit.edu> <slrnfhg1i6.gb8.andrew@ilium.invalid>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfhg2o0.1ps.jed@aluche.mit.edu>
Subject: Re: {slrn} build 234: 2 small probs
Date: Fri, 19 Oct 2007 01:40:16 +0000
From: "John E. Davis" <jed@jedsoft.org>
References: <slrnfhfm48.36g.andrew@ilium.invalid> <slrnfhfprd.6mo.andrew@ilium.invalid> <slrnfhftdn.uoc.jed@aluche.mit.edu> <slrnfhfu9a.a06.andrew@ilium.invalid> <slrnfhg126.1ps.jed@aluche.mit.edu> <slrnfhg1i6.gb8.andrew@ilium.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!panix!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!dreaderd!not-for-mail
Newsgroups: news.software.readers
Reply-To: jed@jedsoft.org
User-Agent: slrn/pre0.9.9-16 (Linux)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cancel-Lock: sha1:1asMfse7SdWGkSgIrNamfuQ8AsQ=
Lines: 32
NNTP-Posting-Host: ALUCHE.MIT.EDU
X-Trace: 1192758016 senator-bedfellow.mit.edu 486 18.75.2.45