Path: utzoo!mnetor!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!rutgers!topaz.rutgers.edu!steiner From: steiner@topaz.rutgers.edu (Dave Steiner) Newsgroups: comp.emacs Subject: Re: function key customization Message-ID: Date: 17 Mar 88 20:33:14 GMT References: <344@conky.cme-durer.ARPA> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 21 To: leake@cme-durer.ARPA Cc: steiner I've locally added hooks for all the terminal types so that you could just put your customizations on the vt220 hook but if you don't have access to the sources you can do the following: (if (string= "vt220" (getenv "TERM")) (progn (load (concat term-file-prefix "vt220") t t);load the term/vt220.el file ; ;do your customizations here ; (setq term-file-prefix nil))) ;set this to nil so that the term ; file is not loaded again. The load call above is quick and dirty for a vt220; if you want to see how it's done normally, look at lisp/startup.el. ds -- arpa: Steiner@TOPAZ.RUTGERS.EDU uucp: ...{ames, cbosgd, harvard, moss}!rutgers!topaz.rutgers.edu!steiner