🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #700

How do you get escape codes in shading-on?

#700
From: Dean Brooks
Date: Tue, 10 Jul 1990 21:20
22 lines
1356 bytes
  Ok, I give up.  The use of the new variables "shading-on" and "shading-off"
look very useful, especially with the "+" attribute in the header lines.

However, whenever I put the following in my "init" file:

set shading-on ^[ G p      (That is a carat (^) followed by a bracket ([))
set shading-on ^[ G 0

It always dumps the string "^[ G p" directly to the screen.  There is
no translation of the "^[" characters into a REAL escape.  Is it
necessary for me to go in with a binary editor and actually insert a
real escape into my init file?  Doesn't nn translate the character ^
as a control prefix?  

Kim, am I doing something wrong here?

--
dean@coplex.UUCP   Dean A. Brooks
                   Copper Electronics, Inc.
                   Louisville, Ky
UUCP: !uunet!coplex!dean
Technical Details
Message-ID: <172@coplex.UUCP>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!coplex!dean

Show Full Headers
Complete Article Headers
Message-ID: <172@coplex.UUCP>
Subject: How do you get escape codes in shading-on?
Date: Tue, 10 Jul 1990 21:20:34 +0000
From: dean@coplex.UUCP (Dean Brooks)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!coplex!dean
Newsgroups: news.software.nn
Organization: Copper Electronics Inc.; Louisville, Ky
Lines: 22
Posted: Tue Jul 10 22:20:34 1990