[comp.mail.elm] Screen attributes and elm

marwood@ncs.dnd.ca (Gordon Marwood) (01/04/90)

It seems that elm ignores screen attributes, e.g. bold, compared with
the Berkeley mail which will respond to them.  I am assuming that elm
probably filters out some of the control characters, though I am not
sure about this.  Is this something that can be changed prior to
compiling.  We are running elm 2.2 PL0 at the moment.

Gordon Marwood
marwood@ncs.dnd.ca

syd@DSI.COM (Syd Weinstein) (01/04/90)

marwood@ncs.dnd.ca (Gordon Marwood) writes:
:It seems that elm ignores screen attributes, e.g. bold, compared with
:the Berkeley mail which will respond to them.  I am assuming that elm
:probably filters out some of the control characters, though I am not
:sure about this.  Is this something that can be changed prior to
:compiling.  We are running elm 2.2 PL0 at the moment.
Elm's internal pager does indeed do nothing about them.  However,
the external pagers do whatever the external pager is configured
to do about it.  Less will handle them just fine.
-- 
=====================================================================
Sydney S. Weinstein, CDP, CCP                   Elm Coordinator
Datacomp Systems, Inc.				Voice: (215) 947-9900
syd@DSI.COM or {bpa,vu-vlsi}!dsinc!syd	        FAX:   (215) 938-0235

rob@PacBell.COM (Rob Bernardo) (01/05/90)

In article <723@ncs.dnd.ca> marwood@ncs.dnd.ca (Gordon Marwood) writes:
+It seems that elm ignores screen attributes, e.g. bold, compared with
+the Berkeley mail which will respond to them.  I am assuming that elm
+probably filters out some of the control characters, though I am not
+sure about this.  Is this something that can be changed prior to
+compiling.  We are running elm 2.2 PL0 at the moment.

I'm not sure what you mean. Are you talking about escape sequences that
manipulate screen attributes in the mail message itself? If so, and if
you are using ELM's builtin pager to display your message, they won't be
output. The builtin pager displays non-printing characters with ^X notation.
Thus what was an escape sequence in the message gets converted to something
which your terminal doesn't take to be an attributing setting sequence.
-- 
Rob Bernardo      ...![backbone]!pacbell!pbhyf!rob -or- rob@pbhyf.PacBell.COM
  Product engineer, UNIX/C Reusable Code Library        Editor, "Go `C' UNIX"
  Office: (415) 823-2417                Pacific * Bell, San Ramon, California
  Residence: (415) 827-4301                     R BAR JB, Concord, California

brennan@rtp.dg.com (Dave Brennan) (01/08/90)

In article <1990Jan4.140737.19573@DSI.COM> syd@DSI.COM (Syd Weinstein) writes:

   Elm's internal pager does indeed do nothing about them.  However,
   the external pagers do whatever the external pager is configured
   to do about it.  Less will handle them just fine.
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The version of less I'm using (123) outputs bold as ^[[1m (eg: shows Esc as
"^[" rather than just sending an Esc char).  However, less does correctly
recognize something like "L^HL^HL^H" (where ^H is \010) as bold and "L^H_"
as underline.

People shouldn't "hard-code" terminal attributes in mail anyways :-)
--
                                                   _________
Dave Brennan, User Interfaces, Data General Corp. /      brennan@dg-rtp.dg.com 
Research Triangle Park, North Carolina, 27709    /  ...mcnc!rti!dg-rtp!brennan
Hm: (919) 460-5725  Wk: (919) 248-6330 _________/ dave_brennan@rpitsmts.bitnet