🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189134

vt200 find key - arghhh

#189134
From: moss_r
Date: Fri, 26 Apr 1991 17:04
37 lines
1991 bytes
More questions about vt200 terminals :-}

Does anyone out there know how to redefine the vt200 'Find' key to give
you C-s so that you can use it properly with isearch.  The 'Find' key sends the
key sequence "\e[1~".

Isearch uses (read-char) to see if you have pressed C-s, can you somehow get
the find \e[1~ sequence translated into C-s *before* it reaches (read-char) ??

I have tried everything I could think of to try and get it to work, in
particular the following *didn't* work ( though I don't know why ):

(define-key global-map "\e[1~" "\C-s")

which should give you C-s if you press find ( it works for C-c though ??? ).

I could ( try! ) and hack around with isearch.el to get it to recognize the
sequence \e[1~, but I don't really want to.

-------

Also, does anyone know where I could get a simple description of how elisp
works.  I've written a few functions for my .emacs file, but I don't really
have any idea of how elisp works on a basic level ( like what the hell lists,
vectors, etc really are and how you use them ).
It's pretty easy to write simple functions just using the online help about
what particular functions do, but anything vaguely compilcated requires at
least a basic understanding of how lisp works.

thanks

		Richard Moss

		Dep't Theoretical Chemistry
		University of Sydney, Australia

		moss_r@summer.chem.su.oz.au
Technical Details
Message-ID: <1991Apr26.120425.1@summer.chem.su.oz.au>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!munnari.oz.au!metro!summer.chem.su.oz.au!moss_r

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,3f2bb1b5793578b6,start
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-04-26 11:13:23 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!munnari.oz.au!metro!summer.chem.su.oz.au!moss_r
From: moss_r@summer.chem.su.oz.au
Newsgroups: gnu.emacs.help
Subject: vt200 find key - arghhh
Message-ID: <1991Apr26.120425.1@summer.chem.su.oz.au>
Date: 26 Apr 91 17:04:25 GMT
Sender: news@metro.ucc.su.OZ.AU
Organization: Sydney University Computing Service, Sydney, NSW, Australia
Lines: 37
Nntp-Posting-Host: summer.chem.su.oz.au