Ren
Sophomore Member
Retired Mainframer
Posts: 82
|
Post by Ren on May 27, 2019 14:13:37 GMT -5
In SPFLite, (which is an absolutely incredible product, BTW), assuming "Scroll up/down with Arrow Keys" is NOT checked, when I arrow down and hit the bottom the cursor wraps around to the top, (which is what I would expect, in that it emulates the ISPF Editors action), however when I arrow up in SPFLite, the cursor just stops at the top (Command line). Is there a way to make it keep going and wrap around starting at the bottom (as ISPF does)? (This is an ISPF feature I use a lot). If this is not currently available, can I request an enhancement to do so? (Perhaps an option on the KBD options screen). Thanks.
|
|
Ren
Sophomore Member
Retired Mainframer
Posts: 82
|
Post by Ren on May 27, 2019 18:07:30 GMT -5
Thanks, then avatar is supposed to be a grey beard, but you are right looks like "Halloween n". PS name is Ren not Ken. (LOL). Yes, yes, yes, cursor UP automatically wraps to bottom, like cursor DOWN wraps to top, would be a great enhancement (which would then mimic ISPF). Thanks
|
|
Ren
Sophomore Member
Retired Mainframer
Posts: 82
|
Post by Ren on May 27, 2019 19:20:45 GMT -5
Robert, I agree the nulls off/nulls on, and the way the line commands manifest in ISPF, were a pain. Yes I like the SPFLite handling of both. Very nice. Speaking of line commands here's something that does not work:
Command ===> CUT NX
00001 /* REXX */ CC Begin: 000003 sometext XX more text XX even more 000006 last of it CC Return
This should exclude lines 4 and 5 and then CUT lines 2, 3, 6, and 7 to the clipboard. But what I get is:
Pending Command(s)
in the short message area. This is something else I do a lot.
One more item pertaining to Line Commands: Recently the K (modifier, which stands for Keep), line command was added to ISPF to modify the A and B (after/before) line commands. So you can issue a C (or M), AK, AK, and finally an A, which would copy the line with the C after each line with the AK and finally the line with the A, thereby completing the copy. This would be another cool feature (in keeping up with the IBMses).
PS I added glasses to my avatar but cant seem to fix my mask...I mean beard.
Thanks Ren
|
|
Ren
Sophomore Member
Retired Mainframer
Posts: 82
|
Post by Ren on May 28, 2019 10:32:55 GMT -5
Interesting implementation of the K functionality. It just keeps the C& and you have to keep adding the A (and hitting <enter>), and finally get rid of the &. You can't have multiple A's (technically AK's, with a final A), and hit <enter> once, like the IBM implementation of the K. But hey, the functionality is there. I do however disagree with your statement "It is actually easier and more convenient than ISPF's way of doing things", but we simply have 2 differing opinions. Thanks for the hint.
|
|
|
Post by George on May 28, 2019 11:11:57 GMT -5
Ren: Robert: I turned off arrow scrolling (I normally have it on) and the cursor wraps properly at top or bottom. And I have no 'lock-ups' on line 2 either. This is with the current 10.2.19129 version.
Cut X / NX needs an ALL operand. e.g. CUT ALL NX. All part of our use of a weird parser and an all-in-one search routine that's used by nearly all commands. The Doc doesn't even mention ALL, that's an error I'll correct.
Welcome Ren, nice to have another contributing member.
George
|
|
Ren
Sophomore Member
Retired Mainframer
Posts: 82
|
Post by Ren on May 28, 2019 12:09:48 GMT -5
Hmmm, the AA/BB with the C, is something I've probably needed over the years, although I can't think of a current need. Good to know though.
Don't worry about the AK, I can work with the C& function, (a macro is a cool idea though). Speaking of macros, have you a link to a reference manual/programmers guide to whatever strange language your macros are written in? Based on the examples in the SPFLite documentation, I was able to get a couple of mine to work. But I just muddled thru it. I would like to enhance one, but can not figure how to substring the data returned by the get line command. So I guess I need to RTFM. (Too bad your edit macros are not written in REXX, reminiscence of Tritus, not to mention ISPF.) :-)
|
|
Ren
Sophomore Member
Retired Mainframer
Posts: 82
|
Post by Ren on May 28, 2019 12:25:10 GMT -5
George, thank you for the great product. I really miss Tritus, so this is a wonderful improvement to the PC style editors. Having used ISPF since the early 80's, trying to break in a new editor is rough.
I tried your suggestion, which was to add ALL to the CUT NX command:
Command ===> CUT NX ALL
00001 /* REXX */ CC Begin: 000003 sometext XX more text XX even more 000006 last of it CC Return
but all I get is:
Pending command(s)
same as with out the all
Maybe I did not understand your message.
As far as scrolling, in the KBD Option screen I have both scroll with arrow functions turned off, but the scroll up to get to the bottom justs stops at the command line.
Maybe I have an old release. Is their a way to tell my release level?
Thanks to both you and Robert for your assistance.
|
|
|
Post by George on May 28, 2019 12:28:39 GMT -5
Hmmm, I'm sure my first try at CUT NX gave me the "Pending ..." message, so I tried it will ALL and it worked, so ...
Now you're right, it seems to not need it. Mystery.
And I agree, I don't miss REXX / ISREDIT at all. Looking back at some old REXX edit scripts, they now look very clumsy and arcane. REXX had some great features, but the ISREDIT interface was very awkward and helped not a whit.
George
[Update] Just looked back, Ren's example had a sequence CC . . XX . . XX . CC
Didn't notice the CC's before, that's the cause of the error, they're not needed.
Or ... Do the XX, hit Enter, ten do the CC/CC Cut and it works. The combination of two range commands is more than my poor line command parser can handle.
George
|
|
Ren
Sophomore Member
Retired Mainframer
Posts: 82
|
Post by Ren on May 28, 2019 12:37:47 GMT -5
Robert, loved the pun "usual BASIC way". Being a mainframer for almost 50 years, BASIC was a language I never picked up. I know virtually nothing about it. Thanks for the info. I'll check out HELP BASIC and the section on migration from REXX.
PS Re: Avatar - Thanks. Still need to make my beard grey (white) (and hair almost grey). Making avatars is so "not mainframe", but I'll figure it out.
|
|
Ren
Sophomore Member
Retired Mainframer
Posts: 82
|
Post by Ren on May 28, 2019 12:42:41 GMT -5
George,
So I guess you cant/wont make it work like ISPF. That is OK, I can work around it. It just not the same as I've done for 35 years. You still have an incredible product. Thanks again.
|
|
Ren
Sophomore Member
Retired Mainframer
Posts: 82
|
Post by Ren on May 28, 2019 12:45:54 GMT -5
Update on scrolling: It works fine when displaying the "file manager", it does not work when editing a program.
|
|
Ren
Sophomore Member
Retired Mainframer
Posts: 82
|
Post by Ren on May 28, 2019 13:07:40 GMT -5
I always thought BASIC was a PC language not appearing until after 1980. I wrote my first program ever in 1969...Fortran (at Oregon State). Then COBOL in '70, and CLIST early on and REXX in late 80's. COBOL/REXX has been my life ever since (until I retired last year). I'll keep working on my Avatar (like say I'm new to this PC stuff).
|
|
Ren
Sophomore Member
Retired Mainframer
Posts: 82
|
Post by Ren on May 28, 2019 13:41:27 GMT -5
That would be closer, can you make the AF reset the C&? I'd love to see the source when you get it working. I had hundreds of Edit MACROS, (all in REXX), but all lost. I'm going to try to recreate some of the functionality in SPFLite. I loved pulling strings under the cursor and using them for target of my macros. Like FF, FN, FP, FL - Find First, Find Next, Find Previous and Find Last respectively. Type the command, place the cursor in the text string to find, hit <ENTER>. I also wrote Line Commands, like RES, which would issue a RESET from the line command area, rather than having to reposition your cursor to the command line, (and CAN and SAVE). I also wrote Command line commands like TRD and EWA, which would both issue RES (note your finger placement when you type RES, then shift your fingers one key to the left or right). ACN was another for CAN. I had a CUT/PASTE years before IBM with multiple CLIPBOARDS which you could edit. And you could paste across LPARS.....Ah the good ol'days.
|
|
Ren
Sophomore Member
Retired Mainframer
Posts: 82
|
Post by Ren on May 29, 2019 6:57:30 GMT -5
Nice. I love the ALIAS function. Had ISPF had that, it would have saved me writing a bunch of MACROs. I set an alias for RESET as EWA and one for TRD, worked like a charm. Very cool. I'll check out the FIND function. Sorry you have the Blahs, hope you bounce back soon.
|
|
|
Post by George on May 29, 2019 9:21:26 GMT -5
Ren: The word (and line) under the cursor is always easily available. In macros they're Get_Curr_Word$ and Get_Curr_Line$.
In Keyboard Macros they are ~W and ~L substitution characters.
I think you'll find with KB macros, DO macros and full-blown macros (or combinations of them) there's very little you can't do.
When we say SPFLite is highly customizable, we mean it.
And Basic history-wise, my introduction was on an original TRS-80 Model I, it had a whole 16K, and a built-in Basic interpreter originally written by -- Bill Gates - long time before the PC appeared with DOS.
George
|
|