Updates for the external editor joe

This commit is contained in:
Michiel Broek
2004-08-18 15:22:11 +00:00
parent 6674a73133
commit 2921392683
3 changed files with 20 additions and 12 deletions

View File

@@ -32,7 +32,7 @@ PARAM="~/edit.msg"
# uncomment next line. If user select Emacs keys then this
# editor was selected.
if [ "BBSFSEDKEYS" = "1" ]; then EDITOR=/usr/bin/bbsjmacs; fi
if [ "BBSFSEDKEYS" = "1" ]; then EDITOR=@joebin@/bbsjmacs; fi
## Setting Language environmment for msg header
@@ -67,7 +67,7 @@ case $BBSLANGUAGE in
;;
## Dutch
N)
LANGAREA='Gebied'
LANGAREA='GEBIED'
LANGFROM='Van '
LANGTO='Aan '
LANGRE='Onderwerp'
@@ -76,9 +76,9 @@ case $BBSLANGUAGE in
## Languages not set defaults to english.
*)
LANGAREA='AREA'
LANGFROM='FROM '
LANGTO='TO '
LANGRE='SUBJECT '
LANGFROM='From '
LANGTO='To '
LANGRE='Subject '
;;
esac
@@ -87,12 +87,12 @@ alarma $TIME $EDITOR &
## Draw header and call editor
clear
echo "
echo -e "
$LANGAREA: $AREANUM $AREA
 $LANGFROM: $MSGFROM
 $LANGTO: $MSGTO $MSGTOADDR
 $LANGRE: $MSGSUBJECT
 "
\n$LANGFROM: $MSGFROM $MSGFROMADDR
\n$LANGTO: $MSGTO $MSGTOADDR
\n$LANGRE: $MSGSUBJECT
\n"
$EDITOR $PARAM
## kill alarm
killall sleep >/dev/null 2>&1