Re: Quad-PW on macOS

2024-12-25 Thread Christian Robert
In most of my workspaces I have a ⎕LXsystem variable and one of the function I use is to set ⎕PW on the window size. ⎕LX ⎕RL←⎕FIO["random"] 8 ⋄ ⎕PW←⎕FIO ¯8 ⋄ ⊣"libedif.so.0" ⎕FX "vi"     Xtian. On 2024-12-25 10:15, Elias Mårtenson wrote: You can actually r

Re: Quad-PW on macOS

2024-12-25 Thread Elias Mårtenson
You can actually request the terminal size. Unfortunately, the syntax to do that is not standardised, but on Linux you can use TIOCGWINSZ. See the documentation here: https://man.archlinux.org/man/core/man-pages/TIOCGWINSZ.2const.en Here's what the stty command does to read this infomration: stat

Re: Quad-PW on macOS

2024-12-25 Thread M.Hall
Thank you! Happy end-of-year holidays, everyone! On Wed, Dec 25, 2024 at 6:46 AM Dr. Jürgen Sauermann < mail@jürgen-sauermann.de> wrote: > Hi Mike, > > I have applied your patches - *SVN 1806*. > > A general problem with the SIGWINCH signal is that it is not emitted when > the apl interpreter > s

Re: Quad-PW on macOS

2024-12-25 Thread Dr . Jürgen Sauermann
Hi Mike, I have applied your patches - *SVN 1806*. A general problem with the SIGWINCH signal is that it is not emitted when the apl interpreter starts up (which make sense because the windows is not resized at that point in time). One could think of asking the window manager for the current