Author Topic: Visiscript 0.4.3  (Read 7831 times)

freizugheit

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://
Visiscript 0.4.3
« on: May 04, 2006, 04:51:59 am »
The new version Visiscript 0.4.3 works smoothly on my SL-5600.

Can someone shed some lights how to configure it to run various scripting langugaes, like python or other programming languages?
« Last Edit: May 04, 2006, 04:52:34 am by freizugheit »

freizugheit

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://
Visiscript 0.4.3
« Reply #1 on: May 07, 2006, 09:57:03 pm »
Got the solution for python programming.

It presumed that python compiler is properly installed.

Click View, select  Configuration.

Click Script tab,  the  preprogrammed  "Miniscript" is in the Command field. Press and hold the button labelled "Miniscript", a list of pretyped scirpting and programming languages are available.  Select  "python ".

Close the Configuration windows.

Create your python code, eg  123.py in a tab window, press the Run button. It should be running.


Voila!!!!!
« Last Edit: May 07, 2006, 10:41:44 pm by freizugheit »

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Visiscript 0.4.3
« Reply #2 on: May 08, 2006, 07:31:02 am »
freizugheit: thx for info about 0.4.3 release - updated Visiscript in OpenEmbedded and OpenZaurus 3.5.4
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

Darth_Sith

  • Full Member
  • ***
  • Posts: 128
    • View Profile
Visiscript 0.4.3
« Reply #3 on: June 06, 2006, 04:23:23 am »
Hi all.
It's possible run a java program?

Thanks.

SL-C1000 + cacko 1.23F + sd4GB + CFBT + CFWiFi
HTC Polaris

freizugheit

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://
Visiscript 0.4.3
« Reply #4 on: June 12, 2006, 01:38:54 pm »
Quote
Hi all.
It's possible run a java program?

Thanks.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Yes.

Preconditons:


Installation of JDK 1.1.8 classes.zip from Sun and to be stored under /mnt/cf/java/classes
Installation of [a href=\"http://s91215199.onlinehome.us/zaurus/]Jikes  Java Compiler [/url] and to be stored under /mnt/cf/java

Installation of Ewe Java Virtual Machine for Zaurus

Unzip Ewe149-Developer-SDK.zip and move the whole classes directory to /mnt/cf/java


Steps for compilation  and actvattion of  java code  using HelloWorld.java supplied by Ewe SDK as example:

- Use Visiscript to open  /mnt/cf/java/classes/tests/HelloWorld.java. You may wish to modify the java code.

- Create the following script file j.sh and save it under /mnt/cf/java using Visiscript (one-time creation):


Code: [Select]
#!/bin/bash
cd /mnt/cf/java/classes
rm $1.classs
echo "Compiling"
jikes -classpath classes.zip:CompileEwe.zip $1.java &> Aerr
echo "Displaying Errors"
cat Aerr |more
echo "Activating"
ewe $1

- In Visiscript's Main Window, click View Menu and select Configuration.
  - Select the Script tab
    - Type "/mnt/cf/java/j.sh tests/HelloWorld" into the field next to the Command label.
    - Click OK to return to Visiscript's Main Window where text files were created.

- Press the Play button to activate the command line you have just entered.
  - The script file j.sh will be executed.
    - Your java code will be compiled by Jikes and activated using Ewe VM.

Voila!!!!!
« Last Edit: June 20, 2006, 05:07:15 am by freizugheit »

freizugheit

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://
Visiscript 0.4.3
« Reply #5 on: June 20, 2006, 05:08:10 am »
Has anyone successfully configured VisiScript to run Zgcc?

Please enlighten!!!!
« Last Edit: November 22, 2006, 02:36:06 am by freizugheit »