+jedimatt42 Posted January 17, 2022 Author Share Posted January 17, 2022 VIRGIL99 v1.7 - VIRGIL99 pull down menu consolidates access to address prompt, history page, and about page. history is a stack... so as you go back, things pop off it. history and about pages do not get added to history. Pages that fail to load do not get added to history. History is also constrained to a single 4K SAMS page, with the interesting behavior of a queue, so oldest items will fall off to make room for new items. History is never written to disk. some improvements to long URL handling... 1 Quote Link to comment Share on other sites More sharing options...
dgrissom Posted January 18, 2022 Share Posted January 18, 2022 4 hours ago, jedimatt42 said: VIRGIL99 v1.7 - VIRGIL99 pull down menu consolidates access to address prompt, history page, and about page. history is a stack... so as you go back, things pop off it. history and about pages do not get added to history. Pages that fail to load do not get added to history. History is also constrained to a single 4K SAMS page, with the interesting behavior of a queue, so oldest items will fall off to make room for new items. History is never written to disk. some improvements to long URL handling... Test driving it. Slick interface! 1 Quote Link to comment Share on other sites More sharing options...
+jedimatt42 Posted February 5, 2022 Author Share Posted February 5, 2022 I've updated VIRGIL99 to support bookmarks (via the pull down menu) and view history. I think I have finally fixed the bugs in history/back button. You can also pass a DV80 file on the command line, or in the address editor to view local files... each record will be a line... If they are plain TI text, then they should display fine. If they are TI Writer CR enriched files, IDK... It'll either display fine, or you'll get doublespaced text... LOL... Feel free to let me know. TI Writer Formatter files with all the markup and stuff will just show the markup... some escape codes will just get gobbled up and hidden. It's just not meant for that. The default place the books go is TIPI.FC.VIRGIL.BOOKMARKS You need to make that TIPI.FC.VIRGIL. directory cause I forgot too ( I'll fix that later ) You can also set the ForceCommand environment variable VIRGIL_FAVS to the full path of a file to use if you prefer some other location... makedir TIPI.FC.VIRGIL or makedir IDE1.VIRGIL VIRGIL_FAVS=IDE1.VIRGIL.MYFAVS You can add a bookmark to the current page by using the '+bookmark' menu item. You can edit and order the bookmarks in any DV80 editor, such as ED or Stevie. The format is simply a gemini URL per record(line). ForceCommand v2.2 drop over at: 1 Quote Link to comment Share on other sites More sharing options...
+jedimatt42 Posted February 5, 2022 Author Share Posted February 5, 2022 Oh, Arcadeshopper had some astonishment about the format of URLs in the address entry field, which is true of links on a page and those passed in the command line... So it is worth explaining... VIRGIL99 has 3 builtin URL scheme (the part before the first colon) - about - history - bookmarks I didn't implement file loading as HTML browser's 'file' scheme cause that isn't natural on the command line, and I didn't want 2 ways to do things... It is a constrained computer after all. So, if I can open the URL as a local file, VIRGIL99 will do so... There is a small amount of room for collision between page relative links, and local files... a => page.gmi is not a valid file (cause of the period looking like a 4A device separator... ) unless you happen to have a directory in lowercase named 'page' and a file in there called 'gmi', also in lowercase... this just isn't very customary on a 4A so I'm not concerned. If it is a problem, the work-around would be to launch VIRGIL99 from the path while sitting in an empty directory. The gemini spec says links look like: - a fully qualified URL, therefore starts with a scheme, such as 'gemini' ':' '//' <hostname> [ '/' <path> ] * - a URL fragment starting with '//' causing the default scheme 'gemini' to be used. - a path relative to the host, so something starting with a single '/' and other path data. - a path relative to the current page, so something not starting with a '/', assumed to at the same url path upto the last '/' and then page relative part added on. The astonishment was that just typing in a hostname, like arcadeshopper.com into the address bar looks to VIRGIL99 like that last form of url.. So, this doesn't work like it does in a modern browser with resources ( and programmer time to waste ) : VIRGIL99 arcadeshopper.com But this does: VIRGIL99 //arcadeshopper.com Oh, and it works because Arcadeshopper has stood up a gemini protocol server at his same domain... so you might want to bookmark that one 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.