Re: Vip without [N]curses

2019-08-11 Thread Alexander Burger
On Sun, Aug 11, 2019 at 06:14:56PM +0200, Thorsten Jolitz wrote: > I do have that installed, but the for the library on that first > line it does not work, I can leave the first (/usr/bin ...) as is, but have > to change > the second entry (/usr/lib ...), otherwise I get a library-not-found error.

Re: Vip without [N]curses

2019-08-11 Thread Thorsten Jolitz
Alexander Burger writes: Hi Alex, >> (for termux I always have to adapt the first line in /bin/vip, >> i.e. replace /usr with termux $PREFIX, /data/data/com.termux/files/usr) > > This is no longer necessary if you install in Termux > >$ apt install termux-exec > > With that, hashbangs like #

Re: Vip without [N]curses

2019-08-11 Thread Thorsten Jolitz
Alexander Burger writes: Hi Alex, > It should be a problem only on the first bootstrap. After you > downloaded the *.s > files once and got a running system, it will self-build from that time on. I could fix this now, maybe a rather Archlinux specific problem. Fist I figured out, that java vers

Re: Vip without [N]curses

2019-08-11 Thread Alexander Burger
Hi Thorsten, our mails just crossed :) On Sun, Aug 11, 2019 at 04:56:59PM +0200, Thorsten Jolitz wrote: > Hi Geo, > > If nobody else has this problem, seems to be a local (java) thing. > Since new PicoLisp versions a coming quite frequently, I would prefer > not to fall back to alternative build

Re: Vip without [N]curses

2019-08-11 Thread Alexander Burger
Hi Thorsten, > thats very interesting, ncurses seemed to be a real curse so to say ... > I have > - version (19 7 31) on Android/termux > - version (19 8 9) on Win10/wsl > now, both seem to have that change, and both could be installed and > work Good to know! > (for termux I always have to

Re: Vip without [N]curses

2019-08-11 Thread Thorsten Jolitz
George Orais writes: Hi Geo, > I'm not sure but looking at those errors are coming from Java, so maybe > you can try the other two ways to build the 64bit: > > * Download one of the pre-generated "*.s" file packages > * Build a 32-bit version first, and use the resulting bin/picolisp to >

Re: Vip without [N]curses

2019-08-11 Thread George Orais
Hi Thorsten, I'm not sure but looking at those errors are coming from Java, so maybe you can try  the other two ways to build the 64bit: * Download one of the pre-generated "*.s" file packages* Build a 32-bit version first, and use the resulting bin/picolisp to     generate the "*.s" files:  BR,

Re: Vip without [N]curses

2019-08-11 Thread Thorsten Jolitz
Alexander Burger writes: Hi Alex, > more and more I got frustrated with all the quirks of Ncurses (as > discussed here > and in IRC), so I decided to abandon them, and implement Vip directly > with ANSI > escape sequences (VT-100). > > To my surprise this turned out quite easy, and the result is

Re: Vip without [N]curses

2019-08-02 Thread Alexander Burger
Hi all, On Wed, Jul 31, 2019 at 05:05:18PM +0200, Alexander Burger wrote: > > The wiki article says, that if I move to > > the command buffer and enter a Picolisp expression on a line of its own, > > then I can execute it by pressing Enter. > > Oh, sorry! The article is outdated in this regard.

Re: Vip without [N]curses

2019-07-31 Thread Wojciech Gac
Thanks Alex! This is exactly what I was missing :). Cheers, Wojtek W dniu środa, 31 lipca 2019 Alexander Burger napisał(a): > Hi Wojtek, > >> By the way, I wanted to clear a misunderstanding I seem to be having, >> regarding code evaluation in Vip. The wiki article says, that if I move to >> the

Re: Vip without [N]curses

2019-07-31 Thread Alexander Burger
Hi Wojtek, > By the way, I wanted to clear a misunderstanding I seem to be having, > regarding code evaluation in Vip. The wiki article says, that if I move to > the command buffer and enter a Picolisp expression on a line of its own, > then I can execute it by pressing Enter. Oh, sorry! The arti

Re: Vip without [N]curses

2019-07-31 Thread Wojciech Gac
By the way, I wanted to clear a misunderstanding I seem to be having, regarding code evaluation in Vip. The wiki article says, that if I move to the command buffer and enter a Picolisp expression on a line of its own, then I can execute it by pressing Enter. So what I did was, I entered the followi

Re: Vip without [N]curses

2019-07-31 Thread Alexander Burger
On Tue, Jul 30, 2019 at 10:41:40AM +0200, Alexander Burger wrote: > I tested on Termux, Tmux, XTerm and Linux Console. If anybody is interested, > it > is in the rolling picoLisp.tgz release :) Released an updated version now (19 7 31). Fixed some bugs - not directly related to the changes from

Re: Vip without [N]curses

2019-07-30 Thread Wojciech Gac
Ok, that did the trick. Turns out the variables were set, but not exported. Thanks, Wojtek wt., 30 lip 2019 o 13:26 Alexander Burger napisał(a): > On Tue, Jul 30, 2019 at 01:07:43PM +0200, Wojciech Gac wrote: > > Right. So my Bash has the two variables set and exported, but they do not > > prop

Re: Vip without [N]curses

2019-07-30 Thread Alexander Burger
On Tue, Jul 30, 2019 at 01:07:43PM +0200, Wojciech Gac wrote: > Right. So my Bash has the two variables set and exported, but they do not > propagate over to Picolisp, i.e. when I evaluate (sys "LINES"), i get NIL. > Any way to force pil to grab those variables? I have in my ~/.bashrc export C

Re: Vip without [N]curses

2019-07-30 Thread Wojciech Gac
Right. So my Bash has the two variables set and exported, but they do not propagate over to Picolisp, i.e. when I evaluate (sys "LINES"), i get NIL. Any way to force pil to grab those variables? Cheers, Wojtek wt., 30 lip 2019 o 12:57 Alexander Burger napisał(a): > On Tue, Jul 30, 2019 at 12:33

Re: Vip without [N]curses

2019-07-30 Thread Alexander Burger
On Tue, Jul 30, 2019 at 12:51:43PM +0200, Alexander Burger wrote: > I think in your environment these variables are not set or not exported. I added a check upon startup. ☺/ A!ex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: Vip without [N]curses

2019-07-30 Thread Alexander Burger
On Tue, Jul 30, 2019 at 12:33:15PM +0200, Wojciech Gac wrote: > I know, but the invocation I mentioned worked for me before. The invocation > from your email doesn't work either. Same error as before. I see from > > > [/usr/local/bin/vip:6] !? (need X (chop (next)) " ") that it happens in 'align

Re: Vip without [N]curses

2019-07-30 Thread Wojciech Gac
I know, but the invocation I mentioned worked for me before. The invocation from your email doesn't work either. Same error as before. Cheers, Wojtek wt., 30 lip 2019 o 12:13 Alexander Burger napisał(a): > Hi Wojtek, > > > Hmm... When running Vip (both with and without "+"), I get a reversed >

Re: Vip without [N]curses

2019-07-30 Thread Alexander Burger
Hi Wojtek, > Hmm... When running Vip (both with and without "+"), I get a reversed video > Picolisp prompt. When I exit with a (bye), I get the following error > message: > > [/usr/local/bin/vip:6] !? (need X (chop (next)) " ") > NIL -- Small number expected The invocation did not change. You c

Re: Vip without [N]curses

2019-07-30 Thread Wojciech Gac
Hmm... When running Vip (both with and without "+"), I get a reversed video Picolisp prompt. When I exit with a (bye), I get the following error message: [/usr/local/bin/vip:6] !? (need X (chop (next)) " ") NIL -- Small number expected Cheers, Wojtek wt., 30 lip 2019 o 11:10 Wojciech Gac napisa

Re: Vip without [N]curses

2019-07-30 Thread Wojciech Gac
Great news! I also found it increasingly annoying, even on the user side, that on various systems getting Vip to run correctly was not always easy. Giving it a try right now. Cheers, Wojtek wt., 30 lip 2019 o 10:48 Alexander Burger napisał(a): > Hi all, > > more and more I got frustrated with

Vip without [N]curses

2019-07-30 Thread Alexander Burger
Hi all, more and more I got frustrated with all the quirks of Ncurses (as discussed here and in IRC), so I decided to abandon them, and implement Vip directly with ANSI escape sequences (VT-100). To my surprise this turned out quite easy, and the result is both smaller and simpler! I tested on T