SAS-output buffers

Thomas Gerds gerds at
Mon Jul 31 16:08:01 CEST 2000


I would like to clean the SAS-output buffers before 
submitting SAS-code:

(defun erase-sas-log-and-lst-buffer ()
  "Erase SAS-output buffers"
  (set-buffer (process-buffer (get-process "shell<1>")))
;;    (set-buffer (get-buffer "*SAS.log*"))
  (set-buffer (process-buffer (get-process "shell")))
;; (set-buffer (get-buffer "*SAS.lst*"))

Does anybody know a good solution for setting SAS-output buffers:

   (get-buffer "*SAS.lst*") (Fails after saving the lst-buffer with 
                              a different name.) 

   (process-buffer (get-process "shell")) (Fails, if there are two or more
                                             SAS-processes running)

thanx for any comment 


ps: How can I supress the message "cannot read history file .SAShistory" 

ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at

More information about the ESS-help mailing list