[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-apl] How to set the screen width in APL interpreter
From: |
Alexey Veretennikov |
Subject: |
Re: [Bug-apl] How to set the screen width in APL interpreter |
Date: |
Sat, 24 Dec 2016 10:13:42 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin) |
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 <address@hidden> 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?
>>
>> Setting print width affects line editing as well. It should wrap
>> correctly if you set ⎕PW to the width of your terminal.
>>
>> ⎕PW←⍎↑⍎')HOST tput cols'
>>
>> Sometimes I wish GNU APL did this automatically on WINCH.
>>
>> -k
>>
>
--
Br,
/Alexey