Next Prev Up

Miscellaneous Functions

juf_misc_scriptname
Returns name of the current script with leading directories and extension(s) removed.
juf_misc_shell [PROMPT]
Displays the prompt given in PROMPT which defaults to "% " and evaluates the user input in the current interpreter until the user types exit or the demanded command invokes the exit command. This command is very useful for testing libraries and/or Tcl applications. The following script can be adapted to your needs:
#!/usr/bin/tclsh
lappend auto_path "/usr/share/jultaf"
juf_misc_shell "jultaflib% "

Written by Stefan Hornburg <racke@gundel.han.de>
Last modified 10 April 1997