[news.software.nntp] Need inews that doesn't strip ESC sequences.

gutierre@noc.arc.nasa.gov (Robert Michael Gutierrez) (09/29/90)

Hello there.

I need to be able to post using ESC sequences (in other words: Post in JIS-Kanji,
which starts with an ESCape sequence, sometime known as a ^[).

Now, is it inews-client or is it inews-server that is stripping the ESCape
sequences???  If it is the client that's doing it, then where is the definition
that I need to change to stop it.  If it is the server, then I'm in trouble...

Please, I need help in this.  Am I missing something real obvious???  I'm a
hardware type, not a programming type, but I can fake it if I have to :-)

Thanks in advance!  I'll be reading this group for awhile for any pointers.


   Robert Gutierrez / NASA Ames Research Center.

karl_kleinpaste@cis.ohio-state.edu (10/01/90)

gutierre@noc.arc.nasa.gov writes:
   I need to be able to post using ESC sequences (in other words: Post
   in JIS-Kanji, which starts with an ESCape sequence, sometime known
   as a ^[).
   If it is the server, then I'm in trouble...

You're in trouble.

bnews-2.11.19/src/inews.c line 1299.

--karl

gutierre@noc.arc.nasa.gov (Robert Michael Gutierrez) (10/03/90)

karl_kleinpaste@cis.ohio-state.edu writes:
> gutierre@noc.arc.nasa.gov writes:
>    I need to be able to post using ESC sequences (in other words: Post
>    in JIS-Kanji, which starts with an ESCape sequence, sometime known
>    as a ^[).
>    If it is the server, then I'm in trouble...
> 
> You're in trouble.

Thanks for the bad news :-)

> bnews-2.11.19/src/inews.c line 1299.

Got it...now to convince the sys admin of the NNTP server to rebuild bnews/inews.
I don't think he wants to do it.

BTW...another NNTP server I use uses cnews, and it was patched appropriately.
Works fine now...but it doesn't have the fj.* groups I want to post on.

Thanks everybody!

   Robert.

nakajima@unxa.enet.dec.com (Norihiko Nakajima) (10/04/90)

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
--