Mouse-Down Blow-Up wishes

Features wanted...
prino
Posts: 337
Joined: 18 Mar 2012 21:14
Location: Vilnius, Lithuania
Contact:

Mouse-Down Blow-Up wishes

Post by prino »

It would be nice
  • if the data could be displayed in UTF-8 (or or even a user selectable codepage)
  • if, especially on larger screens, the data would not wrap long lines
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here... :mrgreen:

jupe
Posts: 2757
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Mouse-Down Blow-Up wishes

Post by jupe »

prino wrote: 11 Nov 2020 15:41 if the data could be displayed in UTF-8 (or or even a user selectable codepage)
You can select the codepage in the preview panel (Ctrl+4), it also applies to MDBU if you select Remember Selected Codepage, the options are in the orange down arrow menu.

prino
Posts: 337
Joined: 18 Mar 2012 21:14
Location: Vilnius, Lithuania
Contact:

Re: Mouse-Down Blow-Up wishes

Post by prino »

jupe wrote: 11 Nov 2020 20:51
prino wrote: 11 Nov 2020 15:41 if the data could be displayed in UTF-8 (or or even a user selectable codepage)
You can select the codepage in the preview panel (Ctrl+4), it also applies to MDBU if you select Remember Selected Codepage, the options are in the orange down arrow menu.
I think I actually asked for the codepage feature..

And yes, it applies to MDBU, but I don't want to remember codepages as I frequently mix ASCII and EBCDIC...
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here... :mrgreen:

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Mouse-Down Blow-Up wishes

Post by admin »

1) maybe you should tick this: Configuration | Preview | Preview | Text preview | UTF-8 auto-detection

2) so what should happen with long lines? ellipse dots at the end (...)?

prino
Posts: 337
Joined: 18 Mar 2012 21:14
Location: Vilnius, Lithuania
Contact:

Re: Mouse-Down Blow-Up wishes

Post by prino »

admin wrote: 12 Nov 2020 09:03 1) maybe you should tick this: Configuration | Preview | Preview | Text preview | UTF-8 auto-detection
That definitely helps. Maybe you could implement, even if only as a tweak, automatic EBCDIC detection. How hard is that? Not very, just look for long strings of 0x40 / "@", the EBCDIC codepoint for a space..
admin wrote: 12 Nov 2020 09:03 2) so what should happen with long lines? ellipse dots at the end (...)?
I don't mind if they wrap at some stage, but on a full HD screen with the fontsize used, and I'm pretty sure I use the default fontsize (9pt courier new), I would be quite happy to see the preview cover 3/5 or 2/3 of the screen width. And no, using a smaller font is not really possible, got old eyes. :(
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here... :mrgreen:

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Mouse-Down Blow-Up wishes

Post by admin »

1) do you have an EBCDIC sample?

2) what's your screen size?
It will be much better next beta...

prino
Posts: 337
Joined: 18 Mar 2012 21:14
Location: Vilnius, Lithuania
Contact:

Re: Mouse-Down Blow-Up wishes

Post by prino »

admin wrote: 12 Nov 2020 12:34 1) do you have an EBCDIC sample?
Enjoy the attached, containing both ASCII & EBCDIC.

One thing, datasets (aka files) on z/OS are record based, i.e. do not contain the usual Windoze/Mac/Linux CR/LF/etc record terminators, and in this case, I've used a dataset with a fixed record length of 80 bytes, and I've added the CR/LFs myself. It would be really, really great if, upon detection of EBCDIC encoded data, XY could ask for a record length, or possibly default to 80, the length of the good old punched card, as that's the record length of z/OS XMIT files, which is (probably) the most common format of transferring data to and from z/OS. (See the CBT Tape site, a large collection of freeware for z/OS.

And yes, z/OS can work with variable length datasets (file), and it even has a U(ndefined) format, which is used for, among others, executable code.
$touch.zip
Same data in EBCDIC & ASCII format
(6.63 KiB) Downloaded 63 times
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here... :mrgreen:

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Mouse-Down Blow-Up wishes

Post by admin »

It's probably a bit bloaty but I have a weakness for punched cards, so I just added it:

Code: Select all

    + Added tweak to auto-detect and auto-convert EBCDIC files.
        CheckForEBCDIC=1
      The conversion is hard-coded to IBM EBCDIC International (codepage 500) 
      and a record length of 80.
      Affects Text Preview, Hover Box, Mouse Down Blow Up, Quick File View, 
      Floating Preview.

prino
Posts: 337
Joined: 18 Mar 2012 21:14
Location: Vilnius, Lithuania
Contact:

Re: Mouse-Down Blow-Up wishes

Post by prino »

CP 500 might not be the best. I'll ask around on the ibm-main mailing list (gated one-way to this newsgroup) if there is a general opinion as to which one would be the best. Ideally you should/could externalise it to a hex table in xyplorer.ini, or a separate file like "ebcdic-xlat.dat".
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here... :mrgreen:

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Mouse-Down Blow-Up wishes

Post by admin »

Well, I hope you don't overestimate my fondness for punched cards... :whistle:

prino
Posts: 337
Joined: 18 Mar 2012 21:14
Location: Vilnius, Lithuania
Contact:

Re: Mouse-Down Blow-Up wishes

Post by prino »

A summary of the replies:
  • Codepage 1047 is the IBM USS default codepage. Since so much of z/OS now runs in USS it really is the standard. There are 8 code point differences between 500 and 1047, including the crucial x'AD' and x'BD' {RP: The square brackets}
  • It (aka the codepage) should be externalized.
  • I'd be more interested if it ran on Linux and supported more code pages, both on the PC side and the z side.
  • +1. I agree that CP 1047 should be the default.
    Also agree the developer should be persuaded to externalize the code page chosen, if at all possible. EBCDIC users can and should be expected to know and understand the ramifications of the code page requested from the software.
  • I use Directory Opus. It has many more features than XYplorer, and a a bit more expensive, but it does everything (except Linux). There are literally hundreds of plugins. {RP: Guess you cannot win them all...}
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here... :mrgreen:

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Mouse-Down Blow-Up wishes

Post by admin »

Thanks. As you saw I already externalized it in the current beta. Let me know whether my detection algorithm catches the right files.

Conc. Directory Opus, I'll think about changing to it...

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Mouse-Down Blow-Up wishes

Post by admin »

Have you seen this addition in v21.20.0212 - 2020-11-13 12:26?

Code: Select all

    * Added tweak to auto-detect and auto-convert EBCDIC files. Now you pass the 
      CodePage and the RecLen right in the tweak, in the format "CP,RL", e.g.:
        CheckForEBCDIC=1047,80
Does it fulfill your wildest EBCDIC dreams?

prino
Posts: 337
Joined: 18 Mar 2012 21:14
Location: Vilnius, Lithuania
Contact:

Re: Mouse-Down Blow-Up wishes

Post by prino »

Yes,I did see it, and I am ever so happy with it!

MDBU shows what it needs to show, and I've not (yet) any false positives, although I'm sure I could come up with something, if I wanted (which I'm not).

There's however one thing, I've added .XMI to the previewed Text formats, a long time ago, and for some reason I now get a "Cannot preview" message, and I'm sure that in the past I could preview them, and select the font, in casu EBCDIC - I think I was the one who asked for multiple code pages.

Not sure if they have anything to do with each other, and to go back I would have to go to your freezer, as I only ever use the "Ctrl-Check for Updates" to update, so I don't have older copies hanging around.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here... :mrgreen:

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Mouse-Down Blow-Up wishes

Post by admin »

Let me know if the freezer brings out the truth.

Post Reply