35 pts.
 Change character colour in RPG
RPG
I want to change my character colour to RED in RPG program, Can anyone tell how to do this

Software/Hardware used:
ASKED: June 17, 2008  7:38 PM
UPDATED: April 27, 2010  7:19 AM

Answer Wiki:
Hi Sandeep If You want to change the source color to red You need to map the keyboard through the Map tin the AS400 and Set Alt key For letter R as (apl 28) and save it then go to beginning of the statement which you want to change the color to Red ,press Alt+R and Enter It will change to Red color. Thanx Reshma --------------------------------------------------------------------------------------------------------- Hey Sandeep, What I do is keep a Source Member called ATR with the Source Type TXT that looks like the below. The numbers that are bolded reflects the Hex value for Color attribute. Once you enter the text in the member, DBU the member in the SRCFLIB/SRCF and put those Hex values in via CHG directly under the asterisk. Once done, open up the member and you'll see the colors. I usually just copy them in and overwrite the comments onto the statements. I never tried the above way, but it sounds pretty cool, so I'm gonna go do that now. <i>(<b>I just tried doing the above that Reshma put in, and maybe it's because i'm on Client Access, but I can't do that mapping. Maybe i'm doing it wrong? Reshma, can you get a little more detailed on your answer? Thanks)</b></i> *===============================================================================* * WHITE <b>2</b>54ECCEC <b>2</b>C068935 *-----------------------------------------------------------------------------------------------------------------------------------------* * WHITE-BLOCK <b>2</b>54ECCEC6CDDCD <b>3</b>C068935023632 *-----------------------------------------------------------------------------------------------------------------------------------------* * WHITE-UNDERLINE <b>2</b>54ECCEC6EDCCDDCDC <b>6</b>C0689350454593955 *-----------------------------------------------------------------------------------------------------------------------------------------* * RED <b>2</b>54DCC <b>8</b>C0954 *-----------------------------------------------------------------------------------------------------------------------------------------* * YELLOW <b>3</b>54ECDDDE <b>6</b>C0853366 *-----------------------------------------------------------------------------------------------------------------------------------------* * BLUE <b>3</b>54CDEC <b>A</b>C02345 *===============================================================================*
Last Wiki Answer Submitted:  June 18, 2008  2:56 pm  by  Eric Witham   685 pts.
All Answer Wiki Contributors:  Eric Witham   685 pts. , ReshmaG   445 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Or do it the “easy” way. Open your source with the editor in RSE. Already colored, and you can choose any colors you like. No source changes needed whatsoever.

 3,115 pts.

 

:-) – Ha!
<rant>
Yeah Graybeard52, providing the company you are working at gives you a machine that can run WDSC or the like. I have found we “i-guys” seem to get old machines because we are “just doing that Green Screen stuff” and then won’t let us code the new non-Green Screen things anyway!
</rant>

 7,175 pts.

 

in C:\Program Files\IBM\Client Access\Emulator\Private look for the .kmp file you use and add the following lines under the [KEYBOARD] section

C-KEY18=apl 22
A-KEY18=apl 23
CS-KEY18=apl 26
C-KEY20=apl 28
A-KEY20=apl 29
CS-KEY20=apl 2c
C-KEY21=apl 30
A-KEY21=apl 31
CS-KEY21=apl 34
C-KEY22=apl 32
A-KEY22=apl 33
CS-KEY22=apl 36
C-KEY26=apl 38
A-KEY26=apl 39
CS-KEY26=apl 3c
CS-KEY31=apl 2a
C-KEY35=apl 20
A-KEY35=apl 21
CS-KEY35=apl 24
C-KEY50=apl 3a
A-KEY50=apl 3b
CS-KEY50=apl 3e

this will produce colors with CTRL-? = color, ALT-? = reverse color, CTRL-SHFT-? = underline color where B = blue, R = red, W = white, P = pink, Y = yellow, G = green, T = turquoise

also CTRL-SHFT-A = blinking (red)

Kevin C. Ketzler – Affiliated

 7,175 pts.

 

I understand BigKat. Have you looked at R7 ? Much faster, much smaller footprint. I use it on a 2003 machine. The only thing I boosted was memory to 1G.

 3,115 pts.

 

Hi,

I’ve got an older version of WDSC (which I haven’t done much with yet). Is there a way to get hold of the latest version (for personal use, so I can learn how it works), without paying too much?

Regards,

Martin Gilbert.

 23,625 pts.

 

Sweet. It worked. Thanks man.

 685 pts.

 

Instead of remapping the keyboard, you could use a utility called SEU Magic, from Alex Nubla, at:

(I use my own utility, which attaches to SEU as a User Exit Program; but it’s so highly integrated with the rest of the utilities that it’s difficult to detach it and give it away separately.)

Sloopy

 2,195 pts.

 

Oh, what’s the matter with this editor today?? If I put a URL into a link, it doesn’t display!

Alex Numbla’s utilities are here:

http://www.geocities.com/SiliconValley/Pines/5581/tips.htm

So there.

 2,195 pts.

 

If you want a set of colors in a source member, use SDA to create a simple screen format that has examploes of all of the colors you want. Then turn on STRCPYSCN to copy screens to a file,display the screen and ENDCPYSCN.

The output file can be copied to a source member and edited. It is then available in a source member for copying colors into any other source member.

But it’s a bad practice. Non-text characters should not be placed in a source member. It will eventually cause trouble.

Tom

 107,735 pts.