v1.0.7.10 - Update configuration files for joe editor to support newer versions of joe, add "areafix" and "filefix" as recognized service names, update Makefiles to install binaries as read & execute only, add DESTDIR support to Makefiles.

This commit is contained in:
Andrew Leary
2018-09-28 16:22:52 -04:00
parent fb9bdbe430
commit 73c3ba21cb
22 changed files with 331 additions and 244 deletions

View File

@@ -20,75 +20,77 @@ install:
@if [ "`id -un`" != "root" ] ; then \
echo; echo " Must be root to install!"; echo; exit 3; \
fi
@if [ ! -x ${ETCDIR}/maint ]; then \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0700 maint ${ETCDIR} ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0700 maint ${ETCDIR}" ; \
@if [ ! -x ${DESTDIR}${ETCDIR}/maint ]; then \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0500 maint ${DESTDIR}${ETCDIR} ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0500 maint ${DESTDIR}${ETCDIR}" ; \
else \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0700 maint ${ETCDIR}/maint.new ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0700 maint ${ETCDIR}/maint.new" ; \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0500 maint ${DESTDIR}${ETCDIR}/maint.new ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0500 maint ${DESTDIR}${ETCDIR}/maint.new" ; \
fi
@if [ ! -x ${ETCDIR}/midnight ]; then \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0700 midnight ${ETCDIR} ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0700 midnight ${ETCDIR}" ; \
@if [ ! -x ${DESTDIR}${ETCDIR}/midnight ]; then \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0500 midnight ${DESTDIR}${ETCDIR} ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0500 midnight ${DESTDIR}${ETCDIR}" ; \
else \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0700 midnight ${ETCDIR}/midnight.new ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0700 midnight ${ETCDIR}/midnight.new" ; \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0500 midnight ${DESTDIR}${ETCDIR}/midnight.new ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0500 midnight ${DESTDIR}${ETCDIR}/midnight.new" ; \
fi
@if [ ! -x ${ETCDIR}/weekly ]; then \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0700 weekly ${ETCDIR} ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0700 weekly ${ETCDIR}" ; \
@if [ ! -x ${DESTDIR}${ETCDIR}/weekly ]; then \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0500 weekly ${DESTDIR}${ETCDIR} ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0500 weekly ${DESTDIR}${ETCDIR}" ; \
else \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0700 weekly ${ETCDIR}/weekly.new ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0700 weekly ${ETCDIR}/weekly.new" ; \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0500 weekly ${DESTDIR}${ETCDIR}/weekly.new ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0500 weekly ${DESTDIR}${ETCDIR}/weekly.new" ; \
fi
@if [ ! -x ${ETCDIR}/monthly ]; then \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0700 monthly ${ETCDIR} ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0700 monthly ${ETCDIR}" ; \
@if [ ! -x ${DESTDIR}${ETCDIR}/monthly ]; then \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0500 monthly ${DESTDIR}${ETCDIR} ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0500 monthly ${DESTDIR}${ETCDIR}" ; \
else \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0700 monthly ${ETCDIR}/monthly.new ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0700 monthly ${ETCDIR}/monthly.new" ; \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0500 monthly ${DESTDIR}${ETCDIR}/monthly.new ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0500 monthly ${DESTDIR}${ETCDIR}/monthly.new" ; \
fi
@if [ ! -x ${BINDIR}/hatch ]; then \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0700 hatch ${BINDIR} ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0700 hatch ${BINDIR}" ; \
@if [ ! -x ${DESTDIR}${BINDIR}/hatch ]; then \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0500 hatch ${DESTDIR}${BINDIR} ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0500 hatch ${DESTDIR}${BINDIR}" ; \
else \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0700 hatch ${BINDIR}/hatch.new ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0700 hatch ${BINDIR}/hatch/new" ; \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0500 hatch ${DESTDIR}${BINDIR}/hatch.new ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0500 hatch ${DESTDIR}${BINDIR}/hatch/new" ; \
fi
@if [ -x ${JOEBIN}/joe ]; then \
echo "Installing support for joe editor" ; \
rm -f ${JOEBIN}/bbsjoe ; \
rm -f ${JOEBIN}/bbsjmacs ; \
echo "${LN_S} ${JOEBIN}/joe ${JOEBIN}/bbsjoe" ; \
${LN_S} ${JOEBIN}/joe ${JOEBIN}/bbsjoe ; \
echo "${LN_S} ${JOEBIN}/joe ${JOEBIN}/bbsjmacs" ; \
${LN_S} ${JOEBIN}/joe ${JOEBIN}/bbsjmacs ; \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 editor ${BINDIR} ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 editor ${BINDIR}" ; \
rm -f ${DESTDIR}${JOEBIN}/bbsjoe ; \
rm -f ${DESTDIR}${JOEBIN}/bbsjmacs ; \
mkdir -p ${DESTDIR}${JOEBIN} ; \
echo "${LN_S} ${JOEBIN}/joe ${DESTDIR}${JOEBIN}/bbsjoe" ; \
${LN_S} ${JOEBIN}/joe ${DESTDIR}${JOEBIN}/bbsjoe ; \
echo "${LN_S} ${JOEBIN}/joe ${DESTDIR}${JOEBIN}/bbsjmacs" ; \
${LN_S} ${JOEBIN}/joe ${DESTDIR}${JOEBIN}/bbsjmacs ; \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0550 editor ${DESTDIR}${BINDIR} ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0550 editor ${DESTDIR}${BINDIR}" ; \
fi
@if [ -d ${JOELIB} ]; then \
${INSTALL} -c -o ${ROWNER} -g ${RGROUP} -m 0644 bbsjoerc ${JOELIB} ; \
echo "${INSTALL} -c -o ${ROWNER} -g ${RGROUP} -m 0644 bbsjoerc ${JOELIB}" ; \
${INSTALL} -c -o ${ROWNER} -g ${RGROUP} -m 0644 bbsjmacsrc ${JOELIB} ; \
echo "${INSTALL} -c -o ${ROWNER} -g ${RGROUP} -m 0644 bbsjmacsrc ${JOELIB}" ; \
mkdir -p ${DESTDIR}${JOELIB} ; \
${INSTALL} -c -o ${ROWNER} -g ${RGROUP} -m 0644 bbsjoerc ${DESTDIR}${JOELIB} ; \
echo "${INSTALL} -c -o ${ROWNER} -g ${RGROUP} -m 0644 bbsjoerc ${DESTDIR}${JOELIB}" ; \
${INSTALL} -c -o ${ROWNER} -g ${RGROUP} -m 0644 bbsjmacsrc ${DESTDIR}${JOELIB} ; \
echo "${INSTALL} -c -o ${ROWNER} -g ${RGROUP} -m 0644 bbsjmacsrc ${DESTDIR}${JOELIB}" ; \
fi
@if [ ! -x ${BINDIR}/bbsdoor.sh ]; then \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 bbsdoor.sh ${BINDIR} ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 bbsdoor.sh ${BINDIR}" ; \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 rundoor.sh ${BINDIR} ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 rundoor.sh ${BINDIR}" ; \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 runvirtual.sh ${BINDIR} ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 runvirtual.sh ${BINDIR}" ; \
@if [ ! -x ${DESTDIR}${BINDIR}/bbsdoor.sh ]; then \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 bbsdoor.sh ${DESTDIR}${BINDIR} ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 bbsdoor.sh ${DESTDIR}${BINDIR}" ; \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 rundoor.sh ${DESTDIR}${BINDIR} ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 rundoor.sh ${DESTDIR}${BINDIR}" ; \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 runvirtual.sh ${DESTDIR}${BINDIR} ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 runvirtual.sh ${DESTDIR}${BINDIR}" ; \
else \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 bbsdoor.sh ${BINDIR}/bbsdoor.sh.new ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 bbsdoor.sh ${BINDIR}/bbsdoor.sh.new" ; \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 rundoor.sh ${BINDIR}/rundoor.sh.new ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 rundoor.sh ${BINDIR}/rundoor.sh.new" ; \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 runvirtual.sh ${BINDIR}/runvirtual.sh.new ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 runvirtual.sh ${BINDIR}/runvirtual.sh.new" ; \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 bbsdoor.sh ${DESTDIR}${BINDIR}/bbsdoor.sh.new ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 bbsdoor.sh ${DESTDIR}${BINDIR}/bbsdoor.sh.new" ; \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 rundoor.sh ${DESTDIR}${BINDIR}/rundoor.sh.new ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 rundoor.sh ${DESTDIR}${BINDIR}/rundoor.sh.new" ; \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 runvirtual.sh ${DESTDIR}${BINDIR}/runvirtual.sh.new ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0750 runvirtual.sh ${DESTDIR}${BINDIR}/runvirtual.sh.new" ; \
fi
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0640 doors.bat ${VARDIR}/dosemu/c
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0700 mbsedos ${BINDIR}
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0640 doors.bat ${DESTDIR}${VARDIR}/dosemu/c
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0500 mbsedos ${DESTDIR}${BINDIR}
@bash ./installinit.sh
filelist: Makefile

View File

@@ -43,7 +43,7 @@
-lines nnn Set no. screen lines
-baud nnn Set baud rate for terminal optimizations
-columns nnn Set no. screen columns
--help Start with help on
-help Start with help on
-skiptop 4 Don't use top nnn lines of the screen
Status line definition strings. -lmsg defines the left-justified string and
@@ -264,7 +264,7 @@
Macros may cross lines if they end with ,
:windows Bindings common to all windows
type ^@ TO <EFBFBD> Self insert
type U+0 TO U+10FFFF Self insert
abort ^G Abort window
abort ^X ^C
abort ^C
@@ -508,10 +508,39 @@ uparwmenu ^[ [ A
uparwmenu ^[ O A
:querysr Search & replace query window
type ^@ TO <EFBFBD>
type U+0 TO U+10FFFF
:query Single-key query window
:inherit windows
:querya Single-key query window for quoting
type ^@ TO <EFBFBD>
type U+0 TO U+10FFFF
:shell Input to shell windows
:inherit main
"C" ^C Abort
"D" ^D Eof
" " ^I Tab
"H" ^H Backspace
"M" ^M Return
"?" ^? Backspace
:vtshell Input to ANSI shell windows
:inherit main
"[[A" [ [ A
"[[A" .ku
"[[B" [ [ B
"[[B" .kd
"[[C" [ [ C
"[[C" .kr
"[[D" [ [ D
"[[D" .kl
"A" ^A BOL for bash
"C" ^C Abort
"D" ^D Eof
"E" ^E EOL for bash
" " ^I Tab
"H" ^H Backspace
"M" ^M Return
"?" ^? Backspace

View File

@@ -63,7 +63,7 @@
-columns nnn Set no. screen columns
--help Start with help on
-helpon Start with help on
-skiptop 4 Don't use top nnn lines of the screen
@@ -290,7 +290,7 @@
Macros may cross lines if they end with ,
:windows Bindings common to all windows
type ^@ TO <EFBFBD> Type a character
type U+0 TO U+10FFFF
abort ^K q Abort window
abort ^K Q
abort ^K ^Q
@@ -582,7 +582,36 @@ uparwmenu ^[ O A
:inherit windows
:querya Single-key query window for quoting
type ^@ TO <EFBFBD>
type U+0 TO U+10FFFF
:querysr Search & replace query window
type ^@ TO <EFBFBD>
type U+0 TO U+10FFFF
:shell Input to shell windows
:inherit main
"" ^C Abort
"" ^D Eof
" " ^I Tab
"" ^H Backspace
"
" ^M Return
"" ^? Backspace
:vtshell Input to ANSI shell windows
:inherit main
""  [ A
"" .ku
""  [ B
"" .kd
""  [ C
"" .kr
""  [ D
"" .kl
"" ^A BOL for bash
"" ^C Abort
"" ^D Eof
"" ^E EOL for bash
" " ^I Tab
"" ^H Backspace
"
" ^M Return