aboutsummaryrefslogtreecommitdiffstats
path: root/vscm.init
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:38 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:38 -0800
commit64f037d91e0c9296dcaef9a0ff3eb33b19a2ed34 (patch)
tree1b23b8e8005328194e2fb4bf653806c85050933f /vscm.init
parent5bea21e81ed516440e34e480f2c33ca41aa8c597 (diff)
downloadslib-64f037d91e0c9296dcaef9a0ff3eb33b19a2ed34.tar.gz
slib-64f037d91e0c9296dcaef9a0ff3eb33b19a2ed34.zip
Import Upstream version 3a5upstream/3a5
Diffstat (limited to 'vscm.init')
-rw-r--r--vscm.init13
1 files changed, 9 insertions, 4 deletions
diff --git a/vscm.init b/vscm.init
index 9a1462d..d005c7e 100644
--- a/vscm.init
+++ b/vscm.init
@@ -237,9 +237,15 @@
;;;
(define (program-arguments) command-line-arguments)
-;;; (OUTPUT-PORT-WIDTH <port>)
+;;@ (FILE-POSITION <port> . <k>)
+(define (file-position . args) #f)
+
+;;@ (OUTPUT-PORT-WIDTH <port>)
(define (output-port-width . arg) 79)
+;;@ (OUTPUT-PORT-HEIGHT <port>)
+(define (output-port-height . arg) 24)
+
;;; (CURRENT-ERROR-PORT)
(define (current-error-port)
(standard-port 2))
@@ -251,11 +257,10 @@
;;; (FILE-EXISTS? <string>)
(define (file-exists? f)
- (system (string-append "test -f " f)))
+ (system (string-append "test -f '" f "'")))
;;; (DELETE-FILE <string>)
-(define (delete-file f)
- (remove-file f))
+(define delete-file remove-file)
;;; FORCE-OUTPUT flushes any pending output on optional arg output port
(define force-output flush)