Path: utzoo!attcan!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!mandrill!hal!ncoast!allbery From: allbery@ncoast.UUCP (Brandon S. Allbery) Newsgroups: comp.emacs Subject: Re: jove & vt100 Message-ID: <7797@ncoast.UUCP> Date: 21 May 88 02:24:22 GMT References: <299@wmt.UUCP> <1040005@acf8.UUCP> <146@isl.stanford.edu> Reply-To: allbery@ncoast.UUCP (Brandon S. Allbery) Followup-To: comp.emacs Organization: Cleveland Public Access UN*X, Cleveland, Oh Lines: 28 As quoted from <146@isl.stanford.edu> by wongpw@isl.Stanford.EDU (Ping Wah Wong): +--------------- | If I use several different terminals, how do I tell jove (supposedly | through the .joverc file) to interpret the cursor and function keys | correctly? Thanks in advance! +--------------- Install this shell script somewhere on your path: ------- isterm ------- test "x$TERM" = "x$1" ---------------------- Then you can put conditional code in your .joverc: if isterm vt100 bind-to-key ansi-codes ^[[ endif if isterm sun bind-to-key ansi-codes ^[O endif I'm thinking about adding a slightly smarter if command, but that will have to be after all the other projects in my queue. -- Brandon S. Allbery, moderator of comp.sources.misc {well!hoptoad,uunet!marque,cbosgd,sun!mandrill}!ncoast!allbery Delphi: ALLBERY MCI Mail: BALLBERY