|
Hi Alexey, I do not think this is a good idea. I believe many people will be surprised if ⎕PW is different from 80. And GNU APL does not necessarily run in a terminal. In my experience, the terminal width is a fairly unreliable parameter on many platforms, and adjusting ⎕PW automatically is asking for trouble. So for the sake of compatibility and the principle of least surprises, I leave ⎕PW at 80. Please not also that negative ⎕FIO arguments are not protable and not available on all platforms (that's why they are not documented). Most people do not put things in ⎕LX directly but have some larger APL function that is called from ⎕LX. So an extra line in that function which sets ⎕PW is probably the better solution. /// Jürgen On 12/24/2016 10:13 AM, Alexey
Veretennikov wrote:
Thanks! Both versions works for me on OSX, however on my small linux box tput is not available while ⎕FIO¯8 works fine.Jurgen, maybe it could be added as a default configuration for GNU APL interpreter? From usability point it rather confusing to set this variable manually (right now I did it in ⎕LX in CONTINUE workspace) Christian Robert <[email protected]> writes:⎕fio ¯8 200 undocumented ⎕fio ¯8 give you the window width, Xtian. On 2016-12-23 19:43, Kacper Gutowski wrote:On Sat, Dec 24, 2016 at 12:14:41AM +0100, Alexey Veretennikov wrote:I'm running GNU APL in the X terminal with geometry 48x15 (it is a small screen). How could I set this width(48) to the GNU APL interpreter so it will behave correctly on deletion of characters in long lines etc? |
- [Bug-apl] How to set the screen width in APL interpret... Alexey Veretennikov
- Re: [Bug-apl] How to set the screen width in APL ... Kacper Gutowski
- Re: [Bug-apl] How to set the screen width in ... Christian Robert
- Re: [Bug-apl] How to set the screen width... Alexey Veretennikov
- Re: [Bug-apl] How to set the screen w... Juergen Sauermann
- Re: [Bug-apl] How to set the scr... Alexey Veretennikov
- Re: [Bug-apl] How to set the... Juergen Sauermann
