HOSTNAME
savews uses this environment variable to determine the name of the host where it's running. Thus, it saves the commands started on that host.
Saves the windowmaker workspace state
savews
savews scans the list of X11 clients running on the current display and the host where it was started from and outputs the commands used to start those clients to stdout as a shell script that can lauched later to restore the saved state of the WorkSpace. It also saves the geometry.
HOSTNAME
savews uses this environment variable to determine the name of the host where it's running. Thus, it saves the commands started on that host.
GNUSTEP_USER_ROOT/Library/WindowMaker/.workspace_state
wmaker looks for this file, and if found, launches it before starting the WindowManager.