Xref: utzoo gnu.emacs.help:1312 comp.emacs:10211 Path: utzoo!utgpu!watserv1!watmath!uunet!shelby!apple!bionet!uwm.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!midway!ux1.cso.uiuc.edu!m.cs.uiuc.edu!ibma0.cs.uiuc.edu!sunc5.cs.uiuc.edu!epstein From: epstein@sunc5.cs.uiuc.edu (Milton Epstein) Newsgroups: gnu.emacs.help,comp.emacs Subject: loading up term files under X-windows? Summary: loading up term files under X-windows? Keywords: term files X-windows Message-ID: <27CEE362.2F1F@ibma0.cs.uiuc.edu> Date: 1 Mar 91 23:27:30 GMT Sender: news@ibma0.cs.uiuc.edu Organization: University of Illinois at Urbana-Champaign Lines: 26 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