🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by Dean Brooks Tue, 10 Jul 1990 21:20
How do you get escape codes in shading-on?
#700
Author: 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
Re: How do you get escape codes in shading-on?
#734
Author: Kim F. Storm
Date: Tue, 17 Jul 1990 19:58
19 lines
1154 bytes
dean@coplex.UUCP (Dean Brooks) writes:

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

>Kim, am I doing something wrong here?

No, you have done exactly as it was supposed to work, but...

 - this was one of the blunders I made in patch #7.

It is fixed in patch #8.

-- 
Kim F. Storm  <storm@texas.dk>		No news is good news,
Texas Instruments A/S, Denmark		  but nn is better!
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