logo       

Re: Emacs like line editing during perl input.: msg#00968

emacs.help

Subject: Re: Emacs like line editing during perl input.

Harry Putnam <hgp@xxxxxxxxxxxxx> writes:

> Bijan Soleymani <bijan@xxxxxxx> writes:
>
> >> emacs vICQ.pm
> >> M-x occur [Rr]ead[Ll]ine <RET>
> >> <no matches>
> >>
> >> M-x occur [Tt]erm <RET>
> >> <no matches>
> > I've installed the Debian package I'm looking at the file /usr/bin/vicq
> > and line 19 is:
> > use Term::Readline;
> > and m-x occur gives 23 matches.
>
> Oh.. thanks. I was looking in the *.pm file.
> Now I see them but still no closer to understanding how to use it to
> make and input line editable.
>
> Apparently this is just going to remain out of my grasp for some time
> to come.

I just checked and the Debian package for libterm-readline comes with
some examples. This is in:
/usr/share/doc/libterm-readline-gnu-perl/examples

You might also want to check the Readline manual itself as it seems as
the readline capability of perl simply calls the functions in the
Readline library (which is written in C).

If you do check out the Readline manual be careful there are two
manuals. One is a user manual that comes with the binary package. The
one you want is the other manual that comes with the dev package.

Bijan


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise