Subject: Re: ANSI escape code support in 3.95?

From: David L Miller <[email-masked]>
Date: Mon, 16 Dec 1996 13:19:56 -0800

On 16 Dec 1996, Steve Howie wrote:

> We recently jumped from Pine3.91 to Pine3.95 (HP-UX 9.05) and found that
> ANSI character codes in the message text body ( e.g. bolding of text ) no
> longer seems to work. The codes are just displayed unfiltered and not
> interpreted. Is this a function of the new display filtering code in 3.92
> onwards?

Actually, Pine 3.92 and later _filter_ the control characters out by
default.  The default was changed to protect the users with terminals
that can't handle ANSI characters (some terminals will lock completely
with certain sequences). 

> If so, are there any workarounds anyone knows of that would
> allow these characters to be interpreted. 

You can revert to the old behavior by selecting
the pass-control-characters-as-is feature in the Setup/Config screen.

> A user likes to have fancy bold boxes around their .sig This is not
> a high priority item - I just need to know if this is do-able.

Just be aware that not everyone has terminals that support ANSI
controls... 

--DLM

-- 
|\ |  |\/|  David L. Miller    [email-masked]  (206) 685-6240
|/ |_ |  |  Software Engineer, Pine Development Team   (206) 685-4045 (FAX)
University of Washington, Networks & Distributed Computing, Box 354841
4545 15th Ave NE, Seattle WA 98105, USA     Stardate: [-31]8584.44

---

From: [email-masked] (Steve Howie)
Date: 16 Dec 1996 19:30:18 GMT

We recently jumped from Pine3.91 to Pine3.95 (HP-UX 9.05) and found that
ANSI character codes in the message text body ( e.g. bolding of text ) no
longer seems to work. The codes are just displayed unfiltered and not
interpreted. Is this a function of the new display filtering code in 3.92
onwards?  If so, are there any workarounds anyone knows of that would
allow these characters to be interpreted. A user likes to have fancy bold
boxes around their .sig This is not a high priority item - I just need to
know if this is do-able. I checked the change logs for the various
releases and couldn't see anything definitive. 

Thanks for any info.  

Scotty
=================================================================
Steve Howie                             Email:  [email-masked]
NetNews and Listserv Admin.             Phone:  (519) 824-4120 x2556
Computing and Communications Svcs.      Fax:    (519) 763-6143
University of Guelph

If it's not Scottish its CRRRRRAAAAAAAAAAAAAAPPPPP
=================================================================

---

From: Ed Greshko <[email-masked]>
Date: Thu, 19 Dec 1996 09:42:53 +0800 (GMT)

> releases and couldn't see anything definitive. 

	Take a look at:

        FEATURE: pass-control-characters-as-is
 
This feature controls how certain characters contained in messages are
displayed.  If set, all characters in a message will be sent to the
screen.  Normally, control characters are automatically suppressed in
order to avoid inadvertently changing terminal setup parameters.
 
	Ed

-- 
Edward M. Greshko                  Technical Manager, Electronic Commerce
                                   Control Data Asia/Pacific Region
Voice: +886-2-715-2222 x287        6/F, 131 Nanking East Road, Section 3
FAX  : +886-2-712-9197             Taipei, Taiwan R.O.C