From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bijan Soleymani Newsgroups: gmane.emacs.help Subject: Re: Emacs like line editing during perl input. Date: 31 Dec 2002 00:45:06 -0500 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87isxag2sd.fsf@hurd.crasseux.com> References: <87r8bzeyox.fsf@hurd.crasseux.com> <87n0mmg807.fsf@hurd.crasseux.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1041313601 6845 80.91.224.249 (31 Dec 2002 05:46:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 31 Dec 2002 05:46:41 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18TFEd-0001mH-00 for ; Tue, 31 Dec 2002 06:46:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18TFDa-0006ft-00 for gnu-help-gnu-emacs@m.gmane.org; Tue, 31 Dec 2002 00:45:34 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!snoopy.risq.qc.ca!wesley.videotron.net!wagner.videotron.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-NNTP-Posting-Host: 24.203.44.117 Original-X-Complaints-To: abuse@videotron.ca Original-X-Trace: wagner.videotron.net 1041313282 24.203.44.117 (Tue, 31 Dec 2002 00:41:22 EST) Original-NNTP-Posting-Date: Tue, 31 Dec 2002 00:41:22 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:108619 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5148 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5148 Harry Putnam writes: > Bijan Soleymani writes: > > >> emacs vICQ.pm > >> M-x occur [Rr]ead[Ll]ine > >> > >> > >> M-x occur [Tt]erm > >> > > 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