source: trunk/tkcon/docs/plugin.html @ 931

Last change on this file since 931 was 931, checked in by toby, 11 years ago

include rest of files

File size: 3.7 KB
Line 
1<HTML>
2<HEAD>
3<TITLE>tkcon: Tcl Plugin Stripped Demo</TITLE>
4<LINK REL="STYLESHEET" TYPE="text/css" HREF="./style.css">
5</HEAD>
6
7<BODY>
8
9<TABLE WIDTH=100% BORDER=0 CELLSPACING=2 CELLPADDING=0 BGCOLOR=#000000><TR><TD>
10<!-- start header info -->
11<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=#FFFFFF>
12<TR>
13<TD><FONT SIZE=+3><B>tkcon Documentation</B> (May 2001)</FONT></TD>
14<TD align=right>
15<A href="http://tkcon.sourceforge.net/"> 
16<IMG src="http://sourceforge.net/sflogo.php?group_id=11462&type=1" width="88"
17height="31" border="0" alt="SourceForge Logo"></A>
18</TD>
19</TR>
20</TABLE>
21<!-- end header info -->
22
23</TD></TR><TR><TD>
24<!-- start main navigation table -->
25<TABLE BORDER=1 CELLPADDING=2 CELLSPACING=2 BGCOLOR=#CCCCCC width=100%>
26<TR>
27<TH><A HREF="index.html">Documentation</A></TH>
28<TH><A HREF="purpose.html">Purpose &amp; Features</A></TH>
29<TH><A HREF="limits.html">Limitations</A></TH>
30<TH><A HREF="todo.html">To&nbsp;Do</A></TH>
31<TH><A HREF="license.terms">License</A></TH>
32</TR><TR>
33<TH COLSPAN=2 CLASS="hi"><A HREF="plugin.html" CLASS="hi">Online Demo</A>
34(requires <A HREF="http://tcl.activestate.com/software/plugin/">Tk plugin</A>)</TH>
35<TH COLSPAN=3><A HREF="nontcl.html">Using TkCon with other Tk Languages</A></TH>
36</TR>
37</TABLE>
38<!-- end main navigation table -->
39
40</TD></TR><TR><TD BGCOLOR=#FFFFFF>
41<DIV CLASS="indent">
42<P>
43This is the full tkcon script when run inside the plugin.  It feels like a
44stripped down version of tkcon, but the only limitations are those
45established by the plugin.  You can test the basic console features and get
46a feel for the mutli-color output.  Below the demo are some ideas to try
47out.  v2 of the plugin is distributed with a megawidget version of tkcon for
48debugging tclets.  The demo below uses rev 1.28 of tkcon in CVS
49(this correlates to v2.1 of tkcon).
50
51<P>
52<embed src="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/~checkout~/tkcon/tkcon/tkcon.tcl?rev=HEAD&content-type=application/x-tcl" width=630 height=350>
53</P>
54
55Have a look at some of the features: (culled from the
56<A HREF="./">tkcon documentation</A>)
57<UL>
58<LI> <B>Variable / Path / Procedure Name Expansion.</B>  Type in
59<CODE>set tc</CODE> at the prompt.  Hit <I>&lt;Control-Shift-V&gt;</I>.
60<CODE>set tcl_</CODE> should now be visible.
61Hit <I>&lt;Control-Shift-V&gt;</I> again.  You should see the rest of
62the completions printed out for you.  Works the same for procedures
63and files paths (file access restricted from plugin).  Works properly
64when spaces or other funny characters are including in the name.
65
66<LI> <B>Command Highlighting.</B> Note that <CODE>set</CODE> should be in
67green, denoting it is a recognized command in that interpreter.
68
69<LI> <B>Electric Character Matching.</B>  Watch while you type the
70following: <CODE>proc foo { a b } { puts [list $a $b] }</CODE>.  Did you
71notice the blink matching of the braces?  Yes, it's smart.
72
73<LI> <B>Command History.</B>  Use the Up/Down arrows or
74<I>&lt;Control-p&gt;</I>/<I>&lt;Control-n&gt;</I> to peruse the command
75history.  <I>&lt;Control-r&gt;</I>/<I>&lt;Control-s&gt;</I> Actually
76does command history matching (like tcsh or other advanced Unix shells).
77
78<LI> <B>Useful Colorization.</B> Having defined <CODE>foo</CODE> above, type
79in <CODE>foo hey</CODE>.  Note that the error comes back in red.  Go up one
80in the command history and add <CODE> you</CODE> and see that regular
81stdout output comes through in blue (the colors are configurable).
82
83<LI> <B>Cut/Copy/Paste.</B>  You should be able to do that between outside
84windows and TkCon.  The default keys are
85<I>&lt;Control-x&gt;</I>/<I>&lt;Control-c&gt;</I>/<I>&lt;Control-v&gt;</I>.
86
87</UL>
88</DIV>
89</TD></TR></TABLE>
90
91<HR NOSHADE SIZE=1>
92<ADDRESS><FONT SIZE=2>&copy;
93<A HREF="mailto:jeff.hobbs@acm.org">Jeffrey Hobbs</A></FONT></ADDRESS>
94
95</BODY>
96</HTML>
Note: See TracBrowser for help on using the repository browser.