|
From: | Joel Sherrill |
Subject: | Re: wish versus tclsh was Re: [Simulavr-devel] Help with New Example |
Date: | Mon, 30 Mar 2009 13:49:20 -0500 |
User-agent: | Thunderbird 2.0.0.21 (X11/20090320) |
Knut Schwichtenberg wrote:
Joel Sherrill wrote:Knut Schwichtenberg wrote:Also "-d" is not interpreted as expected :-((. The X-Windows catches the command-line and removes "-d" as displaynumber. "-D" works if changed.-d to what program? I thought simulavr.tcl was handling it ok.Sorry, it was simulavr.tcl. "simulavr.tcl" can't handle "-d" because it is removed before "simulavr.tcl" can catch it. Try it on a dual screen machine with simulavr.tcl -d :0.1 / -d :0.0.I did an experiment and this does not happen if tclsh is the "shell" at the top of simulavr.tcl but it does happen it the "shell" is wish. Is it becoming wish when you configure? Or are you doing something by hand.I tried it with wish! Do you want to live with this or isn't it better to avoid problems and use "-D" instead and leave "-d" untouched?
The configure script should be replacing it with tclsh. simulavr.tcl is not doing any graphics and so there is no need to use wish. The graphics are in a forked process. I was trying to stick very close to the arguments passed to the C++ main. --joel
[Prev in Thread] | Current Thread | [Next in Thread] |