🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: vmsnet.tpu
Article #65

HELP: How to make BOLD a color in Motif

#65
From: JHCox
Date: Wed, 30 Sep 1992 14:30
28 lines
1678 bytes
I'm not sure if this is a Dec$Windows question, a DEC Motif question or a TPU
question, but since this is the only group dedicated to one of the three, I'll
try here ;-).

I'm running TPU out of a DECterm on a VS3100 with Motif.  I don't have the 
/whatever=Decwindows option activated (I spend enough time in a location where
I have only VT340 access that I don't want to develop two sets of editing
habits).   

My problem is that finds and replaces flag the characters in bold print - but 
it's the same color as all the rest of the text.  On the VT340, the flagged
characters were in a different color, which certainly made them a lot easier
to find.  

I've found the references to BOLD as an attribute (along with UNDERLINE and
REVERSE) to control how the 'hits' of searches should be flagged, but have
found no way to define what BOLD means.  Is there any way to make it imply
displaying the 'hit' with one of the ANSI text mode color sequences?

If so, setting BOLD to the equivalent of CSI 1;33m would be the best of all
worlds - seems that VT340's ignore the 33 while DECterms ignore the 1 so the
behavior is similar on either display (at least this worked in .com files that
were using SGR commands).

Any thoughts?

Thanx
JHCox
Technical Details
Message-ID: <30SEP199209301246@b56vxg.kodak.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!newsserver.pixel.kodak.com!kodak!eastman!b56vxg.kodak.com!ekdug

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!newsserver.pixel.kodak.com!kodak!eastman!b56vxg.kodak.com!ekdug
From: ekdug@b56vxg.kodak.com (JHCox)
Newsgroups: vmsnet.tpu
Subject: HELP: How to make BOLD a color in Motif
Message-ID: <30SEP199209301246@b56vxg.kodak.com>
Date: 30 Sep 92 14:30:00 GMT
Sender: news@eastman.UUCP
Organization: Eastman Kodak Company, Rochester NY
Lines: 28
News-Software: VAX/VMS VNEWS 1.41