Interlisp / medley

The main repo for the Medley Interlisp project. Wiki, Issues are here. Other repositories include maiko (the VM implementation) and Interlisp.github.io (web site sources)
https://Interlisp.org
MIT License
370 stars 19 forks source link

TExec logs out of session when output fills the window #1200

Open pamoroso opened 1 year ago

pamoroso commented 1 year ago

Describe the bug When in TExec I evaluate a form whose output fills the window, I'm logged out of the session.

To Reproduce Steps to reproduce the behavior:

  1. sign into your Interlisp Online account
  2. under Initial Exec, select Interlisp
  3. click Run Medley
  4. at the Exec, evaluate (FILESLOAD TEXEC)
  5. from the background menu, select TEXEC
  6. connect to a directory with lots of files
  7. at the TExec prompt, evaluate DIR

Expected behavior The full output of DIR is displayed and the session doesn't terminate.

Screenshots N/A

Context (please complete the following information):

Additional context The issue apparently occurs with any Lisp form or Exec command that produces enough output to fill the TExec window.

pamoroso commented 1 year ago

This seems to be happening only when a single command produces more output than fits the window. Evaluating a sequence of Lisp forms displays their output and scrolls the window as expected without logging out of the session.

pamoroso commented 1 year ago

Another command that triggers the issue is SEE when the argument is a file with enough data to fill the window.

rmkaplan commented 1 year ago

I have never been able to get TEXEC to work at all—has always crashed on the first input when I have tried it. So you are already having a better experience. But I think it was never really completed and debugged. It is on my list to look into, now that I understand much more of how Tedit operates.

It may also be that there is a ligher-weight implementation for scrolling, based on the OBJECTWINDOW package in lispusers/—each input can be wrapped in a separate little image object.

On May 9, 2023, at 11:45 AM, Paolo Amoroso @.***> wrote:

Another command that triggers the issue is SEE when the argument is a file with enough data to fill the window.

— Reply to this email directly, view it on GitHub https://github.com/Interlisp/medley/issues/1200#issuecomment-1540709375, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQSTUJN2IF3Z5DSDSSA3ZETXFKGGBANCNFSM6AAAAAAXY37AUY. You are receiving this because you are subscribed to this thread.

masinter commented 1 year ago

There are some kinds of bugs that cause the Lisp system to stop in a debugger called "uRAID" -- but that isn't directly available to people running online, so all you see is a crash.

There might be a way of starting an online session by connecting to the XTerm service and starting Medley that way.

pamoroso commented 1 year ago

Makes sense, thanks Ron and Larry.