Annotation of OpenXM_contrib2/fep/feprc.sample, Revision 1.2
1.1 noro 1: #
2: # $Header: feprc.sample,v 4.3 88/11/13 15:53:17 utashiro Exp $
3: # This is a sample .feprc file.
4: #
5:
6: set alarm-on-eof
7: set savehist=50
8:
1.2 ! noro 9: #set editmode=vi
1.1 noro 10:
11: echo "Welcome to fep! Editmode is" $editmode
12: echo "I'm a front end processor for" $command
13:
14: if $editmode == emacs
15: fep-bind delete-to-kill-buffer "\^X\^W"
16: endif
17:
18: if $command == sh
19: set ignore-eof
20: set history-file .fephistdir/sh
21: set delimiters=" \"';&<>()|^%"
22: set auto-repaint
23: set clear-repaint
24: alias cd 'fep-cd !$;cd !$'
25: alias chdir 'fep-cd !$;cd !$'
26:
27: if $editmode == vi
28: fep-bind list-file-name "\^D"
29: endif
30:
31: elseif $command == adb
32: set history-file .fephistdir/adb
33:
34: elseif $command == bc
35: unset alarm-on-eof
36: unset alarm-on-eof
37:
38: elseif $command == dbx
39: set history-file .fephistdir/dbx
40:
41: else
42: echo "History will be saved to" $history-file
43: endif
44:
45: fep-bind suspend "\^Z"
46:
47: #Fujimoto's setting
48: fep-bind delete-previous-character "\^H"
49: fep-bind backward-character "\^[[D"
50: fep-bind forward-character "\^[[C"
51: # fep-bind beginning-of-line "\^A"
52: # fep-bind end-of-line "\^E"
53: fep-bind previous-history "\^[[A"
54: fep-bind next-history "\^[[B"
55:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>