-
-
Notifications
You must be signed in to change notification settings - Fork 1
Fgh museum mode #64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Fgh museum mode #64
Conversation
…hich will be loaded and run when Online Medley starts up - accessible only via the online.interlisp.org/guest scheme.
Signed-off-by: Frank Halasz <frank@halasz.org>
|
Is this the correct URL for running Insphex in commit 8d0b6e6? It leads to a default guest session without Insphex. |
Signed-off-by: Frank Halasz <frank@halasz.org>
|
@pamoroso That WAS the correct URL. But the weekly update to Online Medley overwrote the development docker image as well as the production docker image of Online Medley. I will fix this. The correct museum mode" Medley image is now up and running on online.interlisp.org:8081. I moved the start scripts from online/test/start-scripts to online/start-scripts. I also added to the start scripts directory files called START-XXX.URL that contain the full encoded URL to utilize that start-script. I had a lot of trouble getting the START-INSPHEX script to work - mostly due to issues with packages. I ended up with the weird ADD.PROCESS construction at the end of the START-INSPHEX function. Also in START-INSPHEX function I ended up advising INSPHEX::CREATE-HEX-WINDOW so that I could specify the window size and location in the call to INSPHEX:HEXDUMP. It just works better as a demo that way rather than asking the user to sweep out a window region first thing. It might be a good enhancement to change the second argument to HEXDUMP to be either a window or a non-NIL, non-window. If its a window then use it as the TEdit window and if its non-NIL, non-Window then create a window (or use the previous Window from TEdit). |
…t /guest. And /demo/login requires a login and then skips the run medley page.
|
The /demo/login route leads me to a guest session and /demo/guest works as expected. |
|
I would prefer to have just HEXDUMP accept a WINDOW rather than a REGION. Gives the caller more control over the properties of the window. The demo/login route is not working as yet. Debugging now. |
|
Okay I'll change the function to accept a window. |
|
I changed Insphex so that Are you still working on the /demo/guest and /demo/login paths? |
|
You could have HEXDUMP set the title if the 2nd argument is (WINDOWP ...) |
|
I changed Insphex to handle windows with no title passed to I struggled a bit to fix a subtle issue arising from the interaction between TEdit and an attached menu. If TEdit is passed a window with no title, the menu window of Insphex may end up detached from TEdit if the title is set after opening TEdit. The fix was to set the window title before calling TEdit. |
That's worth a bug report -- It's definitely an unexpected result that changing a window title would detach it... |
|
The menu is actually only visually detached like the first screenshot here. But if you look carefully you'll notice a tick horizontal black line between TEdit's buffer and prompt window, which is the actual window title. Making TEdit's window large enough usually makes the full title bar show up. I'll put together a small test case and file a bug. |
|
I filed issue #2363. |


No description provided.