Commit of 3.99.1 version
This commit is contained in:
+2
-3
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# Author: Erick Gallesio [eg@unice.fr]
|
||||
# Creation date: 21-Oct-1994 11:25
|
||||
# Last file update: 30-Oct-1996 12:00
|
||||
# Last file update: 20-Apr-1998 21:43
|
||||
|
||||
|
||||
include ../../config.make
|
||||
@@ -61,11 +61,10 @@ install.man:
|
||||
for i in *.n ;do \
|
||||
$(CP) $$i $(MANN_DIR)/stk_$$i; \
|
||||
done
|
||||
../../Src/test-stk -no -file make-link $(MANN_DIR)
|
||||
# ../../Src/test-stk -no -file make-link $(MANN_DIR)
|
||||
|
||||
clean:
|
||||
rm -f *~
|
||||
|
||||
very-clean: clean
|
||||
rm -f *.ps
|
||||
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
make-image.n
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
make-image.n
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
make-image.n
|
||||
@@ -1,21 +0,0 @@
|
||||
;;;;
|
||||
;;;; This file contains data for make-link.stk.
|
||||
;;;;
|
||||
;;;; Copyright © 1996-1997 Erick Gallesio - I3S-CNRS/ESSI <eg@unice.fr>
|
||||
;;;;
|
||||
;;;; Permission to use, copy, and/or distribute this software and its
|
||||
;;;; documentation for any purpose and without fee is hereby granted, provided
|
||||
;;;; that both the above copyright notice and this permission notice appear in
|
||||
;;;; all copies and derived works. Fees for distribution or use of this
|
||||
;;;; software or derived works may only be charged with express written
|
||||
;;;; permission of the copyright holder.
|
||||
;;;; This software is provided ``as is'' without express or implied warranty.
|
||||
;;;;
|
||||
;;;; Author: Erick Gallesio [eg@unice.fr]
|
||||
;;;; Creation date: 30-Oct-1996 11:27
|
||||
;;;; Last file update: 17-Sep-1997 22:01
|
||||
;;;;
|
||||
|
||||
(define *links* '(
|
||||
("create-image" "find-image" "change-image" "delete-image")
|
||||
))
|
||||
@@ -1,31 +0,0 @@
|
||||
;;;;
|
||||
;;;; This script is executed for linking manual pages which are identical
|
||||
;;;; Data are taken in the "links.stk" file
|
||||
;;;;
|
||||
;;;; Copyright © 1996 Erick Gallesio - I3S-CNRS/ESSI <eg@unice.fr>
|
||||
;;;;
|
||||
;;;; Permission to use, copy, and/or distribute this software and its
|
||||
;;;; documentation for any purpose and without fee is hereby granted, provided
|
||||
;;;; that both the above copyright notice and this permission notice appear in
|
||||
;;;; all copies and derived works. Fees for distribution or use of this
|
||||
;;;; software or derived works may only be charged with express written
|
||||
;;;; permission of the copyright holder.
|
||||
;;;; This software is provided ``as is'' without express or implied warranty.
|
||||
;;;;
|
||||
;;;; Author: Erick Gallesio [eg@unice.fr]
|
||||
;;;; Creation date: 30-Oct-1996 11:27
|
||||
;;;; Last file update: 30-Oct-1996 12:32
|
||||
;;;;
|
||||
|
||||
(load "links.stk")
|
||||
|
||||
(define (make-link dir source destination)
|
||||
(for-each (lambda (x)
|
||||
(let ((cmd (format #f "cd ~A; rm -f stk_~A.n; ln stk_~A.n stk_~A.n"
|
||||
dir x source x)))
|
||||
(system cmd)))
|
||||
destination))
|
||||
|
||||
(for-each (lambda (l) (make-link (car *argv*) (car l) (cdr l)))
|
||||
*links*)
|
||||
(exit 0)
|
||||
@@ -0,0 +1,45 @@
|
||||
'\" Color=Green
|
||||
'\"
|
||||
'\"
|
||||
.so STk-man.macros
|
||||
.TH repl-display-prompt n 3.99 STk "STk procedure"
|
||||
.BS
|
||||
'\" Note: do not modify the .SH NAME line immediately below!
|
||||
.SH NAME
|
||||
repl-display-prompt, repl-display-result \- Display a prompt/result in
|
||||
interactive mode
|
||||
.SH SYNOPSIS
|
||||
(\fBrepl-display-prompt \fImodule\fR)
|
||||
.br
|
||||
(\fBrepl-display-result \fIvalue\fR)
|
||||
.BE
|
||||
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
\fBRepl-display-prompt\fR is called by the interactive toplevel loop
|
||||
before reading a \fIsexpr\fR. This procedure is called with one parameter:
|
||||
the selected module in the toplevel loop.
|
||||
.LP
|
||||
A simple form of this procedure could be:
|
||||
|
||||
.CS
|
||||
(define (repl-display-prompt module)
|
||||
(let ((p (current-error-port)))
|
||||
(format p "~A> " (module-name module))
|
||||
(flush p)))
|
||||
.CE
|
||||
|
||||
|
||||
.PP
|
||||
\fBRepl-display-result\fR is called by the interactive toplevel loop
|
||||
after the evaluation of a \fIsexpr\fR. This procedure is called with the
|
||||
result of this evaluation as parameter.
|
||||
|
||||
.LP
|
||||
A simple form, mimicking the MIT Scheme way of presenting results, could be:
|
||||
|
||||
.CS
|
||||
(define (repl-display-result value)
|
||||
(format #t "\\n;Value: ~S\\n\\n" value))
|
||||
.CE
|
||||
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
repl-display-prompt.n
|
||||
@@ -23,7 +23,7 @@ causes the error (or the empty list when there is no object to incriminate).
|
||||
The STk library includes a default \fBreport-error\fR procedure
|
||||
that posts a dialog box containing the error message and offers
|
||||
the user a chance to see a stack trace showing where the
|
||||
error occurred and its associated environment..
|
||||
error occurred and its associated environment.
|
||||
.PP
|
||||
If an error occurs while is \fBreport-error\fR execution, the
|
||||
interpreter detect that the procedure is buggy and it redirect further
|
||||
|
||||
+5
-1
@@ -21,7 +21,7 @@
|
||||
'\" ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO
|
||||
'\" PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
||||
'\"
|
||||
'\" $Id: stk.1 1.1 Sat, 03 Jan 1998 13:46:25 +0100 eg $
|
||||
'\" $Id: stk.1 1.2 Mon, 20 Apr 1998 20:15:01 +0000 eg $
|
||||
'\"
|
||||
.so STk-man.macros
|
||||
.TH STk 1 4.0 STk "January_1998"
|
||||
@@ -172,6 +172,10 @@ variable is a list of paths to try when in a load command.
|
||||
This variable serves to initialize the \fI*help-path*\fR Scheme variable. It
|
||||
must contain a list of documentation directories. This variable is used by the help
|
||||
procedure.
|
||||
.IP "\fISTK_IMAGE_PATH\fR" 15
|
||||
This variable serves to initialize the \fI*image-path*\fR Scheme variable. It
|
||||
must contain a list of images directories. This variable is used by the make-image
|
||||
procedure.
|
||||
|
||||
|
||||
.SH FILES
|
||||
|
||||
+22
-17
@@ -1,6 +1,6 @@
|
||||
%!PS-Adobe-3.0
|
||||
%%Creator: groff version 1.11
|
||||
%%CreationDate: Fri Apr 10 09:05:16 1998
|
||||
%%CreationDate: Mon Apr 20 10:54:40 1998
|
||||
%%DocumentNeededResources: font Times-Roman
|
||||
%%+ font Times-Bold
|
||||
%%+ font Times-Italic
|
||||
@@ -496,24 +496,29 @@ F .525(ariable is a list)-.25 F(of paths to try when in a load command.)
|
||||
BP
|
||||
%%EndPageSetup
|
||||
/F0 10/Times-Roman@0 SF 175.12(STk\(1\) January_1998 STk\(1\))72 48 R/F1
|
||||
9/Times-Bold@0 SF(FILES)72 84 Q/F2 10/Times-Italic@0 SF(./init.stk)108
|
||||
96 Q($STK_LIBRAR)108 112.8 Q(Y/STk/init.stk)-.18 E F0(When)183 124.8 Q
|
||||
/F3 10/Times-Bold@0 SF(stk)2.69 E F0 .19
|
||||
(starts running, it tries to load the \214le)2.69 F F2(init.stk)2.69 E
|
||||
10/Times-Italic@0 SF(STK_IMA)108 84 Q(GE_P)-.35 E -.37(AT)-.9 G(H).37 E
|
||||
F0 .137(This v)183 96 R .137(ariable serv)-.25 F .137
|
||||
(es to initialize the)-.15 F F1(*ima)2.637 E -.1(ge)-.1 G(-path*).1 E F0
|
||||
.137(Scheme v)2.637 F .137(ariable. It must contain a list)-.25 F
|
||||
(of images directories. This v)183 108 Q(ariable is used by the mak)-.25
|
||||
E(e-image procedure.)-.1 E/F2 9/Times-Bold@0 SF(FILES)72 148.8 Q F1
|
||||
(./init.stk)108 160.8 Q($STK_LIBRAR)108 177.6 Q(Y/STk/init.stk)-.18 E F0
|
||||
(When)183 189.6 Q/F3 10/Times-Bold@0 SF(stk)2.69 E F0 .19
|
||||
(starts running, it tries to load the \214le)2.69 F F1(init.stk)2.69 E
|
||||
F0 .19(in the current directory)2.69 F 2.69(.I)-.65 G 2.69(ft)-2.69 G
|
||||
.19(his \214le)-2.69 F 1.581
|
||||
(is not present, it tries to load this \214le in the)183 136.8 R F3
|
||||
(STk_LIBRAR)4.082 E(Y)-.35 E F0 1.582(directory \(the v)4.082 F 1.582
|
||||
(alue of)-.25 F F3(STk_LIBRAR)183 148.8 Q(Y)-.35 E F0 .244(is automatic\
|
||||
ally computed to be in a sibling directory of the interpreter)2.745 F
|
||||
-.15(exe)183 160.8 S(cutable.).15 E F2(~/.stkr)108 189.6 Q(c)-.37 E F0
|
||||
(Standard)47.32 E F2(init.stk)2.979 E F0 .479
|
||||
(\214le tries to load the \214le)2.979 F F2(~/.stkr)2.979 E(c)-.37 E F0
|
||||
2.979(.T)C .48(his \214le can be used to store functions)-2.979 F .704
|
||||
(de\214nitions or v)183 201.6 R .704(ariables settings that you w)-.25 F
|
||||
.19(his \214le)-2.69 F 1.582
|
||||
(is not present, it tries to load this \214le in the)183 201.6 R F3
|
||||
(STk_LIBRAR)4.081 E(Y)-.35 E F0 1.581(directory \(the v)4.081 F 1.581
|
||||
(alue of)-.25 F F3(STk_LIBRAR)183 213.6 Q(Y)-.35 E F0 .244(is automatic\
|
||||
ally computed to be in a sibling directory of the interpreter)2.744 F
|
||||
-.15(exe)183 225.6 S(cutable.).15 E F1(~/.stkr)108 254.4 Q(c)-.37 E F0
|
||||
(Standard)47.32 E F1(init.stk)2.98 E F0 .48
|
||||
(\214le tries to load the \214le)2.98 F F1(~/.stkr)2.979 E(c)-.37 E F0
|
||||
2.979(.T)C .479(his \214le can be used to store functions)-2.979 F .703
|
||||
(de\214nitions or v)183 266.4 R .704(ariables settings that you w)-.25 F
|
||||
.704(ant to be e)-.1 F -.15(xe)-.15 G .704(cuted at each interpreter in)
|
||||
.15 F -.2(vo)-.4 G(ca-).2 E(tion.)183 213.6 Q F1(SEE ALSO)72 242.4 Q F0
|
||||
(wish\(1\))108 254.4 Q 208.58(STk 4.0)72 768 R(3)222.75 E EP
|
||||
.15 F -.2(vo)-.4 G(ca-).2 E(tion.)183 278.4 Q F2(SEE ALSO)72 307.2 Q F0
|
||||
(wish\(1\))108 319.2 Q 208.58(STk 4.0)72 768 R(3)222.75 E EP
|
||||
%%Trailer
|
||||
end
|
||||
%%EOF
|
||||
|
||||
Reference in New Issue
Block a user