Hi folks,
Starting with Windows Vista and onwards, Microsoft has changed the
behaviour of their operating system to no longer render many control
characters. The hex codes used for colouring, unfortunately, fall into
the range of characters not rendered by Windows. So whereas on Windows
XP, you'd see a square box or some other symbol, you don't see anything at
all in Windows Vista and Windows 7. What's worse, because the character
isn't drawn, the remainder of the text of the line gets shifted over by
one column to the left in RDP. The source will compile, because RDP is
still keeping track of and saving the control characters, Windows just
isn't rendering them.
We have APAR SE47488 open to track this issue. At the moment, there isn't
a good workaround, other than to manually remove these hex codes from the
source, as some folks have done.
Eric Chan
Rational Developer for Power
From:
Paul Bailey <PaulBailey@xxxxxxxxxx>
To:
"WDSCI-L@xxxxxxxxxxxx" <WDSCI-L@xxxxxxxxxxxx>
Date:
07/15/2011 10:51 AM
Subject:
[WDSCI-L] Colour hex codes
Sent by:
wdsci-l-bounces@xxxxxxxxxxxx
Hi,
I appear to be spamming the WDSCi-L list today, so I apologise if it
upsets anyone!
I am using RDP 8.0.0.3 and when I see source that has coloured lines in
SEU, RDP displays each line of that source one character to the left of
where it should be. That is, the C in a normal RPG calculation
specification line displays in column 5 for "coloured" lines and column 6
for others!
The source compiles fine but doesn't display in RDP very well. Does anyone
know what causes this display problem and if there is a workaround?
Incidentally, I was the guy who wrote this:
http://wiki.midrange.com/index.php/WDSC_tips/MISC#I_have_these_strange_square_symbols_in_my_code
. If you are curious to find out what I am on about, there are tips in
that page to enable you to enter the hex codes into your source in WDSC
(and, by extension, RDP.)
Cheers,
Paul.
------------------------------------------------------------
Important
This email transmission and any files with it are strictly
confidential to the intended recipient and may be legally
privileged. Any views or opinions presented are solely
those of the author and do not necessarily represent those
of BHSF. If you are not the intended recipient, you must
not copy, disclose or distribute its contents in any way.
If you have received this e-mail in error, please notify
the sender and delete the e-mail from your system.
We have taken steps to ensure this e-mail and attachments
are free from any virus but do not accept any
responsibility once this e-mail has been transmitted. You
should scan any attachments for viruses.
No contract may be concluded on behalf of BHSF Limited by
e-mail.
Registered Office:
BHSF Limited
Gamgee House, 2 Darnley Road, Birmingham B16 8TE.
www.bhsf.co.uk
Registered in England number 35500.
BHSF is authorised and regulated by the Financial Services
Authority.
As an Amazon Associate we earn from qualifying purchases.