Dear Carl,
My guess is that the funny boxes are either Unicode characters and
that the editor you are opening the file with is not Unicode-aware, or
that they are control characters like backspace, Ctrl, etc. (basically
the first 30 or so code points in the ASCII/ISO LATIN character table).
In any case, if you are interested in making your own custom key-
bindings for Mac OS X, these two links are extremely useful and clear:
http://www.lsmason.com/articles/macosxkeybindings.html
http://www.hcs.harvard.edu/~jrus/site/cocoa-text.html
Hope it helps,
E.
On Jun 16, 2008, at 23:11 PM, Carl Witthoft wrote:
On Jun 13, 2008, at 11:24 PM, Vadim Patsalo wrote:
Hello Everyone,
I was hoping to make the following feature request: I've noticed
that R.app uses the standard Ctrl-a and Ctrl-e to jump to the
beginning and the end of the line on the console and in the
editor. However, I have not found a way to clear the current line
(akin to Ctrl-c, Ctrl-u, Ctrl-k in the shell of your choice).
Would it be possible for the two to be added as key combinations?
Is there a quick way to clear the current line that I am missing?
Unless I am mistaken this is simply a consequence of that fact that
OS X has semi-Emacs like keybindings in most text fields (well
Cocoa text fields). The same holds true for Terminal, Safari and
other applications. I say semi because only some keybindings are
supported, but it is relatively easy to add more keybindings. Do a
google search for something like Emacs like keybindings in Cocoa.
The relevant files are called something like StandardKeyBinding.dict
Great :-( : I took a look at SKB.dict. It's full of keys like "~
$"
( that's tilde - dollar sign - funny box with an x-ish thing in it).
Anyone want to take a flyer at what keys those represent?
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
****************************************
Emiliano R. Guevara
Facoltà di Lingue e Lett. Straniere
Dipart. di Lingue e Lett. Straniere
Università di Bologna
Via Cartoleria 5 (40124) Bologna, Italia
http://morbo.lingue.unibo.it/
[EMAIL PROTECTED]
[EMAIL PROTECTED]
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac