[ sent this the first time not from the right mail account ]
roger purves wrote:
I didn't understand why (car '(a b c)) returned 'a. See below. Is
it
because Scheme 48 is different from other Schemes? Or perhaps
s48 happens to quote most values in the interactive system. In your
example,
both this and other Schemes return the symbol small A, but whereas other
Schemes might display simply: a (the external representation of the
symbol),
s48 adds the quote: 'a.
2. This is the second Scheme I have tried to get working under
Terminal.
In each case, using the "delete' key to backspace and delete has
failed to work under the Scheme prompt. (But it does work when
typing in straight unix commands). Is there something wrong
with Terminal?
Backspace works for me in Terminal 1.4.6, Mac OS X 10.3.9. In general,
programs may perform an insiduously defective terminal control in order
to frustrate their users, but this being not the case here, you may want
to check the Terminal preferences, Emulation.
I'd recommend to program and run scsh or s48 in the Emacs editor,
the Terminal version "emacs" shipping with the Apple developer tools
or more comfortably an Emacs.app such as the Carbon build available
at Mindlube.com, http://www.mindlube.com/download/index.html
(Using terminal emacs and the usual Apple keyboard layout, you will
soon feel the need for a more reachable Meta replacement than Esc.
Choose Alt or Cmd in the Terminal preferences, Emulation.)
rthappe
|