Re: Build original Csh on Linux and FreeBSD.

2022-09-12 Thread Michael van Elst
h...@spg.tu-darmstadt.de (Hauke Fath) writes: >[hf@Gstoder] ~ > csh >[ 3270305.6523634] load: 0.23 cmd: csh 21649 [ttyraw] 0.00u 0.00s 0% 2252k >Ah well... Doesn't "hang", but doesn't prompt. Despite el_set(el, EL_PROMPT, printpromptstr); the function printpromptstr isn't called.

Re: Build original Csh on Linux and FreeBSD.

2022-09-12 Thread Hauke Fath
On 9/12/22 2:07 PM, Hauke Fath wrote: On 9/7/22 1:52 AM, RVP wrote: Anyway, since NetBSD csh is compiled with -DEDIT, try `set filec edit'. Then, you can use libedit for standard Emacs-style of line-editing, and tab for filename completion. Heh! Since when are we doing that!? Thanks!

Re: Build original Csh on Linux and FreeBSD.

2022-09-12 Thread Hauke Fath
On 9/7/22 1:52 AM, RVP wrote: Anyway, since NetBSD csh is compiled with -DEDIT, try `set filec edit'. Then, you can use libedit for standard Emacs-style of line-editing, and tab for filename completion. Heh! Since when are we doing that!? Thanks! Cheerio, Hauke -- The ASCII Ribbon

Re: Build original Csh on Linux and FreeBSD.

2022-09-06 Thread RVP
On Mon, 5 Sep 2022, Matheus wrote: I modified the sources from the Debian repository so to build on Bionic/Linux [Android]. The backspace issue is present there as well. The backspace issue is seen on NetBSD and /bin/csh as well--if you run it on the _console_ as a regular user. If you run

Re: Build original Csh on Linux and FreeBSD.

2022-09-05 Thread Matheus
Thanks for the help. I modified the sources from the Debian repository so to build on Bionic/Linux [Android]. The backspace issue is present there as well. http://bwass.org/bucket/IMG_20220905_204034.jpg > > Here are the errors I get: http://bwass.org/bucket/err_csh.txt > > > A very quick

Re: Build original Csh on Linux and FreeBSD.

2022-09-04 Thread MJ
On 5/09/2022 12:05 am, Matheus wrote: Tried three sources, from Debian, NetBSD and OpenBSD, but no luck. I can run the Debian binary, but really wish to build the sources. Here are the errors I get: http://bwass.org/bucket/err_csh.txt That looks like openbsd source, as it seems

Re: Build original Csh on Linux and FreeBSD.

2022-09-04 Thread RVP
Here are the errors I get: http://bwass.org/bucket/err_csh.txt A _very_ quick hack to compile NetBSD csh on FreeBSD is attached. Linux would be slightly more complicated (you would need libbsd, libedit, ...). It should get your started. There are issues with cmdline editing--try completing

Re: Build original Csh on Linux and FreeBSD.

2022-09-04 Thread Matheus
Tried three sources, from Debian, NetBSD and OpenBSD, but no luck. I can run the Debian binary, but really wish to build the sources. Here are the errors I get: http://bwass.org/bucket/err_csh.txt John suggested Slackware's sources, but I haven't tried yet. > > On 3/09/2022 8:26 pm, Matheus

Re: Build original Csh on Linux and FreeBSD.

2022-09-03 Thread MJ
On 3/09/2022 8:26 pm, Matheus wrote: Csh is a hard-link to Tcsh in FreeBSD. NetBSD contains the sources of the original Csh, but FreeBSD doesn't. https://www.freebsd.org/cgi/man.cgi?query=csh https://man.netbsd.org/csh I was hoping I could build Csh's sources under other Unix systems, but

Re: Build original Csh on Linux and FreeBSD.

2022-09-03 Thread John McCue
On Fri, Sep 02, 2022 at 07:21:57PM +, Matheus wrote: Hello. I'd like to know if it's possible to build Csh (not Tcsh) on Linux and FreeBSD. Pkgsrc doesn't have the sources for Csh, though they're found in the system's sources, located in bin/csh. For Linux see this:

Re: Build original Csh on Linux and FreeBSD.

2022-09-03 Thread Matheus
Csh is a hard-link to Tcsh in FreeBSD. NetBSD contains the sources of the original Csh, but FreeBSD doesn't. https://www.freebsd.org/cgi/man.cgi?query=csh https://man.netbsd.org/csh I was hoping I could build Csh's sources under other Unix systems, but that seems inviable. Original

Re: Build original Csh on Linux and FreeBSD.

2022-09-03 Thread MJ
On 3/09/2022 5:21 am, Matheus wrote: Hello. I'd like to know if it's possible to build Csh (not Tcsh) on Linux and FreeBSD. Pkgsrc doesn't have the sources for Csh, though they're found in the system's sources, located in bin/csh. There's a package in Debian's repository, but doesn't

Build original Csh on Linux and FreeBSD.

2022-09-03 Thread Matheus
Hello. I'd like to know if it's possible to build Csh (not Tcsh) on Linux and FreeBSD. Pkgsrc doesn't have the sources for Csh, though they're found in the system's sources, located in bin/csh. There's a package in Debian's repository, but doesn't build, and many errors pop up when building on