all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs like line editing during perl input.
@ 2002-12-30  2:01 Harry Putnam
  2002-12-30  8:20 ` those who know me have no need of my name
  2002-12-31 15:14 ` Kai Großjohann
  0 siblings, 2 replies; 14+ messages in thread
From: Harry Putnam @ 2002-12-30  2:01 UTC (permalink / raw)


I'm sneaking in a perl question that is only slightly related to
emacs.

I'd like to have somekind of line editing available during user
input to a perl script.

By default it seems none is available.  Any attempt to navigate or
edit an input line produces control chars.  Only backspace works to
edit.

Test:
  perl -e 'while(<>){print}'

Try to edit an input line

How can I get behavior like is available in any of the true korn
shells (not pdksh).

ksh93 <RET>
read

Any input lines are editable with full vi like line editing.
if -o emacs is set then full emacs line editing is available.
How can I get similar line editing ability duing perl input?

I think Term::ReadLine is the tool for this but couldn't figure out
how to deploy it.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2002-12-31 17:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-30  2:01 Emacs like line editing during perl input Harry Putnam
2002-12-30  8:20 ` those who know me have no need of my name
2002-12-30 16:01   ` Harry Putnam
2002-12-30 16:15     ` those who know me have no need of my name
2002-12-31  1:17       ` Harry Putnam
2002-12-31  1:58         ` Bijan Soleymani
2002-12-31  2:32           ` Harry Putnam
2002-12-31  3:17           ` Harry Putnam
     [not found]           ` <mailman.737.1041305477.19936.help-gnu-emacs@gnu.org>
2002-12-31  3:52             ` Bijan Soleymani
2002-12-31  4:24               ` Harry Putnam
     [not found]               ` <mailman.738.1041308660.19936.help-gnu-emacs@gnu.org>
2002-12-31  5:45                 ` Bijan Soleymani
2002-12-31 15:14 ` Kai Großjohann
2002-12-31 15:30   ` Harry Putnam
2002-12-31 17:29     ` those who know me have no need of my name

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.