🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Norihiko Nakajima Wed, 03 Oct 1990 19:16
Re: Need inews that doesn't strip ESC sequences.
#728
Author: 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
--
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