[BACK]Return to feprc.sample CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / fep

File: [local] / OpenXM_contrib2 / asir2000 / fep / Attic / feprc.sample (download)

Revision 1.1, Mon Sep 2 10:17:40 2002 UTC (21 years, 8 months ago) by noro
Branch: MAIN

Added fep source for linux, freebsd and cygwin.

#
# $Header: feprc.sample,v 4.3 88/11/13 15:53:17 utashiro Exp $
# This is a sample .feprc file.
#

set alarm-on-eof
set savehist=50

#sed editmode=vi

echo "Welcome to fep! Editmode is" $editmode
echo "I'm a front end processor for" $command

if $editmode == emacs
	fep-bind delete-to-kill-buffer "\^X\^W"
endif

if $command == sh
	set ignore-eof
	set history-file .fephistdir/sh
	set delimiters=" 	\"';&<>()|^%"
	set auto-repaint
	set clear-repaint
	alias cd 'fep-cd !$;cd !$'
	alias chdir 'fep-cd !$;cd !$'

	if $editmode == vi
		fep-bind list-file-name "\^D"
	endif

elseif $command == adb
	set history-file .fephistdir/adb

elseif $command == bc
	unset alarm-on-eof
	unset alarm-on-eof

elseif $command == dbx
	set history-file .fephistdir/dbx

else
	echo "History will be saved to" $history-file
endif

fep-bind suspend "\^Z"

#Fujimoto's setting
        fep-bind delete-previous-character "\^H"
        fep-bind backward-character "\^[[D"
        fep-bind forward-character "\^[[C"
#        fep-bind beginning-of-line "\^A"
#        fep-bind end-of-line "\^E"
        fep-bind previous-history "\^[[A"
        fep-bind next-history "\^[[B"