Re: scheme shells (was Re: Failing to use guile-bash)

2018-12-02 Thread Ludovic Courtès
Hello,

Giovanni Biscuolo  skribis:

> unfortunately the project is currently retired:
> https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/guile.scm#n1751
> «
>;; This project is currently retired.  It was initially announced here:
>;; .
> »
>
> and the git repo appears to be deleted
>
>  
> https://anonscm.debian.org/cgit/users/kaction-guest/retired/dev.guile-bash.git

The good news is that the code has been archived by Software Heritage:

--8<---cut here---start->8---
scheme@(guile-user)> ,use(guix swh)
scheme@(guile-user)> ,use(guix git-download)
scheme@(guile-user)> ,use(guix)
scheme@(guile-user)> ,use(gnu packages guile)
scheme@(guile-user)> (lookup-revision (git-reference-commit
   (origin-uri (package-source 
guile-bash
$11 = #< id: "1eabc563ca5692b3e08d84f1f0e6fd2283284469" date: # directory: "ad8976564375ee55f645387bbcdf4b66e6582fbf" 
directory-url: "/api/1/directory/ad8976564375ee55f645387bbcdf4b66e6582fbf/">
scheme@(guile-user)> (revision-directory $11)
$12 = "ad8976564375ee55f645387bbcdf4b66e6582fbf"
scheme@(guile-user)> (query-vault $12 'directory)
$13 = #< id: 3296879 fetch-url: 
"/api/1/vault/directory/ad8976564375ee55f645387bbcdf4b66e6582fbf/raw/" 
object-id: "ad8976564375ee55f645387bbcdf4b66e6582fbf" object-type: directory 
progress-message: #nil status: done>
--8<---cut here---end--->8---

So you can download a tarball from
.

In other news, you may be interested in Gash:

  https://gitlab.com/janneke/gash/

It’s a different project (a POSIX shell written in Guile rather than a
Scheme shell) but it’s probably relevant.  :-)

Thanks,
Ludo’.



scheme shells (was Re: Failing to use guile-bash)

2018-11-30 Thread Giovanni Biscuolo
Hi David,

David Larsson  writes:

> Hi,
> I installed the guile-bash package and tried to use it as below but 
> can't get it to work. Anyone who is successfully using it?

unfortunately the project is currently retired:
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/guile.scm#n1751
«
   ;; This project is currently retired.  It was initially announced here:
   ;; .
»

and the git repo appears to be deleted

 https://anonscm.debian.org/cgit/users/kaction-guest/retired/dev.guile-bash.git

unfortunately the other project guile-scsh (Guile Scheme Shell) is
bitrotten according to this
https://www.gnu.org/software/guile/manual/html_node/The-Scheme-shell-_0028scsh_0029.html

so the two projects I'm aware of are unmaintained :-( (I'm still not able to
even think contributing)

going a *little bit* OT...

(**disclaimer**: I'm an Emacs newbie _addicted_ so I'm much biased

a possible alternative I can suggest you is to explore Eshell [1], the
Emacs eshell: it's not a POSIX shell replacement but it's an interesting
interface to our operating system, and we can script it [2]

on this matter I found an interesting (long) article worth reading
https://web.archive.org/web/20181014151102/https://ambrevar.xyz/emacs-eshell/

«Back in the days, VT-like terminals were our main mean of communicating
with a machine. Decades went by, our desktop computers can now handle
gigabytes of buffering and display in 24-bit colors, and yet we still
stick to terminal emulators, that is, programs that emulate the
restrictions of those ancient machines. »

DANGER: that article made me more Emacs addicted

HTH!
Gio

[...]

[1] 
https://www.gnu.org/software/emacs/manual/html_node/eshell/Introduction.html#Introduction

[2] https://www.gnu.org/software/emacs/manual/html_node/eshell/Scripts.html

-- 
Giovanni Biscuolo

Xelera IT Infrastructures


signature.asc
Description: PGP signature