|
Post by George on Nov 12, 2014 14:07:11 GMT -5
Hi, I'm contributing my personal theme for SPFLite. I thought maybe some of you would be interested to see what the SPFLite developer actually uses. George Developer Georges.STF (453 B)
|
|
mattp
New Member
still in in this crazy IT business
Posts: 4
|
Post by mattp on Nov 12, 2014 15:44:27 GMT -5
Looks nice, somewhat like a "peppermint style" - or as it is, line-printer paper size A3.
Reminds of those days long ago, when we pretended to be browsing through big program/compiler listings searching for errors, but in fact did the weekly crosswords of the time magazine hidden between the leafs - you could quickly flip over a couple of pages when the boss dropped in ... LOL ....
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jun 20, 2015 7:01:30 GMT -5
I tried the above theme out with "THEME LOAD", but how do I go back, I miss something like "THEME DEFAULT".
Do I have to reinstall ?
|
|
|
Post by nicc on Jun 20, 2015 8:27:07 GMT -5
I tried that theme - yuck. So I deleted it and restarted SPFLITE with the attached result: Pressing OK to continue did not continue - it just did the same again. So how DOES one remove a theme? Attachments:
|
|
|
Post by George on Jun 20, 2015 11:11:52 GMT -5
Jonas: Nicc: Ooh! Never thought someone would play with themes without first saving what they had first using THEME CREATE. There is no THEME RESET I'm afraid, my assumption is that a saved theme would just be re-loaded. So I did a re-install of SPFLite and then immediately did a THEME CREATE to create this DEFAULT.STF file Default.stf (453 B) Nicc: Right now I've no ideas on what you encountered, you basically did nothing other than load a theme file. George
|
|
|
Post by nicc on Jun 20, 2015 12:24:52 GMT -5
George - I don't think I even loaded a theme as my theme folder was empty after I deleted 'Developer Georges.stf'. I have downloaded the Default.stf that you posted above but that does not give me what I had before I started playing - but I am, at least, up and running again. Maybe I need to re-install? What I had was baically 'green screen' - green text on black for everything in file manager.
edit: OK - I had to change all the screen colours in Options so I now have that created and loaded as 'nix'. the onl;y problem I have is that the status line refuses to be white on black. It insists on being black on white.
another edit: the status bar changes in an edit tab but it is in FM that it stays as black on white.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jun 20, 2015 13:38:09 GMT -5
OK, I will do Jonas
|
|
|
Post by George on Jun 20, 2015 15:19:34 GMT -5
nicc: Have you recycled SPFLite? Maybe there's something in THEME that is missing, or the change only gets picked up at startup.
You should NOT have to restore your main INI file to fix this, these are only the color settings within that file, nothing more. OPTIONS => SCREEN should be all that's needed.
George
|
|
|
Post by nicc on Jun 21, 2015 5:19:16 GMT -5
Hi,
There was NOTHING in my themes folder before I started. I checked this on another machine and it, too, is empty and I have not played around with it. I did not re-instal, simply copied in the DEFAULT.stf that you popsted, got SPFLite up and running and then played around in Options=>Screen to set the colours to what I want/had and then saved the theme. That saved version is in my themes directory.
|
|
|
Post by George on Jun 21, 2015 12:50:04 GMT -5
Something I simply overlooked in all this, the normal Install defaults for the INI and KBD files are available in the \Program Files\SPFLite\ folder, they are named:
Install.DEFAULT.INI Install.SPFLite.INI Install.SPFLite.KBD
If you get really mucked up, just use these as replacements for the messed up ones, at least you have a starting point.
George
|
|
|
Post by nicc on Jun 21, 2015 17:28:35 GMT -5
Hi
I am back to normal.
Copying the default.stf, above, into my Themes folder allowed my spflite to start up. I could then reset the colours back to what they were before all this started.
The points are that: a} the themes folder was empty before I started all this; b) I deleted the theme 'developer georges.stf' after loading it and finding it not to my taste; c) I deleted it because there seemed to be no way to back it out; d) when I copied 'developer georges.stf' to my themes folder i gave it a new name and that was what I loaded and then deleted; e) I stopped spflite and restarted at which point I got an error so I clicked 'OK' and got the error shown above (I think the first error was to do with a missing file but not sure - I may redo these steps tomorrow to confirm (after copying out my new themes file f) the real problem was that I fogot what I named the theme to when I did the original copy so I could not create a new one of the same name and SPFLIte failed to start, presumably because it wanted that theme to be present.
|
|
|
Post by nicc on Jun 22, 2015 6:39:44 GMT -5
OK - update. I tried to repeat the failure that I had and nowt happened. SPFLite started up ok with nothing in my themes folder despite the fact that I had removed all my themes. So something else was a-foot but I have no idea what.
Maybe a better explanation of what THEME is all about and how to use would be in order. I will spend a bit of time this afternoon going over the docco and this thread and see what I think could be changed/added. Leave that ball in my court and I will get back, sometime.
|
|
|
Post by George on Jun 22, 2015 9:36:16 GMT -5
OK. 1) SPFLite does not need any theme files present to initialize, only the normal INI file.
2) INCLUDE type stuff in the INI file is a non-starter. INI file handling is entirely done via normal Windows API calls, and the standard INI file structure is not up for discussion or extension.
3) The .STF files are simply exported versions of the appropriate lines in the normal INI file. THEME CREATE simply exports your current color settings to the .STF file. THEME LOAD simply imports the color setting from the exported .STF file and merges them with the existing INI file.
4) Perhaps a DEFAULT.STF file should be distributed and made available in the THEMES folder, it would have prevented this whole thing as it was caused by the simple error of not exporting the active color settings before 'playing' with the colors.
5) I don't understand the odd error message at all, it is from the DEBUGLOG routine, which a) is used by temporary tracing code, b) there should be no tracing code in an official release and c) The DEBUGLOG routine always opens a private file for use, so should never trigger that error under any circumstances.
I don't feel this whole thing needs analysis and revisions. Creating a DEFAULT.STF and enhancing the documentation to better explain how this works is however badly needed.
George
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jun 22, 2015 11:51:43 GMT -5
I don't have [FTP] in my INI-file. Does Spflite supports FTP-Server ?
|
|
|
Post by George on Jun 22, 2015 12:31:57 GMT -5
Jonas: SPFLite used to support FTP access via File Manager, but it was just about completely unused and was dropped during a File Manager re-write a few years ago. The [FTP] section header is left over from those days.
George
|
|