Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

[Closed]"Code" tag not maintaining alignment

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Suggestions & Feedback
View previous topic :: :: View next topic  
Author Message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Apr 20, 2009 7:59 pm    Post subject: "Code" tag not maintaining alignment
Reply with quote

Hello,

Please look at this topic
http://ibmmainframes.com/viewtopic.php?p=185877#185877

Data that has been "coded" is not properly aligned. The hex over/under is correct, but characters in the "data" line have been shortened.

Here is a bit of the same data:
Code:
  ;Ò Ø @   ïCHALU4.0.   0   ° ¤   
005E08070005CCCDEF4F4004F4419390000
00ED000C0047381344B0B010000000F000F
-----------------------------------
  ;Ó        ø¤    M           DELHI
005E02010002790000D44444444444CCDCC
00EE010D00800F000F40000000000045389
-----------------------------------


Thank you,

d
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Mon Apr 20, 2009 8:11 pm    Post subject:
Reply with quote

It looks good to me, both with Firefox and MSIE.....
Dick, if what you posted is not aligned correctly, I'd guess that the problem is in your browser.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Apr 20, 2009 8:14 pm    Post subject:
Reply with quote

CICS Guy wrote:
It looks good to me, both with Firefox and MSIE.....
Dick, if what you posted is not aligned correctly, I'd guess that the problem is in your browser.

Or last nights session with the boys icon_lol.gif
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Mon Apr 20, 2009 8:18 pm    Post subject: Reply to: "Code" tag not maintaining alignment
Reply with quote

I see it too.
Back to top
View user's profile Send private message
mcmillan

Site Admin


Joined: 18 May 2003
Posts: 1202
Location: India

PostPosted: Mon Apr 20, 2009 8:19 pm    Post subject:
Reply with quote

Quote:
Data that has been "coded" is not properly aligned.


Any screenshot?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Apr 20, 2009 9:00 pm    Post subject: Reply to: "Code" tag not maintaining alignment
Reply with quote

Hello,

Please see attached - wasn't able to "paste" into this reply. . .

d
Back to top
View user's profile Send private message
mcmillan

Site Admin


Joined: 18 May 2003
Posts: 1202
Location: India

PostPosted: Mon Apr 20, 2009 9:19 pm    Post subject:
Reply with quote

Testing...

Code:
A B  C    D
E        F              G
H                 I                      J                             K


Dick,

May I know the expected display?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Apr 20, 2009 9:49 pm    Post subject: Reply to: "Code" tag not maintaining alignment
Reply with quote

Hi Mac,

Quote:
May I know the expected display?
Sorry, but i don't understand the question?

The "Code" you posted appears to be "spaced" when i see it, but i have no frame of reference to say if the spacing is all the same (fixed rather than proportional).

The times i've noticed the inconsistent spacing is when the line contains other than "regular" displayable characters - i.e. not on the keyboard, but they do display.

d
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Mon Apr 20, 2009 9:53 pm    Post subject:
Reply with quote

Dick,

Do a quote and copy the data between the codes.
Paste it into notpad and compare both.
They lined up correctly for me.

Bill
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Apr 20, 2009 11:35 pm    Post subject: Reply to: "Code" tag not maintaining alignment
Reply with quote

Hi Bill,

Quote:
They lined up correctly for me.
They'd pretty much have to if the notepad font was fixed (rather than proportional) would they not. . .

It was my understanding that everyting within "Code" was fixed font, but in the attachment i sent, the "data line" is skewed.

This happens on multiple pc's that i use. Tonight i'll try to run a Firefox test and see what happens.

d
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Mon Apr 20, 2009 11:48 pm    Post subject:
Reply with quote

ok.....
Sample provided.
BTW, I always use fixed in notepad....... icon_smile.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Apr 21, 2009 4:26 am    Post subject: Reply to: "Code" tag not maintaining alignment
Reply with quote

Hello,

Using Firefox, there is no "Code" alignment problem.

Using IE 6, the problem persists.

Thanks,

d
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Tue Apr 21, 2009 5:09 am    Post subject:
Reply with quote

FWIW, I've got IE 7.....
Back to top
View user's profile Send private message
mcmillan

Site Admin


Joined: 18 May 2003
Posts: 1202
Location: India

PostPosted: Tue Apr 21, 2009 5:49 am    Post subject:
Reply with quote

Dick,

Please upgrade your IE.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Apr 21, 2009 7:39 am    Post subject: Reply to: "Code" tag not maintaining alignment
Reply with quote

Ahh, if they were only "mine". . . . Several of the custom apps we support will not run on IE7 - some kind of incompatability in the way the code was built.

I don't really understand why a fixed font is not fixed for all characters, but i suppose i don't really need to icon_smile.gif

Thanks for the followup and it is good to know that many/most don't experience "the shift".

d
Back to top
View user's profile Send private message
mcmillan

Site Admin


Joined: 18 May 2003
Posts: 1202
Location: India

PostPosted: Tue Apr 21, 2009 3:34 pm    Post subject:
Reply with quote

Quote:
I don't really understand why a fixed font is not fixed for all characters, but i suppose i don't really need


Have you tried Unicode(UTF-8) Character encoding?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Apr 21, 2009 9:11 pm    Post subject: Reply to: "Code" tag not maintaining alignment
Reply with quote

Hi Mac,

UTF-8 makes it much worse. . .

Code:
  ;Ҡؠ@   ALU4.0.   0   ? ?   
005E08070005CCCDEF4F4004F4419390000
00ED000C0047381344B0B010000000F000F
-----------------------------------
  ;Ӧnbsp;       ?sp;   M           DELHI
005E02010002790000D44444444444CCDCC
00EE010D00800F000F40000000000045389
-----------------------------------


Some characters are coverted to &#strings when i copy/paste icon_confused.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Suggestions & Feedback All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts IDEAL - Code Retrieval yugendran CA Products 0 Fri Nov 25, 2016 3:27 pm
No new posts Amount field is getting corrupted whe... thesumitk SYNCSORT 5 Tue Oct 18, 2016 8:20 pm
This topic is locked: you cannot edit posts or make replies. Need to code a Rexx PGM sundaram.naveen CLIST & REXX 18 Thu Oct 06, 2016 6:45 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us