NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RE: lib/57376: libedit tab completion escapes spaces



The following reply was made to PR lib/57376; it has been noted by GNATS.

From: Jorge Giner Cordero <jorge.giner%hotmail.com@localhost>
To: "gnats-bugs%netbsd.org@localhost" <gnats-bugs%netbsd.org@localhost>
Cc: "lib-bug-people%netbsd.org@localhost" <lib-bug-people%netbsd.org@localhost>,
	"gnats-admin%netbsd.org@localhost" <gnats-admin%netbsd.org@localhost>, "netbsd-bugs%netbsd.org@localhost"
	<netbsd-bugs%netbsd.org@localhost>, Christos Zoulas <christos%zoulas.com@localhost>
Subject: RE: lib/57376: libedit tab completion escapes spaces
Date: Mon, 24 Apr 2023 18:56:39 +0000

 --_000_GV1P194MB1906D18445B822D2DAB53B84E3679GV1P194MB1906EURP_
 Content-Type: text/plain; charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable
 
 I've uploaded a new version of bas55 in case you want to check with readlin=
 e. Note that nothing changes in the source, I only enable --with-readline i=
 n the configure.ac that generates the configure script, to link with readli=
 ne instead of libedit, that's all.
 
 wget https://jorgicor.niobe.org/bas55/bas55-1.20.tar.gz
 tar -xvzf bas55-1.20.tar.gz
 cd bas55-1.20
 ./configure --with-libedit
 make
 src/bas55
 10 print "hello"
 LIST
 10 PRINT "HELLO"
 10<TAB>
 10\ PRINT \"HELLO\"
 quit
 
 Now with GNU readline, I assume it is installed through pkgin. I'm sorry, I=
  don't use NetBSD very often and adding these LDFLAGS is my only idea to ma=
 ke this copmile and run, I don't know if there is another better way to do =
 it. Anyway, it works:
 
 ./configure LDFLAGS=3D"-L/usr/pkg/lib -Wl,-R/usr/pkg/lib" --with-readline
 make
 src/bas55
 10 print "hello"
 10<TAB>
 10 PRINT "HELLO"
 
 --_000_GV1P194MB1906D18445B822D2DAB53B84E3679GV1P194MB1906EURP_
 Content-Type: text/html; charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable
 
 <html>
 <head>
 <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
 1">
 <style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
 ttom:0;} </style>
 </head>
 <body dir=3D"ltr">
 <div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
 s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 I've uploaded a new version of bas55 in case you want to check with readlin=
 e. Note that nothing changes in the source, I only enable --with-readline i=
 n the configure.ac that generates the configure script, to link with readli=
 ne instead of libedit, that's all.<br>
 </div>
 <div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
 s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 <br>
 </div>
 <div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
 s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 wget <a href=3D"https://jorgicor.niobe.org/bas55/bas55-1.20.tar.gz"; id=3D"L=
 Plnk549258">
 https://jorgicor.niobe.org/bas55/bas55-1.20.tar.gz</a></div>
 <div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
 s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 tar -xvzf bas55-1.20.tar.gz</div>
 <div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
 s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 cd bas55-1.20</div>
 <div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
 s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 ./configure --with-libedit</div>
 <div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
 s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 make</div>
 <div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
 s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 src/bas55</div>
 <div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
 s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 10 print &quot;hello&quot;</div>
 <div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
 s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 LIST</div>
 <div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
 s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 10 PRINT &quot;HELLO&quot;</div>
 <div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
 s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 10&lt;TAB&gt;</div>
 <div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
 s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 10\ PRINT \&quot;HELLO\&quot;</div>
 <div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
 s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 quit</div>
 <div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
 s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 <br>
 </div>
 <div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
 s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 Now with GNU readline, I assume it is installed through pkgin. I'm sorry, I=
  don't use NetBSD very often and adding these LDFLAGS is my only idea to ma=
 ke this copmile and run, I don't know if there is another better way to do =
 it. Anyway, it works:</div>
 <div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
 s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 <br>
 </div>
 <div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
 s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 ./configure LDFLAGS=3D&quot;-L/usr/pkg/lib -Wl,-R/usr/pkg/lib&quot; --with-=
 readline</div>
 <div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
 s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 make</div>
 <div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
 s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 src/bas55</div>
 <div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
 s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 10 print &quot;hello&quot;</div>
 <div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
 s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 10&lt;TAB&gt;</div>
 <div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
 s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 10 PRINT &quot;HELLO&quot;</div>
 </body>
 </html>
 
 --_000_GV1P194MB1906D18445B822D2DAB53B84E3679GV1P194MB1906EURP_--
 



Home | Main Index | Thread Index | Old Index