Abstract:
From the original days of computing systems, there were various layers including hardware, firmware, kernel, and shell. As systems became more complex, access to the computer went from serial ports to desktop graphical consoles based upon proprietary windowing systems. Over time, X Windows became the standard environment for desktop UNIX systems. Some hybrid environments were created which combined the textual shell with graphical interfaces - one such environment is "dtksh".
Manuals:
Some of the best manuals available, for X Windows Desktop Korn shell programming are available from Oracle (formerly created by Sun Microsystems.)
- [html] Common Desktop Environment: Desktop KornShell User's Guide
- [html] Chapter 1 Introduction to Desktop KornShell
- [html] Chapter 2 A Sample Script
- [html] Chapter 3 Advanced Topics
- [html] Chapter 4 A Complex Script
- [html] Appendix A dtksh Commands
- [html] Appendix B dtksh Convenience Functions
- [html] Appendix C The script_find Script
- [html] Common Desktop Environment: Programmer's Overview
- [html] Common Desktop Environment: Programmer's Overview / Desktop Korn Shell (dtksh)
Solaris:
Since the advent of CDE, Solaris shipped "dtksh" and examples with their operating system. The following are examples on a Solaris 10 platform.
V240/user$ cd /usr/dt/share/examples/dtksh
V240/user$ ls -al
total 140
drwxr-xr-x 2 root bin 512 Jan 2 2010 .
drwxr-xr-x 20 root bin 512 Jan 2 2010 ..
-r-xr-xr-x 1 root bin 2487 Dec 17 2004 CallbackTest2
-r-xr-xr-x 1 root bin 4645 Dec 17 2004 CallDataTest4
-r-xr-xr-x 1 root bin 10674 Dec 17 2004 crMovesText1
-r-xr-xr-x 1 root bin 1736 Dec 17 2004 DtCursorTest2
-r-xr-xr-x 1 root bin 5265 Dec 17 2004 DtWsTest1
-r-xr-xr-x 1 root bin 6007 Dec 17 2004 EventHandlerTest
-r-xr-xr-x 1 root bin 1870 Dec 17 2004 ListBounds1
-r-xr-xr-x 1 root bin 2249 Dec 17 2004 ListItemPos1
-r-xr-xr-x 1 root bin 1847 Dec 17 2004 ListPosSel1
-r-xr-xr-x 1 root bin 1463 Dec 17 2004 PopupTest
-r-xr-xr-x 1 root bin 1677 Dec 17 2004 SelBoxResTest
-r-xr-xr-x 1 root bin 4097 Dec 17 2004 SessionTest
-r-xr-xr-x 1 root bin 2865 Dec 17 2004 TextCutBuf1
-r-xr-xr-x 1 root bin 2326 Dec 17 2004 TextDisp1
-r-xr-xr-x 1 root bin 1829 Dec 17 2004 TextFXYPos1
-r-xr-xr-x 1 root bin 2518 Dec 17 2004 TransEventTest
-r-xr-xr-x 1 root bin 2168 Dec 17 2004 TransTest1
-r-xr-xr-x 1 root bin 990 Dec 17 2004 WorkProcTest1
-r-xr-xr-x 1 root bin 4033 Dec 17 2004 XdrawTest
Other Examples:
Former Sun engineer Brendan Gregg includes a variety of examples on his personal web page, regarding "dtksh".
No comments:
Post a Comment