|
Post by George on Oct 28, 2022 12:16:24 GMT -5
Stefan: You're not picky at all. Much of what you're spotting is ancient stuff that simply nobody has seen, or if they have, not reported.
George
[UPDATE]
Corrected.
[/UPDATE]
|
|
|
Post by George on Oct 28, 2022 9:40:20 GMT -5
So you basically want the #2 option, but with the option to copy another Profile rather than get the defaults.
I think when USING gets replaced, I'll make #2 the one I just described, with the pull-down having DEFAULT pre-selected as the choice. And 3 will offer to create a basic EFT rule - equivalent to a simple USING style, also with a pull-down to choose from.
George
|
|
|
Post by George on Oct 27, 2022 14:54:16 GMT -5
I think the table error for END was just a simple Oops!
|
|
|
Post by George on Oct 27, 2022 13:18:14 GMT -5
Changing the message is trivial, I can certainly do that. Done.
AUTOSAVE default is 'OFF, PROMPT', which I think is appropriate.
Next Beta will allow BACKUP of CLIP, SET and EFT sessions - does that help?
For some unknown reason, the CMD table entry for END specified a max # of operands as 1 (even though it HAS no operands). Corrected it to 0
|
|
|
Post by George on Oct 27, 2022 9:40:42 GMT -5
Robert: Yanking code is simply way, way easier than adding/changing something.
|
|
|
Post by George on Oct 27, 2022 9:38:08 GMT -5
Stefan: Simply ignoring a user entered command, with no indication of any activity, nor any kind of message whatsoever is simply NOT a good idea.
George
|
|
|
Post by George on Oct 26, 2022 13:37:34 GMT -5
OK, I've added the ability to BACKUP the CLIP, SET and EFT sessions. They are put in the $BACKUP folder in the HomeData folder (normally \User\You\Documents\SPFLite) The filenames are simply CLIP, SETEdit and EFTEdit with the standard date/time added.
They should expire based on the normal BACKUP retention criteria.
RESTORE is not supported. But since Restore requires browsing the $BACKUP folder and entering an RS line command, just use an E or V or B line command. Restoring them into a properly setup CLIP, SET or EFT session was just a stretch too far.
Will be in the next Beta.
|
|
|
Post by George on Oct 26, 2022 13:24:43 GMT -5
Just a FYI. I have no problems yanking code. Why? Because here, there and everywhere, I constantly see little 'wrinkles' in the code that were put in to support some obscure function or overcome some other "this isn't like ISPF" type niggle. Half the time it is far from obvious what they're for.
Many are because we 'bolted on' some new feature and it was more expedient to 'fiddle' several existing routines to get it to work.
So SPFLite code is a mess, despite several attempts by me to clean it up. That's why I complain about 'code clutter' and am always on the lookout for anything to remove. There's no way it will ever get fully re-written, so anything that can be done to remove unused stuff is a plus.
|
|
|
Post by George on Oct 26, 2022 8:31:42 GMT -5
Well, you CAN type an "S" to select it. It's there because its always been there, and to be compatible with Explorer. And it was there before a right-click was added.
And BTW, I click on it all the time and never right-click the tab to 'go up'.
|
|
|
Post by George on Oct 25, 2022 13:19:01 GMT -5
Robert: That's true, but it certainly messes up all the code with code fork branches and exceptions here and there. Just more cruddy code hacking.
George
|
|
|
Post by George on Oct 25, 2022 13:07:56 GMT -5
Further, it's more involved than I remember since BACKUP is designed to COPY the currently saved disk version of the file.
For SET, CLIP and EFT there IS NO FILE. Meaning no existing code is re-usable.
George
|
|
|
Post by George on Oct 25, 2022 12:53:59 GMT -5
OK, macros can now call ANY "cmd-name ?" command or Get_Profile$(cmd-name-type). Just a minor change.
If we support BACKUP for special sessions, my preference is they all go to the HomeFolder or DataFolder (forget now which is which).
George
|
|
|
Post by George on Oct 25, 2022 9:54:24 GMT -5
My two cents: I've never used command chaining, and probably never will. It takes too much brain effort to figure out how to take advantage of it.
Also, my usage of X and U lines is 99% a quick temporary usage, so they are always 'expendable' and I'm just more comfortable using commands with combinations of X / NX etc.
|
|
|
Post by George on Oct 25, 2022 8:29:07 GMT -5
Stefan: I'm sorry your initial report on all these just 'fell through the cracks'. In addition to what's visible in the forums, Robert and I have been hassling quite a bit over EFT stuff.
Yes, Get_Profile now relies quite heavily on the cmd-name ? support. And the problem with those is that they were all written at different times, and because they were simple output messages, standard format wasn't all that important.
I will take your list here and 'clean things up'
George
[UPDATE]
Completed.
[/UPDATE
|
|
|
Post by George on Oct 24, 2022 15:35:51 GMT -5
I'll move the indexes around.
|
|