Keyboard Shortcuts
Likes
Search
#VMCE #rexx EE goes XEDIT - compiling a wish list
#VMCE
#rexx
I am using XEDIT and its clones since VM/SP Release 1 up to today ... and counting. EE is great work by Dr. Hans-Walter Latz, but I miss a lot of features that XEDIT and KEDIT have. I have done massive extensions to EE to make it more XEDIT-compatible. A common infrastructure already exists for the SET / QUERY / EXTRACT / MODIFY / TRANSFER subcommands. Actually I am researching how EE could integrate with bREXX.
Having a macro capability powered by REXX is my first wish. The ingredients for the ALL macro will follow (SET SELECT, SET DISPLAY ...). Do you think it is desirable and feasable to have a decent subset of XEDIT as part of VM/370 CE ? |
On Sat, Oct 15, 2022 at 04:57 PM, Martin Scheffler wrote:
The ingredients for the ALL macro will follow (SET SELECT, SET DISPLAY ...).The first prototype of the ALL command (builtin, not a REXX macro) is here. SET SELECT and SET DISPLAY are operational and almost complete. SET SCOPE is implemented but now there is *much* legwork to do to make all existing commands obey the new situation created by SET SCOPE DISPLAY.? I will push my enhancements to GitHub after some more testing. Should I consider publishing binaries as alpha preview releases ? See screenshots: look for the numbers in the prefix area Highlighting of lines with selection level > 0 |
Hello, I would love to see XEDIT on VM/CE.? I know you have a lot invested in EE, but have you thought about looking at the product KEDIT?? While written for Windows 32 bit and most likely in C or C++, I'm wondering if it might help you with the logic?? Maybe not. Yes, I would love to have XEdit functionality in VM/CE. Bert / WB8ERT On Mon, Oct 24, 2022, 19:47 Martin Scheffler <San-Lorenzo@...> wrote: On Sat, Oct 15, 2022 at 04:57 PM, Martin Scheffler wrote: |
¿ªÔÆÌåÓýOf course its desirable to have as much of XEDIT as possible under VM/370 CE, except of course it limits the memory available. I tend to use EE to work on CE. ? It would also be nice to see betas etc. ? Dave G4UGM ? ?
? From: [email protected] <[email protected]> On Behalf Of Martin Scheffler
Sent: 15 October 2022 15:57 To: [email protected] Subject: [h390-vm] #VMCE #rexx EE goes XEDIT - compiling a wish list ? I am using XEDIT and its clones since VM/SP Release 1 up to today ... and counting. EE is great work by Dr. Hans-Walter Latz, but I miss a lot of features that XEDIT and KEDIT have. I have done massive extensions to EE to make it more XEDIT-compatible. A common infrastructure already exists for the SET / QUERY / EXTRACT / MODIFY / TRANSFER subcommands. Actually I am researching how EE could integrate with bREXX. |
On Thu, Oct 27, 2022 at 10:51 AM, Bertram Moshier wrote:
have you thought about looking at the product KEDIT?There is a German idiom "Eulen nach Athen tragen (, see also )": KEDIT *is* my principal editor since 1988. I have even written a UTF-8 import/export filter for it to deal with source code containing French and German literals and comments. I'd like to see KEDIT GPLed and opensourced on GitHub when (if?) Mansfield Software (Kevin Kearney) might close down business. Actually I am just implementing KEDIT's??? SET HIGHLIGHT? ? command. This can be done without breaking any XEDIT compatibility. You can expect that I will implement? MORE ,?? LESS? and? TAG as companions to? ALL . ? I am using "z/VM 7.3 XEDIT Command and Macro Reference" and these editors as reference :
|
¿ªÔÆÌåÓýI think it goes without saying that we would very much like to see Rexx compatibility for EE and a more XEDIT-like working - although it is not at all bad at the moment, just a bit different. Because we are all very busy, it would be good if there would be an easy way to be involved in testing, e.g. by having a way to up/downgrade your EE installation, for example a github repo where we can easily download versions.I would like to tell you what my personal priorities would be. As I am a late VM user (I had the course in 1987 on (probably) VM/SP R5 and had already my first opportunity to use XEDIT in 2019) (because in 1987 I only ever used VM to IPL MVS in it and then PR/SM came along) - all my Rexx editor macros start with ADDRESS ISREDIT. Also, as opposed to most people I work with, I use the 3270 emulator keyboard as was intended, with enter mapped to linefeed and ctrl-right to send. So I am using XLIST and I wish it behaved a bit more like FILELIST (we could probably do that in Rexx now), I have X synonymed to EE and I find it almost workable. But I would very, very much have it behave a bit more like modern XEDIT. best regards, Ren¨¦ Jansen.
|
±á¾±?¸é±ð²Ô¨¦,? What I want to see in a full screen editor for VMCE, is the ability to use REXX as a MACRO language for the editor so we can?implement?new editor commands in REXX and issue 'address XEDIT' type calls from within these new commands.? There are obstacle in implementing this, including getting EE out of the user area at X'20000' so that more than a small subset of CMS commands can be issued while EE is running. Bob Bolch ?
|
On Thu, Oct 27, 2022 at 04:45 PM, Bob Bolch wrote:
Fully agreed. I need to acquire more knowledge to enter this area. In the 1990s I was a very experienced professional assembler programmer on the Motorola M680x0 family. Used on bare metal including basic setup of the MMU, as a VERSAdos system service or as an interface library for Pascal programmers. I have to learn all this for System/370. Please tell me where begin to read if there is a faster path than starting at GA22-7000-6? IBM System/370 Principles of Operation . What do I need for "EE goes XEDIT" ?
|
Martin said,
No feedback ... are editors much less significant in the (emulated) mainframe community now since most people are doing it the Zowe way ? I think we are overwhelmed with all the recent activity in this discussion group, and missed your note. I for one would rather see/use the code than look at a screen shot. The difference between Looking at the candy behind the glass, rather than actually having some. :-) ?... Mark S. |
toggle quoted message
Show quoted text
|
¿ªÔÆÌåÓýNothing really modern in the usual sense but I think about the ability to make fullscreen apps with it - don¡¯t know how modern that exactly is, and driven by the fact that getting IOS3270 to work and integrate with the Rexx variable pool without the source would be hard . I probably meant things looking and feeling the same as VM/ESA or z/VM. Where the FILEL command probably already could be done in Rexx.I would also like what Bob points out, which is compatibility with Rexx XEDIT macros and ADDRESS but I understood that is a little bit further away. Another thing I would like very much: an SI line command which opens a new line on every enter - in the sense of what probably can be added now. ¸é±ð²Ô¨¦.
|
On Thu, Oct 27, 2022 at 06:37 PM, rvjansen@... wrote:
ability to make fullscreen appsCMS HELP was based on XEDIT since VM/SP 1. FILELIST arrived with VM/SP 2, EXEC 2 was used ( still EXEC 2 on LCM+L's VM/SP 5 but (compiled) REXX on z/VM 6.4). REXX arrived with VM/SP 3, XEDIT received EXTRACT, Prefix Macro Support, Selective Line Editing (see ). I think as a minimum we should approach VM/SP 3 XEDIT compatibility. Martin |
Not to go too far off topic, but you can write REXX full screen applications on VMCE 1.1.2 with calls to the old SAS Rexx Function Package. The new HELP EXEC is written in REXX. Bob
|
On Thu, Oct 27, 2022 at 06:02 PM, Mark A. Stevens wrote:
I for one would rather see/use the code than look at a screen shot. The difference between Looking at the candy behind the glass, rather than actually having some. :-)Prepare for a rough ride ... EE$DRISK V1.3.0_221027-0259 This is a construction site full of pot holes: File: PROFILE? EE?????? A1??????? RECFM: V LRECL: 125(125) Lines:?? 100 Current:???? 6? ?====>??????????????????????????????????????????????????????????????????????????????? ? ???? 5 FileName FileType FM Format?? Size? Line Col???????? 5 file(s) in ring???????? ? ====> PROFILE? EE?????? A1 V? 125??? 100???? 6?? 0?? Unchanged??????????????????????? ? ??? 1 TABS???? EE$INTRN A0 F?? 80????? 0???? 0?? 0?? *INTERNAL*, Unchanged??????????? ? ??? 2 DEFAULTS EE$INTRN A0 F?? 24????? 0???? 0?? 0?? *INTERNAL*, Unchanged??????????? ? ??? 3 HISTORY? EE$INTRN A0 V? 122????? 2???? 0?? 0?? *INTERNAL*, * * * Modified * * * ? ??? 4 MACROS?? EE$INTRN A0 V? 255????? 0???? 0?? 0?? *INTERNAL*, Unchanged??????????? ? ????? ....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8. ??? 1 set case m i??????????????????????????????????????????????????????????????????? ? ??? 2 number on?????????????????????????????????????????????????????????????????????? ? ??? 3 scale top?????????????????????????????????????????????????????????????????????? ? ??? 4 cmdline top???????????????????????????????????????????????????????????????????? ? ??? 5 pf 12 ????????????????????????????????????????????????????????????????????????? ? ??? 6 pf 11 ?+??????????????????????????????????????????????????????????????????????? ? ??? 7???????????????????????????????????????????????????????????????????????????????? ? ??? 8 set color * green none nohigh ps0?????????????????????????????????????????????? ? ??? 9 set color arrow turq blink????????????????????????????????????????????????????? ? ?? 10 set color cmd pink????????????????????????????????????????????????????????????? ? ?? 11 set color curline red underline???????????????????????????????????????????????? ? ?? 12 set color prefix blue?????????????????????????????????????????????????????????? ? ?? 13 set color cprefix white???????????????????????????????????????????????????????? ? ?? 14???????????????????????????????????????????????????????????????????????????????? ? ?? 15 set color highlight yellow none???????????????????????????????????????????????? ? ?? 16 set color chighlight yellow underline?????????????????????????????????????????? ? 02=RingNext 03=Quit 06=SpltJ 07=PgUp 08=PgDw 10=PI 11=ClrCmd 12=Recall??????????????? ? Unchanged????????????????????????????????????? EE$DRISK V1.3.0_221027-0259,? 5 File(s)? ???????????????????? For development purposes, the editor has 4 internal files in the ring. Use the?? CANCEL?? command to close the editor. New feature? Ringlist:? R RR RINGlist R 3? would switch to ? HISTORY? EE$INTRN A0 SYSPROF EE A exists, but is empty. PROFILE EE A is listed below: set case m i????????????????????????? ? number on???????????????????????????? ? scale top???????????????????????????? ? cmdline top?????????????????????????? ? pf 12 ??????????????????????????????? ? pf 11 ?+????????????????????????????? ? set color * green none nohigh ps0???? ? set color arrow turq blink??????????? ? set color cmd pink??????????????????? ? set color curline red underline?????? ? set color prefix blue???????????????? ? set color cprefix white?????????????? ? set color highlight yellow none?????? ? set color chighlight yellow underline ? set color shadow pink???????????????? ? set color scale blue????????????????? ? set color id??? blue????????????????? ? set color stata blue????????????????? ? set color info? pink????????????????? ? set color tof?? pink????????????????? ? set color ctof?? red revvideo???????? ? colour msgline red none?????????????? ? Play with the colors, current z/VM doc might help a little. The ALL command works (Warning: poor performance), but the resulting SET SCOPE DISPLAY is not obeyed yet. You can enter SET DISPLAY manually. Remember: Use the?? CANCEL?? command to close the editor, SAVE or QQUIT modified files if necessary. |
Hi Martin, I started working on VM/370 over 3 years ago to update a platform independent REXX implementation into one with the capabilities present in early VM/SP .?? I had to write the CMS system support code for features not available in VM/370, but neccesary to support REXX macros for edit subcommands. 1. SUBCOM support 2. CMS Nucleus Extension support (NUCEXT) 3. Rexx function package support 4. EXECCOMM support to extract or set REXX variable values from external programs ( like EXECIO). 5. EXECIO. Next, I am trying to figure out if the EE implementation has (or can be made to have) the execution characteristics necessary to implement REXX macro support.?? Figuring out the steps to support writing editor commands in REXX is hard, and I have been using CMS for almost 50 years. You have stated the 50000 foot view, but the devil is in the details. Bob Bolch On Thu, Oct 27, 2022, 11:45 AM Martin Scheffler <San-Lorenzo@...> wrote: On Thu, Oct 27, 2022 at 04:45 PM, Bob Bolch wrote: |
On Thu, Oct 27, 2022 at 10:36 PM, Bob Bolch wrote:
I am trying to figure out if the EE implementation has (or can be made to have) the execution characteristics necessary to implement REXX macro support.see ? The ALL command is implemented in a macro style as proof of concept. Note that ? extern int execCmd(...)?? calls itself through the ALL command. https://github.com/SanLorenzo59/mecaff/blob/690eae7bd8233f72b03f2c48d971f81f5ba365b4/cms/eecmds.c#L918 |
On Thu, Oct 27, 2022 at 01:36 PM, Martin Scheffler wrote:
CMS HELP was based on XEDIT since VM/SP 1.I think SP3 compatibility would be a good start. BREXX still has a problem with parsing its command line, so that will be a challenge, in and of itself. Would support of EXEC2 be present, until BREXX is fixed? I don't know where XEDIT lives in memory, when invoked. Does putting it, or part of it in a DisContiguous Saved Segment (DCSS) hurt or help? Was it in the CMS DCSS since SP 1? ?... Mark S. |