scheme / scsh

A Unix shell embedded in scheme
Other
386 stars 36 forks source link

signals? #12

Closed michael-heerdegen closed 10 years ago

michael-heerdegen commented 10 years ago

Hello,

sorry if this is a dumb question, but I can't find an answer in the manual. I compiled scsh from the git repo.

The manual says that signals are bound to variables `signal/hup' etc, but those variables are not bound for me. What am I missing? -- Thanks!

roderyc commented 10 years ago

Hey there Micheal, sorry about that. Documentation for the version in this repository is coming.

I've changed the signal related APIs that scsh will be exporting. The signal/* stuff is replaced with the signal syntax from scheme48's posix library (see http://s48.org/1.9/manual/manual-Z-H-10.html#node_sec_9.2).

I'll try to include a document that lists changes like this, for people who are familiar with the older APIs.

michael-heerdegen commented 10 years ago

Hi Roderic,

I see, thanks. Actually, I had tried to evaluate `signal', but it was not bound (because it is syntax). Tried now

(signal term)

and it works!

BTW, I read https://github.com/rmloveland/scsh-manual-texinfo for learning scsh. Do you know whether it is outdated wrt other topics? Anyway, learning scsh with some outdated docs is still much nicer than using bash.

Regards!

roderyc commented 10 years ago

There are several topics it's outdated for, unfortunately. That work is based on the documentation for scsh 0.6.7. This release will be for the next major version, which has extensive changes. The document I mentioned will enumerate those changes.