#| -*-Scheme-*-
-$Id: edwin.pkg,v 1.272 2001/06/02 16:50:47 cph Exp $
+$Id: edwin.pkg,v 1.273 2001/07/02 01:45:36 cph Exp $
Copyright (c) 1989-2001 Massachusetts Institute of Technology
xterm-screen/flush!
xterm-screen/grab-focus!)
(export (edwin x-commands)
+ screen-display
screen-xterm
xterm-screen/set-icon-name
xterm-screen/set-name)
edwin-command$set-border-color
edwin-command$set-border-width
edwin-command$set-cursor-color
+ edwin-command$set-default-font
edwin-command$set-font
edwin-command$set-foreground-color
edwin-command$set-frame-icon-name
;;; -*-Scheme-*-
;;;
-;;; $Id: xcom.scm,v 1.17 2000/12/01 06:17:00 cph Exp $
+;;; $Id: xcom.scm,v 1.18 2001/07/02 01:45:27 cph Exp $
;;;
-;;; Copyright (c) 1989-2000 Massachusetts Institute of Technology
+;;; Copyright (c) 1989-2001 Massachusetts Institute of Technology
;;;
;;; This program is free software; you can redistribute it and/or
;;; modify it under the terms of the GNU General Public License as
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with this program; if not, write to the Free Software
-;;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-;;;
-;;;
+;;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+;;; 02111-1307, USA.
;;;; X Commands
(declare (usual-integrations))
(define-primitives
+ (x-set-default-font 2)
(x-window-clear 1)
(x-window-lower 1)
(x-window-raise 1)
(editor-error "Unknown font name: " font))
(xterm-set-size xterm x-size y-size)))))
+(define-command set-default-font
+ "Set text font to be used in new frames."
+ "sSet default font"
+ (lambda (font)
+ (x-set-default-font (screen-display (selected-screen)) font)))
+
(define-command set-border-width
"Set border width of selected frame to WIDTH."
"nSet border width"
index)
(else
(loop (1+ index)))))))))
-
+\f
(define mouse-cursor-shapes
'#("X-cursor"
"arrow"
"ur-angle"
"watch"
"xterm"))
-
\f
;;;; Mouse Commands
;;; (For compatibility with old code.)