Ralf Fassel <
ral...@gmx.de> writes:
> * "Ricardo
kozmate.net" <
ric...@kozmate.net>
> | Agreed. I actually would like to know how to have a prompt while using
> | TCL within Emacs, on Windows.
>
> I earlier made the experience that under Windows subshells like tclsh
> sometimes have the idea that they are not running on a terminal (aka
> pty), so they display no prompt. Unfortunately I can't find any hint on
> that in my startup elisp...
Tcl's (or tclsh's) global variable "tcl_interactive" is writable and
changes the behaviour.
Using
set tcl_interactive 1
in the .tclshrc will cause tclsh to do prompting even if it thinks
that it is not run within a proper terminal.
I often had to do that when running tclsh in an MSYS terminal+bash.
> | ... unfortunatelly this reply does not seem to solve my problem.
> | Place .tclshrc where?...
>
> Where tclsh looks for it: $::env(HOME).
--
So long,
Andreas Kupries <
akup...@shaw.ca>
<
http://core.tcl.tk/akupries/>
Developer @ Hewlett Packard Enterprise
Tcl'2016, Nov 14-18, Houston, TX, USA.
http://www.tcl.tk/community/tcl2016/
-------------------------------------------------------------------------------