File: READLNE-HACKS

package info (click to toggle)
esh 0.8-7
  • links: PTS
  • area: main
  • in suites: sarge, woody
  • size: 508 kB
  • ctags: 542
  • sloc: ansic: 3,608; lisp: 166; makefile: 72
file content (9 lines) | stat: -rw-r--r-- 330 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
Only one readline hack so far: 

You can use control-j to insert a literal newline. (i.e. when you
want to type long definitions interactively.)

One non-readline hack: typing Control-C while the shell is evaluating 
commands will take you back to the prompt. This is useful when you
have inadvertently entered an infinite loop.