On 20-03-2013, at 03:01, Allin Cottrell <cottrell(a)wfu.edu> wrote:
I've just put a second attempt at an all-in-one native quartz
package of gretl in place at
http://sourceforge.net/projects/gretl/files/osx-testing/
Hopefully this should address some of the points made in relation to
my first try, though I'm sure there will be some problems remaining.
* Interactive gnuplot use should now work.
* Ctrl-F2 should work to access the main window menu (or
fn-Ctrl-F2, if Ctrl-F2 is taken by the OS to control the
LCD brightness, as on a Macbook Air).
* Command-w should work to close more windows than before.
* There's now a functioning theme selector under Preferences/
General. I've made "Clearlooks" the default; "Lion-like"
may look a bit more Mac-ish, but I suspect it may be flaky.
If you're testing this, I recommend that you first delete your
~/.gretl2rc file, if present.
Not sure about file-type associations; I've done something that I
think should be helpful but I'd be interested to hear if they're now
working.
As for "Alt-key" navigation of menus, my research[*] tells me that's
not a Mac thing, and it seems we can't have it both ways; it's
totally disabled in gtk-quartz. But having got to the main menu via
Ctrl-F2, you can navigate via initial letters of menu items or arrow
keys.
This is quite true. But see below.
[*] See (among many other references),
http://en.wikipedia.org/wiki/Option_key
Running Mac OS X 10.8.3.
Quartz Gretl.app is in ~/Applications (for testing).
I'm using Lion-like as theme preference and that actually looks quite good.
Remarks:
- Ctrl+F2 does not access the menu at all
- in a menu no first letter navigation is possible
Shortcuts are a bit haphazard:
- in the Data menu Select all has shortcut Ctrl+A and Find variable… has shortcut
Command+F
- menu File, Open Data, User file… has shortcut Command+O
- menu File, Save data has shortcut Ctrl+S (as an aside wouldn't it be logical that
"Save data as" has a shortcut Shift+Ctrl+S) but New dataset has shortcut
Command+N
- Exit is Ctrl_X and Command+Q has no effect on Gretl.app
- F1 brings up the command reference. Pressing the Escape key makes the text Escape appear
in the Filter/Find input field.
Same for example with pressing the Tab key: text Tab appears in the Filter/Find input
field.
(I even got Meta_R but I can't remember which key I pressed and I can't
reproduce).
- The command reference window refuses to be closed with Command+W or Ctrl+W
- script, script output windows can be closed with Command+W
- Command+` does not let you switch windows (this is really very important since it is the
standard mac way of going from window to window; and it works with XQuartz/X11)
- Tools, Gnuplot starts the included gnuplot but in the Terminal window you get the
message:
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/login)
is setuid or setgid
gnuplot does start with terminal type aqua.
Googling on the warning turned up:
http://apple.stackexchange.com/questions/58228/how-to-fix-terminal-error-...
and in that discussion this
https://discussions.apple.com/thread/4143805?start=0&tstart=0
There is more about this on the internet. It seems to evolve round the use of sudo. The
matter is totally beyond me.
It appears to be a bug in 10.8.x.
- keyboard shortcut t in the main window works: a window with a plot appears. I can close
the graph window with Ctrl+W and Command+W
(and also with the "q" shortcut and the "z" shortcut also works)
- in the Programs tab of the Preferences I don't see a path to libR. I have R
installed in /Library/Frameworks/R.framework. Start Gnu R launches R.app without issue.
Some typical mac things:
- Preferences has a standard shortcut key: Command+, (that's a comma).
- one of the very nice things of Mac OS X is the ability to define your own keyboard
shortcuts for menu entries of an application.
(most Mac applications have many keyboard shortcuts which are user changeable most of
the time). It's a facility that I use quite a lot.
(note: Virtualbox lets you redefine shortcuts but weirdly enough Rstudio does not; both
appear to be using Qt).
My apologies for the nitpicking but if GTK quartz and gretl want to present an interface
as Mac-ish as possible then there appears to be scope for improvement.
Berend