home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / gwm18a.zip / data / README-vtwmrc-0.2-1.0 < prev    next >
Lisp/Scheme  |  1995-07-03  |  12KB  |  273 lines

  1. Some changes in the VTWM-profile version 1.0 affect the user
  2. customizable file "vtwmrc.gwm". To make it easier to update
  3. "vtwmrc.gwm" for users who have modified it, this file contains a
  4. patch with the changes since the VTWM profile version 0.2.
  5.  
  6. If your "vtwmrc.gwm" is from version 0.3 you should use the file
  7. "README-vtwmrc-0.3-1.0" instead. 
  8.  
  9. If you have some other version, you should copy the new "vtwmrc.gwm",
  10. and transfer your changes by hand.
  11.  
  12. To apply this patch, just do:
  13.  
  14.   patch vtwmrc.gwm README-vtwmrc-0.2-1.0
  15.  
  16. If some chunks fail, it may be because the changes collide, and you
  17. may have to do them by hand. 
  18.  
  19.  
  20. *** vtwmrc.gwm.distr.0.2    Mon Dec 12 10:30:15 1994
  21. --- vtwmrc.gwm.distr.1.0    Mon Jun 19 12:19:52 1995
  22. ***************
  23. *** 1,9 ****
  24.   ;; vtwmrc.gwm --- VTWM profile customizations
  25.   ;;
  26.   ;; Author: Anders Holst  (aho@sans.kth.se)  
  27. ! ;; Copyright (C) 1994  Anders Holst
  28. ! ;; Version: vtwm-0.2
  29. ! ;; Last change: 29/10
  30.   ;;
  31.   ;; This file is copyrighted under the same terms as the rest of GWM
  32.   ;; (see the X Inc license for details). There is no warranty that it
  33. --- 1,9 ----
  34.   ;; vtwmrc.gwm --- VTWM profile customizations
  35.   ;;
  36.   ;; Author: Anders Holst  (aho@sans.kth.se)  
  37. ! ;; Copyright (C) 1995  Anders Holst
  38. ! ;; Version: vtwm-1.0
  39. ! ;; Last change: 17/6 1995
  40.   ;;
  41.   ;; This file is copyrighted under the same terms as the rest of GWM
  42.   ;; (see the X Inc license for details). There is no warranty that it
  43. ***************
  44. *** 74,83 ****
  45.   ;;          ; List of '(window-type foreground background)' specifications.
  46.   ;;       vtwm-notitle-list '(Gwm (window-is-transient-for))
  47.   ;;          ; List of window types to make untitled
  48. - ;;       iconify-pixmap-name "iconify2" ; Pixmap filename for iconify button
  49. - ;;       resize-pixmap-name "resize2"   ; Pixmap filename for resize button
  50. - ;;       hilite-pixmap-name "hilite2"   ; Filename for active titlebar pattern
  51.   ;;       default-icon-pixmap-name ()    ; Pixmap filename for default icon
  52.   
  53.   (setq vtwm-notitle-list '(XLoad XClock XBiff Gwm (window-is-transient-for)))
  54.   (setq vtwm-bordercolor black)
  55. --- 74,87 ----
  56.   ;;          ; List of '(window-type foreground background)' specifications.
  57.   ;;       vtwm-notitle-list '(Gwm (window-is-transient-for))
  58.   ;;          ; List of window types to make untitled
  59.   ;;       default-icon-pixmap-name ()    ; Pixmap filename for default icon
  60. + ;;       hilite-pixmap-name "gray"      ; Filename for active titlebar pattern
  61. + ;;       vtwm-left-plugs '(("iconify2" (iconify-window)))
  62. + ;;       vtwm-right-plugs '(("resize2" (twm-resize-window) t))
  63. + ;;           ; Left and right plugs in the titlebar, a list of pairs
  64. + ;;           ; or tripplets:  ( <pixmap-file> <action> [<on-press>] )
  65. + ;;           ; The optional third element <on-press> signals that the action
  66. + ;;           ; should be run on button-press, rather than button-release.
  67.   
  68.   (setq vtwm-notitle-list '(XLoad XClock XBiff Gwm (window-is-transient-for)))
  69.   (setq vtwm-bordercolor black)
  70. ***************
  71. *** 96,103 ****
  72. --- 100,132 ----
  73.       ;                         (list 'XTerm () (color-make "seagreen")))
  74.       ))
  75.   
  76. + ;; Example of how to get a menu-plug to the left and a zoom-plug to the right
  77. + ; (setq vtwm-left-plugs '(("iconify2" (iconify-window))
  78. + ;                         ("menu" (vtwm-pop-menu window-pop) t)))
  79. + ; (setq vtwm-right-plugs '(("zoom" (zoom-window))
  80. + ;                          ("resize2" (twm-resize-window) t)))
  81.   
  82. + ;; Note that you can also get "squeezed title" windows ala TWM, if you
  83. + ;; use either "vtwm-squeezed-window.gwm" or "vtwm-squeezed-window2.gwm".
  84. + ;; Use 'set-window' to specify which windows you want squeezed titles on:
  85. + ; (set-window Emacs vtwm-squeezed-window2)
  86.   ;;=============================================================================
  87. + ;;        VTWM Zoom functions
  88. + ;;=============================================================================
  89. + ;;
  90. + ;;       zoom-offset 3                  ; Minimum distance to screen edge
  91. + ;;       zoom-window-method-list ()     ; List of (wind-type zoom-func) specs.
  92. + ;;          ; This is to make zoom-window use different zoom methods for
  93. + ;;          ; different types of windows.
  94. + (setq zoom-window-method-list '((XTerm zoom-window-vert) 
  95. +                                 (XVroot zoom-window-prop)
  96. +                                 (t zoom-window-full)))
  97. + ;;=============================================================================
  98.   ;;        VTWM Menu appearance
  99.   ;;=============================================================================
  100.   ;;
  101. ***************
  102. *** 144,156 ****
  103.   ;;       icon-mgr-omit-list ()    ; Window types not handled in default manager
  104.   ;;       icon-mgr-sort ()               ; Sort the entries in an icon manager
  105.   ;;       icon-mgr-font (font-make "8x13")   ; Font in icon managers
  106.   ;;       icon-mgr-foreground black      ; Foreground of icon managers
  107.   ;;       icon-mgr-background white      ; Background of icon managers
  108.   ;;       icon-mgr-title-foreground icon-mgr-foreground
  109.   ;;       icon-mgr-title-background icon-mgr-background
  110. ! ;;       icon-mgr-width 150             ; Width of icon manager
  111.   ;;       icon-mgr-window-feedback t     ; Rely on focus feedback from windows
  112.   ;;       icon-mgr-pixmap-name "iconify2"; Pixmap file for iconified symbol
  113.   
  114.   (if (not (= screen-type 'color))
  115.       (progn 
  116. --- 173,190 ----
  117.   ;;       icon-mgr-omit-list ()    ; Window types not handled in default manager
  118.   ;;       icon-mgr-sort ()               ; Sort the entries in an icon manager
  119.   ;;       icon-mgr-font (font-make "8x13")   ; Font in icon managers
  120. + ;;       icon-mgr-width 150             ; Width of icon manager
  121.   ;;       icon-mgr-foreground black      ; Foreground of icon managers
  122.   ;;       icon-mgr-background white      ; Background of icon managers
  123.   ;;       icon-mgr-title-foreground icon-mgr-foreground
  124.   ;;       icon-mgr-title-background icon-mgr-background
  125. ! ;;       icon-mgr-no-title ()           ; Inhibits the icon manager title
  126. ! ;;       icon-mgr-framed-bars ()        ; Makes it look more like in real VTWM
  127. ! ;;       icon-mgr-fancy-colors ()       ; List of (wintype fg bg) specifications
  128.   ;;       icon-mgr-window-feedback t     ; Rely on focus feedback from windows
  129.   ;;       icon-mgr-pixmap-name "iconify2"; Pixmap file for iconified symbol
  130. + ;;         ; In addition, the property 'icon-mgr-special-pixmap can be set on
  131. + ;;         ; a window to the pixmap to use for that window in the icon manager.
  132.   
  133.   (if (not (= screen-type 'color))
  134.       (progn 
  135. ***************
  136. *** 232,241 ****
  137.   ;;       door-mgr-mdir-len 2     ; place two buttons in each (horizontal) row.
  138.   ;;       door-mgr-xpos 0                ; Upper left corner of door manager
  139.   ;;       door-mgr-ypos 0                ;  - '' -
  140.   ;;
  141.   
  142. ! (setq door-mgr-xpos 6)
  143. ! (setq door-mgr-ypos 6)
  144.   (if (= screen-type 'color)
  145.     (progn 
  146.       (setq door-background (color-make "lightyellow"))
  147. --- 266,276 ----
  148.   ;;       door-mgr-mdir-len 2     ; place two buttons in each (horizontal) row.
  149.   ;;       door-mgr-xpos 0                ; Upper left corner of door manager
  150.   ;;       door-mgr-ypos 0                ;  - '' -
  151. + ;;       door-mgr-tile t         ; tile of empty positions, t = transparent 
  152.   ;;
  153.   
  154. ! (setq door-mgr-xpos 4)
  155. ! (setq door-mgr-ypos 4)
  156.   (if (= screen-type 'color)
  157.     (progn 
  158.       (setq door-background (color-make "lightyellow"))
  159. ***************
  160. *** 322,336 ****
  161.                   ;                      (window-client-name) "."
  162.                   ;                      (window-name) "@"
  163.                   ;                      (window-machine-name) "\n")))
  164.                   '("Restart" (restart))
  165.                   '("Reload" (progn
  166.                                (load "vtwmrc")
  167. !                              (redecorate-all)
  168. !                              (virtual-show)
  169. !                              (if show-pan-lists
  170. !                                  (install-pan-lists)
  171. !                                (remove-pan-lists))
  172. !                              (icon-mgr-show)))
  173.                   '("Quit" (end))))
  174.   
  175.   ;; Menu with useful window commands (and some global)
  176. --- 357,368 ----
  177.                   ;                      (window-client-name) "."
  178.                   ;                      (window-name) "@"
  179.                   ;                      (window-machine-name) "\n")))
  180. +                 '("Toggle IconMgr" (icon-mgr-toggle))
  181. +                 '("Toggle Virtual" (virtual-toggle))
  182.                   '("Restart" (restart))
  183.                   '("Reload" (progn
  184.                                (load "vtwmrc")
  185. !                              (redecorate-all)))
  186.                   '("Quit" (end))))
  187.   
  188.   ;; Menu with useful window commands (and some global)
  189. ***************
  190. *** 340,346 ****
  191.                     '("Lower" (lower-window))
  192.                     '("Resize" (twm-resize-window))
  193.                     '("Move" (move-window))
  194. !                   '("Iconify" (iconify-window))
  195.                     '("Nail" (virtual-toggle-nail))
  196.                     '("Focus" (focus-window))
  197.                     '("Refresh" (refresh window))
  198. --- 372,379 ----
  199.                     '("Lower" (lower-window))
  200.                     '("Resize" (twm-resize-window))
  201.                     '("Move" (move-window))
  202. !                   '("Iconify" (toggle-iconify-window))
  203. !                   '("Zoom" (zoom-window))
  204.                     '("Nail" (virtual-toggle-nail))
  205.                     '("Focus" (focus-window))
  206.                     '("Refresh" (refresh window))
  207. ***************
  208. *** 361,372 ****
  209.                     '("Restart" (restart))
  210.                     '("Reload" (progn
  211.                                  (load "vtwmrc")
  212. !                                (redecorate-all)
  213. !                                (virtual-show)
  214. !                                (if show-pan-lists
  215. !                                    (install-pan-lists)
  216. !                                  (remove-pan-lists))
  217. !                                (icon-mgr-show)))
  218.                     '("Quit" (end))))
  219.   
  220.   ;; Menu to log in to other machines. First comes the local host, then
  221. --- 394,400 ----
  222.                     '("Restart" (restart))
  223.                     '("Reload" (progn
  224.                                  (load "vtwmrc")
  225. !                                (redecorate-all)))
  226.                     '("Quit" (end))))
  227.   
  228.   ;; Menu to log in to other machines. First comes the local host, then
  229. ***************
  230. *** 375,381 ****
  231.   (setq login-pop (construct-menu
  232.                    "Logins"
  233.                    (construct-machine-menu-items (list hostname)
  234. !                             '(! "csh" "-c" (+ "xterm -n " name)))
  235.                    (construct-machine-menu-items machine-list
  236.                               '(! "xlogin" host "-n" name))
  237.                    (construct-machine-menu-items telnet-machine-list
  238. --- 403,414 ----
  239.   (setq login-pop (construct-menu
  240.                    "Logins"
  241.                    (construct-machine-menu-items (list hostname)
  242. !                             ; This is to get around a bug that turns up
  243. !                             ; when gwmchat and bash is used together
  244. !                             (if (match "bash$" (getenv "SHELL"))
  245. !                                 (+ '(! "xterm" "-T" name "-e" "csh" "-c")
  246. !                                    (list (getenv "SHELL")))
  247. !                               '(! "xterm" "-n" name)))
  248.                    (construct-machine-menu-items machine-list
  249.                               '(! "xlogin" host "-n" name))
  250.                    (construct-machine-menu-items telnet-machine-list
  251. ***************
  252. *** 502,508 ****
  253.             (pop-to-window)))
  254.       (on (buttonpress 2 any)
  255.           (icon-mgr-with-window
  256. !           (iconify-window)))
  257.       (on (buttonpress 3 any)
  258.           (icon-mgr-with-window
  259.             (vtwm-pop-menu window-pop)))
  260. --- 535,541 ----
  261.             (pop-to-window)))
  262.       (on (buttonpress 2 any)
  263.           (icon-mgr-with-window
  264. !           (toggle-iconify-window)))
  265.       (on (buttonpress 3 any)
  266.           (icon-mgr-with-window
  267.             (vtwm-pop-menu window-pop)))
  268.