It would be great if Slick could have an "automatic" type that used the equivalent of the linux "file" command.
"file" has a bunch of hueristics to determine the type of the file, be it binary or C or whatever.
<snip!>
I'm already working on a shell script to bridge from CM Synergy
to Slick (Works much better now that I understand about command
sequence -- thanks!)
Such a script might invoke "file" in command substitution; parse
it's output; edit with the "-#select-mode [whatever]" command.
You'd still need a massive "case/switch" statement to convert
"file"'s returned values to Slick modes.
Now, the hard one: CM Synergy may pass my wrapper strings such as:
"306440" "View asm370 - source (SWSRDMG.s,I16926760)"
I know that "306440" means a filename in the current directory,
and "SWSRDMG.s,I16926760" are the name the programmer knows
and our issue tracking number and I can convert "asm370" to
"-#select_mode IBM HLASM" But the title bar and file tabs show
"306440"; not very useful to the programmer. Can these values
be overridden so the file tabs show "SWSRDMG.s,I16926760"?
(I'm not very hopeful.)
I like this forum's user interface. Much better than others I deal with.
Thanks,
gil