epstein@sunc5.cs.uiuc.edu (Milton Epstein) (03/02/91)
I have a few questions about loading up the proper term file when emacs starts up under X windows. I looked in the FAQ posting, under the question of what emacs does when starting up, and figured out that normally it will load the term/x-win.el file when running under x-windows. The problem with that (on my system, at least) is that it does not load up the term file that sets up the key-bindings for the arrow and function keys on the keyboard (I am using an RS6000) -- which is in the term/aixterm.el file. Now what I thought to do was to put something like the following at the end of the term/x-win.el file: (if (string-equal (getenv "TERM") "aixterm") (load (concat term-file-prefix (getenv "TERM")))) So my questions are -- will this do what I want it to do? is there a better way? is this not a safe thing to do -- i.e. am I overlooking some problems this will lead to? Thanks for any help. -- Milt Epstein Department of Computer Science University of Illinois epstein@cs.uiuc.edu