<br><font size=2 face="sans-serif">RE the bug described below..  </font>
<br>
<br><font size=2 face="sans-serif">I can't run precisely through the sequence
you recommend - </font>
<br><font size=2 face="sans-serif">but I did discover this - </font>
<br>
<br><font size=2 face="sans-serif">The problem is related to the scilab
console loosing focus. </font>
<br><font size=2 face="sans-serif">To produce the bug all I need to do
is click outside the </font>
<br><font size=2 face="sans-serif">console window.  Normally, the
4 separate  windows in the console - when you click</font>
<br><font size=2 face="sans-serif">inside any of them, the title bar turns
black, indicating the location of keyboard focus.</font>
<br><font size=2 face="sans-serif">I can click from pane to pane and see
the title turn black.</font>
<br>
<br><font size=2 face="sans-serif">But if I click once outside the console
(to this email, for instance)</font>
<br><font size=2 face="sans-serif">then I cannot get keyboard focus back
to scilab.</font>
<br><font size=2 face="sans-serif">The main scilab window (Scilab 5.4.1
Console) lights up to indicate focus,</font>
<br><font size=2 face="sans-serif">but the individual panes don't get focus
when I click in them.</font>
<br>
<br><font size=2 face="sans-serif">The -->| vertical cursor still blinks,
if that helps.. </font>
<br>
<br><font size=2 face="sans-serif">I also tried capturing the scilab session
within a separate xserver:.  I tried xnest, but this worked better...
</font>
<br>
<br><font size=2 face="sans-serif">Xephyr :1 -screen 1000x1000 &</font>
<br><font size=2 face="sans-serif">xterm  -display :1 -e "/home/shorne/src/scilab-5.4.1/bin/scilab"</font>
<br>
<br><font size=2 face="sans-serif">This required usecanvas(%T) but otherwise</font>
<br><font size=2 face="sans-serif">worked fine.  Focus could be moved
around at will without getting lost.</font>
<br><font size=2 face="sans-serif">(This was the minimal case.  I
tried first running a window manager in the display - that worked fine
as well.)</font>
<br>
<br><font size=2 face="sans-serif">  Oddly, plotting seemed faster.</font>
<br>
<br><font size=2 face="sans-serif">Hope this helps find the bug - </font>
<br>
<br><font size=2 face="sans-serif">Steve</font>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Antoine Monmayrant <antoine.monmayrant@laas.fr></b>
</font>
<br><font size=1 face="sans-serif">Sent by: users-bounces@lists.scilab.org</font>
<p><font size=1 face="sans-serif">08/06/2013 01:02 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
antoine.monmayrant@laas.fr; Please respond to<br>
"International users mailing list for Scilab."    
   <users@lists.scilab.org></font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">"International users mailing list
for Scilab." <users@lists.scilab.org></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [Scilab-users] Scilab console, xwindows
-- plotting kills console keyboard</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=3>His Steve,<br>
<br>
I think you need to run a couple of tests to see where the problem comes
from.<br>
Here is what I propose:<br>
<br>
1) Write the smallest script that raises the issue: like a script with
just "scf()" or "plot()" then some other commands.<br>
2) Try to run this script locally on the linux box to see if the problem
is still present. If not this means your problem is linked with the remote
use of scilab.<br>
2bis) If the problem is due to the remote connection, try to run scilab
remotely from another linux box (to rule out cygwin as a possible cause).<br>
3) Try to run remotely scilab -nw (to avoid the fancy console as you call
it). See if you script still causes an issue.<br>
4) Try to run the last official version of scilab and also maybe the last
nightly build of the master branch to see if the issue is still there.<br>
5) Report on your progress here and we'll try to see whether it's a scilab
bug, a debian bug or something else.<br>
<br>
Antoine<br>
<br>
Le 06/08/13 16:09, </font><a href=mailto:shorne@energetiq.com><font size=3 color=blue><u>shorne@energetiq.com</u></font></a><font size=3>
a écrit :</font>
<br><tt><font size=3>I work in a windows environment.(xp)   I usually
use scilab on a linux <br>
computer, with display set to the windows<br>
box via the cygwin xserver.  I have used this configuration happily
with <br>
scilab 4.0.  Never an issue.<br>
<br>
Open a cygwin xterminal on the xp box<br>
log into linux box with ssh -Y in that xterminal<br>
type "scilab" into the xterminal<br>
All works well.  The linux box runs an old version of mandrake<br>
 uname -a<br>
Linux dataserver.energetiq.com 2.6.11-6mdk #1 Tue Mar 22 16:04:32 CET 2005
<br>
i686 Intel(R) Pentium(R) 4 CPU 2.80GHz unknown GNU/Linux<br>
I have used this scheme for years, running "production" code
for data <br>
analysis.<br>
<br>
<br>
Recently I decided to upgrade the linux machine to a more modern <br>
distribution -- Mint Debian. <br>
$ uname -a<br>
Linux dataserver1 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:19:42 UTC
<br>
2013 i686 i686 i686 GNU/Linux<br>
<br>
I installed  scilab 5.x - to get access to some of the newer atoms
<br>
toolboxes.<br>
I should say this is the debian scilab installed via apt-get.<br>
<br>
$ scilab -version<br>
Scilab version "5.4.1.1364571296"<br>
scilab-5.4.1<br>
<br>
Now, if I start up scilab, the fancy new console comes up and works until<br>
I plot once.  Or do anything to bring up a plot window. (eg, demo
<br>
<br>
After that I can no longer type into the console.  cut/paste with
the <br>
mouse works; but keyboard is dead,<br>
when typing into the scilab window.  Works fine on all other xterms.<br>
<br>
What can I do to fix this? <br>
<br>
Thanks,<br>
Steve<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</font></tt>
<br><font size=3><br>
</font>
<br><tt><font size=3>_______________________________________________<br>
users mailing list<br>
</font></tt><a href=mailto:users@lists.scilab.org><tt><font size=3 color=blue><u>users@lists.scilab.org</u></font></tt></a><tt><font size=3><br>
</font></tt><a href=http://lists.scilab.org/mailman/listinfo/users><tt><font size=3 color=blue><u>http://lists.scilab.org/mailman/listinfo/users</u></font></tt></a><tt><font size=3><br>
</font></tt>
<br><tt><font size=2>_______________________________________________<br>
users mailing list<br>
users@lists.scilab.org<br>
http://lists.scilab.org/mailman/listinfo/users<br>
</font></tt>
<br>