LessTif(1) an open-source Motif replacement

SUMMARY

LessTif is a free replacement for OSF/Motif®.

As with Motif®, LessTif consists of a widget set, a window manager, and a UIL implementation (libMrm and the UIL compiler). In LessTif, our main area of attention is the widget set. We also have a working window manager mwm, but UIL is not under very active development.

LessTif is licensed under the LGPL, the Library Gnu Public License. The license itself accompanies LessTif in the file COPYING.LIB. More information can be obtained from the Free Software Foundation.

DEBUGGING

For more info on Debugging check out our documentation in HTML format.

ENVIRONMENT VARIABLES

DEBUG_SOURCES
Colon-separated list of files from which debug output is generated. Special values "all"/"none" have obvious meaning. To block entries from a list, add a "-" prefix. You may use an asterisk "*" as a wildcard as well.

DEBUG_FILE
If this variable exists, then the file is being used for output. If "%p" is part of the value of DEBUG_FILE, then it is replaced by the current process id.

DEBUG_PRINT_WIDGETID
If this variable exists, then all widgets printed with XdbDebug() etc. will also print their widget ID. If the variable doesn't exist, then they only print their name for identification.

DEBUG_REDIRECT_XMWARNING
If this variable exists any output of _XmWarning() and equivalent functions is sent to the file specified by DEBUG_FILE

DEBUG_SIGNAL
Specifies the name of the signal which should be used to switch the built-in LessTif debugging system. Valid values depend on the system on which LessTif was compiled and is running and are a subset of:

SIGUNUSED, SIGUSR1, SIGUSR2, SIGUSR3, SIGBREAK

DEBUG_TOGGLE
Specifies the initial status of the built-in LessTif debugging system. Valid values are 'on' and 'off'

INTERFACES

The following interfaces exist to Set, Toggle and Query the current status of the debugging subsystem:

void _LtDebugSet (Boolean flag);

void _LtDebugToggle (void);

Boolean _LtDebugQueryState (void);

SOURCE CODE

The major part of the source code which implements the debugging system of LessTif resides in /lib/Xm/DebugUtil.c Using the preprocessor define LESSTIF_PRODUCTION the relevant code sections are en-/disabled during the build process.