summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2007-11-01 13:33:53 (GMT)
committerdas <das>2007-11-01 13:33:53 (GMT)
commit94c861af4fe97e311d23abf77bf78f2591d48611 (patch)
tree3c3db4337ec1ff42fb8368a807989f9eeb2d53a9
parent6d142ca5c6cfc999c06128748af7b9958d6517c7 (diff)
downloadtk-94c861af4fe97e311d23abf77bf78f2591d48611.zip
tk-94c861af4fe97e311d23abf77bf78f2591d48611.tar.gz
tk-94c861af4fe97e311d23abf77bf78f2591d48611.tar.bz2
* doc/console.n: clarify availability of [console] in TkAqua.
-rw-r--r--ChangeLog2
-rw-r--r--doc/console.n11
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 39dccf7..c41743b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,8 @@
* doc/bind.n: document the Option modifier, clarify meaning
and availability of Command & Option.
+ * doc/console.n: clarify availability of [console] in TkAqua.
+
2007-11-01 Donal K. Fellows <donal.k.fellows@man.ac.uk>
* unix/installManPage, doc/*.n: Make documentation use the name that
diff --git a/doc/console.n b/doc/console.n
index 4f359cc..478daf1 100644
--- a/doc/console.n
+++ b/doc/console.n
@@ -4,7 +4,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: console.n,v 1.9 2007/11/01 10:19:11 dkf Exp $
+'\" RCS: @(#) $Id: console.n,v 1.10 2007/11/01 13:33:53 das Exp $
'\"
.so man.macros
.TH console n 8.4 Tk "Tk Built-In Commands"
@@ -23,10 +23,13 @@ a real console. It is implemented as a separate interpreter with the
Tk toolkit loaded, and control over this interpreter is given through
the \fBconsole\fR command. The behaviour of the console window is
defined mainly through the contents of the \fIconsole.tcl\fR file in
-the Tk library. Note that this command is not available when Tk is
-loaded into a tclsh interpreter with
-.QW "\fBpackage require Tk"
+the Tk library. Except for TkAqua, this command is not available when
+Tk is loaded into a tclsh interpreter with
+.QW "\fBpackage require Tk\fR" ,
as a conventional terminal is expected to be present in that case.
+In TkAqua, this command is ony available when stdin is \fB/dev/null\fR
+(as is the case e.g. when the application embedding Tk is started
+from the Mac OS X Finder).
.PP
.TP
\fBconsole eval \fIscript\fR