home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!paladin.american.edu!howland.reston.ans.net!spool.mu.edu!agate!netsys!pagesat!spssig.spss.com!news.oc.com!convex!benavide
- From: benavide@convex.com (John Benavides)
- Subject: Re: Editline in perl
- Sender: usenet@news.eng.convex.com (news access account)
- Message-ID: <benavide.728153783@neptune>
- Date: Wed, 27 Jan 1993 16:56:23 GMT
- References: <1993Jan26.222254.19183@uvaarpa.Virginia.EDU>
- Nntp-Posting-Host: neptune.convex.com
- Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
- X-Disclaimer: This message was written by a user at CONVEX Computer
- Corp. The opinions expressed are those of the user and
- not necessarily those of CONVEX.
- Lines: 42
-
- ripper@athena.mit.edu writes:
-
-
- >I'm trying to generate a prompt which would allow users many
- >of the spiffy lineeditting characteristics that tcsh has (^A to
- >goto beginning of line, ^K to kill the rest of the line, ^E to
- >get to the end of the line, arrow keys, etc). Is there a script
- >out there already that does that? Is there also a better
- >documented version of 'termcap.pl' (which has more than a header
- >of 4 short usage examples)?
-
- >-Ross Lippert
- >ripper@athena.mit.edu
-
- Ross,
- check out the "complete.pl" source described on page 395 of
- the Camel book (_Programming Perl_ by L. Wall and R. Schwartz).
-
- I just used it. I had to reset one of its variables
- using "undef($Complete'return);" after each call in my application
- because the previous "$input" was still part of the prompt on
- succeeding calls.
-
- |% perl -v
- |
- |This is perl, version 4.0
- |
- |$RCSfile: perl.c,v $$Revision: 4.0.1.7 $$Date: 92/06/08 14:50:39 $
- |Patch level: 34
- |
- |Copyright (c) 1989, 1990, 1991, Larry Wall
- |
- |Perl may be copied only under the terms of either the Artistic License or the
- |GNU General Public License, which may be found in the Perl 4.0 source kit.
- |%
-
- -John Benavides
- benavide@convex.com
- --
- Regards,
- John Benavides |Junior Member,
- benavide@convex.com |Understanding tchrist from his sigs Assoc. (TM)
-