🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #728

Re: Need inews that doesn't strip ESC sequences.

#728
From: Norihiko Nakajima
Date: Wed, 03 Oct 1990 19:16
29 lines
1597 bytes

From article <1990Sep29.070825.28212@nas.nasa.gov>, by gutierre@noc.arc.nasa.gov (Robert Michael Gutierrez):
> which starts with an ESCape sequence, sometime known as a ^[).
> I need to be able to post using ESC sequences (in other words: Post in JIS-Kanji,
> If it is the server, then I'm in trouble...
> 

If your server is running C news, you need to modify inews which takes escapes
with 'tr'.

Look for lines like this.

# strip invisible chars from body, a la B news.  bells and escapes are right out.
 case "$trversion" in
 v7)	tr -d  '\1-\7\13\15-\37' ;;
 v6)	tr -d '[\1-\7]\13[\15-\37]' ;;

And modify them to 

 v7)	tr -d  '\1-\7\13\15-\32\34-\37' ;;
 v6)	tr -d '[\1-\7]\13[\15-\32][\34-\37]' ;;

--
Norihiko Nakajima	/ Digital Equipment Corp. Japan
			/ Software Development Center
			/ nakajima@tkou02.enet.dec.com
			/ nakajima@thav07.enet.dec.com
--
Technical Details
Message-ID: <1990Oct3.191536.27386@tkou02.enet.dec.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utstat!news-server.csri.toronto.edu!cs.utexas.edu!uunet!decwrl!bacchus.pa.dec.com!shlump.nac.dec.com!tkou02.enet.dec.com!unxa.enet.dec.com!nakajima

Show Full Headers
Complete Article Headers
Message-ID: <1990Oct3.191536.27386@tkou02.enet.dec.com>
Subject: Re: Need inews that doesn't strip ESC sequences.
Date: Wed, 03 Oct 1990 19:16:56 +0000
From: nakajima@unxa.enet.dec.com (Norihiko Nakajima)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utstat!news-server.csri.toronto.edu!cs.utexas.edu!uunet!decwrl!bacchus.pa.dec.com!shlump.nac.dec.com!tkou02.enet.dec.com!unxa.enet.dec.com!nakajima
Newsgroups: news.software.nntp
Sender: news@tkou02.enet.dec.com (USENET News System)
Organization: Digital Equipment Corporation Japan
Lines: 28