I am working on a project need Tclsh like support with some self-defined commands. I implemented following code (based on Tcl 8.5):
Tcl_Main(argc, argv, Tcl_AppInit);
And put new commands registration in Tcl_AppInit. Everything looks fine, except that with the new command line interpreter, when I type Tcl built-in command "history", I got :
% history
invalid command name "history"
Other built-in commands work fine, like "puts", "set", etc. Why ? Do I have to implement my own "history" command instead?