🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Kurt Swanson Fri, 22 Jan 1993 14:58
Help from Macro guru sought.
#3641
Author: Kurt Swanson
Date: Fri, 22 Jan 1993 14:58
35 lines
1897 bytes
I read a few news groups in the Swedish language.  Unfortunately quite
a few sites (not to mention nn) are not completely 8-bit clean, so the
last 3 letters of the swedish alphabet show up as brackets.  This is
quite annoying to read.  Thus I would like to run these articles
through a pipe to translate them into 8-bit.  I wrote the following
macro to do the pipe:

map show | macro 1
define 1
  save-full "|tr '}{|][\\' '�����\�'>/tmp/knn"
  goto-group "/tmp/knn"
  'a'
  continue
end

This works fine, but I have to hit "|" every time I get the bad
characters, and this puts me up a level such that when I finish
reading the translated copy, I return to the untranslated.  What I
would like is some way to see the translated message within nn without
jumping up a level.

Ideally I would like all messages in certain newsgroups to be piped
through the above tr statement before I see them. If this is not
possible i would like some sort of translation style like rot13 ("D"
in reading mode).  This translates what one sees, but doesn't jump up
a level...

Maybe my above solution could be modified such that "n" is
automatically enacted when I return down to the untranslated article.
Is this possible?

Any other ideas?
-- 
Kurt Swanson, Dept. of Computer Science,
Lunds universitet.  Kurt.Swanson@dna.lth.se
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