;;; -*-Scheme-*-
;;;
-;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/process.scm,v 1.6 1991/04/29 10:51:41 cph Exp $
+;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/process.scm,v 1.7 1991/05/09 03:24:31 cph Exp $
;;;
;;; Copyright (c) 1991 Massachusetts Institute of Technology
;;;
\f
(define (initialize-processes!)
(set! edwin-processes '())
- (set-variable! exec-path
- (parse-path-string (get-environment-variable "PATH"))))
+ (let ((path (get-environment-variable "PATH")))
+ (if (not path)
+ (error "Can't find PATH environment variable."))
+ (set-variable! exec-path (parse-path-string path))))
(define edwin-processes)
#| -*-Scheme-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/shell.scm,v 1.3 1991/05/02 01:14:28 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/shell.scm,v 1.4 1991/05/09 03:25:21 cph Exp $
Copyright (c) 1991 Massachusetts Institute of Technology
(select-buffer
(let ((program
(or (ref-variable explicit-shell-file-name)
- ((ucode-primitive get-environment-variable) "ESHELL")
- ((ucode-primitive get-environment-variable) "SHELL")
+ (get-environment-variable "ESHELL")
+ (get-environment-variable "SHELL")
"/bin/sh")))
(apply make-comint
(ref-mode-object shell)
#| -*-Scheme-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/tterm.scm,v 1.7 1991/04/11 03:18:53 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/tterm.scm,v 1.8 1991/05/09 03:26:15 cph Exp $
Copyright (c) 1990-91 Massachusetts Institute of Technology
(define (console-termcap-description)
(if (eq? console-description 'UNKNOWN)
(set! console-description
- (let ((term ((ucode-primitive get-environment-variable 1) "TERM")))
+ (let ((term (get-environment-variable "TERM")))
(and term
(or (and (output-port/baud-rate console-output-port)
(make-termcap-description term))