LINUX.ORG.RU

wm withdraw .

Я так понимаю, окошко убирается, но не закрывается (при закрытии wish выходит).

anonymous
()

А еще, каким образом поменять promt в tclsh? Там по умолчанию %, мне оно не особенно нравится.

anonymous
()
Ответ на: комментарий от anonymous

PROMPTS

When tclsh is invoked interactively it normally prompts for each command with % . You can change the prompt by setting the variables tcl_prompt1 and tcl_prompt2. If variable tcl_prompt1 exists then it must consist of a Tcl script to output a prompt; instead of outputting a prompt tclsh will evaluate the script in tcl_prompt1. The variable tcl_prompt2 is used in a similar way when a newline is typed but the current command isn't yet complete; if tcl_prompt2 isn't set then no prompt is output for incomplete commands. (C)

В мануале написано.

Vadim_Z
()

а документацию читать религия запрещает?

jtootf ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.