Final patches for external editor
This commit is contained in:
parent
134a92e31f
commit
cd0618bc01
@ -4596,7 +4596,7 @@ v0.33.20 10-Feb-2002
|
|||||||
Updated German, Spanish and Galego languages.
|
Updated German, Spanish and Galego languages.
|
||||||
The location of the sourcefiles is not important anymore.
|
The location of the sourcefiles is not important anymore.
|
||||||
Added detection of vpopmail in default installation path.
|
Added detection of vpopmail in default installation path.
|
||||||
Changed language prompts 372, 373, 387, 388, 389 and 390.
|
Changed language prompts 372, 373, 387, 388, 389, 390 and 438.
|
||||||
|
|
||||||
common.a:
|
common.a:
|
||||||
Added 2 functions to return the OS name and CPU family.
|
Added 2 functions to return the OS name and CPU family.
|
||||||
|
@ -436,7 +436,7 @@
|
|||||||
435 user.c |Your password is expired, new password :
|
435 user.c |Your password is expired, new password :
|
||||||
436 funcs.c |Press ENTER to continue
|
436 funcs.c |Press ENTER to continue
|
||||||
437 mail.c |Posting not allowed, this area is Read Only!
|
437 mail.c |Posting not allowed, this area is Read Only!
|
||||||
438 |notdefined
|
438 change.c 12|Select: 1) Line editer, 2) Fullscreen editer
|
||||||
439 offline.c |Offline Reader Upload
|
439 offline.c |Offline Reader Upload
|
||||||
440 offline.c |Invalid packet received
|
440 offline.c |Invalid packet received
|
||||||
441 offline.c |Unknown compression type
|
441 offline.c |Unknown compression type
|
||||||
|
@ -436,7 +436,7 @@ JN|Wilt U deze berichten downloaden [J/n]?
|
|||||||
|Uw wachtwoord is verlopen, geef nieuw wachtwoord:
|
|Uw wachtwoord is verlopen, geef nieuw wachtwoord:
|
||||||
|Toets ENTER voor doorgaan
|
|Toets ENTER voor doorgaan
|
||||||
|Plaatsen berichten niet toegestaan, dit gebied is alleen lezen!
|
|Plaatsen berichten niet toegestaan, dit gebied is alleen lezen!
|
||||||
|Antwoorden is niet toegestaan in dit gebied!
|
12|Kies: 1) Regel editer, 2) Volle scherm editer
|
||||||
|Offline Reader Upload
|
|Offline Reader Upload
|
||||||
|Ongeldig pakket ontvangen
|
|Ongeldig pakket ontvangen
|
||||||
|Onbekende compressie methode
|
|Onbekende compressie methode
|
||||||
|
@ -436,7 +436,7 @@ YN|Do you want to download these messages [Y/n]?
|
|||||||
|Your password is expired, new password :
|
|Your password is expired, new password :
|
||||||
|Press ENTER to continue
|
|Press ENTER to continue
|
||||||
|Posting not allowed, this area is Read Only!
|
|Posting not allowed, this area is Read Only!
|
||||||
|Replies are not allowed in this area!
|
12|Select: 1) Line editor, 2) Fullscreen editor
|
||||||
|Offline Reader Upload
|
|Offline Reader Upload
|
||||||
|Invalid packet received
|
|Invalid packet received
|
||||||
|Unknown compression type
|
|Unknown compression type
|
||||||
|
@ -436,7 +436,7 @@ SN|
|
|||||||
|A tua password caducou, nova password :
|
|A tua password caducou, nova password :
|
||||||
|Pulsa ENTER para seguir
|
|Pulsa ENTER para seguir
|
||||||
|Non podes escribir, esta rea es S¢ Lectura!
|
|Non podes escribir, esta rea es S¢ Lectura!
|
||||||
|!Non se permite responder nesta rea!
|
12|Select: 1) Line editor, 2) Fullscreen editor
|
||||||
|Upload de correo Off-Line
|
|Upload de correo Off-Line
|
||||||
|O paquete recibido non ‚ v lido
|
|O paquete recibido non ‚ v lido
|
||||||
|Comprimido con un compresor desco¤ecido
|
|Comprimido con un compresor desco¤ecido
|
||||||
|
@ -436,7 +436,7 @@ JN|Moechten Sie diese Mitteilungen herunterladen [J/n]?
|
|||||||
|Ihr Passwort ist abgelaufen, neues Passwort:
|
|Ihr Passwort ist abgelaufen, neues Passwort:
|
||||||
|Druecken Sie <Enter> um fortzufahren
|
|Druecken Sie <Enter> um fortzufahren
|
||||||
|Kein Senden moeglich, diese Area ist "Nur lesen"!
|
|Kein Senden moeglich, diese Area ist "Nur lesen"!
|
||||||
|In dieser Area sind Antworten nicht zugelassen!
|
12|Auswahl: 1) Zeilen-Editor, 2) Vollbild-Editor
|
||||||
|"Offline Reader" Paket heraufladen
|
|"Offline Reader" Paket heraufladen
|
||||||
|Kein oder fehlerhaftes Paket erhalten
|
|Kein oder fehlerhaftes Paket erhalten
|
||||||
|Unbekannter Datenkompressionstyp
|
|Unbekannter Datenkompressionstyp
|
||||||
|
@ -436,7 +436,7 @@ SN|Vuoi scaricare questi messaggi [S/n]?
|
|||||||
|La tua password e' scaduta, nuova password :
|
|La tua password e' scaduta, nuova password :
|
||||||
|Premi INVIO per continuare
|
|Premi INVIO per continuare
|
||||||
|Posting non consentito, quest'area e' in sola lettura!
|
|Posting non consentito, quest'area e' in sola lettura!
|
||||||
|Non e' consentito rispondere in quest'area!
|
12|Select: 1) Line editor, 2) Fullscreen editor
|
||||||
|Offline Reader Upload
|
|Offline Reader Upload
|
||||||
|Ricevuto pacchetto non valido
|
|Ricevuto pacchetto non valido
|
||||||
|Algoritmo di compressione sconosciuto
|
|Algoritmo di compressione sconosciuto
|
||||||
|
@ -436,7 +436,7 @@ SN|
|
|||||||
|Tu password ha caducado, nuevo password :
|
|Tu password ha caducado, nuevo password :
|
||||||
|Pulsa ENTER para seguir
|
|Pulsa ENTER para seguir
|
||||||
|No puedes escribir, esta rea es de Solo Lectura!
|
|No puedes escribir, esta rea es de Solo Lectura!
|
||||||
|!No se permite responder en esta rea!
|
12|Select: 1) Line editor, 2) Fullscreen editor
|
||||||
|Upload de correo Off-Line
|
|Upload de correo Off-Line
|
||||||
|El paquete recibido no es v lido
|
|El paquete recibido no es v lido
|
||||||
|Comprimido con un compresor desconocido
|
|Comprimido con un compresor desconocido
|
||||||
|
@ -410,7 +410,12 @@ void Chg_FsMsged()
|
|||||||
pout(LIGHTMAGENTA, BLACK, (char *)Language(390));
|
pout(LIGHTMAGENTA, BLACK, (char *)Language(390));
|
||||||
Enter(1);
|
Enter(1);
|
||||||
|
|
||||||
|
if (strlen(CFG.externaleditor))
|
||||||
|
/* Select: 1) Line editor, 2) Fullscreen editor, 3) External editor */
|
||||||
pout(WHITE, BLACK, (char *)Language(373));
|
pout(WHITE, BLACK, (char *)Language(373));
|
||||||
|
else
|
||||||
|
/* Select: 1) Line editor, 2) Fullscreen editor */
|
||||||
|
pout(WHITE, BLACK, (char *)Language(438));
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
alarm_on();
|
alarm_on();
|
||||||
z = toupper(Getone());
|
z = toupper(Getone());
|
||||||
@ -421,7 +426,7 @@ void Chg_FsMsged()
|
|||||||
} else if (z == Keystroke(373, 1)) {
|
} else if (z == Keystroke(373, 1)) {
|
||||||
exitinfo.MsgEditor = FSEDIT;
|
exitinfo.MsgEditor = FSEDIT;
|
||||||
Syslog('+', "User selected fullscreen editor");
|
Syslog('+', "User selected fullscreen editor");
|
||||||
} else if (z == Keystroke(373, 2)) {
|
} else if ((z == Keystroke(373, 2) && strlen(CFG.externaleditor))) {
|
||||||
exitinfo.MsgEditor = EXTEDIT;
|
exitinfo.MsgEditor = EXTEDIT;
|
||||||
Syslog('+', "User selected external editor");
|
Syslog('+', "User selected external editor");
|
||||||
}
|
}
|
||||||
|
@ -246,7 +246,8 @@ void e_global2(void)
|
|||||||
case 4: E_BOOL(19,16, CFG.leavecase, "^Leave^ outbound flo filenames as is, ^No^ forces uppercase.")
|
case 4: E_BOOL(19,16, CFG.leavecase, "^Leave^ outbound flo filenames as is, ^No^ forces uppercase.")
|
||||||
case 5: E_PTH(10,16,64, CFG.ftp_base, "The ^FTP home^ directory to strip of the real directory")
|
case 5: E_PTH(10,16,64, CFG.ftp_base, "The ^FTP home^ directory to strip of the real directory")
|
||||||
case 6: E_PTH(11,16,64, CFG.alists_path, "The path where ^area lists^ and ^filebone lists^ are stored.")
|
case 6: E_PTH(11,16,64, CFG.alists_path, "The path where ^area lists^ and ^filebone lists^ are stored.")
|
||||||
case 7: E_STR(12,16,64, CFG.externaleditor, "The full path and filename to the ^external message editor^")
|
case 7: E_STR(12,16,64, CFG.externaleditor,
|
||||||
|
"The full path and filename to the ^external message editor^ (blank=disable)")
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -39,17 +39,20 @@ install:
|
|||||||
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0755 hatch ${BINDIR}" ; \
|
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0755 hatch ${BINDIR}" ; \
|
||||||
fi
|
fi
|
||||||
@if [ -x /usr/bin/joe ]; then \
|
@if [ -x /usr/bin/joe ]; then \
|
||||||
echo "Making symlinks for joe's editor" ; \
|
rm -f /usr/bin/bbsjoe ; \
|
||||||
|
rm -f /usr/bin/bbsjmacs ; \
|
||||||
|
echo "ln -s /usr/bin/joe /usr/bin/bbsjoe" ; \
|
||||||
ln -s /usr/bin/joe /usr/bin/bbsjoe ; \
|
ln -s /usr/bin/joe /usr/bin/bbsjoe ; \
|
||||||
|
echo "ln -s /usr/bin/joe /usr/bin/bbsjmacs" ; \
|
||||||
ln -s /usr/bin/joe /usr/bin/bbsjmacs ; \
|
ln -s /usr/bin/joe /usr/bin/bbsjmacs ; \
|
||||||
fi
|
fi
|
||||||
@if [ -d /usr/lib/joe ]; then \
|
@if [ -d /usr/lib/joe ]; then \
|
||||||
echo "Installing joerc files for MBSE BBS" ; \
|
|
||||||
${INSTALL} -c -o root -g root -m 0644 bbsjoerc /usr/lib/joe ; \
|
${INSTALL} -c -o root -g root -m 0644 bbsjoerc /usr/lib/joe ; \
|
||||||
echo "${INSTALL} -c -o root -g root -m 0644 bbsjoerc /usr/lib/joe" ; \
|
echo "${INSTALL} -c -o root -g root -m 0644 bbsjoerc /usr/lib/joe" ; \
|
||||||
${INSTALL} -c -o root -g root -m 0644 bbsjmacsrc /usr/lib/joe ; \
|
${INSTALL} -c -o root -g root -m 0644 bbsjmacsrc /usr/lib/joe ; \
|
||||||
echo "${INSTALL} -c -o root -g root -m 0644 bbsjmacsrc /usr/lib/joe" ; \
|
echo "${INSTALL} -c -o root -g root -m 0644 bbsjmacsrc /usr/lib/joe" ; \
|
||||||
fi
|
fi
|
||||||
|
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0755 editor ${BINDIR}
|
||||||
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0755 bbsdoor.sh ${BINDIR}
|
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0755 bbsdoor.sh ${BINDIR}
|
||||||
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0755 rundoor.sh ${BINDIR}
|
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0755 rundoor.sh ${BINDIR}
|
||||||
@bash ./installinit.sh
|
@bash ./installinit.sh
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
$Id$
|
$Id$
|
||||||
|
|
||||||
Initialization file for JOE
|
Initialization file for JOE
|
||||||
Gnu-Emacs Joe
|
BBS Emacs Joe
|
||||||
|
|
||||||
JOE looks for this file in:
|
JOE looks for this file in:
|
||||||
1 - .jmacsrc
|
1 - .jmacsrc
|
||||||
@ -44,7 +44,7 @@
|
|||||||
-baud nnn Set baud rate for terminal optimizations
|
-baud nnn Set baud rate for terminal optimizations
|
||||||
-columns nnn Set no. screen columns
|
-columns nnn Set no. screen columns
|
||||||
--help Start with help on
|
--help Start with help on
|
||||||
-skiptop nnn Don't use top nnn lines of the screen
|
-skiptop 4 Don't use top nnn lines of the screen
|
||||||
|
|
||||||
Status line definition strings. -lmsg defines the left-justified string and
|
Status line definition strings. -lmsg defines the left-justified string and
|
||||||
-rmsg defines the right-justified string. The first character of -rmsg is
|
-rmsg defines the right-justified string. The first character of -rmsg is
|
||||||
@ -81,7 +81,7 @@
|
|||||||
\d Dim
|
\d Dim
|
||||||
\f Blink
|
\f Blink
|
||||||
|
|
||||||
-lmsg \i%k%T%W%I%X %n %m%R %M
|
-lmsg \i%k%T%W%I%X %* [%n] %M
|
||||||
-rmsg %S Row %r Col %c %t Ctrl-X H for help
|
-rmsg %S Row %r Col %c %t Ctrl-X H for help
|
||||||
|
|
||||||
SECOND SECTION: File name dependant local option settings:
|
SECOND SECTION: File name dependant local option settings:
|
||||||
@ -125,7 +125,6 @@
|
|||||||
-wordwrap
|
-wordwrap
|
||||||
|
|
||||||
*.c
|
*.c
|
||||||
-mnew rtn,"/* This is a C file */",rtn
|
|
||||||
-autoindent
|
-autoindent
|
||||||
|
|
||||||
*.h
|
*.h
|
||||||
@ -153,11 +152,11 @@
|
|||||||
\i \i\uCURSOR\u \uGO TO\u \uUNDO\u \uMISC\u \uREGION\u \uEXIT\u \i \i
|
\i \i\uCURSOR\u \uGO TO\u \uUNDO\u \uMISC\u \uREGION\u \uEXIT\u \i \i
|
||||||
\i \i^B left ^F right ^[V prev screen ^XU undo ^[^[ option ^@ mark ^XK quit \i \i
|
\i \i^B left ^F right ^[V prev screen ^XU undo ^[^[ option ^@ mark ^XK quit \i \i
|
||||||
\i \i^P up ^N down ^V next screen ^^ redo ^[Q format ^W cut ^X^C save \i \i
|
\i \i^P up ^N down ^V next screen ^^ redo ^[Q format ^W cut ^X^C save \i \i
|
||||||
\i \i^[B prev. word ^A beg of line \uDELETE\u ^L refresh ^Y paste \uFILE\u \i \i
|
\i \i^[B prev. word ^A beg of line \uDELETE\u ^L refresh ^Y paste \i \i
|
||||||
\i \i^[F next word ^E end of line ^D char ^[$ spell ^[Y switch ^X^W save \i \i
|
\i \i^[F next word ^E end of line ^D char ^[$ spell ^[Y switch \i \i
|
||||||
\i \i\uSEARCH\u ^[< top of file ^K >line ^[M math ^XA save ^XI insert\i \i
|
\i \i\uSEARCH\u ^[< top of file ^K >line ^[M math ^XX swap \i \i
|
||||||
\i \i^S forward ^[> end of file ^[D >word ^[% query ^[| filter ^X^F load \i \i
|
\i \i^S forward ^[> end of file ^[D >word ^[% query \uMODE\u \i \i
|
||||||
\i \i^R backward ^[G to line No. ^[ DEL word< replace ^XX swap ^X^B switch\i \i
|
\i \i^R backward ^[G to line No. ^[ DEL word< replace ^[I Ins/Ovr \i \i
|
||||||
}
|
}
|
||||||
|
|
||||||
{Editing
|
{Editing
|
||||||
@ -304,8 +303,14 @@ stop ^X ) Stop recording macro
|
|||||||
|
|
||||||
:def spellfile filt,"cat >ispell.tmp;ispell ispell.tmp </dev/tty >/dev/tty;cat ispell.tmp;/bin/rm ispell.tmp",rtn,retype
|
:def spellfile filt,"cat >ispell.tmp;ispell ispell.tmp </dev/tty >/dev/tty;cat ispell.tmp;/bin/rm ispell.tmp",rtn,retype
|
||||||
:def spellword psh,nextword,markk,prevword,markb,filt,"cat >ispell.tmp;ispell ispell.tmp </dev/tty >/dev/tty;tr -d <ispell.tmp '\\012';/bin/rm ispell.tmp",rtn,retype,nextword
|
:def spellword psh,nextword,markk,prevword,markb,filt,"cat >ispell.tmp;ispell ispell.tmp </dev/tty >/dev/tty;tr -d <ispell.tmp '\\012';/bin/rm ispell.tmp",rtn,retype,nextword
|
||||||
|
:def toggleinsert mode,"T"
|
||||||
|
|
||||||
spellword ^[ $
|
spellword ^[ $
|
||||||
|
toggleinsert ^[ I
|
||||||
|
toggleinsert ^[ ^I
|
||||||
|
toggleinsert ^[ i
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ctrl ^Q Quote Ctrl chars
|
ctrl ^Q Quote Ctrl chars
|
||||||
ctrl ` Quote Ctrl chars
|
ctrl ` Quote Ctrl chars
|
||||||
@ -378,8 +383,6 @@ bknd ^X ' Shell window (joe)
|
|||||||
bof ^[ < Goto beginning of file
|
bof ^[ < Goto beginning of file
|
||||||
bol .kh Goto beginning of line
|
bol .kh Goto beginning of line
|
||||||
bol ^A
|
bol ^A
|
||||||
bol ^[ [ H
|
|
||||||
bol ^[ [ 1 ~
|
|
||||||
bop ^[ p (uemacs)
|
bop ^[ p (uemacs)
|
||||||
bufed ^X b
|
bufed ^X b
|
||||||
bknd ^[ ' Shell window
|
bknd ^[ ' Shell window
|
||||||
@ -398,8 +401,6 @@ edit ^X ^F Edit a file: creates orphaned buffers
|
|||||||
eof ^[ > Go to end of file
|
eof ^[ > Go to end of file
|
||||||
eol .kH Go to end of line
|
eol .kH Go to end of line
|
||||||
eol ^E
|
eol ^E
|
||||||
eol ^[ [ F
|
|
||||||
eol ^[ [ 4 ~
|
|
||||||
eop ^[ n (uemacs)
|
eop ^[ n (uemacs)
|
||||||
execmd ^[ x
|
execmd ^[ x
|
||||||
insc ^C (uemacs)
|
insc ^C (uemacs)
|
||||||
|
@ -74,7 +74,7 @@ case $BBSLANGUAGE in
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
## Languages not set defaults to english.
|
## Languages not set defaults to english.
|
||||||
else
|
*)
|
||||||
LANGAREA='AREA'
|
LANGAREA='AREA'
|
||||||
LANGFROM='FROM '
|
LANGFROM='FROM '
|
||||||
LANGTO='TO '
|
LANGTO='TO '
|
||||||
|
Reference in New Issue
Block a user