Skip to content

Online should be clearer about Interlisp vs. Common Lisp in startup #690

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

Closed
Bharath-KKB opened this issue Feb 21, 2022 · 13 comments
Closed
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Bharath-KKB
Copy link

Font related functions missing
Some functions that are explained in medley-primer.pdf like FONTSET, FONTPROFILE, CREATEW, PP are missing

To Reproduce
Steps to reproduce the behavior:

  1. type (FONTSET 'BIGGER)
  2. system responds with undefined car of form FONT....
  3. similar results with CREATEW/PP etc.

Expected behavior
I thought the medley-primer has basic functions which will work as is. Infact i see the definitions in the sources.

Screenshots
If applicable, add screenshots to help explain your problem.

Context (please complete the following information):

  • OS: Linux/online docker
  • OS Version: Linux Debian 11 for local install/ Chrome on Windows 10 for online setup
  • Host arch: x86_64/dont know for online
  • Maiko version: maiko-220117-5eba2c3a for local setup
  • IL:MAKESYSDATE: [ "19-Feb-2022 04:38:48" for local setupdate /"11-Feb-2022 23:06-42" for online version ]

Additional context
None

@nbriggs
Copy link
Contributor

nbriggs commented Feb 21, 2022

Did you type it to an Interlisp exec, or to an XCL exec -- in an Interlisp exec it's spelled (FONTSET 'BIGGER) but in an XCL exec (where the default package is XCL rather than IL) it's spelled (IL:FONTSET 'IL:BIGGER). Get an Interlisp exec by using right button in the background, EXEC > Interlisp (take the default, don't roll out and take the Old-Interlisp).

@masinter
Copy link
Member

If the screen is big enough, we could set up two EXEC windows, one XCL and one Interlisp side by side, with the prompt window (with bigger, bold font) above both For narrow screens that can't fit side by side, a "responsive" layout. might fit XCL and IL one above the other

@Bharath-KKB
Copy link
Author

Did you type it to an Interlisp exec, or to an XCL exec -- in an Interlisp exec it's spelled (FONTSET 'BIGGER) but in an XCL exec (where the default package is XCL rather than IL) it's spelled (IL:FONTSET 'IL:BIGGER). Get an Interlisp exec by using right button in the background, EXEC > Interlisp (take the default, don't roll out and take the Old-Interlisp).

Many thanks. I was using XCL which is the default. Using IL pkg as you suggested got it working.

@Bharath-KKB
Copy link
Author

If the screen is big enough, we could set up two EXEC windows, one XCL and one Interlisp side by side, with the prompt window (with bigger, bold font) above both For narrow screens that can't fit side by side, a "responsive" layout. might fit XCL and IL one above the other

The screen is big enough but cant get to open an EXEC window with INTERLISP. I will figure it out one day :)

@masinter
Copy link
Member

I'm not sure anyone else has tried going through the medley primer to see what things still work and which have problems.

Back in the day, people could pick up Interlisp as a first programming experience; difficult to demonstrate.

@masinter masinter changed the title Functions described in Medley-Primer are missing from local setup as well online Online should be clearer about Interlisp vs. Common Lisp in startup Feb 21, 2022
@masinter masinter added config enhancement New feature or request help wanted Extra attention is needed labels Feb 21, 2022
@masinter
Copy link
Member

I'm reopening this as a problem for first users. Thank you @Bharath-KKB for your patient reporting.

@masinter masinter reopened this Feb 21, 2022
@nbriggs
Copy link
Contributor

nbriggs commented Feb 21, 2022

@Bharath-KKB -- Interlisp Exec: You need a 2 or 3 button mouse, or know how to have your trackpad/buttons generate a right-mouse-button event as well as the left-mouse-button event. Then: right-mouse-button down (and hold) in the background (the gray stipple not in any window) and you'll get a pop-up menu with EXEC as one of the items, slide the mouse pointer over that until it highlights, then slide right (it has the ► to indicate it has sub-menus) and over the "Interlisp" item (it also has sub-menus) and release the mouse button on the highlighted "Interlisp" item. It will then prompt you to position and size the new Exec window -- left button down to freeze the top-left corner and drag out the region and then release it to set the lower-right corner. Click in the window to give it the keyboard focus and then you can type at it.

@Bharath-KKB
Copy link
Author

@Bharath-KKB -- Interlisp Exec: You need a 2 or 3 button mouse, or know how to have your trackpad/buttons generate a right-mouse-button event as well as the left-mouse-button event. Then: right-mouse-button down (and hold) in the background (the gray stipple not in any window) and you'll get a pop-up menu with EXEC as one of the items, slide the mouse pointer over that until it highlights, then slide right (it has the ► to indicate it has sub-menus) and over the "Interlisp" item (it also has sub-menus) and release the mouse button on the highlighted "Interlisp" item. It will then prompt you to position and size the new Exec window -- left button down to freeze the top-left corner and drag out the region and then release it to set the lower-right corner. Click in the window to give it the keyboard focus and then you can type at it.

tried again and it worked. You need to go to the tip of the '>' to get the menu to open. This is a X-Windows issue perhaps. But thanks again

@nbriggs
Copy link
Contributor

nbriggs commented Feb 22, 2022

Interlisp does all its own mouse handling so X isn't involved in anything but putting the Interlisp screen into one window on the display. It's working as intended: the hot-spot of the cursor must leave the highlighted item anywhere over the right edge of that item (not just the arrow tip) to get the sub-menu -- it's a little easier with a mouse (which the interaction was designed for) than with a trackpad.

@masinter
Copy link
Member

Is there a work-around using a trackpad or a magic mouse one-button we can recommend to online users?

@masinter
Copy link
Member

or even worse, a tablet with a touchscreen

@nbriggs
Copy link
Contributor

nbriggs commented Feb 22, 2022

It depends on your OS options... For macOS you can set options for generating the secondary (i.e., right) click as two-finger tap, or a particular corner of the trackpad. For the tablet you may be out of luck. Android has no right-click per se, though that function may come through from a long-press. Old iPads can't get to online.interlisp.org at all since their Safari is too old.

@fghalasz
Copy link
Member

The Online main page now gives the user a choice between an Interlisp exec window or a Common Lisp (actually XCL) exec window as the initial exec when starting up Interlisp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants