This document, the "Common Desktop Environment: Desktop Kornshell User's Guide," serves as a guide for programmers to create Motif applications using KornShell (kshell) scripts, specifically Desktop KornShell (dtksh). It targets developers familiar with kshell, Motif, Xt Intrinsics, and some Xlib, aiming to provide a quicker alternative to C programming for GUI development.
The guide covers fundamental aspects such as initializing dtksh, creating widgets, and implementing callbacks. It progresses to more advanced topics including context variables (for event handlers, translations, and workspace callbacks), session management (saving and restoring application state), creating localized shell scripts, accessing X Drawing Functions, and setting widget translations. A significant portion is dedicated to analyzing a complex sample script (script_find) that provides a graphical interface for the find command, illustrating practical application of dtksh features. Appendices provide comprehensive listings of supported dtksh commands (Xlib, Xt Intrinsics, Motif, libDt functions, Desktop Services Message Set) and convenience functions, along with the full code for the script_find example.
Site structure and layout ©2025 Majenko Technologies