Overview

The GTK beta is available for windows 32/64, linux 32/64 and Mac Intel 32.

Comments and contributions welcome. Feedback to the beta forum.

Beta

Most of the functionality should be obvious from the menus, and it is perhaps best to work through them one by one.

As in J6, some additional functionality is available by pressing the shift key when selecting a menu or button.

Some shortcuts differ from J6, e.g. Ctrl+L for run script instead of Ctrl+W. The latter is now mapped to close edit tab.

If the J terminal is shown, then:

Install

Download and install from the beta page.

The gtk binaries are usually already installed on Linux, but need to be downloaded for Windows and Mac, and saved in ~/install/gtk. To automate this you can start jconsole, (you will need to start jconsole with Administrator rights if you did a System install on Vista/Win7) then:

install 'gtkide'

To run the Gtk IDE, start jconsole and enter:

load 'gtkide'

Alternatively, create a J shortcut with a final parameter of gtkide, e.g.

bin/jconsole gtkide

Note that the base library included with the installers is still under development and may need updating from the J Application Library (JAL) using pacman. You can use the GUI interfaces for Package Manager available in either the Gtk (Tools|Package Manager) or JHS (Links|jal) IDEs to upgrade the base library and install additional Addons. Remember to restart J afterwards to load the new base library!

Alternatively one way to install/upgrade all packages available in JAL is to start jconsole and then:

load 'pacman'
'update' jpkg ''
'install' jpkg 'all'

then restart J.

Term

The term window is the usual J console, with behavior similar to the J6 ijx window. Color config is ~system/config/term.xml.

Edit

The edit window is a tabbed notebook. Color config is ~system/config/edit.xml and J syntax coloring j.lang in the same directory.

The window/notebook handling is tricky to get right - please report problems with it.

See also Session Manager.

Projects

Projects are supported directly, see project menu. The benefit is easy navigation of source directories. There is no project build as before, but verbs readsource and writesource and similar can be used for this, see example build.ijs scripts.

Menu Project|Properties shows the *.jproj file.

Projects support git (done) and svn (not yet done). If your project is in either version control system, additional project menu items are shown.

See also Project Manager.

Config

Menu Edit|Configure has a list of config files. You need to restart the session for any changes to take effect.

Library

The library and directory structure have several changes. The directories are simplified. The system scripts are reduced to a core minimum needed for IDEs. The rest will be moved to addons.

Plot / Viewmat

Plot and viewmat utilities are not shipped as part of the base library in J7, but are available as addons from JAL:

   load 'pacman'
   'search' jpkg 'graphics'                      NB. search for all addons containing "graphics" in the name
┌────────────────┬┬─────┬──────────────────┐
│graphics/afm    ││1.0.0│AFM               │
├────────────────┼┼─────┼──────────────────┤
│graphics/bmp    ││1.0.0│bitmap utilities  │
├────────────────┼┼─────┼──────────────────┤
│graphics/color  ││1.0.0│Color tables      │
├────────────────┼┼─────┼──────────────────┤
│graphics/plot   ││1.0.1│Plot              │
├────────────────┼┼─────┼──────────────────┤
│graphics/viewmat││1.0.0│Displays a viewmat│
└────────────────┴┴─────┴──────────────────┘

The search found 5 addons, none which are currently installed (the 2nd column of the table shows the installed version and is empty for each of the addons).

   'install' jpkg 'search' jpkg 'graphics'       NB. install all the addons found using the search
Installing 5 packages
Downloading graphics/afm...
Installing graphics/afm...
Downloading graphics/bmp...
Installing graphics/bmp...
Downloading graphics/color...
Installing graphics/color...
Downloading graphics/plot...
Installing graphics/plot...
Downloading graphics/viewmat...
Installing graphics/viewmat...
Done.
Installed addons are up to date, 16 addons are not yet installed.
The base library is up to date.

The plot and viewmat functionality should be equivalent to what was available using wd in J602. Try the following:

   load 'plot'
   plot 3 4 ?@$100
   load 'viewmat'
   viewmat */~ i: 7

Source

Source is in subversion at:

Note that the base library is in repository base7, not base.



Contributed by ChrisBurke.

System/Beta/Gtk IDE (last edited 2011-01-16 22:35:02 by RicSherlock)