SAS function keys

Kasper Daniel Hansen K.Hansen at biostat.ku.dk
Tue Aug 12 19:40:49 CEST 2003


On Tuesday 12 August 2003 17:28, you wrote:
> At Tue, 12 Aug 2003 17:06:14 +0200,
>
> Kasper Daniel Hansen wrote:
> > I'm using ess-5.1.24. My home dir is network mounted so I have access
> > whatever server I'm using. Currently the ess setup file are "back to
> > basic" meaning they have been edited and reverted to the "shipping" state
> > (and I'm sure of that, so far my editing has been limited to uncommenting
> > two lines and commenting them back in).
> >
> > I'm using two different machines
> > 1) Sun Solaris, running Emacs 20.7.1. This Emacs session is accessed
> > through ssh using X tunneling.
> > 2) I386 (Redhat 8) running Emacs 21.2.1. This is the machine I log onto
> > directly. I use KDE.
> >
> > The ess files are physically the same files for both platforms. Using
> > this approach I'm able to use eg. iESS(R) mode perfectly, which I've been
> > using for a month or so.
> >
> > On both setups I get a beep whenever I try using the function keys.
> > However, the "sas" command does not exists on machine 2) (but I guess I
> > then ought to get an error message instead of this "beep").
> >
> > I've been considering two reasons for the behaviour
> > 1) I've been making mistakes in the configuration files
> > 2) Somehow the function keys are captued by KDE and never parsed on to my
> > Emacs session.
> >
> > I might add that using both machines I get some kind of help stuff when I
> > press f1 and some kind of twocolumn stuff when I press f2. I don't know
> > whether this is due to my windows manager or whether it is standard
> > behaviour (I know the function keys ought to be undefined, but perhaps
> > Sun / Redhat has a different policy). Nevertheless I'm using a "standard"
> > setup so this behaviour ought to be well known if it is due to the
> > standard setup on these two platforms.
>
> Kasper:
>
> I think the problem might be the function key definitions.  You
> mention that F1 and F2 are defined.  This is normal.  However, what
> happens when you type F1 k F3
> I get:
>
> f3 runs `ess-sas-submit'
>
> `ess-sas-submit' is an interactive Lisp function
>   -- loaded from "essa-sas"
> (ess-sas-submit)
>
> Documentation:
> Save the .sas file and submit to shell using a function that
> depends on the value of  `ess-sas-submit-method'

On both platforms the key is undefined. So this is probably the problem. To 
repeat myself
1) There is no definition of any function keys in ess-5.1.24/lisp/ess-site.el 
(all relevant lines are commented)
2) In my personal .emacs file I have
(setq ess-sas-global-unix-keys t)

-- 
Kasper Daniel Hansen, Research Assistant
Department of Biostatistics, University of Copenhagen
Email: k.hansen at biostat.ku.dk, Office: 22.3.40
Phone: +45 35 32 79 20, Fax: +45 35 32 79 07




More information about the ESS-help mailing list