----------------------------------------------------------------------------------
@MSGID: 1@dont-email.me> f69ba20e
@REPLY: 1@dont-email.me> 86be7d14
@REPLYADDR Janis Papanagnou
<janis_papanagnou+ng@hotmail.com>
@REPLYTO 2:5075/128 Janis Papanagnou
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID: 1@dont-email.me>
@RFC-References: <20230803112254.131@kylheku.com>
1@dont-email.me> <20230804101131.699@kylheku.com> 1@dont-email.me>
<20230805084100.353@kylheku.com> 1@dont-email.me>
@TZUTC: 0200
@PID: Mozilla/5.0 (X11; Linux x86_64; rv:45.0)
Gecko/20100101 Thunderbird/45.8.0
@TID: FIDOGATE-5.12-ge4e8b94
On 08.08.2023 03:57, Janis Papanagnou wrote:
> [...a Kornshell variant of "basta"...]
>
> namespace kosta
> {
> typeset -i rows=${LINES} cols=${COLUMNS}
When installing the module to be sourced during .profile/.kshrc
initialization I noticed that these two shell variables aren`t
yet defined at that instance of time (which at least initially
produced some weird output once before the first hit of
).
Therefore I changed that in the code to
typeset -i rows cols
stty size | read rows cols
> [...]
> } # namespace kosta
>
Janis
--- Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
* Origin: A noiseless patient Spider (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5075/128
@PATH: 5075/128 5020/1042 4441