next up previous contents index
Next: OpenAccess Interface Up: Xic Variables Previous: General Visual   Contents   Index


Keyboard `!' Commands

The !set variables below affect the `!' commands available from the keyboard. Commands of this form that are not recognized as internal commands are assumed to be operating system commands, and are executed in a separate window under a command shell.

InstallCmdFormat
Value: string.
Setting this string allows modification of the installation command used in the !update command, for non-Windows releases only. If not set the effective value used is
xterm -e sudo %s

As an example, a reasonable alternative might be

xterm -e su root -c \ "%s \ "
which would use su rather than sudo, and require the root password.

The characters ``%s'' are replaced with a script invocation command that actually performs the installation. If this does not appear in the given string, this command will be added to the end, following a space character.

The internal script invocation command calls /bin/sh to run the shell script upd_install.sh found in the startup directory of the installation location. The three arguments to this script are the distribution file path, the distribution name token (such as ``Linux2''), and the installation location prefix (such as ``/usr/local''). This script, too, can be customized or replaced.

The default strings pop-up a terminal (xterm) window, and ask for a (root) password. The user, who needs to know a bit about Unix shell programming, can modify this behavior by setting this variable to a new string.

Shell
Value: string.
This variable can be set to the name of a command interpreter which will be used for the `!' and !shellcmd inputs. The interpreter will be instantiated in its own window. If not given, the shell program used will be taken from the SHELL environment variable, and if this variable is not found the default is ``/bin/sh''. WRspice users can set the shell to ``wrspice'' for quick access to the full user interface of that program.

Under Microsoft Windows, the value must be a full path name to the shell executable, and the COMSPEC environment variable is also consulted for the default shell, after the SHELL variable.


next up previous contents index
Next: OpenAccess Interface Up: Xic Variables Previous: General Visual   Contents   Index
Stephen R. Whiteley 2017-04-09