Re: Newbie question

From: Vincent <b21enu_at_gmail.com>
Date: Sun, 16 Apr 2017 11:01:06 +0200

Great! Thanks!
This is now my main shell!


On Sun, Apr 16, 2017 at 10:37 AM, Laurent Bercot
<ska-skaware_at_skarnet.org> wrote:
>> What I am trying to write, is a minimal interpreter read-eval loop,
>> which gets its $INPUT from /dev/tty.
>
>
> How about this?
>
> redirfd -r 0 /dev/tty
> forstdin -d"\n" LINE
> importas -u LINE LINE
> execlineb -c $LINE
>
> --
> Laurent
>
Received on Sun Apr 16 2017 - 09:01:06 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC