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