[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Italics (was Re: Mixed up colors)



Paul,
When you experiment, this U2 frame will be helpful, because it allows you to change a mode in settings.dfl and just hit the keystroke (that you assign in the KBD file) to see the effect "live."

XPLeNCODE v2.0 (ENCODE.EXE)
b-gin [UNTITLED]
{123}{123}5hbsa{125}{125} For ctrl-s and ctrl-e: keep bk=0 but
 get same effect; also if file is U2, calls LoadHelp {091}HB 1
0/21/09 rev. CLD 10/22/09{093}[cr|lf]{002}{<}SX01,{<}VA$FP{>}{>}
{<}SX02,{<}VA$U2{>}{>};*;[cr|lf]{<}IF{<}VA$EX{>}=="XML"{>}[JM_]
2.ZAP26{<}EI{>};*;[cr|lf]{<}IF{<}VA$EX{>}=="DFL"{>}[GT_]{<}SX0
2,{<}CP{>}{>}[BX_]sa[Q2_][BX_]load {<}PV01{>}[Q2_][BX_]jmp {<}
PV02{>}[Q2_]{<}PR new settings.dfl loaded{>}{<}EX{>}{<}EI{>};*
; ;*;[cr|lf]
-nd
XPLeNCODE
Run frame DEC to decode it, then plop it into U2. Then assign a keystroke. I use ctrl-s:

Table=Ctrlx
31=noxh,jm,(,2,.,h,b,s,a,)
Then CAll your SETTINGS.DFL file, go to the MD you want to experiment on. Make sure you have an example of its use near to it--e.g.,

MD BO=22
;≪MDBO≫
Then change 22 to, say, 23 and hit the key (e.g., ctrl-s) and BANG! you see the effect right there.
I would open another iteration of vDos-lfn in its own window, call up the
COLOR table and put that on the side, so you can see what's supposed to be
happening while you fiddle with SETTINGS.DFL.
As a side bonus, the same frame will SAve regular files in the regular way,
and SAve any U2 changes in the active U2 right away, without having to do
LH or anything else. (It also gets rid of the eof 1A (decimal 26) if you're
saving a file with the XML extension, but you probably don't care about that.)
I have used it for about a decade as a full substitute for the regular
ctrl-s assignment of: SAve.

Regards,
Harry
Dear Carl

Thanks. I'll try experimenting and see what happens.

Best wishes

Paul

On 21/07/2016 17:17, Carl Distefano wrote:
Paul,

The new WP = XY setting works fine to provide text styles with white
text on black. However I have always used green text on black, for
which it does not seem to work well. Is there some way of making the
styles colour sensitive so that I can have styles in Green on Black?

This is doable. Since you're running Xy4 with U2, you can command HELP
COLOR to view the color chart. Then, in SETTINGS.DFL, you will
probably need to revise some of the MD assignments to get the desired
color and attribute:

MD NM=#
MD UL=#
MD BO=#
MD IT=#
MD BU=#
MD BI=#

For "#", substitute a number from the color chart that gives you what
you want. Then reload SETTINGS.DFL. If you are still having a problem,
send me your config.txt COLOR setting and your SETTINGS.DFL MD settings
off-list, and I'll try to help out.