Re: Is there a way to make 'wish' read standard input?



tclin1998@xxxxxxxxx wrote:
northstar:/tmp% wish tt.tcl
123
_

However,
I could not get the command prompt % in the console.
Is there a way to get tcl command prompt % in the above scenario ?

Here's how I do it, if I haven't written the script to use [console] and don't want to use TkCon:

northstar:/tmp% wish
% source tt.tcl
123
%
.



Relevant Pages

  • Re: Is there a way to make wish read standard input?
    ... I could not get the command prompt % in the console. ... Is there a way to get tcl command prompt % in the above scenario? ... are available for Windows. ...
    (comp.lang.tcl)
  • Re: Restart after windows update fails
    ... Boot to the console and press enter when asked for the password. ... Try system restore from command prompt. ... some tools and info here for recovering lost passwords. ...
    (microsoft.public.windowsxp.perform_maintain)
  • DWMX comes up for .net executable
    ... Then went to the console (command ... Well when I go to execute the program Dreamweaver opens up in the code ... of the picture and my program to execute through the command prompt ...
    (microsoft.public.vsnet.setup)
  • Re: Console and Form together in one application based on EXE parameters
    ... application opens a second console window, ... If the program was started from a command window, then AttachConsole will find that window and use it. ... AttachConsole will return False and AllocConsole will create a new window. ... The program is able to write to the parent's console window, but since the command prompt executed the program asynchronously, it still prompts for additional commands. ...
    (comp.lang.pascal.delphi.misc)
  • Re: I/O with Spanish words
    ... solartimba wrote: ... Latin, where most Spanish is written, and the console (or "Command Prompt") ... Keyboard rate: 31 ...
    (comp.lang.cpp)