🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Vlad Tepes Mon, 24 Mar 2003 03:44
slrn hangs when pressing ctrl-chars when i pipe
#122184
Author: Vlad Tepes
Date: Mon, 24 Mar 2003 03:44
15 lines
1465 bytes
Sometimes I press a control character when I want to pipe an article.
If it's C-g or C-c, it's okay -- slrn cancels the command. But if it's
something else, slrn hangs.  I need to switch tty and kill it.

This is a annoying because it happens quite often -- my shortcuts
for line-editing is in my fingers.

Is this a problem with slrn (0.9.7.4pl2), or has it to do with
sh (2.0.5.8)?  

Can I fix it or must I learn to live with it?

-- 
Vlad
Re: slrn hangs when pressing ctrl-chars when i pipe
#122192
Author: Thomas Schultz
Date: Mon, 24 Mar 2003 12:35
51 lines
3304 bytes
* Vlad Tepes [2003-03-24 03:44] :

> Sometimes I press a control character when I want to pipe an article.
> If it's C-g or C-c, it's okay -- slrn cancels the command. But if
> it's something else, slrn hangs.  I need to switch tty and kill it.
[...]

Here is the current entry for the forthcoming FAQ concerning this
problem:

<--->
  6.1.  slrn hangs infinitely when I press the delete key

  This is a known bug; however, it's not a problem in slrn, so I cannot
  fix it. slrn uses a library called slang for its screen input/output
  and some Linux distributions (including RedHat) patch that library in
  a way that makes it unstable.

  If you want to get rid of this bug, you need to deinstall the slang
  package that came with your distribution and replace it with a version
  built from the vanilla slang sources that you can obtain from the
  public FTP space <ftp://space.mit.edu/pub/davis/slang> of its author,
  John E. Davis.

  Simply uninstalling the package might break dependencies in your
  system's package management; to avoid this, get the source package
  (SRPM) your distributor used, remove all suspicious patches and re-
  build it with a revision number that will distinguish it from the
  version that came with the distribution. You can then replace the
  original package with it.

  Also, please report this as a bug to your distributor, so we will
  hopefully see no more broken slang packages in the future.
<--->

However, I'll need to update this text because in the current version
of RedHat, you cannot even easily replace the slang package with an
unpatched package, because some programs explicitly depend on slang
with the UTF-8-patches applied. Moreover, when using an unpatched
version of slang, you'll have to change the locale settings of your
terminal emulation, as RedHat now uses UTF-8 by default. Sigh.

If anyone knows a clean and easy solution for this, please post it.
Meanwhile, we can only hope that an official (and stable)
UTF-8-enabled version of slang will be released soon.
-- 
Thomas Schultz <tststs@gmx.de>  News on slrn: http://slrn.sf.net/news.html
.-----------------------------. [2002-03-13] slrn 0.9.7.4 is out
| Home of the slrn newsreader | [2002-02-03] Screenshot page online
| http://slrn.sourceforge.net | [2002-02-03] "Port" to Mac OS X
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads