Re: suppress output
- From: Bryan Oakley <oakley@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 17 Apr 2006 00:37:14 GMT
Gary Wessle wrote:
dear tcl users
how can one suppress the output of the tcl prompt? googleing,
searching the docs did not help me much.
thank you
What exactly do you mean by that? The prompt only shows up interactively, and running interactively without a prompt seems highly unusual.
Can you describe your problem in any more detail than "how can one suppress the output of the tcl prompt"?
Taken literally, the answer to your question is probably to do this:
set ::tcl_prompt1 ""
set ::tcl_prompt2 ""
For the vast, vast majority of scripts this isn't necessary.
BTW, these variables are documented in the tclsh man page:
http://tmml.sourceforge.net/doc/tcl/tclsh.html
--
Bryan Oakley
http://www.tclscripting.com
.
- Follow-Ups:
- Re: suppress output
- From: Gary Wessle
- Re: suppress output
- References:
- suppress output
- From: Gary Wessle
- suppress output
- Prev by Date: Re: suppress output
- Next by Date: A ? For Experts in MIME/SMTP
- Previous by thread: Re: suppress output
- Next by thread: Re: suppress output
- Index(es):
Relevant Pages
|