+ Greet with scsh-version-string
+ call relinquish-timeslice twice before exit so the flushers may run
This commit is contained in:
		
							parent
							
								
									23f230a6df
								
							
						
					
					
						commit
						09ab472695
					
				| 
						 | 
					@ -344,7 +344,10 @@
 | 
				
			||||||
		    args 
 | 
							    args 
 | 
				
			||||||
		    context 
 | 
							    context 
 | 
				
			||||||
		    (lambda () 
 | 
							    (lambda () 
 | 
				
			||||||
		      (display "Welcome to scsh 0.6.0 (Chinese Democracy)" 
 | 
							      (display (string-append 
 | 
				
			||||||
 | 
									"Welcome to scsh "
 | 
				
			||||||
 | 
									scsh-version-string
 | 
				
			||||||
 | 
									" (Combinatorial Algorithms)")
 | 
				
			||||||
			       (current-output-port))
 | 
								       (current-output-port))
 | 
				
			||||||
		      (newline (current-output-port))
 | 
							      (newline (current-output-port))
 | 
				
			||||||
		      (display "Type ,? for help."
 | 
							      (display "Type ,? for help."
 | 
				
			||||||
| 
						 | 
					@ -378,7 +381,9 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
;;; placeholder for an extensible mechanism in the future
 | 
					;;; placeholder for an extensible mechanism in the future
 | 
				
			||||||
(define (call-exit-hooks)
 | 
					(define (call-exit-hooks)
 | 
				
			||||||
  (flush-all-ports))
 | 
					  (flush-all-ports)
 | 
				
			||||||
 | 
					  (relinquish-timeslice)
 | 
				
			||||||
 | 
					  (relinquish-timeslice))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define (load-library-file file lib-dirs script-file)
 | 
					(define (load-library-file file lib-dirs script-file)
 | 
				
			||||||
; (format (error-output-port) "Load-library-file: ~a ~s\n" file lib-dirs)
 | 
					; (format (error-output-port) "Load-library-file: ~a ~s\n" file lib-dirs)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue