(empty message)

This commit is contained in:
Alexander S. Aganichev 2001-02-21 21:26:28 +00:00
parent 5c5191aafe
commit 3781f634e5
10 changed files with 118 additions and 126 deletions

View File

@ -331,41 +331,91 @@ Here is a small "ruler" for the actual definitions below:
*B 3006,Find String
You can enter several strings, separated by the '|' search string separator
character like this:
* Four different pattern matching algorithms to chose from:
Plain (same as always).
Shell-style wildcard matching (using * and ?).
Regex. Uses the FSF extended regular expression library.
Fuzzy matching. Like plain, but allows one or more mismatches.
Odinn|GoldED
* Logic expressions with "and", "or", "not" can be used.
By default, GoldED searches forward (next messages), but by preceeding the
search string with a '-', the search goes backwards (previous messages).
* Spaces and option characters can be included in patterns.
Besides the backward search, there are a number of other search command
characters. Here is the complete list:
* Exclude or include kludges, tagline, tearline, origin, signature.
- Search backward.
+ Search forward. (Just for completeness).
< Search the From: field.
> Search the To: field.
: Search the Subj: field.
= Case-sensitive search.
! Reverse - Stop/mark when the search string(s) are NOT found.
*P
- Search backward. Must be first character, if used.
+ Search forward (default). Must be first character, if used.
! Logic not (match when NOT found).
& Logic and (match this AND that).
| Logic or (match this OR that).
< Match "from" header field.
> Match "to header field.
: Match "subject" header field.
# Match message body (but not any control lines).
. Match tagline.
_ Match tearline.
* Match origin line.
@ Match signature.
% Match kludges/headerlines.
= Match case-sensitive (defaults to not case-sensitive).
' Do not match. Place after an option.
^^ Toggle match. Place after an option.
?p Plain search (default).
?r Regex search.
?w Wildcard search.
?f Fuzzy search with one mismatch allowed.
?f2 Fuzzy search with two mismatches allowed.
?f3 Fuzzy search with three mismatches allowed.
By default the '<', '>' and ':' search commands are enabled, so that GoldED
searches all header fields. However, when one of these options are actually
used, the search is limited to those only.
You can enclose a pattern string with double ("") or single ('') quotes if
you want to match a sentence with spaces or which contains option
characters.
Examples:
The backslash is a literal-escape character. If a backslash is found, the
next character is treated as part of the pattern, not as an option
character. Use this for example to search for a sentence with quotes and
spaces.
<Odinn Searches in the From: field only.
<>Odinn Searches in From: and To:, but not Subj:.
:tagline Search for "tagline" in the Subj: field only.
Spaces are used as separation characters and are ignored, except when
enclosed in quotes.
The search command characters are stripped before the search is started. If
you need to search for a string that begins with a search command character,
you must precede it with the search string separator, like this:
The first set of option characters on a search expression line is used as
the "global default". The next set of option characters is bound to the
following pattern. A pattern is completed by the end of the line or by the
logic options '&' or '|'.
-|++ Search backwards for the string "++".
If none of the options '<', '>' or ':' are used in the global default part,
the default is to search all three.
Some examples:
To search for the authors name, allowing most common misspellings:
?f1 odinn (matches odin, odinn, oddin, odiin etc)
To search for OS/2 and Warp 4:
OS/2 & "Warp 4"
To search for any occurrance of Odinn or Dirk in the from-line:
< Odinn | Dirk
To search for zip file announcements using wildcard matching:
?w "*.zip*"
To search case-sensitive for some string:
= "All Comes To Those Who Wait"
Some regular expression searches:
?r "Warp *4" (matches both "Warp 4" and "Warp4")
?r "OS/*2" & "Warp *4"
NOTE: A common mistake is to forget to escape or quote-enclose option
characters in pattern strings. For example, what's wrong with this,
if you want to search for zip files:
?w *.zip*
Nothing, but the first '*' is interpreted as if you want to search
in origin lines, which is not what you want.
See also ^Marking String^.
*E
@ -650,6 +700,28 @@ Here is a small "ruler" for the actual definitions below:
--------------------------------------------------------------------------------
*B 6000,Addressbook
Esc Abort addressbook browsing
Home First node
End Last node
Right Next node
Left Previous node
Enter Select or edit node (depending on the mode)
Del Soft delete node
Alt-P Zap deleted entries
*E
--------------------------------------------------------------------------------
*B 6001,Addressbook Editor
To save changes press Ctrl-Enter or press Enter at the bottom field, to
discard changes press Esc.
*E
--------------------------------------------------------------------------------
*B 9001,Out Of Memory
GoldED just ran out of memory. There is nothing you can do now except press

View File

@ -698,7 +698,7 @@ CfgGed::CfgGed() {
dispmsgsize = DISPMSGSIZE_BYTES;
disptabsize = 8;
encodeemailheaders = true;
externoptions = EXTUTIL_CLS | EXTUTIL_SWAP | EXTUTIL_CURSOR | EXTUTIL_RELOAD | EXTUTIL_PAUSEONERROR | EXTUTIL_KEEPCTRL;
externoptions = EXTUTIL_CLS | EXTUTIL_CURSOR | EXTUTIL_RELOAD | EXTUTIL_PAUSEONERROR | EXTUTIL_KEEPCTRL;
ezycomuserno = 0;
fidomsgtype = MT_OPUS;
fidouserno = 0;

View File

@ -232,21 +232,6 @@ const int REPLYLINKLIST_FAST = 0;
const int REPLYLINKLIST_FULL = 1;
// ------------------------------------------------------------------
#define GSWAP_ENABLED 0x8000
#define GSWAP_DISK (GSWAP_ENABLED|USE_FILE)
#define GSWAP_EMS (GSWAP_ENABLED|USE_EMS)
#define GSWAP_XMS (GSWAP_ENABLED|USE_XMS)
#define GSWAP_ALL (GSWAP_ENABLED|USE_ALL)
#define GSWAP_NONE 0
#define GSWAP_EMS_FIRST EMS_FIRST
#define GSWAP_XMS_FIRST XMS_FIRST
#define GSWAP_HIDE_FILE HIDE_FILE
#define GSWAP_NO_PREALLOC NO_PREALLOC
#define GSWAP_CHECK_NET CHECK_NET
// ------------------------------------------------------------------
const int KEYB_BLOCK = 0;
@ -601,7 +586,6 @@ struct infoLookup {
// Structures and constants for external utilities
const int EXTUTIL_CLS = 0x0001;
const int EXTUTIL_SWAP = 0x0002;
const int EXTUTIL_CURSOR = 0x0004;
const int EXTUTIL_RELOAD = 0x0008;
const int EXTUTIL_PAUSE = 0x0010;

View File

@ -198,9 +198,7 @@ void Cleanup(void) {
// ------------------------------------------------------------------
// Multipurpose DOS shell function
int ShellToDos(char* command, char* message, int cls, int cursor, int swap, int pause) {
NW(swap);
int ShellToDos(char* command, char* message, int cls, int cursor, int pause) {
int error = 0;

View File

@ -1114,13 +1114,13 @@ void IEclass::GoWordRight() {
GFTRK("EditGoWordRight");
if((currline->txt.length() >= col) or (currline->txt[col] == '\n')) {
if((col >= currline->txt.length()) or (currline->txt[col] == '\n')) {
if(currline->next) {
GoDown();
col = 0;
}
}
else {
}
else {
size_t len = currline->txt.length();
if(not isxalnum(currline->txt[col])) {
while(not isxalnum(currline->txt[col]) and ((col+1) <= len))

View File

@ -372,27 +372,16 @@ static void w_back() {
static void w_brag() {
char buf[200];
char* logo[6];
logo[0] = throw_strdup(" 88 88 88 ");
logo[1] = throw_strdup(" oooooo oooooo 88 oooo88 oooooo oooo88 o ");
logo[2] = throw_strdup(" 88 88 88 88 88 88 88 88oo88 88 88 o8o ");
logo[3] = throw_strdup(" 88oo88 88oo88 88 88oo88 88oooo 88oo88 8 ");
logo[4] = throw_strdup(" oo 88 ");
logo[5] = throw_strdup(" 88oooooo88 ");
W_READ = wopen_(1, 2, MAXROW-4, MAXCOL-5, W_BBRAG, C_BRAGB, C_BRAGW);
w_shadow();
wprints(0, 0, C_BRAGT|ACSET, logo[0]);
wprints(1, 0, C_BRAGT|ACSET, logo[1]);
wprints(2, 0, C_BRAGT|ACSET, logo[2]);
wprints(3, 0, C_BRAGT|ACSET, logo[3]);
wprints(4, 0, C_BRAGT|ACSET, logo[4]);
wprints(5, 0, C_BRAGT|ACSET, logo[5]);
for(int n=0; n<6; n++)
throw_free(logo[n]);
wprints(0, 0, C_BRAGT|ACSET, " 88 88 88 ");
wprints(1, 0, C_BRAGT|ACSET, " oooooo oooooo 88 oooo88 oooooo oooo88 o ");
wprints(2, 0, C_BRAGT|ACSET, " 88 88 88 88 88 88 88 88oo88 88 88 o8o ");
wprints(3, 0, C_BRAGT|ACSET, " 88oo88 88oo88 88 88oo88 88oooo 88oo88 8 ");
wprints(4, 0, C_BRAGT|ACSET, " oo 88 ");
wprints(5, 0, C_BRAGT|ACSET, " 88oooooo88 ");
wprints(4, 43-strlen(__gver_longpid__), C_BRAGW, __gver_longpid__);

View File

@ -115,7 +115,7 @@ void SaveLines(int mode, const char* savefile, GMsg* msg, bool clip=false);
// GEDOSS prototypes
void Cleanup(void);
int ShellToDos(char* command, char* message, int cls, int cursor, int swap=YES, int pause=NO);
int ShellToDos(char* command, char* message, int cls, int cursor, int pause=NO);
// ------------------------------------------------------------------

View File

@ -558,7 +558,6 @@ int ExternUtil(GMsg* msg, int utilno) {
ShellToDos(cmdline, "",
extutil->options & EXTUTIL_CLS ? LGREY|_BLACK : 0,
extutil->options & EXTUTIL_CURSOR,
extutil->options & EXTUTIL_SWAP,
pauseval
);

View File

@ -244,13 +244,6 @@ void addressbook_form::before() { gwinput2::before(); };
bool addressbook_form::validate() {
if(current->id == id_name) {
if(g->find_entry(current->buf)) {
LoadForm();
reload_all();
go_next_field();
}
}
return true;
}

View File

@ -847,9 +847,7 @@ AKA 2:236/77.1 ; SysOp point.</eg>
The optional <ident>@domain</ident> part can be used to specify a
<term>fifth</term> dimension to the <term>4D</term> address. It is
normally not necessary to specify a domain. Domains are never shown in
the header and are not put in the origin line. The only place the
domain is used/added by <name>GoldED+</name> is in the <gi>MSGID</gi>
kludge.
the header. See also <ref target=NETNAME><kw>NETNAME</kw></ref>
</p>
<p>
Examples:<eg>
@ -3600,9 +3598,7 @@ AREASEP &excl;C "Group C" C Local]]></eg>
</p>
<p>
If you use a word processor, be sure to make it export clean ASCII
text files without control codes. You may also need to enable the
DOSSWAP keyword, if the editor or word processor requires a lot of
free memory to run.
text files without control codes.
</p>
<p>
&lt;commandline&gt; Program commandline.
@ -3904,7 +3900,6 @@ AREASEP &excl;C "Group C" C Local]]></eg>
-Pause Pause for keypress before returning to <name>GoldED+</name>.
-PauseOnError * Pause only if utility errorlevel is nonzero.
-Reload * Reload the message file (@file).
-Swap * Swap <name>GoldED+</name> out of memory before shelling.
-Wipe Wipe editorfile and temporary file after use.
</p>
<p>
@ -4007,9 +4002,7 @@ AREASEP &excl;C "Group C" C Local]]></eg>
with exactly the same content as @file.
</p>
<p>
2. <name>GoldED+</name> clears the screen and then calls the utility after
swapping itself out of memory (if swapping is enabled or
relevant for the version).
2. <name>GoldED+</name> clears the screen and then calls the utility.
</p>
<p>
3. The utility can now load and process the @file and/or
@ -5777,25 +5770,6 @@ AREASEP &excl;C "Group C" C Local]]></eg>
This keyword can be used globally and in a Random System group.
</p>
</div2>
<div2>
<head>
OVERLAY &lt;ems/ext/disk&gt;
</head>
<p>
(ems)
</p>
<p>
This keyword controls where <name>GoldED+</name> places the overlay swap blocks.
<name>GoldED+</name> (the standard DOS version) uses the Borland VROOMM dynamic
overlays to decrease the resident executable code.
</p>
<p>
See the DOSSWAP keyword for a warning note&excl;
</p>
<p>
Ignored by the 386, W32 and OS/2 versions.
</p>
</div2>
<div2>
<head>
PCBOARDPATH &lt;path&gt;
@ -6994,24 +6968,6 @@ AREASEP &excl;C "Group C" C Local]]></eg>
front of it - the sequence (&bsol;") is translated to a single (").
</p>
</div2>
<div2>
<head>
SWAPPATH &lt;path&gt;
</head>
<p>
(defaults to TEMPPATH)
</p>
<p>
Defines where the swap file will be placed in case of disk
swapping in DOS shells. It is recommended that this points to a
RAM disk, if available. <name>GoldED+</name> needs 3-500k free disk space for
the swapfile, depending on the overlay buffer size specified with
the -O commandline switch.
</p>
<p>
This keyword is only interpreted by the DOS platform version.
</p>
</div2>
<div2>
<head>
TAGLINE &lt;string or filename&gt;
@ -7771,6 +7727,7 @@ ones or remove them.
DISPMSGLIST MSGLISTFIRST
DISPMSGLISTFAST MSGLISTFAST
DISPSTYLECODES STYLECODES
DOSSWAP (removed)
ECHOATTRIB ATTRIBSECHO
ECHOINFO CTRLINFOECHO
EDITMARGIN (removed)
@ -7824,8 +7781,9 @@ ones or remove them.
NEXTMSGS (removed)
NODELISTPAGEBAR (removed)
NOISEFACTOR (removed)
OVERLAYEMS OVERLAY performs similar function
OVERLAYEXT OVERLAY performs similar function
OVERLAY (removed)
OVERLAYEMS (removed)
OVERLAYEXT (removed)
PAGEBAR (removed)
QBBSINCRESCAN (removed)
QBBSPATH HUDSONPATH
@ -7852,7 +7810,7 @@ ones or remove them.
SPELLCHECKER EDITSPELLCHECK
STACKKEYS KEYBSTACK
STARTECHO AREASTART
SWAPALL DOSSWAP
SWAPALL (removed)
SYSOP USERNAME
TABSIZE DISPTABSIZE
TAGLINEFILE (removed)
@ -7907,7 +7865,6 @@ Name/Address/Areas:
Paths:
GOLDPATH
TEMPPATH MUST be in GOLDED.CFG. Used only by GoldNODE.
SWAPPATH
</p>
<p>
Nodelists: MUST be below ADDRESS/AKA and ONLY in GOLDED.CFG&excl;