Ivan Shmakov | 20 Sep 13:29 2005
Picon

scheme48-1.3/Makefile.in: support for DESTDIR

	Nowadays, many source packages support DESTDIR make variable.
	Considering that such support is oftenly useful for packaging
	purposes, I've wrote this obvious patch.

--- /usr/src/scheme48-1.3/Makefile.in.~2005-09-20~	2005-05-22 21:06:14.000000000 +0700
+++ /usr/src/scheme48-1.3/Makefile.in	2005-09-20 18:23:30.000000000 +0700
 <at>  <at>  -290,40 +290,41  <at>  <at> 
 	 inst-script-interpreters

 inst-vm:
-	$(INSTALL_PROGRAM) $(VM) $(LIB)
+	$(INSTALL_PROGRAM) $(VM) $(DESTDIR)$(LIB)

 inst-image:
 	rm -f '/tmp/$(IMAGE)' &&					\
 	$(srcdir)/build/build-usual-image $(srcdir) '$(LIB)'            \
 	         '/tmp/$(IMAGE)' './$(VM)' '$(INITIAL)' &&		\
-	$(INSTALL_DATA) /tmp/$(IMAGE) $(LIB) &&				\
+	$(INSTALL_DATA) /tmp/$(IMAGE) $(DESTDIR)$(LIB) &&		\
 	rm /tmp/$(IMAGE)

 inst-man:
-	$(srcdir)/mkinstalldirs $(mandir)
+	$(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)
 	sed 's=LBIN=$(bindir)=g' $(srcdir)/doc/scheme48.man |	   \
 		sed 's=LLIB=$(LIB)=g' |				   \
 		sed 's=LS48=$(RUNNABLE)=g' >$(MANPAGE) &&	   \
-	$(INSTALL_DATA) $(MANPAGE) $(mandir) &&			   \
+	$(INSTALL_DATA) $(MANPAGE) $(DESTDIR)$(mandir) &&	   \
 	rm $(MANPAGE);						   \
(Continue reading)

James Graves | 24 Sep 15:17 2005

Changes to Scheme 48 module system?

Howdy all,

I vaguely recall there was a mention on this list that some changes were
planned for the Scheme 48 module system.  But I don't remember what
exaxtly was planned, and when that was going to happen.

I would appreciate it if someone could refresh my memory.  I'll save the
e-mail this time.  :-)

Thanks,

James Graves

James Graves | 24 Sep 15:55 2005

Backspace in the REPL with Cygwin

Howdy,

I just compiled Scheme 48 v1.3 under a recent install of Cygwin.  It
seems to compile and run just fine.  However, the backspace key doesn't
seem to be working in the REPL.  I type it in, and nothing happens,
no characters are erased.

I'm using the default shell (bash) in Cygwin, and 'stty -a' reports that
erase is set to Ctrl-H, as usual.  On the command line, both the
Backspace key and Ctrl-H work.

Has anyone else seen this?

Thanks,

James Graves

RT Happe | 24 Sep 19:46 2005
Picon

Re: Backspace in the REPL with Cygwin

James Graves wrote:
> I just compiled Scheme 48 v1.3 under a recent install of Cygwin.  It
> seems to compile and run just fine.  However, the backspace key doesn't
> seem to be working in the REPL.  I type it in, and nothing happens,
> no characters are erased.

No direct answer, but a description why such things go wrong:

     http://www.tldp.org/HOWTO/BackspaceDelete/why.html

Other related documents are listed on the scsh how-to page,

     * if special keys (Backspace/Delete) don't work at the scsh prompt
     http://www.scsh.net/docu/howto.html

rthappe

RT Happe | 24 Sep 20:08 2005
Picon

Changes to Scheme 48 module system?

[ Resend from the right mail account ]

Begin forwarded message:
> James Graves wrote:
>> I would appreciate it if someone could refresh my memory.  I'll save 
>> the
>> e-mail this time.  :-)
>
> Gmane has saved old messages for you.  Search for the answer in
>
>     gmane.lisp.scheme.scheme48
>
>
> rthappe

James Graves | 25 Sep 04:29 2005

Re: Backspace in the REPL with Cygwin

Revewing the material on the scsh.net site, I didn't find anything
useful.

I started digging through the sources for Scheme 48 to see if it was
doing something wacky like turning off input processing, but I didn't
find anything that seemed to do anything about the terminal.  Though, of
course, somewhere it has to do something to put the terminal in raw mode
so that it can do character by character processing.

So I fired up Cygwin's Xserver and an xterm, and backspace works in the
REPL just fine there.  But curiously, Ctrl-D doesn't.

Ctrl-C and Ctrl-\ (to force a core dump) work in both the xterm and the
cygwin console.

Strange, huh?

James Graves

RT Happe | 25 Sep 10:10 2005
Picon

Re: Changes to Scheme 48 module system?

James Graves wrote:
> I would appreciate it if someone could refresh my memory.  I'll save 
> the
> e-mail this time.  :-)

Gmane has saved old messages for you.  Search for the answer in

     gmane.lisp.scheme.scheme48

rthappe

Emilio Lopes | 25 Sep 10:10 2005
Picon
Picon

`trace' and module procedures

Look at this:

   Welcome to Scheme 48 1.3 (made by root on Mon Aug  1 20:34:22 CEST 2005)
   Copyright (c) 1993-2005 by Richard Kelsey and Jonathan Rees.
   Please report bugs to scheme-48-bugs <at> s48.org.
   Get more information at http://www.s48.org/.
   Type ,? (comma question-mark) for help.
   > ,bound? foo
   Not bound
   > ,new-package
   224> (define (foo x) (* 2 x))
   ; no values returned
   224> ,structure bar (export foo)
   bar> ,user
   > ,bound? foo
   Not bound
   > ,open bar
   > ,bound? foo
   Bound to #(#{Type :value #f #f} #{Location 6055 foo bar} #f)
   > (foo 21)
   42

So far, so good.  Now I want to trace the procedure `foo':

   > ,trace foo
   > (foo 21)
   [Enter (foo 21)
    Leave foo 42]
   42
   > ,bound? foo
(Continue reading)

Michael Sperber | 25 Sep 10:13 2005
Picon

Re: Backspace in the REPL with Cygwin


We never got around to tracking the source of the problem, but ...

any special reason you're not using the native Windows version?

--

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

James Graves | 26 Sep 18:32 2005

SWIG and Scheme 48


Howdy all,

I'll be needing to use GNU TLS and/or OpenSSL with Scheme 48 soon.

Rather than writing the interfaces by hand, it seems like a good idea to
use SWIG instead.  However, Scheme 48 doesn't seem to be officially
supported.

Is this on anyone's roadmap?  If not, I'll attempt to create support for
it myself.  Theoretically, it shouldn't be too hard, as three other
Schemes are already supported.

Thanks,

James Graves


Gmane