HEPiX X11 Scripts - Version 3.2
This is a description of all the changes made in the %hx since the
version 3.1.2.
Overview
This version includes some major new features but it should be
backward compatible with 3.1.2.
The main general changes are:
-
- the variable %HX_GROUP_DIR is now used everywhere instead of %GROUP_DIR;
this better separates the shells part but the variable must be set somewhere,
normally in the site-level %xprofile
- the X resources and the keyboard mappings are now merged in files under %$HOME/.hepix
- %$HOME/.Xdefaults is now obsolete and will cause a warning;
it should be replaced by %$HOME/.Xresources or %xresources
- %$HOME/.Xsession is obsolete (but honoured) and will cause a warning;
it should be replaced by %$HOME/.xsession
- the scripts have been ported to Linux but not yet tested...
The Gory Details
Xdm Wrappers
Main Files
- the
Xsession
now supports a (untested) -setup
option that will
reset the X environment: reload the X resources, reset the font path,
reapply the keyboard mappings...
- the X resources are now merged into the file %$HOME/.hepix/generated_xresources;
this file contains
cpp
directives to define the HX_*
variables
- the "XTerm*ttyModes" X resource now always contains
intr ^C kill ^U susp ^Z
- the keyboard mappings are now merged (previously only the first file found was used)
and the result goes into %$HOME/.hepix/generated_xmodmaprc;
if they are executable, the %xkbd.$HX_KEYBOARD files are executed and the output is used,
otherwise, their contents is used
- %quota-warn is now run from
/usr/local/lib/hepix/X11/tools
- the
Xsession
will produce a warning if it cannot read
/usr/local/lib/hepix/shells/hep/HEP_profile
- the
HEP_desktop.*
files now support a -check
option
to check if the desktop is available; this is used by %apply_policy
Tools
- %apply_policy:
- it now recognises window managers of the form local-foo
and will try to use the program %local-client to start them
- it now handles a
-prepare
switch for %HX_WM and calls
%prepare-wmrc to do the job
- the availability of the desktops and local window managers are not hard-coded
but the relevant program is called with the
-check
option
- both
~/.Xsession
and ~/.xsession
are now checked
- the default window manager is now carefully chosen on SunOS machines
- the warnings are now similar to the Xsession ones
- %local-client is a new tool to handle local clients
- %prepare-wmrc is a new general purpose preparation script to create
a configuration file for the selected window manager
- %xsetfp can now append or prepend a font entry;
also, it checks only port numbers when comparing font server entries
Miscellaneous
- most files have now a valid SCCS header
Lionel Cons, 26-Nov-1996