Path: 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 From: nakajima@unxa.enet.dec.com (Norihiko Nakajima) Newsgroups: news.software.nntp Subject: Re: Need inews that doesn't strip ESC sequences. Message-ID: <1990Oct3.191536.27386@tkou02.enet.dec.com> Date: 3 Oct 90 19:16:56 GMT Sender: news@tkou02.enet.dec.com (USENET News System) Organization: Digital Equipment Corporation Japan Lines: 28 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 --