|
Post by George on Jun 4, 2022 15:02:47 GMT -5
Robert: As you know, FM screen support is completely separate from normal Edit screen code. Yes, it's a pain, I'd like it to be otherwise, but yet another re-write of FM support to do so is just not in the works. There is just way too much difference between an FM screen and and Edit screen.
XCUT may not be too bad, I'll give it a look.
George
|
|
|
Post by George on Jun 4, 2022 16:19:15 GMT -5
My thinking was that XCUT would be a primary, and would create the CSV style with all displayed fields for all lines. Since it's a CUT style command, doing a CLIP session would allow simple editing to whatever other requirements are needed.
KISS philosophy.
George
|
|
|
Post by George on Jun 5, 2022 12:28:10 GMT -5
Robert: Pick up the latest Beta (22156). There is a new CSV command for FM. It dumps the displayed filelist into a CSV formatted form in the cipboard. Use CLIP to load, view, edit etc.
George
|
|
|
Post by Stefan on Jun 6, 2022 5:39:34 GMT -5
Guys... just a crazy idea, but... What if the FM display panel were not 'bespoke'?
The FM panel comprises of 4 FIXED lines (primary command, quick launch bar, file path and filter mask) and the variable section with line command plus data portion. I run with COLS ON in all profiles, so my BROWSE/EDIT panel looks similar, Fixed Primary command, COLs line, Top-Of-Data (if you like) and the same variable section.
If you were to 'build' the FM display in a 'file', you could present it in a BROWSE-like tab. Conceivably, much, if not all, of the normal scrolling, line command and primary command logic could be reused, which would avoid the issues Robert reported in the original post. And some, perhaps many, primary commands (FIND, EXCLUDE, etc) could operate across the data in all the columns, not just on the data in the first column. Filtering the display could be achieved via existing commands like FIND ALL abc, EXCLUDE ALL .HTML or just selective XX...XX line commands. Entry selection would operate as now - same line commands, but in "FM Browser mode" you pick up the string in the first column of the data line. Given that FM would effectively be a special mode for an EDIT/BROWSE tab, it could perhaps facilitate multiple concurrently open FM displays for different directories, File lists, etc.
If imagination were to run wild, this approach could even provide a platform for directory editing/manipulation - but that's a whole other can of worms. I know - HUGE change, (sledge hammer to crack Robert's reported nut). Probably more than one would like to entertain at this stage in the product life cycle. Like I said - just a crazy idea!
|
|
|
Post by George on Jun 6, 2022 8:55:36 GMT -5
Stefan: Yes, major upheaval, with lots of little "what about?" questions: - FM line command is scrollable (yes, I know it's barely used)
- Mouse clicks - Change column sorts, Select a file to open etc. all also mpacted by hotizontal scrolling
- Need to now maintain two structures, the real folder/filelist raw data and the edit window compatible display format version.
- Re-write most of the FM macro functions
Really what's needed is yet another complete replacement of FM with a new design. We've done that twice now in the past, it's no fun.
George
|
|
|
Post by George on Jun 6, 2022 9:48:08 GMT -5
Robert: The other real problem is that there is not one FM display, there are FilePath, FLISTS, OpenFiles, Lists of FLISTS, Paths and Configs. Many of these invoke different handling for the same FM line command. It would be just moving all these FM peculiarities into the normal Edit screen versions of the command, cluttering them all up with "If FM then xxx ELSEIF EDIT then yyy ELSEIF CLIP then zzz ....
No - FM stays separate. Yes it needs help, but not by being moved into an Edit tab.
George
|
|
|
Post by Stefan on Jun 6, 2022 9:51:24 GMT -5
Really guys, I mean to exert no pressure at all here... Robert hits the nail on the head with his 'flavour of edit' description. (Nice one Robert) In the FM 'flavour', functions like the column sort can be accommodated. The'data' portion has columns, just as now and these have headings. SORT <colname> Ascending/Descending or SORT <colnumber> works. Or place the cursor on the column and type SORT primary command. As Robert said, overtyping the line with a new name is doable especially if you maintain the before (raw) data. It is, sort of(!), available anyway until the user triggers an ATTN event, else <PA2> wouldn't work. OK, Hands up! I admit, I have not thought through FM macros implications.
It was just an idea. Came to me as I often pipe directory data from a CMD prompt to the clipboard and load it via CLIP into SPFlite. Then manipulate what I need to do andto make bulk changes to file lists.
|
|
|
Post by George on Jun 6, 2022 12:25:48 GMT -5
Yeah, I'm a real downer at times. But I've done FM rewrites before. it ain't easy.
Actually, right now, I am somewhat 'down'. Turns out we came back from our cruise with Covid. Pretty mild (we've had four vaccine shots) just a runny nose and a bit of a cough. Linda's pretty much over it, I'm running a couple days behind her.
George
|
|
|
Post by George on Jun 6, 2022 14:33:57 GMT -5
Covid coping is simple when you've had all the shots, it's just like a bad cold. I don't actually feel terrible, just 'not quite right'.
Heart surgery, that's a lot different. I'm sure though you'll be a whole lot better once it's done.
George
|
|
|
Post by Stefan on Jun 7, 2022 5:05:24 GMT -5
George,
Sorry to hear about your nightmare journey and Covid to boot.
FWIW, air travel is SNAFU all over. I missed my dad's funeral in Germany because they cancelled the flight and we almost got stuck on Egypt after a fabulous holiday because the return flight didn't turn up. No help from any of the travel folks so we had to make our own way home via Turkey. Still waiting for expenses to be refunded and they'll no doubt claim "extraordinary circumstances" to avoid paying the compensation.
Amazingly we appear to have avoided COVID entirely thus far even though most of our family have caught it at one time or another. Get well soon.
Robert, That must be scary and I wish you the best of luck with your upcoming op. My dad underwent bypass ops in his 60s and again in his 70s and that was the only time I ever saw him frightened. Both went well and he made it to 91 in reasonable health. I'm rooting for you.
|
|