Fix using strings deprecated in c++11
This commit is contained in:
parent
3c52692ffc
commit
a61ee2e300
@ -287,39 +287,39 @@ struct AF_entry {
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct AF_entry idetect[] = {
|
struct AF_entry idetect[] = {
|
||||||
{ "DUTCHIE", "dutchie.are", "Dutchie" },
|
{ (char *)"DUTCHIE", (char *)"dutchie.are", (char *)"Dutchie" },
|
||||||
{ "EZY", "constant.ezy", "Ezycom" },
|
{ (char *)"EZY", (char *)"constant.ezy", (char *)"Ezycom" },
|
||||||
{ "FASTECHO", "fastecho.cfg", "Fastecho" },
|
{ (char *)"FASTECHO", (char *)"fastecho.cfg", (char *)"Fastecho" },
|
||||||
{ "FIDOPCB", "fidopcb.cfg", "FidoPCB" },
|
{ (char *)"FIDOPCB", (char *)"fidopcb.cfg", (char *)"FidoPCB" },
|
||||||
{ "FMAIL", "fmail.cfg", "FMail" },
|
{ (char *)"FMAIL", (char *)"fmail.cfg", (char *)"FMail" },
|
||||||
{ "IMAIL", "imail.cf", "IMAIL" },
|
{ (char *)"IMAIL", (char *)"imail.cf", (char *)"IMAIL" },
|
||||||
{ "PCBOARD", "pcboard.dat", "PCBoard" },
|
{ (char *)"PCBOARD", (char *)"pcboard.dat", (char *)"PCBoard" },
|
||||||
{ "POPCMDLINE", "portal.are", "Portal" },
|
{ (char *)"POPCMDLINE", (char *)"portal.are", (char *)"Portal" },
|
||||||
{ "RA", "config.pro", "ProBoard" },
|
{ (char *)"RA", (char *)"config.pro", (char *)"ProBoard" },
|
||||||
{ "QFRONT", "qechos.dat", "QFront" },
|
{ (char *)"QFRONT", (char *)"qechos.dat", (char *)"QFront" },
|
||||||
{ "RAECHO", "areas.rae", "RA-ECHO" },
|
{ (char *)"RAECHO", (char *)"areas.rae", (char *)"RA-ECHO" },
|
||||||
{ "RA", "config.ra", "RemoteAccess" },
|
{ (char *)"RA", (char *)"config.ra", (char *)"RemoteAccess" },
|
||||||
{ "TIMED", "timed.cfg", "timEd" },
|
{ (char *)"TIMED", (char *)"timed.cfg", (char *)"timEd" },
|
||||||
{ "TM", "tm.cfg", "Termail" },
|
{ (char *)"TM", (char *)"tm.cfg", (char *)"Termail" },
|
||||||
{ "WMAIL", "wmail.prm", "WMail" },
|
{ (char *)"WMAIL", (char *)"wmail.prm", (char *)"WMail" },
|
||||||
{ "XM", "xmail.cfg", "XMail" },
|
{ (char *)"XM", (char *)"xmail.cfg", (char *)"XMail" },
|
||||||
{ "FD", "areafile.fd", "TosScan" },
|
{ (char *)"FD", (char *)"areafile.fd", (char *)"TosScan" },
|
||||||
{ "GE", "setup.ge", "GEcho" },
|
{ (char *)"GE", (char *)"setup.ge", (char *)"GEcho" },
|
||||||
{ "FD", "setup.fd", "FrontDoor" },
|
{ (char *)"FD", (char *)"setup.fd", (char *)"FrontDoor" },
|
||||||
{ "FD", "fd.sys", "FrontDoor" },
|
{ (char *)"FD", (char *)"fd.sys", (char *)"FrontDoor" },
|
||||||
{ "OPUS", "sysmsg.dat", "Opus" },
|
{ (char *)"OPUS", (char *)"sysmsg.dat", (char *)"Opus" },
|
||||||
{ "LORA", "sysmsg.dat", "LoraBBS" },
|
{ (char *)"LORA", (char *)"sysmsg.dat", (char *)"LoraBBS" },
|
||||||
{ "LORABBS", "sysmsg.dat", "LoraBBS" },
|
{ (char *)"LORABBS", (char *)"sysmsg.dat", (char *)"LoraBBS" },
|
||||||
{ "FIDOCONFIG", "", "Fidoconfig" },
|
{ (char *)"FIDOCONFIG", (char *)"", (char *)"Fidoconfig" },
|
||||||
{ "DB", "dbridge.prm", "D\'Bridge" },
|
{ (char *)"DB", (char *)"dbridge.prm", (char *)"D\'Bridge" },
|
||||||
{ "DBRIDGE", "dbridge.prm", "D\'Bridge" },
|
{ (char *)"DBRIDGE", (char *)"dbridge.prm", (char *)"D\'Bridge" },
|
||||||
{ "SUPERBBS", "sconfig.bbs", "SuperBBS" },
|
{ (char *)"SUPERBBS", (char *)"sconfig.bbs", (char *)"SuperBBS" },
|
||||||
{ "SBBS", "sconfig.bbs", "SuperBBS" },
|
{ (char *)"SBBS", (char *)"sconfig.bbs", (char *)"SuperBBS" },
|
||||||
{ "QUICKBBS", "quickcfg.dat", "QuickBBS" },
|
{ (char *)"QUICKBBS", (char *)"quickcfg.dat", (char *)"QuickBBS" },
|
||||||
{ "QBBS", "quickcfg.dat", "QuickBBS" },
|
{ (char *)"QBBS", (char *)"quickcfg.dat", (char *)"QuickBBS" },
|
||||||
{ "QUICKBBS", "config.bbs", "QuickBBS" },
|
{ (char *)"QUICKBBS", (char *)"config.bbs", (char *)"QuickBBS" },
|
||||||
{ "QBBS", "config.bbs", "QuickBBS" },
|
{ (char *)"QBBS", (char *)"config.bbs", (char *)"QuickBBS" },
|
||||||
{ "SQUISH", "squish.cfg", "Squish" }
|
{ (char *)"SQUISH", (char *)"squish.cfg", (char *)"Squish" }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -446,21 +446,21 @@ int InstallFinish()
|
|||||||
// Check what we have
|
// Check what we have
|
||||||
if (CFG->username.empty())
|
if (CFG->username.empty())
|
||||||
{
|
{
|
||||||
if (EnterString("Please enter your name:", buf, sizeof(buf)))
|
if (EnterString((char *)"Please enter your name:", buf, sizeof(buf)))
|
||||||
return -1;
|
return -1;
|
||||||
fp.Printf("USERNAME %s\n", buf);
|
fp.Printf("USERNAME %s\n", buf);
|
||||||
CfgUsername(buf);
|
CfgUsername(buf);
|
||||||
}
|
}
|
||||||
if (CFG->aka.empty())
|
if (CFG->aka.empty())
|
||||||
{
|
{
|
||||||
if (EnterString("Please enter your FidoNet address:", buf, sizeof(buf)))
|
if (EnterString((char *)"Please enter your FidoNet address:", buf, sizeof(buf)))
|
||||||
return -1;
|
return -1;
|
||||||
fp.Printf("ADDRESS %s\n", buf);
|
fp.Printf("ADDRESS %s\n", buf);
|
||||||
CfgAddress(buf);
|
CfgAddress(buf);
|
||||||
}
|
}
|
||||||
if (AL.basetypes.empty())
|
if (AL.basetypes.empty())
|
||||||
{
|
{
|
||||||
if (EnterString("Please enter the path to your *.msg netmail area:", buf, sizeof(buf)))
|
if (EnterString((char *)"Please enter the path to your *.msg netmail area:", buf, sizeof(buf)))
|
||||||
return -1;
|
return -1;
|
||||||
AreaCfg aa;
|
AreaCfg aa;
|
||||||
aa.reset();
|
aa.reset();
|
||||||
@ -472,7 +472,7 @@ int InstallFinish()
|
|||||||
aa.attr = CFG->attribsnet;
|
aa.attr = CFG->attribsnet;
|
||||||
AL.AddNewArea(&aa);
|
AL.AddNewArea(&aa);
|
||||||
fp.Printf("AREADEF %s \"%s\" 0 Net %s %s\n", aa.desc, aa.echoid, aa.basetype.c_str(), buf);
|
fp.Printf("AREADEF %s \"%s\" 0 Net %s %s\n", aa.desc, aa.echoid, aa.basetype.c_str(), buf);
|
||||||
if (EnterString("Please enter the path *and* filename of your areas.bbs file:", buf, sizeof(buf)))
|
if (EnterString((char *)"Please enter the path *and* filename of your areas.bbs file:", buf, sizeof(buf)))
|
||||||
return -1;
|
return -1;
|
||||||
fp.Printf("AREAFILE AreasBBS %s\n", buf);
|
fp.Printf("AREAFILE AreasBBS %s\n", buf);
|
||||||
char buf2[200]="AreasBBS ";
|
char buf2[200]="AreasBBS ";
|
||||||
@ -482,7 +482,7 @@ int InstallFinish()
|
|||||||
#ifndef GMB_NOHUDS
|
#ifndef GMB_NOHUDS
|
||||||
if (find(AL.basetypes, "HUDSON") and (*CFG->hudsonpath == NUL))
|
if (find(AL.basetypes, "HUDSON") and (*CFG->hudsonpath == NUL))
|
||||||
{
|
{
|
||||||
if (EnterString("Please enter the path to your Hudson msgbase files:", buf, sizeof(buf)))
|
if (EnterString((char *)"Please enter the path to your Hudson msgbase files:", buf, sizeof(buf)))
|
||||||
return -1;
|
return -1;
|
||||||
fp.Printf("HUDSONPATH %s\n", buf);
|
fp.Printf("HUDSONPATH %s\n", buf);
|
||||||
PathCopy(CFG->hudsonpath, buf);
|
PathCopy(CFG->hudsonpath, buf);
|
||||||
@ -491,7 +491,7 @@ int InstallFinish()
|
|||||||
#ifndef GMB_NOGOLD
|
#ifndef GMB_NOGOLD
|
||||||
if (find(AL.basetypes, "GOLDBASE") and (*CFG->goldbasepath == NUL))
|
if (find(AL.basetypes, "GOLDBASE") and (*CFG->goldbasepath == NUL))
|
||||||
{
|
{
|
||||||
if (EnterString("Please enter the path to your Goldbase msgbase files:", buf, sizeof(buf)))
|
if (EnterString((char *)"Please enter the path to your Goldbase msgbase files:", buf, sizeof(buf)))
|
||||||
return -1;
|
return -1;
|
||||||
fp.Printf("GOLDBASEPATH %s\n", buf);
|
fp.Printf("GOLDBASEPATH %s\n", buf);
|
||||||
PathCopy(CFG->goldbasepath, buf);
|
PathCopy(CFG->goldbasepath, buf);
|
||||||
@ -500,7 +500,7 @@ int InstallFinish()
|
|||||||
#ifndef GMB_NOJAM
|
#ifndef GMB_NOJAM
|
||||||
if (find(AL.basetypes, "JAM") and (*CFG->jampath == NUL))
|
if (find(AL.basetypes, "JAM") and (*CFG->jampath == NUL))
|
||||||
{
|
{
|
||||||
if (EnterString("Please enter the path where net/echomail.jam can be placed:", buf, sizeof(buf)))
|
if (EnterString((char *)"Please enter the path where net/echomail.jam can be placed:", buf, sizeof(buf)))
|
||||||
return -1;
|
return -1;
|
||||||
fp.Printf("JAMPATH %s\n", buf);
|
fp.Printf("JAMPATH %s\n", buf);
|
||||||
PathCopy(CFG->jampath, buf);
|
PathCopy(CFG->jampath, buf);
|
||||||
@ -509,7 +509,7 @@ int InstallFinish()
|
|||||||
#ifndef GMB_NOPCB
|
#ifndef GMB_NOPCB
|
||||||
if (find(AL.basetypes, "PCBOARD") and (*CFG->pcboardpath == NUL))
|
if (find(AL.basetypes, "PCBOARD") and (*CFG->pcboardpath == NUL))
|
||||||
{
|
{
|
||||||
if (EnterString("Please enter the path to PCBoard:", buf, sizeof(buf)))
|
if (EnterString((char *)"Please enter the path to PCBoard:", buf, sizeof(buf)))
|
||||||
return -1;
|
return -1;
|
||||||
fp.Printf("PCBOARDPATH %s\n", buf);
|
fp.Printf("PCBOARDPATH %s\n", buf);
|
||||||
PathCopy(CFG->pcboardpath, buf);
|
PathCopy(CFG->pcboardpath, buf);
|
||||||
|
@ -44,480 +44,480 @@ struct LangCrc {
|
|||||||
|
|
||||||
static LangCrc LangCrcs[] = {
|
static LangCrc LangCrcs[] = {
|
||||||
|
|
||||||
{ CRC_MS_SWSUN , NULL , "Sun" },
|
{ CRC_MS_SWSUN , NULL , (char *)"Sun" },
|
||||||
{ CRC_MS_SWMON , NULL , "Mon" },
|
{ CRC_MS_SWMON , NULL , (char *)"Mon" },
|
||||||
{ CRC_MS_SWTUE , NULL , "Tue" },
|
{ CRC_MS_SWTUE , NULL , (char *)"Tue" },
|
||||||
{ CRC_MS_SWWED , NULL , "Wed" },
|
{ CRC_MS_SWWED , NULL , (char *)"Wed" },
|
||||||
{ CRC_MS_SWTHU , NULL , "Thu" },
|
{ CRC_MS_SWTHU , NULL , (char *)"Thu" },
|
||||||
{ CRC_MS_SWFRI , NULL , "Fri" },
|
{ CRC_MS_SWFRI , NULL , (char *)"Fri" },
|
||||||
{ CRC_MS_SWSAT , NULL , "Sat" },
|
{ CRC_MS_SWSAT , NULL , (char *)"Sat" },
|
||||||
|
|
||||||
{ CRC_MS_LWSUNDAY , NULL , "Sunday" },
|
{ CRC_MS_LWSUNDAY , NULL , (char *)"Sunday" },
|
||||||
{ CRC_MS_LWMONDAY , NULL , "Monday" },
|
{ CRC_MS_LWMONDAY , NULL , (char *)"Monday" },
|
||||||
{ CRC_MS_LWTUESDAY , NULL , "Tuesday" },
|
{ CRC_MS_LWTUESDAY , NULL , (char *)"Tuesday" },
|
||||||
{ CRC_MS_LWWEDNESDAY , NULL , "Wednesday" },
|
{ CRC_MS_LWWEDNESDAY , NULL , (char *)"Wednesday" },
|
||||||
{ CRC_MS_LWTHURSDAY , NULL , "Thursday" },
|
{ CRC_MS_LWTHURSDAY , NULL , (char *)"Thursday" },
|
||||||
{ CRC_MS_LWFRIDAY , NULL , "Friday" },
|
{ CRC_MS_LWFRIDAY , NULL , (char *)"Friday" },
|
||||||
{ CRC_MS_LWSATURDAY , NULL , "Saturday" },
|
{ CRC_MS_LWSATURDAY , NULL , (char *)"Saturday" },
|
||||||
|
|
||||||
{ CRC_MS_SMJAN , NULL , "Jan" },
|
{ CRC_MS_SMJAN , NULL , (char *)"Jan" },
|
||||||
{ CRC_MS_SMFEB , NULL , "Feb" },
|
{ CRC_MS_SMFEB , NULL , (char *)"Feb" },
|
||||||
{ CRC_MS_SMMAR , NULL , "Mar" },
|
{ CRC_MS_SMMAR , NULL , (char *)"Mar" },
|
||||||
{ CRC_MS_SMAPR , NULL , "Apr" },
|
{ CRC_MS_SMAPR , NULL , (char *)"Apr" },
|
||||||
{ CRC_MS_SMMAY , NULL , "May" },
|
{ CRC_MS_SMMAY , NULL , (char *)"May" },
|
||||||
{ CRC_MS_SMJUN , NULL , "Jun" },
|
{ CRC_MS_SMJUN , NULL , (char *)"Jun" },
|
||||||
{ CRC_MS_SMJUL , NULL , "Jul" },
|
{ CRC_MS_SMJUL , NULL , (char *)"Jul" },
|
||||||
{ CRC_MS_SMAUG , NULL , "Aug" },
|
{ CRC_MS_SMAUG , NULL , (char *)"Aug" },
|
||||||
{ CRC_MS_SMSEP , NULL , "Sep" },
|
{ CRC_MS_SMSEP , NULL , (char *)"Sep" },
|
||||||
{ CRC_MS_SMOCT , NULL , "Oct" },
|
{ CRC_MS_SMOCT , NULL , (char *)"Oct" },
|
||||||
{ CRC_MS_SMNOV , NULL , "Nov" },
|
{ CRC_MS_SMNOV , NULL , (char *)"Nov" },
|
||||||
{ CRC_MS_SMDEC , NULL , "Dec" },
|
{ CRC_MS_SMDEC , NULL , (char *)"Dec" },
|
||||||
|
|
||||||
{ CRC_MS_LMJANUARY , NULL , "January" },
|
{ CRC_MS_LMJANUARY , NULL , (char *)"January" },
|
||||||
{ CRC_MS_LMFEBRUARY , NULL , "February" },
|
{ CRC_MS_LMFEBRUARY , NULL , (char *)"February" },
|
||||||
{ CRC_MS_LMMARCH , NULL , "March" },
|
{ CRC_MS_LMMARCH , NULL , (char *)"March" },
|
||||||
{ CRC_MS_LMAPRIL , NULL , "April" },
|
{ CRC_MS_LMAPRIL , NULL , (char *)"April" },
|
||||||
{ CRC_MS_LMMAY , NULL , "May" },
|
{ CRC_MS_LMMAY , NULL , (char *)"May" },
|
||||||
{ CRC_MS_LMJUNE , NULL , "June" },
|
{ CRC_MS_LMJUNE , NULL , (char *)"June" },
|
||||||
{ CRC_MS_LMJULY , NULL , "July" },
|
{ CRC_MS_LMJULY , NULL , (char *)"July" },
|
||||||
{ CRC_MS_LMAUGUST , NULL , "August" },
|
{ CRC_MS_LMAUGUST , NULL , (char *)"August" },
|
||||||
{ CRC_MS_LMSEPTEMBER , NULL , "September" },
|
{ CRC_MS_LMSEPTEMBER , NULL , (char *)"September" },
|
||||||
{ CRC_MS_LMOCTOBER , NULL , "October" },
|
{ CRC_MS_LMOCTOBER , NULL , (char *)"October" },
|
||||||
{ CRC_MS_LMNOVEMBER , NULL , "November" },
|
{ CRC_MS_LMNOVEMBER , NULL , (char *)"November" },
|
||||||
{ CRC_MS_LMDECEMBER , NULL , "December" },
|
{ CRC_MS_LMDECEMBER , NULL , (char *)"December" },
|
||||||
|
|
||||||
{ CRC_MS_UPTIME , NULL , "%days day(s) %hours:%minutes:%seconds.%useconds" },
|
{ CRC_MS_UPTIME , NULL , (char *)"%days day(s) %hours:%minutes:%seconds.%useconds" },
|
||||||
|
|
||||||
{ CRC_ST_IMPORTFILE , NULL , "Import File" },
|
{ CRC_ST_IMPORTFILE , NULL , (char *)"Import File" },
|
||||||
{ CRC_WT_IMPORTWHICHFILE , NULL , " Import which file? " },
|
{ CRC_WT_IMPORTWHICHFILE , NULL , (char *)" Import which file? " },
|
||||||
{ CRC_WT_IMPORTPICK , NULL , " Import " },
|
{ CRC_WT_IMPORTPICK , NULL , (char *)" Import " },
|
||||||
{ CRC_WT_IMPORTTXT , NULL , " Import " },
|
{ CRC_WT_IMPORTTXT , NULL , (char *)" Import " },
|
||||||
{ CRC_MI_IMPORTTXTTEXT , NULL , "T File as Text " },
|
{ CRC_MI_IMPORTTXTTEXT , NULL , (char *)"T File as Text " },
|
||||||
{ CRC_MI_IMPORTTXTQUOTE , NULL , "Q File as Quote " },
|
{ CRC_MI_IMPORTTXTQUOTE , NULL , (char *)"Q File as Quote " },
|
||||||
{ CRC_MI_IMPORTTXTUUE , NULL , "U Binary as UUE " },
|
{ CRC_MI_IMPORTTXTUUE , NULL , (char *)"U Binary as UUE " },
|
||||||
{ CRC_MI_IMPORTTXTMIME , NULL , "M Binary as MIME " },
|
{ CRC_MI_IMPORTTXTMIME , NULL , (char *)"M Binary as MIME " },
|
||||||
{ CRC_MI_IMPORTTXTCLIP , NULL , "C From Clipboard " },
|
{ CRC_MI_IMPORTTXTCLIP , NULL , (char *)"C From Clipboard " },
|
||||||
{ CRC_MI_IMPORTTXTXLAT , NULL , "s Use Charset.. " },
|
{ CRC_MI_IMPORTTXTXLAT , NULL , (char *)"s Use Charset.. " },
|
||||||
{ CRC_MI_IMPORTTXTQUIT , NULL , "N Nothing / Quit " },
|
{ CRC_MI_IMPORTTXTQUIT , NULL , (char *)"N Nothing / Quit " },
|
||||||
{ CRC_ST_IMPORTSTATUS , NULL , "Importing from %s" },
|
{ CRC_ST_IMPORTSTATUS , NULL , (char *)"Importing from %s" },
|
||||||
{ CRC_ST_EXPORTFILE , NULL , "Export File" },
|
{ CRC_ST_EXPORTFILE , NULL , (char *)"Export File" },
|
||||||
{ CRC_WT_EXPORTWHATFILE , NULL , " Export to what file? " },
|
{ CRC_WT_EXPORTWHATFILE , NULL , (char *)" Export to what file? " },
|
||||||
{ CRC_ST_EXPORTSTATUS , NULL , "Exporting to %s" },
|
{ CRC_ST_EXPORTSTATUS , NULL , (char *)"Exporting to %s" },
|
||||||
{ CRC_ST_EDITSTATUS , NULL , "Edit %i,%i (%02X). %s" },
|
{ CRC_ST_EDITSTATUS , NULL , (char *)"Edit %i,%i (%02X). %s" },
|
||||||
{ CRC_ST_SELECTFILES , NULL , "Select Files" },
|
{ CRC_ST_SELECTFILES , NULL , (char *)"Select Files" },
|
||||||
{ CRC_WL_SELECTEDFILES , NULL , "Selected Files " },
|
{ CRC_WL_SELECTEDFILES , NULL , (char *)"Selected Files " },
|
||||||
{ CRC_WL_SELECTEDBYTES , NULL , " Bytes " },
|
{ CRC_WL_SELECTEDBYTES , NULL , (char *)" Bytes " },
|
||||||
{ CRC_WL_TOTALFILES , NULL , "Total Files " },
|
{ CRC_WL_TOTALFILES , NULL , (char *)"Total Files " },
|
||||||
{ CRC_WL_TOTALBYTES , NULL , " Bytes " },
|
{ CRC_WL_TOTALBYTES , NULL , (char *)" Bytes " },
|
||||||
{ CRC_WL_SCANNINGDIRECTORY , NULL , " Scanning Directory " },
|
{ CRC_WL_SCANNINGDIRECTORY , NULL , (char *)" Scanning Directory " },
|
||||||
{ CRC_WL_NOFILESFOUND , NULL , " * NO FILES FOUND * " },
|
{ CRC_WL_NOFILESFOUND , NULL , (char *)" * NO FILES FOUND * " },
|
||||||
{ CRC_ST_FILESPRESSKEY , NULL , "Press any key to continue" },
|
{ CRC_ST_FILESPRESSKEY , NULL , (char *)"Press any key to continue" },
|
||||||
{ CRC_WT_AREA , NULL , "Area" },
|
{ CRC_WT_AREA , NULL , (char *)"Area" },
|
||||||
{ CRC_WT_DESCRIPTION , NULL , "Description" },
|
{ CRC_WT_DESCRIPTION , NULL , (char *)"Description" },
|
||||||
{ CRC_WT_MSGS , NULL , "Msgs" },
|
{ CRC_WT_MSGS , NULL , (char *)"Msgs" },
|
||||||
{ CRC_WT_LAST , NULL , "Last" },
|
{ CRC_WT_LAST , NULL , (char *)"Last" },
|
||||||
{ CRC_WT_ECHOID , NULL , "EchoID" },
|
{ CRC_WT_ECHOID , NULL , (char *)"EchoID" },
|
||||||
{ CRC_ST_UNREAD , NULL , "unread" },
|
{ CRC_ST_UNREAD , NULL , (char *)"unread" },
|
||||||
{ CRC_WT_SCANAREAS , NULL , " Scan Areas " },
|
{ CRC_WT_SCANAREAS , NULL , (char *)" Scan Areas " },
|
||||||
{ CRC_MI_SCANALL , NULL , "A Scan All " },
|
{ CRC_MI_SCANALL , NULL , (char *)"A Scan All " },
|
||||||
{ CRC_MI_SCANMARKED , NULL , "M Scan Marked " },
|
{ CRC_MI_SCANMARKED , NULL , (char *)"M Scan Marked " },
|
||||||
{ CRC_MI_SCANCURRENT , NULL , "C Scan Current " },
|
{ CRC_MI_SCANCURRENT , NULL , (char *)"C Scan Current " },
|
||||||
{ CRC_MI_SCANMATCHING , NULL , "t Scan Matching " },
|
{ CRC_MI_SCANMATCHING , NULL , (char *)"t Scan Matching " },
|
||||||
{ CRC_MI_SCANUNSCANNED , NULL , "U Scan Unscanned " },
|
{ CRC_MI_SCANUNSCANNED , NULL , (char *)"U Scan Unscanned " },
|
||||||
{ CRC_MI_NOSCAN , NULL , "N No Scan / ESC " },
|
{ CRC_MI_NOSCAN , NULL , (char *)"N No Scan / ESC " },
|
||||||
{ CRC_WT_HEATAREAS , NULL , " Heat Areas " },
|
{ CRC_WT_HEATAREAS , NULL , (char *)" Heat Areas " },
|
||||||
{ CRC_MI_HEATALL , NULL , "A Heat All " },
|
{ CRC_MI_HEATALL , NULL , (char *)"A Heat All " },
|
||||||
{ CRC_MI_HEATMARKED , NULL , "M Heat Marked " },
|
{ CRC_MI_HEATMARKED , NULL , (char *)"M Heat Marked " },
|
||||||
{ CRC_MI_HEATCURRENT , NULL , "C Heat Current " },
|
{ CRC_MI_HEATCURRENT , NULL , (char *)"C Heat Current " },
|
||||||
{ CRC_MI_NOHEAT , NULL , "N No Heat / ESC " },
|
{ CRC_MI_NOHEAT , NULL , (char *)"N No Heat / ESC " },
|
||||||
{ CRC_WT_ZAPAREAS , NULL , " Zap Areas " },
|
{ CRC_WT_ZAPAREAS , NULL , (char *)" Zap Areas " },
|
||||||
{ CRC_MI_ZAPALL , NULL , "A Zap All " },
|
{ CRC_MI_ZAPALL , NULL , (char *)"A Zap All " },
|
||||||
{ CRC_MI_ZAPMARKED , NULL , "M Zap Marked " },
|
{ CRC_MI_ZAPMARKED , NULL , (char *)"M Zap Marked " },
|
||||||
{ CRC_MI_ZAPCURRENT , NULL , "C Zap Current " },
|
{ CRC_MI_ZAPCURRENT , NULL , (char *)"C Zap Current " },
|
||||||
{ CRC_MI_NOZAP , NULL , "N No Zap / ESC " },
|
{ CRC_MI_NOZAP , NULL , (char *)"N No Zap / ESC " },
|
||||||
{ CRC_MS_DOS_SHELL , NULL , "GoldED Shell. Type EXIT To Return." },
|
{ CRC_MS_DOS_SHELL , NULL , (char *)"GoldED Shell. Type EXIT To Return." },
|
||||||
{ CRC_IL_SCANNINGAREA , NULL , " Scanning Area:" },
|
{ CRC_IL_SCANNINGAREA , NULL , (char *)" Scanning Area:" },
|
||||||
{ CRC_IL_SEARCHINGFOR , NULL , " Searching for" },
|
{ CRC_IL_SEARCHINGFOR , NULL , (char *)" Searching for" },
|
||||||
{ CRC_ST_READINGMSG , NULL , "Reading Msg %u of %u" },
|
{ CRC_ST_READINGMSG , NULL , (char *)"Reading Msg %u of %u" },
|
||||||
{ CRC_ER_OUTOFMEM , NULL , "Out of memory!" },
|
{ CRC_ER_OUTOFMEM , NULL , (char *)"Out of memory!" },
|
||||||
{ CRC_MS_HEXDUMPHEAD , NULL , "Hexdump of message header:" },
|
{ CRC_MS_HEXDUMPHEAD , NULL , (char *)"Hexdump of message header:" },
|
||||||
{ CRC_MS_HEXDUMPTEXT , NULL , "Hexdump of message text:" },
|
{ CRC_MS_HEXDUMPTEXT , NULL , (char *)"Hexdump of message text:" },
|
||||||
{ CRC_ST_RENUMBERING , NULL , "Renumbering" },
|
{ CRC_ST_RENUMBERING , NULL , (char *)"Renumbering" },
|
||||||
{ CRC_ST_LOCKED , NULL , " (locked)" },
|
{ CRC_ST_LOCKED , NULL , (char *)" (locked)" },
|
||||||
{ CRC_ST_RENUMBERED , NULL , "Messages Renumbered - Press Key" },
|
{ CRC_ST_RENUMBERED , NULL , (char *)"Messages Renumbered - Press Key" },
|
||||||
{ CRC_WL_BLANKMSG , NULL , "" },
|
{ CRC_WL_BLANKMSG , NULL , (char *)"" },
|
||||||
{ CRC_WL_WAIT , NULL , " Wait " },
|
{ CRC_WL_WAIT , NULL , (char *)" Wait " },
|
||||||
{ CRC_IL_GENHEXDUMP , NULL , " Generating Hexdump - Please Wait " },
|
{ CRC_IL_GENHEXDUMP , NULL , (char *)" Generating Hexdump - Please Wait " },
|
||||||
{ CRC_ST_PROCESSCC , NULL , "Processing Carbon Copies" },
|
{ CRC_ST_PROCESSCC , NULL , (char *)"Processing Carbon Copies" },
|
||||||
{ CRC_ST_STATUSCC , NULL , "CC: %s of %s" },
|
{ CRC_ST_STATUSCC , NULL , (char *)"CC: %s of %s" },
|
||||||
{ CRC_ST_DESTINATIONCC , NULL , "Select Carbon Copy Destination" },
|
{ CRC_ST_DESTINATIONCC , NULL , (char *)"Select Carbon Copy Destination" },
|
||||||
{ CRC_MS_LISTCC , NULL , "%s %s" },
|
{ CRC_MS_LISTCC , NULL , (char *)"%s %s" },
|
||||||
{ CRC_WT_DELORIG , NULL , " Delete Original? " },
|
{ CRC_WT_DELORIG , NULL , (char *)" Delete Original? " },
|
||||||
{ CRC_MI_DELORIGYES , NULL , "Y Yes Please. " },
|
{ CRC_MI_DELORIGYES , NULL , (char *)"Y Yes Please. " },
|
||||||
{ CRC_MI_DELORIGNO , NULL , "N No! " },
|
{ CRC_MI_DELORIGNO , NULL , (char *)"N No! " },
|
||||||
{ CRC_WT_DROPMSG , NULL , " Drop This Msg? " },
|
{ CRC_WT_DROPMSG , NULL , (char *)" Drop This Msg? " },
|
||||||
{ CRC_MI_DROPMSGYES , NULL , "Y Yes Please. " },
|
{ CRC_MI_DROPMSGYES , NULL , (char *)"Y Yes Please. " },
|
||||||
{ CRC_MI_DROPMSGNO , NULL , "N No! " },
|
{ CRC_MI_DROPMSGNO , NULL , (char *)"N No! " },
|
||||||
{ CRC_WT_ZONEGATE , NULL , " Send via ZoneGate? " },
|
{ CRC_WT_ZONEGATE , NULL , (char *)" Send via ZoneGate? " },
|
||||||
{ CRC_MI_ZONEGATEYES , NULL , "Y Yes Please. " },
|
{ CRC_MI_ZONEGATEYES , NULL , (char *)"Y Yes Please. " },
|
||||||
{ CRC_MI_ZONEGATENO , NULL , "N No! " },
|
{ CRC_MI_ZONEGATENO , NULL , (char *)"N No! " },
|
||||||
{ CRC_ST_QUOTEPCT , NULL , "Your Msg Contains %i%% Quotes%s" },
|
{ CRC_ST_QUOTEPCT , NULL , (char *)"Your Msg Contains %i%% Quotes%s" },
|
||||||
{ CRC_WT_SAVEMSG , NULL , " Save these %i lines? " },
|
{ CRC_WT_SAVEMSG , NULL , (char *)" Save these %i lines? " },
|
||||||
{ CRC_MI_YESGREAT , NULL , "Y Yes, it's great stuff " },
|
{ CRC_MI_YESGREAT , NULL , (char *)"Y Yes, it's great stuff " },
|
||||||
{ CRC_MI_KICKIT , NULL , "N No, drop it.. / ESC " },
|
{ CRC_MI_KICKIT , NULL , (char *)"N No, drop it.. / ESC " },
|
||||||
{ CRC_MI_CONTINUE , NULL , "C Continue writing " },
|
{ CRC_MI_CONTINUE , NULL , (char *)"C Continue writing " },
|
||||||
{ CRC_MI_ROT13 , NULL , "R ROT13 Crypting " },
|
{ CRC_MI_ROT13 , NULL , (char *)"R ROT13 Crypting " },
|
||||||
{ CRC_MI_ATTRS , NULL , "A Change Attributes " },
|
{ CRC_MI_ATTRS , NULL , (char *)"A Change Attributes " },
|
||||||
{ CRC_MI_ORIGS , NULL , "O Change Origin " },
|
{ CRC_MI_ORIGS , NULL , (char *)"O Change Origin " },
|
||||||
{ CRC_MI_VIEW , NULL , "V View the message " },
|
{ CRC_MI_VIEW , NULL , (char *)"V View the message " },
|
||||||
{ CRC_ST_SELECTDESTNODE , NULL , "Select Destination Node" },
|
{ CRC_ST_SELECTDESTNODE , NULL , (char *)"Select Destination Node" },
|
||||||
{ CRC_WT_ATTACHFILES , NULL , " Attach Files " },
|
{ CRC_WT_ATTACHFILES , NULL , (char *)" Attach Files " },
|
||||||
{ CRC_WT_UPDREQFILES , NULL , " Update Request Files " },
|
{ CRC_WT_UPDREQFILES , NULL , (char *)" Update Request Files " },
|
||||||
{ CRC_ST_EDITHEADER , NULL , "Edit Header Data" },
|
{ CRC_ST_EDITHEADER , NULL , (char *)"Edit Header Data" },
|
||||||
{ CRC_WT_EDITING , NULL , " Editing " },
|
{ CRC_WT_EDITING , NULL , (char *)" Editing " },
|
||||||
{ CRC_MI_INTERNALED , NULL , "I Internal Editor " },
|
{ CRC_MI_INTERNALED , NULL , (char *)"I Internal Editor " },
|
||||||
{ CRC_MI_EXTERNALED , NULL , "E External Editor " },
|
{ CRC_MI_EXTERNALED , NULL , (char *)"E External Editor " },
|
||||||
{ CRC_MI_SAVEMESSAGE , NULL , "S Save Message " },
|
{ CRC_MI_SAVEMESSAGE , NULL , (char *)"S Save Message " },
|
||||||
{ CRC_MI_ATTRO , NULL , "A Attributes " },
|
{ CRC_MI_ATTRO , NULL , (char *)"A Attributes " },
|
||||||
{ CRC_MI_TEMPLATE , NULL , "T Templates " },
|
{ CRC_MI_TEMPLATE , NULL , (char *)"T Templates " },
|
||||||
{ CRC_MI_ORIGIN , NULL , "O Origins " },
|
{ CRC_MI_ORIGIN , NULL , (char *)"O Origins " },
|
||||||
{ CRC_MI_QUITMESSAGE , NULL , "Q Quit / ESC " },
|
{ CRC_MI_QUITMESSAGE , NULL , (char *)"Q Quit / ESC " },
|
||||||
{ CRC_ST_TEMPLATES , NULL , " Templates " },
|
{ CRC_ST_TEMPLATES , NULL , (char *)" Templates " },
|
||||||
{ CRC_WT_CHANGETEMPLATES , NULL , "Change Default Template" },
|
{ CRC_WT_CHANGETEMPLATES , NULL , (char *)"Change Default Template" },
|
||||||
{ CRC_WT_CARBONCOPY , NULL , " Carbon Copy " },
|
{ CRC_WT_CARBONCOPY , NULL , (char *)" Carbon Copy " },
|
||||||
{ CRC_MI_CCPROCESS , NULL , "P Process CC's " },
|
{ CRC_MI_CCPROCESS , NULL , (char *)"P Process CC's " },
|
||||||
{ CRC_MI_CCIGNORE , NULL , "I Ignore CC's " },
|
{ CRC_MI_CCIGNORE , NULL , (char *)"I Ignore CC's " },
|
||||||
{ CRC_MI_CCATTRIBS , NULL , "C Change Attrs " },
|
{ CRC_MI_CCATTRIBS , NULL , (char *)"C Change Attrs " },
|
||||||
{ CRC_MI_CCLISTFMT , NULL , "L List Format " },
|
{ CRC_MI_CCLISTFMT , NULL , (char *)"L List Format " },
|
||||||
{ CRC_WT_CCLIST , NULL , " CC List " },
|
{ CRC_WT_CCLIST , NULL , (char *)" CC List " },
|
||||||
{ CRC_MI_CCLISTKEEP , NULL , "K Keep " },
|
{ CRC_MI_CCLISTKEEP , NULL , (char *)"K Keep " },
|
||||||
{ CRC_MI_CCLISTNAMES , NULL , "N Names only " },
|
{ CRC_MI_CCLISTNAMES , NULL , (char *)"N Names only " },
|
||||||
{ CRC_MI_CCLISTVISIBLE , NULL , "V Visible " },
|
{ CRC_MI_CCLISTVISIBLE , NULL , (char *)"V Visible " },
|
||||||
{ CRC_MI_CCLISTHIDDEN , NULL , "H Hidden " },
|
{ CRC_MI_CCLISTHIDDEN , NULL , (char *)"H Hidden " },
|
||||||
{ CRC_MI_CCLISTREMOVE , NULL , "R Remove " },
|
{ CRC_MI_CCLISTREMOVE , NULL , (char *)"R Remove " },
|
||||||
{ CRC_WT_ATTRTITLE , NULL , " Attributes " },
|
{ CRC_WT_ATTRTITLE , NULL , (char *)" Attributes " },
|
||||||
{ CRC_MI_ATTR01 , NULL , " Private <Alt-P> Archive/Sent <Alt-B> " },
|
{ CRC_MI_ATTR01 , NULL , (char *)" Private <Alt-P> Archive/Sent <Alt-B> " },
|
||||||
{ CRC_MI_ATTR02 , NULL , " Crash <Alt-C> Direct <Alt-D> " },
|
{ CRC_MI_ATTR02 , NULL , (char *)" Crash <Alt-C> Direct <Alt-D> " },
|
||||||
{ CRC_MI_ATTR03 , NULL , " Received <Alt-R> Zonegate <Alt-G> " },
|
{ CRC_MI_ATTR03 , NULL , (char *)" Received <Alt-R> Zonegate <Alt-G> " },
|
||||||
{ CRC_MI_ATTR04 , NULL , " Sent <Alt-S> Hub/Host-Route <Alt-V> " },
|
{ CRC_MI_ATTR04 , NULL , (char *)" Sent <Alt-S> Hub/Host-Route <Alt-V> " },
|
||||||
{ CRC_MI_ATTR05 , NULL , " File Attach <Alt-A> Immediate <Alt-I> " },
|
{ CRC_MI_ATTR05 , NULL , (char *)" File Attach <Alt-A> Immediate <Alt-I> " },
|
||||||
{ CRC_MI_ATTR06 , NULL , " Transit <Alt-J> Xmail <Alt-X> " },
|
{ CRC_MI_ATTR06 , NULL , (char *)" Transit <Alt-J> Xmail <Alt-X> " },
|
||||||
{ CRC_MI_ATTR07 , NULL , " Orphan <Alt-O> Erase File/Sent <Alt-E> " },
|
{ CRC_MI_ATTR07 , NULL , (char *)" Orphan <Alt-O> Erase File/Sent <Alt-E> " },
|
||||||
{ CRC_MI_ATTR08 , NULL , " Kill/Sent <Alt-K> Trunc File/Sent <Alt-T> " },
|
{ CRC_MI_ATTR08 , NULL , (char *)" Kill/Sent <Alt-K> Trunc File/Sent <Alt-T> " },
|
||||||
{ CRC_MI_ATTR09 , NULL , " Local <Alt-W> Locked <Alt-L> " },
|
{ CRC_MI_ATTR09 , NULL , (char *)" Local <Alt-W> Locked <Alt-L> " },
|
||||||
{ CRC_MI_ATTR10 , NULL , " Hold <Alt-H> Confirm Rcpt Request <Alt-Y> " },
|
{ CRC_MI_ATTR10 , NULL , (char *)" Hold <Alt-H> Confirm Rcpt Request <Alt-Y> " },
|
||||||
{ CRC_MI_ATTR11 , NULL , " File Request <Alt-F> FTS1 Reserved <Alt-1> " },
|
{ CRC_MI_ATTR11 , NULL , (char *)" File Request <Alt-F> FTS1 Reserved <Alt-1> " },
|
||||||
{ CRC_MI_ATTR12 , NULL , " Return Rcpt Request <Alt-M> QBBS Reserved, Net <Alt-2> " },
|
{ CRC_MI_ATTR12 , NULL , (char *)" Return Rcpt Request <Alt-M> QBBS Reserved, Net <Alt-2> " },
|
||||||
{ CRC_MI_ATTR13 , NULL , " Return Rcpt <Alt-N> QBBS Reserved, Echo <Alt-3> " },
|
{ CRC_MI_ATTR13 , NULL , (char *)" Return Rcpt <Alt-N> QBBS Reserved, Echo <Alt-3> " },
|
||||||
{ CRC_MI_ATTR14 , NULL , " Audit Request <Alt-Q> Squish Scanned <Alt-4> " },
|
{ CRC_MI_ATTR14 , NULL , (char *)" Audit Request <Alt-Q> Squish Scanned <Alt-4> " },
|
||||||
{ CRC_MI_ATTR15 , NULL , " File Update Request <Alt-U> Zap all attribs <Alt-Z> " },
|
{ CRC_MI_ATTR15 , NULL , (char *)" File Update Request <Alt-U> Zap all attribs <Alt-Z> " },
|
||||||
{ CRC_HD_FROM , NULL , " From : " },
|
{ CRC_HD_FROM , NULL , (char *)" From : " },
|
||||||
{ CRC_HD_TO , NULL , " To : " },
|
{ CRC_HD_TO , NULL , (char *)" To : " },
|
||||||
{ CRC_HD_SUBJ , NULL , " Subj : " },
|
{ CRC_HD_SUBJ , NULL , (char *)" Subj : " },
|
||||||
{ CRC_HD_FILE , NULL , " File : " },
|
{ CRC_HD_FILE , NULL , (char *)" File : " },
|
||||||
{ CRC_MS_EMPTYMSG , NULL , "\r" },
|
{ CRC_MS_EMPTYMSG , NULL , (char *)"\r" },
|
||||||
{ CRC_MS_AUTOATTACHMSG , NULL , "\r" },
|
{ CRC_MS_AUTOATTACHMSG , NULL , (char *)"\r" },
|
||||||
{ CRC_MS_AUTOREQUESTMSG , NULL , "\r" },
|
{ CRC_MS_AUTOREQUESTMSG , NULL , (char *)"\r" },
|
||||||
{ CRC_MS_AUTOUPDREQMSG , NULL , "\r" },
|
{ CRC_MS_AUTOUPDREQMSG , NULL , (char *)"\r" },
|
||||||
{ CRC_WT_FILEATTACH , NULL , " File Attach " },
|
{ CRC_WT_FILEATTACH , NULL , (char *)" File Attach " },
|
||||||
{ CRC_WT_FILEREQUEST , NULL , " File Request " },
|
{ CRC_WT_FILEREQUEST , NULL , (char *)" File Request " },
|
||||||
{ CRC_WT_FILEUPDREQ , NULL , " Update Request " },
|
{ CRC_WT_FILEUPDREQ , NULL , (char *)" Update Request " },
|
||||||
{ CRC_ST_FILEATTACHING , NULL , "File Attaching [%i/%i] to %u:%u/%u.%u" },
|
{ CRC_ST_FILEATTACHING , NULL , (char *)"File Attaching [%i/%i] to %u:%u/%u.%u" },
|
||||||
{ CRC_ST_FILEREQUESTING , NULL , "File Requesting [%i/%i] from %u:%u/%u.%u" },
|
{ CRC_ST_FILEREQUESTING , NULL , (char *)"File Requesting [%i/%i] from %u:%u/%u.%u" },
|
||||||
{ CRC_ST_FILEUPDREQING , NULL , "Update Requesting [%i/%i] from %u:%u/%u.%u" },
|
{ CRC_ST_FILEUPDREQING , NULL , (char *)"Update Requesting [%i/%i] from %u:%u/%u.%u" },
|
||||||
{ CRC_ST_READMARKED , NULL , "Read Marked - Msg %u of %u (%u left)" },
|
{ CRC_ST_READMARKED , NULL , (char *)"Read Marked - Msg %u of %u (%u left)" },
|
||||||
{ CRC_ST_READALL , NULL , "Read All - Msg %u of %u (%u left)" },
|
{ CRC_ST_READALL , NULL , (char *)"Read All - Msg %u of %u (%u left)" },
|
||||||
{ CRC_ST_NOQRENUM , NULL , "This area cannot be renumbered" },
|
{ CRC_ST_NOQRENUM , NULL , (char *)"This area cannot be renumbered" },
|
||||||
{ CRC_MS_HIDINGTWIT , NULL , "This is a Twit Message - Press <Home> to read."},
|
{ CRC_MS_HIDINGTWIT , NULL , (char *)"This is a Twit Message - Press <Home> to read."},
|
||||||
{ CRC_HD_VIA , NULL , "via" },
|
{ CRC_HD_VIA , NULL , (char *)"via" },
|
||||||
{ CRC_WT_CHANGEATTRS , NULL , "Change Message Attributes" },
|
{ CRC_WT_CHANGEATTRS , NULL , (char *)"Change Message Attributes" },
|
||||||
{ CRC_WT_HEADERTEXT , NULL , " Enter Searchstring (Header+Text) " },
|
{ CRC_WT_HEADERTEXT , NULL , (char *)" Enter Searchstring (Header+Text) " },
|
||||||
{ CRC_WT_HEADERONLY , NULL , " Enter Searchstring (Header Only) " },
|
{ CRC_WT_HEADERONLY , NULL , (char *)" Enter Searchstring (Header Only) " },
|
||||||
{ CRC_WT_NEWAREA , NULL , ">>Pick New Area: " },
|
{ CRC_WT_NEWAREA , NULL , (char *)">>Pick New Area: " },
|
||||||
{ CRC_WT_REPLYAREA , NULL , ">>Answer In Area: " },
|
{ CRC_WT_REPLYAREA , NULL , (char *)">>Answer In Area: " },
|
||||||
{ CRC_WT_COPYAREA , NULL , ">>Copy To Area: " },
|
{ CRC_WT_COPYAREA , NULL , (char *)">>Copy To Area: " },
|
||||||
{ CRC_WT_MOVEAREA , NULL , ">>Move To Area: " },
|
{ CRC_WT_MOVEAREA , NULL , (char *)">>Move To Area: " },
|
||||||
{ CRC_WT_FORWARDAREA , NULL , ">>Forward To Area: " },
|
{ CRC_WT_FORWARDAREA , NULL , (char *)">>Forward To Area: " },
|
||||||
{ CRC_WT_FREQAREA , NULL , ">>Filerequest In Area: " },
|
{ CRC_WT_FREQAREA , NULL , (char *)">>Filerequest In Area: " },
|
||||||
{ CRC_WT_FREQMENUTITLE , NULL , "Requestable files" },
|
{ CRC_WT_FREQMENUTITLE , NULL , (char *)"Requestable files" },
|
||||||
{ CRC_ST_FREQSTAT , NULL , "Pick files to request" },
|
{ CRC_ST_FREQSTAT , NULL , (char *)"Pick files to request" },
|
||||||
{ CRC_IL_FREQINFONOFILES , NULL , " No requestable files were found in this msg! " },
|
{ CRC_IL_FREQINFONOFILES , NULL , (char *)" No requestable files were found in this msg! " },
|
||||||
{ CRC_WT_COPY , NULL , " Copy " },
|
{ CRC_WT_COPY , NULL , (char *)" Copy " },
|
||||||
{ CRC_WT_MOVE , NULL , " Move " },
|
{ CRC_WT_MOVE , NULL , (char *)" Move " },
|
||||||
{ CRC_WT_COPYING , NULL , " Copying " },
|
{ CRC_WT_COPYING , NULL , (char *)" Copying " },
|
||||||
{ CRC_WT_MOVING , NULL , " Moving " },
|
{ CRC_WT_MOVING , NULL , (char *)" Moving " },
|
||||||
{ CRC_ST_COPYINGMSG , NULL , "Copying Msg %u of %u to %s" },
|
{ CRC_ST_COPYINGMSG , NULL , (char *)"Copying Msg %u of %u to %s" },
|
||||||
{ CRC_ST_MOVINGMSG , NULL , "Moving Msg %u of %u to %s" },
|
{ CRC_ST_MOVINGMSG , NULL , (char *)"Moving Msg %u of %u to %s" },
|
||||||
{ CRC_WT_DELETE , NULL , " Delete " },
|
{ CRC_WT_DELETE , NULL , (char *)" Delete " },
|
||||||
{ CRC_WT_DELETING , NULL , " Deleting " },
|
{ CRC_WT_DELETING , NULL , (char *)" Deleting " },
|
||||||
{ CRC_ST_DELETINGMSG , NULL , "Deleting Msg %u of %u" },
|
{ CRC_ST_DELETINGMSG , NULL , (char *)"Deleting Msg %u of %u" },
|
||||||
{ CRC_WT_WRITE , NULL , " Write " },
|
{ CRC_WT_WRITE , NULL , (char *)" Write " },
|
||||||
{ CRC_WT_WRITEMSGS , NULL , " Write Msg(s) to File " },
|
{ CRC_WT_WRITEMSGS , NULL , (char *)" Write Msg(s) to File " },
|
||||||
{ CRC_WT_WRITING , NULL , " Writing " },
|
{ CRC_WT_WRITING , NULL , (char *)" Writing " },
|
||||||
{ CRC_ST_WRITINGMSG , NULL , "Writing Msg %u of %u" },
|
{ CRC_ST_WRITINGMSG , NULL , (char *)"Writing Msg %u of %u" },
|
||||||
{ CRC_WT_WRITINGFILE , NULL , " Writing Msg(s) to File %s " },
|
{ CRC_WT_WRITINGFILE , NULL , (char *)" Writing Msg(s) to File %s " },
|
||||||
{ CRC_WT_WRITINGPRN , NULL , " Writing Msg(s) to Print Device " },
|
{ CRC_WT_WRITINGPRN , NULL , (char *)" Writing Msg(s) to Print Device " },
|
||||||
{ CRC_IL_READONLYWARN , NULL , " This area is READ ONLY! " },
|
{ CRC_IL_READONLYWARN , NULL , (char *)" This area is READ ONLY! " },
|
||||||
{ CRC_WT_ISREADONLY , NULL , " Write msg anyway? " },
|
{ CRC_WT_ISREADONLY , NULL , (char *)" Write msg anyway? " },
|
||||||
{ CRC_MI_READONLYYES , NULL , "Y Yes Please. " },
|
{ CRC_MI_READONLYYES , NULL , (char *)"Y Yes Please. " },
|
||||||
{ CRC_MI_READONLYNO , NULL , "N No! " },
|
{ CRC_MI_READONLYNO , NULL , (char *)"N No! " },
|
||||||
{ CRC_IL_CHANGEWARN , NULL , " This msg is NOT from you! " },
|
{ CRC_IL_CHANGEWARN , NULL , (char *)" This msg is NOT from you! " },
|
||||||
{ CRC_WT_CHANGE , NULL , " Change this msg? " },
|
{ CRC_WT_CHANGE , NULL , (char *)" Change this msg? " },
|
||||||
{ CRC_MI_CHANGEYES , NULL , "Y Yes Please. " },
|
{ CRC_MI_CHANGEYES , NULL , (char *)"Y Yes Please. " },
|
||||||
{ CRC_MI_CHANGENO , NULL , "N No! " },
|
{ CRC_MI_CHANGENO , NULL , (char *)"N No! " },
|
||||||
{ CRC_WT_DELETETHIS , NULL , " Delete this msg? " },
|
{ CRC_WT_DELETETHIS , NULL , (char *)" Delete this msg? " },
|
||||||
{ CRC_MI_DELETEYES , NULL , "Y Yes Please. " },
|
{ CRC_MI_DELETEYES , NULL , (char *)"Y Yes Please. " },
|
||||||
{ CRC_MI_DELETENO , NULL , "N No! " },
|
{ CRC_MI_DELETENO , NULL , (char *)"N No! " },
|
||||||
{ CRC_MI_DELETENOASK , NULL , "D Don't ask.. " },
|
{ CRC_MI_DELETENOASK , NULL , (char *)"D Don't ask.. " },
|
||||||
{ CRC_WT_GOTONEXT , NULL , " Goto Next Area? " },
|
{ CRC_WT_GOTONEXT , NULL , (char *)" Goto Next Area? " },
|
||||||
{ CRC_MI_GOTONEXTYES , NULL , "Y Yes Please. " },
|
{ CRC_MI_GOTONEXTYES , NULL , (char *)"Y Yes Please. " },
|
||||||
{ CRC_MI_GOTONEXTNO , NULL , "N No! " },
|
{ CRC_MI_GOTONEXTNO , NULL , (char *)"N No! " },
|
||||||
{ CRC_MI_GOTONEXTNEW , NULL , "U Yes, Next Unread Area. " },
|
{ CRC_MI_GOTONEXTNEW , NULL , (char *)"U Yes, Next Unread Area. " },
|
||||||
{ CRC_WT_FORWARD , NULL , " Use FWD kludges? " },
|
{ CRC_WT_FORWARD , NULL , (char *)" Use FWD kludges? " },
|
||||||
{ CRC_MI_FORWARDYES , NULL , "Y Yes Please. " },
|
{ CRC_MI_FORWARDYES , NULL , (char *)"Y Yes Please. " },
|
||||||
{ CRC_MI_FORWARDNO , NULL , "N No! " },
|
{ CRC_MI_FORWARDNO , NULL , (char *)"N No! " },
|
||||||
{ CRC_WT_MSG , NULL , "Msg" },
|
{ CRC_WT_MSG , NULL , (char *)"Msg" },
|
||||||
{ CRC_WT_MSGREAL , NULL , "Msg#" },
|
{ CRC_WT_MSGREAL , NULL , (char *)"Msg#" },
|
||||||
{ CRC_WT_FROML , NULL , "From" },
|
{ CRC_WT_FROML , NULL , (char *)"From" },
|
||||||
{ CRC_WT_TOL , NULL , "To" },
|
{ CRC_WT_TOL , NULL , (char *)"To" },
|
||||||
{ CRC_WT_SUBJL , NULL , "Subj" },
|
{ CRC_WT_SUBJL , NULL , (char *)"Subj" },
|
||||||
{ CRC_ST_MSGLISTER , NULL , "Lister - Msg %u of %u (%u left)" },
|
{ CRC_ST_MSGLISTER , NULL , (char *)"Lister - Msg %u of %u (%u left)" },
|
||||||
{ CRC_ST_COPYMOVEFORWARD , NULL , "Copy, Move or Forward this message" },
|
{ CRC_ST_COPYMOVEFORWARD , NULL , (char *)"Copy, Move or Forward this message" },
|
||||||
{ CRC_WT_SELECTACTION , NULL , " Action " },
|
{ CRC_WT_SELECTACTION , NULL , (char *)" Action " },
|
||||||
{ CRC_MI_FORWARDMESSAGE , NULL , "F Forward Msg " },
|
{ CRC_MI_FORWARDMESSAGE , NULL , (char *)"F Forward Msg " },
|
||||||
{ CRC_MI_MOVEMESSAGE , NULL , "M Move Msg " },
|
{ CRC_MI_MOVEMESSAGE , NULL , (char *)"M Move Msg " },
|
||||||
{ CRC_MI_COPYMESSAGE , NULL , "C Copy Msg " },
|
{ CRC_MI_COPYMESSAGE , NULL , (char *)"C Copy Msg " },
|
||||||
{ CRC_MI_TOGGLESENT , NULL , "T Toggle sent " },
|
{ CRC_MI_TOGGLESENT , NULL , (char *)"T Toggle sent " },
|
||||||
{ CRC_MI_QUITCMF , NULL , "Q Quit / ESC " },
|
{ CRC_MI_QUITCMF , NULL , (char *)"Q Quit / ESC " },
|
||||||
{ CRC_ST_ARE , NULL , "messages are" },
|
{ CRC_ST_ARE , NULL , (char *)"messages are" },
|
||||||
{ CRC_ST_IS , NULL , "message is" },
|
{ CRC_ST_IS , NULL , (char *)"message is" },
|
||||||
{ CRC_ST_MARKED , NULL , "marked" },
|
{ CRC_ST_MARKED , NULL , (char *)"marked" },
|
||||||
{ CRC_MI_MARKEDMSG , NULL , "M Marked Msgs " },
|
{ CRC_MI_MARKEDMSG , NULL , (char *)"M Marked Msgs " },
|
||||||
{ CRC_MI_CURRENTMSG , NULL , "C Current Msg " },
|
{ CRC_MI_CURRENTMSG , NULL , (char *)"C Current Msg " },
|
||||||
{ CRC_MI_QUITMSGS , NULL , "Q Quit / ESC " },
|
{ CRC_MI_QUITMSGS , NULL , (char *)"Q Quit / ESC " },
|
||||||
{ CRC_ST_WRITEMSGSTO , NULL , "Write Msg(s) to File or Printer" },
|
{ CRC_ST_WRITEMSGSTO , NULL , (char *)"Write Msg(s) to File or Printer" },
|
||||||
{ CRC_WT_WRITETO , NULL , " Write To: " },
|
{ CRC_WT_WRITETO , NULL , (char *)" Write To: " },
|
||||||
{ CRC_MI_DISKFILE , NULL , "D Disk File " },
|
{ CRC_MI_DISKFILE , NULL , (char *)"D Disk File " },
|
||||||
{ CRC_MI_PRINTER , NULL , "P Print device " },
|
{ CRC_MI_PRINTER , NULL , (char *)"P Print device " },
|
||||||
{ CRC_MI_QUITWRITE , NULL , "Q Quit / ESC " },
|
{ CRC_MI_QUITWRITE , NULL , (char *)"Q Quit / ESC " },
|
||||||
{ CRC_ST_MARKINGOPTIONS , NULL , "Message Marking" },
|
{ CRC_ST_MARKINGOPTIONS , NULL , (char *)"Message Marking" },
|
||||||
{ CRC_WT_MARKWHAT , NULL , " Mark What? " },
|
{ CRC_WT_MARKWHAT , NULL , (char *)" Mark What? " },
|
||||||
{ CRC_MI_YOURMAIL , NULL , "Y Your personal mail " },
|
{ CRC_MI_YOURMAIL , NULL , (char *)"Y Your personal mail " },
|
||||||
{ CRC_MI_FROMTOSUBJ , NULL , "H Header (From/To/Subj) " },
|
{ CRC_MI_FROMTOSUBJ , NULL , (char *)"H Header (From/To/Subj) " },
|
||||||
{ CRC_MI_TEXTHDR , NULL , "T Text and header " },
|
{ CRC_MI_TEXTHDR , NULL , (char *)"T Text and header " },
|
||||||
{ CRC_MI_THREAD , NULL , "R Reply thread " },
|
{ CRC_MI_THREAD , NULL , (char *)"R Reply thread " },
|
||||||
{ CRC_MI_ASREAD , NULL , "s Mark thread as read " },
|
{ CRC_MI_ASREAD , NULL , (char *)"s Mark thread as read " },
|
||||||
{ CRC_MI_NEWMSGS , NULL , "N New msgs >current " },
|
{ CRC_MI_NEWMSGS , NULL , (char *)"N New msgs >current " },
|
||||||
{ CRC_MI_OLDMSGS , NULL , "O Old msgs <current " },
|
{ CRC_MI_OLDMSGS , NULL , (char *)"O Old msgs <current " },
|
||||||
{ CRC_MI_ALLMSGS , NULL , "A All msgs " },
|
{ CRC_MI_ALLMSGS , NULL , (char *)"A All msgs " },
|
||||||
{ CRC_MI_UNMARK , NULL , "U Unmark all msgs " },
|
{ CRC_MI_UNMARK , NULL , (char *)"U Unmark all msgs " },
|
||||||
{ CRC_MI_RANGE , NULL , "M Msg range (bookm-curr) " },
|
{ CRC_MI_RANGE , NULL , (char *)"M Msg range (bookm-curr) " },
|
||||||
{ CRC_MI_MARKSTOGGLE , NULL , "g Toggle all marks " },
|
{ CRC_MI_MARKSTOGGLE , NULL , (char *)"g Toggle all marks " },
|
||||||
{ CRC_MI_QUITMARKS , NULL , "Q Quit / ESC " },
|
{ CRC_MI_QUITMARKS , NULL , (char *)"Q Quit / ESC " },
|
||||||
{ CRC_WT_ENTERMARKSTRING , NULL , " Enter Marking String " },
|
{ CRC_WT_ENTERMARKSTRING , NULL , (char *)" Enter Marking String " },
|
||||||
{ CRC_ST_SEARCHINGMSG , NULL , "Searching Msg %u of %u. Marked: %u" },
|
{ CRC_ST_SEARCHINGMSG , NULL , (char *)"Searching Msg %u of %u. Marked: %u" },
|
||||||
{ CRC_WT_USERLISTNAME , NULL , " Userlist filename? " },
|
{ CRC_WT_USERLISTNAME , NULL , (char *)" Userlist filename? " },
|
||||||
{ CRC_IL_GENUSERLIST , NULL , " Generating Userlist " },
|
{ CRC_IL_GENUSERLIST , NULL , (char *)" Generating Userlist " },
|
||||||
{ CRC_WT_FILEEXISTS , NULL , " File Exists! " },
|
{ CRC_WT_FILEEXISTS , NULL , (char *)" File Exists! " },
|
||||||
{ CRC_MI_APPEND , NULL , "A Append to end of file " },
|
{ CRC_MI_APPEND , NULL , (char *)"A Append to end of file " },
|
||||||
{ CRC_MI_OVERWRITE , NULL , "O Overwrite the file " },
|
{ CRC_MI_OVERWRITE , NULL , (char *)"O Overwrite the file " },
|
||||||
{ CRC_MI_QUITEXIST , NULL , "R Re-enter filename / ESC " },
|
{ CRC_MI_QUITEXIST , NULL , (char *)"R Re-enter filename / ESC " },
|
||||||
{ CRC_IL_WARNUNSENT , NULL , " WARNING! This message is NOT sent! " },
|
{ CRC_IL_WARNUNSENT , NULL , (char *)" WARNING! This message is NOT sent! " },
|
||||||
{ CRC_IL_WARNLOCKED , NULL , " WARNING! This message is LOcKed! "},
|
{ CRC_IL_WARNLOCKED , NULL , (char *)" WARNING! This message is LOcKed! "},
|
||||||
{ CRC_ST_CHANGEORIGIN , NULL , "Change Default Origin" },
|
{ CRC_ST_CHANGEORIGIN , NULL , (char *)"Change Default Origin" },
|
||||||
{ CRC_WT_ORIGINS , NULL , " Origins " },
|
{ CRC_WT_ORIGINS , NULL , (char *)" Origins " },
|
||||||
{ CRC_ST_CHANGEUSERNAME , NULL , "Change Default Username" },
|
{ CRC_ST_CHANGEUSERNAME , NULL , (char *)"Change Default Username" },
|
||||||
{ CRC_WT_USERNAMES , NULL , " Usernames " },
|
{ CRC_WT_USERNAMES , NULL , (char *)" Usernames " },
|
||||||
{ CRC_ST_CHANGEAKA , NULL , "Change Default Address AKA" },
|
{ CRC_ST_CHANGEAKA , NULL , (char *)"Change Default Address AKA" },
|
||||||
{ CRC_WT_AKAS , NULL , " AKA's " },
|
{ CRC_WT_AKAS , NULL , (char *)" AKA's " },
|
||||||
{ CRC_WT_LOOKUP , NULL , " Lookup: %s " },
|
{ CRC_WT_LOOKUP , NULL , (char *)" Lookup: %s " },
|
||||||
{ CRC_WL_PHONE , NULL , "Phone" },
|
{ CRC_WL_PHONE , NULL , (char *)"Phone" },
|
||||||
{ CRC_WT_QUITGOLDED , NULL , " Quit GoldED? " },
|
{ CRC_WT_QUITGOLDED , NULL , (char *)" Quit GoldED? " },
|
||||||
{ CRC_MI_QUITYES , NULL , "Y Yes Please. " },
|
{ CRC_MI_QUITYES , NULL , (char *)"Y Yes Please. " },
|
||||||
{ CRC_MI_QUITNO , NULL , "N No! " },
|
{ CRC_MI_QUITNO , NULL , (char *)"N No! " },
|
||||||
{ CRC_MS_EDITCMD , NULL , "Editor: %s" },
|
{ CRC_MS_EDITCMD , NULL , (char *)"Editor: %s" },
|
||||||
{ CRC_IL_NOORIGDEFINED , NULL , " No origins defined. Press key " },
|
{ CRC_IL_NOORIGDEFINED , NULL , (char *)" No origins defined. Press key " },
|
||||||
{ CRC_IL_NOUSERDEFINED , NULL , " No usernames defined. Press key " },
|
{ CRC_IL_NOUSERDEFINED , NULL , (char *)" No usernames defined. Press key " },
|
||||||
{ CRC_IL_NOAKADEFINED , NULL , " No AKA's defined. Press key " },
|
{ CRC_IL_NOAKADEFINED , NULL , (char *)" No AKA's defined. Press key " },
|
||||||
{ CRC_IL_NOTPLDEFINED , NULL , " No templates defined. Press key " },
|
{ CRC_IL_NOTPLDEFINED , NULL , (char *)" No templates defined. Press key " },
|
||||||
{ CRC_IL_NOTHREADLIST , NULL , " Sorry, no thread available. Press key "},
|
{ CRC_IL_NOTHREADLIST , NULL , (char *)" Sorry, no thread available. Press key "},
|
||||||
{ CRC_MS_SKIPPINGTWIT , NULL , "Skipping Twit Message..." },
|
{ CRC_MS_SKIPPINGTWIT , NULL , (char *)"Skipping Twit Message..." },
|
||||||
{ CRC_MS_SKIPPINGDELETED , NULL , "Skipping Deleted Message..." },
|
{ CRC_MS_SKIPPINGDELETED , NULL , (char *)"Skipping Deleted Message..." },
|
||||||
{ CRC_MS_KILLINGTWIT , NULL , "Killing Twit Message..." },
|
{ CRC_MS_KILLINGTWIT , NULL , (char *)"Killing Twit Message..." },
|
||||||
{ CRC_IL_WRITINGCFG , NULL , " Writing Configuration " },
|
{ CRC_IL_WRITINGCFG , NULL , (char *)" Writing Configuration " },
|
||||||
{ CRC_IL_COULDNOTOPEN , NULL , " Couldn't open %s " },
|
{ CRC_IL_COULDNOTOPEN , NULL , (char *)" Couldn't open %s " },
|
||||||
{ CRC_MS_PROMPT , NULL , "Enter the command \"EXIT\" to return to GoldED.\r\n" },
|
{ CRC_MS_PROMPT , NULL , (char *)"Enter the command \"EXIT\" to return to GoldED.\r\n" },
|
||||||
{ CRC_IL_UNFINISHEDMSG , NULL , " Unfinished message found! " },
|
{ CRC_IL_UNFINISHEDMSG , NULL , (char *)" Unfinished message found! " },
|
||||||
{ CRC_ST_LOADUNFINISHED , NULL , "Press any key to load it or <ESC> to ignore" },
|
{ CRC_ST_LOADUNFINISHED , NULL , (char *)"Press any key to load it or <ESC> to ignore" },
|
||||||
{ CRC_IL_READINGECHOLIST , NULL , "Reading Echolist Files" },
|
{ CRC_IL_READINGECHOLIST , NULL , (char *)"Reading Echolist Files" },
|
||||||
{ CRC_IL_READINGADDRMACROS , NULL , "Reading Address Macros" },
|
{ CRC_IL_READINGADDRMACROS , NULL , (char *)"Reading Address Macros" },
|
||||||
{ CRC_IL_CHECKINGNODELISTS , NULL , "Checking Nodelists" },
|
{ CRC_IL_CHECKINGNODELISTS , NULL , (char *)"Checking Nodelists" },
|
||||||
{ CRC_ST_CROSSPOSTING , NULL , "Crossposting in %s" },
|
{ CRC_ST_CROSSPOSTING , NULL , (char *)"Crossposting in %s" },
|
||||||
{ CRC_IL_TWITBLANKED , NULL , " Twit Msgs Blanked " },
|
{ CRC_IL_TWITBLANKED , NULL , (char *)" Twit Msgs Blanked " },
|
||||||
{ CRC_IL_TWITSKIPPED , NULL , " Twit Msgs Skipped " },
|
{ CRC_IL_TWITSKIPPED , NULL , (char *)" Twit Msgs Skipped " },
|
||||||
{ CRC_IL_TWITIGNORESKIP , NULL , " Twit Msgs Ignored and Skipped " },
|
{ CRC_IL_TWITIGNORESKIP , NULL , (char *)" Twit Msgs Ignored and Skipped " },
|
||||||
{ CRC_IL_TWITDISPLAYED , NULL , " Twit Msgs Displayed " },
|
{ CRC_IL_TWITDISPLAYED , NULL , (char *)" Twit Msgs Displayed " },
|
||||||
{ CRC_IL_TWITKILLED , NULL , " Twit Msgs Killed " },
|
{ CRC_IL_TWITKILLED , NULL , (char *)" Twit Msgs Killed " },
|
||||||
{ CRC_IL_STYLECODESNO , NULL , " Stylecodes disabled " },
|
{ CRC_IL_STYLECODESNO , NULL , (char *)" Stylecodes disabled " },
|
||||||
{ CRC_IL_STYLECODESYES , NULL , " Stylecodes enabled " },
|
{ CRC_IL_STYLECODESYES , NULL , (char *)" Stylecodes enabled " },
|
||||||
{ CRC_IL_STYLECODESHIDE , NULL , " Stylecodes enabled and stripped " },
|
{ CRC_IL_STYLECODESHIDE , NULL , (char *)" Stylecodes enabled and stripped " },
|
||||||
{ CRC_ST_GENCFMRECEIPT , NULL , "Generating Confirmation Receipt" },
|
{ CRC_ST_GENCFMRECEIPT , NULL , (char *)"Generating Confirmation Receipt" },
|
||||||
{ CRC_WT_NEW , NULL , "New" },
|
{ CRC_WT_NEW , NULL , (char *)"New" },
|
||||||
{ CRC_ST_LOOKUPINFO , NULL , "Nodelist Lookup Information" },
|
{ CRC_ST_LOOKUPINFO , NULL , (char *)"Nodelist Lookup Information" },
|
||||||
{ CRC_MS_DATETIMEFMT , NULL , "%d %b %y %H:%M:%S" },
|
{ CRC_MS_DATETIMEFMT , NULL , (char *)"%d %b %y %H:%M:%S" },
|
||||||
{ CRC_MS_DATEFMT , NULL , "%d %b %y" },
|
{ CRC_MS_DATEFMT , NULL , (char *)"%d %b %y" },
|
||||||
{ CRC_MS_TIMEFMT , NULL , "%H:%M" },
|
{ CRC_MS_TIMEFMT , NULL , (char *)"%H:%M" },
|
||||||
{ CRC_MS_ORIGINALLYIN , NULL , "* Originally in %s" },
|
{ CRC_MS_ORIGINALLYIN , NULL , (char *)"* Originally in %s" },
|
||||||
{ CRC_MS_CROSSPOSTEDIN , NULL , "* Crossposted in %s" },
|
{ CRC_MS_CROSSPOSTEDIN , NULL , (char *)"* Crossposted in %s" },
|
||||||
{ CRC_MS_CCTO , NULL , "* Carbon copied to %s" },
|
{ CRC_MS_CCTO , NULL , (char *)"* Carbon copied to %s" },
|
||||||
{ CRC_ST_STATUSLINEHELP , NULL , "F1 Help" },
|
{ CRC_ST_STATUSLINEHELP , NULL , (char *)"F1 Help" },
|
||||||
{ CRC_HD_OF , NULL , "of" },
|
{ CRC_HD_OF , NULL , (char *)"of" },
|
||||||
{ CRC_MS_ROBOTMSG , NULL , "\r--- @longpid @version\r" },
|
{ CRC_MS_ROBOTMSG , NULL , (char *)"\r--- @longpid @version\r" },
|
||||||
{ CRC_ST_STATUSLINETIMEFMT , NULL , "%H:%M:%S" },
|
{ CRC_ST_STATUSLINETIMEFMT , NULL , (char *)"%H:%M:%S" },
|
||||||
|
|
||||||
{ CRC_WT_REPLIES , NULL , " Replies " },
|
{ CRC_WT_REPLIES , NULL , (char *)" Replies " },
|
||||||
{ CRC_ST_SELECTREPLY , NULL , "Select the reply you want to see" },
|
{ CRC_ST_SELECTREPLY , NULL , (char *)"Select the reply you want to see" },
|
||||||
{ CRC_IL_WAITOREXIT , NULL , " At this point you must either wait or exit GoldED entirely - Sorry! " },
|
{ CRC_IL_WAITOREXIT , NULL , (char *)" At this point you must either wait or exit GoldED entirely - Sorry! " },
|
||||||
{ CRC_WT_REALLYEXIT , NULL , " Really exit? " },
|
{ CRC_WT_REALLYEXIT , NULL , (char *)" Really exit? " },
|
||||||
{ CRC_MI_TAGLINES , NULL , "T Change Tagline" },
|
{ CRC_MI_TAGLINES , NULL , (char *)"T Change Tagline" },
|
||||||
{ CRC_MI_HEADEREDIT , NULL , "H Edit Header" },
|
{ CRC_MI_HEADEREDIT , NULL , (char *)"H Edit Header" },
|
||||||
{ CRC_MI_SCANGROUP , NULL , "G Scan Group" },
|
{ CRC_MI_SCANGROUP , NULL , (char *)"G Scan Group" },
|
||||||
{ CRC_WT_QWKPACKET , NULL , " QWK Packet " },
|
{ CRC_WT_QWKPACKET , NULL , (char *)" QWK Packet " },
|
||||||
{ CRC_MI_SCANQWK , NULL , "Q QWK Packet" },
|
{ CRC_MI_SCANQWK , NULL , (char *)"Q QWK Packet" },
|
||||||
{ CRC_WT_SOUPPACKET , NULL , " SOUP Packet " },
|
{ CRC_WT_SOUPPACKET , NULL , (char *)" SOUP Packet " },
|
||||||
{ CRC_MI_SCANSOUP , NULL , "S SOUP Packet" },
|
{ CRC_MI_SCANSOUP , NULL , (char *)"S SOUP Packet" },
|
||||||
{ CRC_MI_SCANIMPORT , NULL , "I Import" },
|
{ CRC_MI_SCANIMPORT , NULL , (char *)"I Import" },
|
||||||
{ CRC_MI_SCANEXPORT , NULL , "E Export" },
|
{ CRC_MI_SCANEXPORT , NULL , (char *)"E Export" },
|
||||||
{ CRC_WT_SCANPM , NULL , " Scan PM " },
|
{ CRC_WT_SCANPM , NULL , (char *)" Scan PM " },
|
||||||
{ CRC_MI_TAGLINE , NULL , "g Taglines" },
|
{ CRC_MI_TAGLINE , NULL , (char *)"g Taglines" },
|
||||||
{ CRC_WT_CONFIRM , NULL , " Honor receipt request? " },
|
{ CRC_WT_CONFIRM , NULL , (char *)" Honor receipt request? " },
|
||||||
{ CRC_MI_CONFIRMYES , NULL , "Y Yes, send a receipt msg " },
|
{ CRC_MI_CONFIRMYES , NULL , (char *)"Y Yes, send a receipt msg " },
|
||||||
{ CRC_MI_CONFIRMNO , NULL , "N No, ignore the request " },
|
{ CRC_MI_CONFIRMNO , NULL , (char *)"N No, ignore the request " },
|
||||||
{ CRC_IL_CONFIRMINFO , NULL , " The sender of this message requests confirmation of receipt (CFM) " },
|
{ CRC_IL_CONFIRMINFO , NULL , (char *)" The sender of this message requests confirmation of receipt (CFM) " },
|
||||||
{ CRC_ST_MSG , NULL , "msg" },
|
{ CRC_ST_MSG , NULL , (char *)"msg" },
|
||||||
{ CRC_ST_MSGS , NULL , "msgs" },
|
{ CRC_ST_MSGS , NULL , (char *)"msgs" },
|
||||||
{ CRC_ST_PERSONAL , NULL , "personal" },
|
{ CRC_ST_PERSONAL , NULL , (char *)"personal" },
|
||||||
{ CRC_WT_GRP , NULL , "Grp" },
|
{ CRC_WT_GRP , NULL , (char *)"Grp" },
|
||||||
{ CRC_IL_FOUNDPERSONAL , NULL , " Found %u personal mail%s in %u area%s " },
|
{ CRC_IL_FOUNDPERSONAL , NULL , (char *)" Found %u personal mail%s in %u area%s " },
|
||||||
{ CRC_IL_NOPERSONAL , NULL , " No personal mail found " },
|
{ CRC_IL_NOPERSONAL , NULL , (char *)" No personal mail found " },
|
||||||
{ CRC_ST_ESCORCONTINUE , NULL , "ESC exits. Other keys: Tries to continue" },
|
{ CRC_ST_ESCORCONTINUE , NULL , (char *)"ESC exits. Other keys: Tries to continue" },
|
||||||
{ CRC_MS_SPELLCHECKER , NULL , "SpellChecker: %s" },
|
{ CRC_MS_SPELLCHECKER , NULL , (char *)"SpellChecker: %s" },
|
||||||
{ CRC_WT_INS , NULL , " Ins " },
|
{ CRC_WT_INS , NULL , (char *)" Ins " },
|
||||||
{ CRC_WT_DRAWSL , NULL , " DL1 " },
|
{ CRC_WT_DRAWSL , NULL , (char *)" DL1 " },
|
||||||
{ CRC_WT_DRAWDL , NULL , " DL2 " },
|
{ CRC_WT_DRAWDL , NULL , (char *)" DL2 " },
|
||||||
{ CRC_MI_FILELISTFROM , NULL , "Filelist from %s" },
|
{ CRC_MI_FILELISTFROM , NULL , (char *)"Filelist from %s" },
|
||||||
{ CRC_ST_INITIALIZING , NULL , "Initializing ..." },
|
{ CRC_ST_INITIALIZING , NULL , (char *)"Initializing ..." },
|
||||||
{ CRC_ST_CHECKING , NULL , "Checking" },
|
{ CRC_ST_CHECKING , NULL , (char *)"Checking" },
|
||||||
{ CRC_ST_LOCKSHARECAP , NULL , "%s Lock/Share Capability" },
|
{ CRC_ST_LOCKSHARECAP , NULL , (char *)"%s Lock/Share Capability" },
|
||||||
{ CRC_WT_ATTRTURNOFF , NULL , " Press Alt-F1 to turn off this window " },
|
{ CRC_WT_ATTRTURNOFF , NULL , (char *)" Press Alt-F1 to turn off this window " },
|
||||||
{ CRC_WT_TAGLINES , NULL , " Taglines " },
|
{ CRC_WT_TAGLINES , NULL , (char *)" Taglines " },
|
||||||
{ CRC_ST_CHANGETAGLINE , NULL , "Change Default Tagline" },
|
{ CRC_ST_CHANGETAGLINE , NULL , (char *)"Change Default Tagline" },
|
||||||
{ CRC_IL_NOTAGLINE , NULL , " No taglines defined. Press key " },
|
{ CRC_IL_NOTAGLINE , NULL , (char *)" No taglines defined. Press key " },
|
||||||
{ CRC_WT_CHARSETS , NULL , " Charsets " },
|
{ CRC_WT_CHARSETS , NULL , (char *)" Charsets " },
|
||||||
{ CRC_ST_CHANGEXLATIMP , NULL , "Change Default Import Charset" },
|
{ CRC_ST_CHANGEXLATIMP , NULL , (char *)"Change Default Import Charset" },
|
||||||
{ CRC_MI_CHARSETAUTO , NULL , " Auto " },
|
{ CRC_MI_CHARSETAUTO , NULL , (char *)" Auto " },
|
||||||
{ CRC_IL_NOXLATIMPORT , NULL , " No XLATIMPORT's defined. Press key " },
|
{ CRC_IL_NOXLATIMPORT , NULL , (char *)" No XLATIMPORT's defined. Press key " },
|
||||||
{ CRC_WT_N_A , NULL , "n/a" },
|
{ CRC_WT_N_A , NULL , (char *)"n/a" },
|
||||||
{ CRC_WT_WRITTEN , NULL , "Written" },
|
{ CRC_WT_WRITTEN , NULL , (char *)"Written" },
|
||||||
{ CRC_WT_ARRIVED , NULL , "Arrived" },
|
{ CRC_WT_ARRIVED , NULL , (char *)"Arrived" },
|
||||||
{ CRC_WT_RECEIVED , NULL , "Received" },
|
{ CRC_WT_RECEIVED , NULL , (char *)"Received" },
|
||||||
{ CRC_IL_NONODELIST , NULL , " Unable to access the nodelist or index files " },
|
{ CRC_IL_NONODELIST , NULL , (char *)" Unable to access the nodelist or index files " },
|
||||||
{ CRC_IL_NODELISTMISSING , NULL , "Nodelist missing:" },
|
{ CRC_IL_NODELISTMISSING , NULL , (char *)"Nodelist missing:" },
|
||||||
{ CRC_IL_NODELISTOUTDATED , NULL , "Nodelist out of date:" },
|
{ CRC_IL_NODELISTOUTDATED , NULL , (char *)"Nodelist out of date:" },
|
||||||
{ CRC_MS_REPLYLINKER , NULL , "Replylinker: %s" },
|
{ CRC_MS_REPLYLINKER , NULL , (char *)"Replylinker: %s" },
|
||||||
{ CRC_WT_ENTERMSGNO , NULL , " Enter msgno " },
|
{ CRC_WT_ENTERMSGNO , NULL , (char *)" Enter msgno " },
|
||||||
{ CRC_IL_WAITUUDECODING , NULL , " Wait - uudecoding " },
|
{ CRC_IL_WAITUUDECODING , NULL , (char *)" Wait - uudecoding " },
|
||||||
{ CRC_IL_COMPLETEDUUDECODE , NULL , " Completed uudecode of %s " },
|
{ CRC_IL_COMPLETEDUUDECODE , NULL , (char *)" Completed uudecode of %s " },
|
||||||
{ CRC_IL_NOTUUENCODED , NULL , " Could not find anything to uudecode " },
|
{ CRC_IL_NOTUUENCODED , NULL , (char *)" Could not find anything to uudecode " },
|
||||||
{ CRC_IL_UUEINVALIDPATH , NULL , " Invalid path for uudecoding - file not written " },
|
{ CRC_IL_UUEINVALIDPATH , NULL , (char *)" Invalid path for uudecoding - file not written " },
|
||||||
{ CRC_IL_TMPINVALIDPATH , NULL , " Invalid path for temporary files (TEMPPATH) - do nothing " },
|
{ CRC_IL_TMPINVALIDPATH , NULL , (char *)" Invalid path for temporary files (TEMPPATH) - do nothing " },
|
||||||
{ CRC_IL_PATHREPORT , NULL , " Generating PATH report " },
|
{ CRC_IL_PATHREPORT , NULL , (char *)" Generating PATH report " },
|
||||||
{ CRC_IL_ERRORINSOUP , NULL , " Error in SOUP file %s " },
|
{ CRC_IL_ERRORINSOUP , NULL , (char *)" Error in SOUP file %s " },
|
||||||
{ CRC_IL_WARNALREADYSENT , NULL , " WARNING: This message is already sent! " },
|
{ CRC_IL_WARNALREADYSENT , NULL , (char *)" WARNING: This message is already sent! " },
|
||||||
{ CRC_IL_WAITLOCKED , NULL , " Wait: %s is locked " },
|
{ CRC_IL_WAITLOCKED , NULL , (char *)" Wait: %s is locked " },
|
||||||
{ CRC_ST_RETRYORESC , NULL , "%s retry (%lu). Press ESC to exit GoldED." },
|
{ CRC_ST_RETRYORESC , NULL , (char *)"%s retry (%lu). Press ESC to exit GoldED." },
|
||||||
{ CRC_ST_RETRYLOCK , NULL , "Lock" },
|
{ CRC_ST_RETRYLOCK , NULL , (char *)"Lock" },
|
||||||
{ CRC_ST_RETRYOPEN , NULL , "Open" },
|
{ CRC_ST_RETRYOPEN , NULL , (char *)"Open" },
|
||||||
{ CRC_WT_TOUCHSEMAPHORE , NULL , " Enter name of semaphore file to touch " },
|
{ CRC_WT_TOUCHSEMAPHORE , NULL , (char *)" Enter name of semaphore file to touch " },
|
||||||
{ CRC_MI_WRITETOHDRNO , NULL , "H Use Header: NO " },
|
{ CRC_MI_WRITETOHDRNO , NULL , (char *)"H Use Header: NO " },
|
||||||
{ CRC_MI_WRITETOHDRYES , NULL , "H Use Header: YES "},
|
{ CRC_MI_WRITETOHDRYES , NULL , (char *)"H Use Header: YES "},
|
||||||
{ CRC_MI_WRITETOHDRONLY , NULL , "H Use Header: ONLY "},
|
{ CRC_MI_WRITETOHDRONLY , NULL , (char *)"H Use Header: ONLY "},
|
||||||
{ CRC_MI_CLIPBOARD , NULL , "C Clipboard "},
|
{ CRC_MI_CLIPBOARD , NULL , (char *)"C Clipboard "},
|
||||||
{ CRC_WT_SELECTMARKS , NULL , " Select Mark " },
|
{ CRC_WT_SELECTMARKS , NULL , (char *)" Select Mark " },
|
||||||
{ CRC_WT_SELECTMARKSEDIT , NULL , " Edit Mark Description " },
|
{ CRC_WT_SELECTMARKSEDIT , NULL , (char *)" Edit Mark Description " },
|
||||||
{ CRC_IL_DROPMARKSINFO , NULL , " %s Messages Are Marked " },
|
{ CRC_IL_DROPMARKSINFO , NULL , (char *)" %s Messages Are Marked " },
|
||||||
{ CRC_WT_DROPMARKS , NULL , " Drop Msg Marks " },
|
{ CRC_WT_DROPMARKS , NULL , (char *)" Drop Msg Marks " },
|
||||||
{ CRC_MI_DROPALL , NULL , "A Drop All " },
|
{ CRC_MI_DROPALL , NULL , (char *)"A Drop All " },
|
||||||
{ CRC_MI_DROPMARKED , NULL , "M Drop Marked " },
|
{ CRC_MI_DROPMARKED , NULL , (char *)"M Drop Marked " },
|
||||||
{ CRC_MI_DROPCURRENT , NULL , "C Drop Current " },
|
{ CRC_MI_DROPCURRENT , NULL , (char *)"C Drop Current " },
|
||||||
{ CRC_MI_NODROP , NULL , "N No Drop / ESC " },
|
{ CRC_MI_NODROP , NULL , (char *)"N No Drop / ESC " },
|
||||||
{ CRC_WT_CATCHAREAS , NULL , " Catch-Up Areas " },
|
{ CRC_WT_CATCHAREAS , NULL , (char *)" Catch-Up Areas " },
|
||||||
{ CRC_MI_CATCHALL , NULL , "A Catch All " },
|
{ CRC_MI_CATCHALL , NULL , (char *)"A Catch All " },
|
||||||
{ CRC_MI_CATCHMARKED , NULL , "M Catch Marked " },
|
{ CRC_MI_CATCHMARKED , NULL , (char *)"M Catch Marked " },
|
||||||
{ CRC_MI_CATCHCURRENT , NULL , "C Catch Current " },
|
{ CRC_MI_CATCHCURRENT , NULL , (char *)"C Catch Current " },
|
||||||
{ CRC_MI_NOCATCH , NULL , "N No Catch / ESC " },
|
{ CRC_MI_NOCATCH , NULL , (char *)"N No Catch / ESC " },
|
||||||
{ CRC_WT_CROSSPOST , NULL , " Crosspost " },
|
{ CRC_WT_CROSSPOST , NULL , (char *)" Crosspost " },
|
||||||
{ CRC_MI_XCPROCESS , NULL , "P Process XC's " },
|
{ CRC_MI_XCPROCESS , NULL , (char *)"P Process XC's " },
|
||||||
{ CRC_MI_XCIGNORE , NULL , "I Ignore XC's " },
|
{ CRC_MI_XCIGNORE , NULL , (char *)"I Ignore XC's " },
|
||||||
{ CRC_MI_XCLISTFMT , NULL , "L List Format " },
|
{ CRC_MI_XCLISTFMT , NULL , (char *)"L List Format " },
|
||||||
{ CRC_WT_XCLIST , NULL , " XC List " },
|
{ CRC_WT_XCLIST , NULL , (char *)" XC List " },
|
||||||
{ CRC_MI_XCLISTRAW , NULL , "K Keep " },
|
{ CRC_MI_XCLISTRAW , NULL , (char *)"K Keep " },
|
||||||
{ CRC_MI_XCLISTVERBOSE , NULL , "V Verbose " },
|
{ CRC_MI_XCLISTVERBOSE , NULL , (char *)"V Verbose " },
|
||||||
{ CRC_MI_XCLISTLINE , NULL , "L Line " },
|
{ CRC_MI_XCLISTLINE , NULL , (char *)"L Line " },
|
||||||
{ CRC_MI_XCLISTREMOVE , NULL , "R Remove " },
|
{ CRC_MI_XCLISTREMOVE , NULL , (char *)"R Remove " },
|
||||||
|
|
||||||
{ CRC_WT_ADDRESSBOOK , NULL , " Addressbook " },
|
{ CRC_WT_ADDRESSBOOK , NULL , (char *)" Addressbook " },
|
||||||
{ CRC_WT_ADVANCEDSEARCH , NULL , " Advanced Search " },
|
{ CRC_WT_ADVANCEDSEARCH , NULL , (char *)" Advanced Search " },
|
||||||
{ CRC_IL_NOMOREMATCHES , NULL , " No more matches found " },
|
{ CRC_IL_NOMOREMATCHES , NULL , (char *)" No more matches found " },
|
||||||
{ CRC_WT_HEADEREDITHELP_1 , NULL , " Shift-F10: Nodelist " },
|
{ CRC_WT_HEADEREDITHELP_1 , NULL , (char *)" Shift-F10: Nodelist " },
|
||||||
{ CRC_WT_HEADEREDITHELP_2 , NULL , " F10: Addressbook " },
|
{ CRC_WT_HEADEREDITHELP_2 , NULL , (char *)" F10: Addressbook " },
|
||||||
{ CRC_WT_THREADLISTTITLE , NULL , " Message Thread List " },
|
{ CRC_WT_THREADLISTTITLE , NULL , (char *)" Message Thread List " },
|
||||||
{ CRC_WT_ADVANCEDMARKING , NULL , " Advanced Marking " },
|
{ CRC_WT_ADVANCEDMARKING , NULL , (char *)" Advanced Marking " },
|
||||||
{ CRC_ST_USERSTATUSLINE , NULL , "GoldED's Address Book - %d of %d (%d left)" },
|
{ CRC_ST_USERSTATUSLINE , NULL , (char *)"GoldED's Address Book - %d of %d (%d left)" },
|
||||||
{ CRC_WT_USERHEADERNAME , NULL , "Name" },
|
{ CRC_WT_USERHEADERNAME , NULL , (char *)"Name" },
|
||||||
{ CRC_WT_USERHEADERORG , NULL , "Organization" },
|
{ CRC_WT_USERHEADERORG , NULL , (char *)"Organization" },
|
||||||
{ CRC_WT_USERHEADERAKA , NULL , "Address" },
|
{ CRC_WT_USERHEADERAKA , NULL , (char *)"Address" },
|
||||||
{ CRC_IL_USERWAIT , NULL , " Wait - Browsing Address Book... " },
|
{ CRC_IL_USERWAIT , NULL , (char *)" Wait - Browsing Address Book... " },
|
||||||
|
|
||||||
{ CRC_MI_ALSELECTIONS1 , NULL , "Mark Areas with New Mail" },
|
{ CRC_MI_ALSELECTIONS1 , NULL , (char *)"Mark Areas with New Mail" },
|
||||||
{ CRC_MI_ALSELECTIONS2 , NULL , "(unused)" },
|
{ CRC_MI_ALSELECTIONS2 , NULL , (char *)"(unused)" },
|
||||||
{ CRC_IL_DECODE , NULL , "Decode" },
|
{ CRC_IL_DECODE , NULL , (char *)"Decode" },
|
||||||
{ CRC_IL_PREPARING , NULL , "Preparing" },
|
{ CRC_IL_PREPARING , NULL , (char *)"Preparing" },
|
||||||
|
|
||||||
{ CRC_WT_EXTERNUTIL , NULL , "External utilities" },
|
{ CRC_WT_EXTERNUTIL , NULL , (char *)"External utilities" },
|
||||||
{ CRC_ST_EXTERNUTIL , NULL , "Select external utility to execute" },
|
{ CRC_ST_EXTERNUTIL , NULL , (char *)"Select external utility to execute" },
|
||||||
{ CRC_WT_EXECCMDLINE , NULL , "Enter command line to execute" },
|
{ CRC_WT_EXECCMDLINE , NULL , (char *)"Enter command line to execute" },
|
||||||
{ CRC_MI_ENTERCMDLINE , NULL , " Enter command line " },
|
{ CRC_MI_ENTERCMDLINE , NULL , (char *)" Enter command line " },
|
||||||
|
|
||||||
{ CRC_WT_PEEKURL , NULL , "Available URLs" },
|
{ CRC_WT_PEEKURL , NULL , (char *)"Available URLs" },
|
||||||
{ CRC_ST_PEEKURL , NULL , "Select URL" },
|
{ CRC_ST_PEEKURL , NULL , (char *)"Select URL" },
|
||||||
{ CRC_IL_PEEKINFONOURLS , NULL , " No valid URLs were found in this msg! " },
|
{ CRC_IL_PEEKINFONOURLS , NULL , (char *)" No valid URLs were found in this msg! " },
|
||||||
{ CRC_IL_PEEKINFONOHANDLER , NULL , " URL handler are not defined in config file! " },
|
{ CRC_IL_PEEKINFONOHANDLER , NULL , (char *)" URL handler are not defined in config file! " },
|
||||||
|
|
||||||
{ CRC_MI_MMMAIN , NULL , "M Main " },
|
{ CRC_MI_MMMAIN , NULL , (char *)"M Main " },
|
||||||
{ CRC_MI_MMSHELL , NULL , "S Shell to OS " },
|
{ CRC_MI_MMSHELL , NULL , (char *)"S Shell to OS " },
|
||||||
{ CRC_MI_MMQUIT , NULL , "Q Quit GoldED " },
|
{ CRC_MI_MMQUIT , NULL , (char *)"Q Quit GoldED " },
|
||||||
{ CRC_MI_MMEDIT , NULL , "E Edit " },
|
{ CRC_MI_MMEDIT , NULL , (char *)"E Edit " },
|
||||||
{ CRC_MI_MMNEWMSG , NULL , "E Enter new msg " },
|
{ CRC_MI_MMNEWMSG , NULL , (char *)"E Enter new msg " },
|
||||||
{ CRC_MI_MMQUOTEREPLY , NULL , "Q Quote-reply " },
|
{ CRC_MI_MMQUOTEREPLY , NULL , (char *)"Q Quote-reply " },
|
||||||
{ CRC_MI_MMDIRQUOTEREPLY , NULL , "D Direct quote-reply (ignore Reply-To) " },
|
{ CRC_MI_MMDIRQUOTEREPLY , NULL , (char *)"D Direct quote-reply (ignore Reply-To) " },
|
||||||
{ CRC_MI_MMCMTREPLY , NULL , "C Comment-reply " },
|
{ CRC_MI_MMCMTREPLY , NULL , (char *)"C Comment-reply " },
|
||||||
{ CRC_MI_MMOTHERAREA , NULL , "O Other area reply > " },
|
{ CRC_MI_MMOTHERAREA , NULL , (char *)"O Other area reply > " },
|
||||||
{ CRC_WT_MMOTHERAREA , NULL , " Other Area " },
|
{ CRC_WT_MMOTHERAREA , NULL , (char *)" Other Area " },
|
||||||
{ CRC_MI_MMOQUOTEREPLY , NULL , "Q Quote-reply " },
|
{ CRC_MI_MMOQUOTEREPLY , NULL , (char *)"Q Quote-reply " },
|
||||||
{ CRC_MI_MMODIRQUOTEREPLY , NULL , "D Direct quote-reply (ignore Reply-To) " },
|
{ CRC_MI_MMODIRQUOTEREPLY , NULL , (char *)"D Direct quote-reply (ignore Reply-To) " },
|
||||||
{ CRC_MI_MMOCMTREPLY , NULL , "C Comment-reply " },
|
{ CRC_MI_MMOCMTREPLY , NULL , (char *)"C Comment-reply " },
|
||||||
{ CRC_MI_MMCHANGE , NULL , "C Change " },
|
{ CRC_MI_MMCHANGE , NULL , (char *)"C Change " },
|
||||||
{ CRC_MI_MMORIGIN , NULL , "O Origin " },
|
{ CRC_MI_MMORIGIN , NULL , (char *)"O Origin " },
|
||||||
{ CRC_MI_MMUSERNAME , NULL , "U Username " },
|
{ CRC_MI_MMUSERNAME , NULL , (char *)"U Username " },
|
||||||
{ CRC_MI_MMAKA , NULL , "A Aka " },
|
{ CRC_MI_MMAKA , NULL , (char *)"A Aka " },
|
||||||
{ CRC_MI_MMATTRIBUTES , NULL , "M Msg attrs " },
|
{ CRC_MI_MMATTRIBUTES , NULL , (char *)"M Msg attrs " },
|
||||||
{ CRC_MI_MMTEMPLATE , NULL , "T Template " },
|
{ CRC_MI_MMTEMPLATE , NULL , (char *)"T Template " },
|
||||||
{ CRC_MI_MMUTIL , NULL , "U Util " },
|
{ CRC_MI_MMUTIL , NULL , (char *)"U Util " },
|
||||||
{ CRC_MI_MMCOPYMOVEFORWARD , NULL , "C Copy/Move/Forward " },
|
{ CRC_MI_MMCOPYMOVEFORWARD , NULL , (char *)"C Copy/Move/Forward " },
|
||||||
{ CRC_MI_MMLIST , NULL , "L List messages " },
|
{ CRC_MI_MMLIST , NULL , (char *)"L List messages " },
|
||||||
{ CRC_MI_MMWRITE , NULL , "W Write to disk/printer " },
|
{ CRC_MI_MMWRITE , NULL , (char *)"W Write to disk/printer " },
|
||||||
{ CRC_MI_MMFREQ , NULL , "F File request " },
|
{ CRC_MI_MMFREQ , NULL , (char *)"F File request " },
|
||||||
|
|
||||||
{ CRC_LAST_CRC , NULL , NULL }
|
{ CRC_LAST_CRC , NULL , NULL }
|
||||||
};
|
};
|
||||||
|
@ -346,7 +346,7 @@ void GPickArealist::open() {
|
|||||||
int active=NO;
|
int active=NO;
|
||||||
|
|
||||||
#if defined(GUTLOS_FUNCS)
|
#if defined(GUTLOS_FUNCS)
|
||||||
g_set_ostitle_name("Arealist",0);
|
g_set_ostitle_name((char *)"Arealist",0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(ypos) {
|
if(ypos) {
|
||||||
|
@ -310,7 +310,7 @@ void CmfMsgs(GMsg* msg, bool torecycle)
|
|||||||
char* markstr = NULL;
|
char* markstr = NULL;
|
||||||
char* progstr = NULL;
|
char* progstr = NULL;
|
||||||
char* statstr = NULL;
|
char* statstr = NULL;
|
||||||
char* tokenstr = "";
|
char* tokenstr = (char *)"";
|
||||||
int loadmode = GMSG_UNS_NOT_RCV;
|
int loadmode = GMSG_UNS_NOT_RCV;
|
||||||
switch(cmf) {
|
switch(cmf) {
|
||||||
case MODE_COPY:
|
case MODE_COPY:
|
||||||
@ -319,7 +319,7 @@ void CmfMsgs(GMsg* msg, bool torecycle)
|
|||||||
markstr = LNG->Copy;
|
markstr = LNG->Copy;
|
||||||
progstr = LNG->Copying;
|
progstr = LNG->Copying;
|
||||||
statstr = LNG->CopyingMsg;
|
statstr = LNG->CopyingMsg;
|
||||||
tokenstr = "ST_COPYINGMSG";
|
tokenstr = (char *)"ST_COPYINGMSG";
|
||||||
loadmode |= GMSG_COPY;
|
loadmode |= GMSG_COPY;
|
||||||
break;
|
break;
|
||||||
case MODE_MOVE:
|
case MODE_MOVE:
|
||||||
@ -332,10 +332,10 @@ void CmfMsgs(GMsg* msg, bool torecycle)
|
|||||||
if (torecycle)
|
if (torecycle)
|
||||||
{
|
{
|
||||||
GFTRK("DeleteMsgs");
|
GFTRK("DeleteMsgs");
|
||||||
pickstr = ">>Delete To Area: ";
|
pickstr = (char *)">>Delete To Area: ";
|
||||||
markstr = " Delete ";
|
markstr = (char *)" Delete ";
|
||||||
progstr = " Deleting ";
|
progstr = (char *)" Deleting ";
|
||||||
statstr = "Deleting Msg %u of %u to %s";
|
statstr = (char *)"Deleting Msg %u of %u to %s";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -344,7 +344,7 @@ void CmfMsgs(GMsg* msg, bool torecycle)
|
|||||||
markstr = LNG->Move;
|
markstr = LNG->Move;
|
||||||
progstr = LNG->Moving;
|
progstr = LNG->Moving;
|
||||||
statstr = LNG->MovingMsg;
|
statstr = LNG->MovingMsg;
|
||||||
tokenstr = "ST_MOVINGMSG";
|
tokenstr = (char *)"ST_MOVINGMSG";
|
||||||
}
|
}
|
||||||
|
|
||||||
loadmode |= GMSG_MOVE;
|
loadmode |= GMSG_MOVE;
|
||||||
@ -352,9 +352,9 @@ void CmfMsgs(GMsg* msg, bool torecycle)
|
|||||||
case MODE_FORWARD:
|
case MODE_FORWARD:
|
||||||
GFTRK("ForwardMsgs");
|
GFTRK("ForwardMsgs");
|
||||||
pickstr = LNG->ForwardArea;
|
pickstr = LNG->ForwardArea;
|
||||||
markstr = " Forward ";
|
markstr = (char *)" Forward ";
|
||||||
progstr = " Forwarding ";
|
progstr = (char *)" Forwarding ";
|
||||||
statstr = "Forwarding Msg %u of %u to %s";
|
statstr = (char *)"Forwarding Msg %u of %u to %s";
|
||||||
break;
|
break;
|
||||||
case MODE_UPDATE:
|
case MODE_UPDATE:
|
||||||
GFTRK("ToggleSent");
|
GFTRK("ToggleSent");
|
||||||
|
@ -298,7 +298,7 @@ void DoKludges(int mode, GMsg* msg, int kludges) {
|
|||||||
|
|
||||||
// 123456789012345678901234567
|
// 123456789012345678901234567
|
||||||
if(line->next and strneql(line->next->txt.c_str(), "-----BEGIN PGP ", 15)) {
|
if(line->next and strneql(line->next->txt.c_str(), "-----BEGIN PGP ", 15)) {
|
||||||
line = AddKludge(line, "\001ENC: PGP");
|
line = AddKludge(line, (char *)"\001ENC: PGP");
|
||||||
}
|
}
|
||||||
|
|
||||||
// The INTL kludge for zone crossing
|
// The INTL kludge for zone crossing
|
||||||
@ -352,7 +352,7 @@ void DoKludges(int mode, GMsg* msg, int kludges) {
|
|||||||
sprintf(buf2, "<GED%08X@%s>", getMsgId(), buf);
|
sprintf(buf2, "<GED%08X@%s>", getMsgId(), buf);
|
||||||
throw_release(msg->messageid);
|
throw_release(msg->messageid);
|
||||||
msg->messageid = throw_strdup(buf2);
|
msg->messageid = throw_strdup(buf2);
|
||||||
CvtMessageIDtoMSGID(buf2, buf, AA->echoid(), "MSGID");
|
CvtMessageIDtoMSGID(buf2, buf, AA->echoid(), (char *)"MSGID");
|
||||||
strcpy(msg->msgids, buf+8);
|
strcpy(msg->msgids, buf+8);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -545,7 +545,7 @@ void DoKludges(int mode, GMsg* msg, int kludges) {
|
|||||||
else if(not strnieql(nline_txt, "XPost:", 6) and
|
else if(not strnieql(nline_txt, "XPost:", 6) and
|
||||||
not strnieql(nline_txt, "Copy:", 5) and
|
not strnieql(nline_txt, "Copy:", 5) and
|
||||||
not strnieql(nline_txt, "BCopy:", 6)) {
|
not strnieql(nline_txt, "BCopy:", 6)) {
|
||||||
line = AddKludge(line, "");
|
line = AddKludge(line, (char *)"");
|
||||||
line->kludge = GKLUD_RFC;
|
line->kludge = GKLUD_RFC;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -690,7 +690,7 @@ void DoKludges(int mode, GMsg* msg, int kludges) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(AA->Internetrfcbody() and line->next and not strblank(line->next->txt.c_str())) {
|
if(AA->Internetrfcbody() and line->next and not strblank(line->next->txt.c_str())) {
|
||||||
line = AddKludge(line, "");
|
line = AddKludge(line, (char *)"");
|
||||||
line->kludge = GKLUD_RFC;
|
line->kludge = GKLUD_RFC;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -708,7 +708,7 @@ void DoKludges(int mode, GMsg* msg, int kludges) {
|
|||||||
|
|
||||||
if(line->next and not strblank(line->next->txt.c_str())) {
|
if(line->next and not strblank(line->next->txt.c_str())) {
|
||||||
if(AA->Internetrfcbody()) {
|
if(AA->Internetrfcbody()) {
|
||||||
line = AddKludge(line, "");
|
line = AddKludge(line, (char *)"");
|
||||||
line->kludge = GKLUD_RFC;
|
line->kludge = GKLUD_RFC;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -42,11 +42,11 @@ void SaveLines(int mode, const char* savefile, GMsg* msg, int margin, bool clip)
|
|||||||
char* prnacc;
|
char* prnacc;
|
||||||
|
|
||||||
if(mode == MODE_APPEND) {
|
if(mode == MODE_APPEND) {
|
||||||
prnacc = "at";
|
prnacc = (char *)"at";
|
||||||
mode = MODE_WRITE;
|
mode = MODE_WRITE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
prnacc = "wt";
|
prnacc = (char *)"wt";
|
||||||
|
|
||||||
strcpy(fnam, "PRN");
|
strcpy(fnam, "PRN");
|
||||||
if(mode == MODE_WRITE and streql(savefile, "\001PRN"))
|
if(mode == MODE_WRITE and streql(savefile, "\001PRN"))
|
||||||
|
@ -258,7 +258,7 @@ int ShellToDos(const char* command, char* message, vattr cls, int cursor, int pa
|
|||||||
|
|
||||||
#if defined(GUTLOS_FUNCS)
|
#if defined(GUTLOS_FUNCS)
|
||||||
g_get_ostitle_name(ge_temptitle);
|
g_get_ostitle_name(ge_temptitle);
|
||||||
g_set_ostitle_name("OS Shell",0);
|
g_set_ostitle_name((char *)"OS Shell",0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Close msgbase files
|
// Close msgbase files
|
||||||
@ -547,7 +547,7 @@ const char* Unpack(const char* archive) {
|
|||||||
getcwd(orgdir, sizeof(Path));
|
getcwd(orgdir, sizeof(Path));
|
||||||
gchdir(newdir);
|
gchdir(newdir);
|
||||||
// Now unpack it
|
// Now unpack it
|
||||||
ShellToDos(cmdline, "", LGREY_|_BLACK, 0, -1);
|
ShellToDos(cmdline, (char *)"", LGREY_|_BLACK, 0, -1);
|
||||||
// Restore current directory
|
// Restore current directory
|
||||||
gchdir(orgdir);
|
gchdir(orgdir);
|
||||||
strxcpy(newname, AddPath(AddBackslash(newdir), filename), sizeof(Path));
|
strxcpy(newname, AddPath(AddBackslash(newdir), filename), sizeof(Path));
|
||||||
|
@ -119,8 +119,8 @@ extern Path Edit__exportfilename;
|
|||||||
#define _test_halt(__t)
|
#define _test_halt(__t)
|
||||||
#define _test_haltab(__t, __a, __b)
|
#define _test_haltab(__t, __a, __b)
|
||||||
#else
|
#else
|
||||||
#define _test_halt(__t) if(__t) { debugtest(#__t, 0, 0, __FILE__, __LINE__, false); }
|
#define _test_halt(__t) if(__t) { debugtest((char *)#__t, 0, 0, (char *)__FILE__, __LINE__, false); }
|
||||||
#define _test_haltab(__t, __a, __b) if(__t) { debugtest(#__t, __a, __b, __FILE__, __LINE__, true); }
|
#define _test_haltab(__t, __a, __b) if(__t) { debugtest((char *)#__t, __a, __b, (char *)__FILE__, __LINE__, true); }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ IEclass::IEclass(int __scol, int __ecol, int __srow, int __erow, int __border) {
|
|||||||
msgptr = NULL;
|
msgptr = NULL;
|
||||||
quitnow = NO;
|
quitnow = NO;
|
||||||
thisrow = 0;
|
thisrow = 0;
|
||||||
unfinished = "+$!$+ GoldED Internal Editor: Unfinished Message!";
|
unfinished = (char *)"+$!$+ GoldED Internal Editor: Unfinished Message!";
|
||||||
blockcol = -1;
|
blockcol = -1;
|
||||||
selecting = NO;
|
selecting = NO;
|
||||||
|
|
||||||
@ -960,7 +960,7 @@ void IEclass::editimport(Line* __line, char* __filename, bool imptxt) {
|
|||||||
isPipe = YES;
|
isPipe = YES;
|
||||||
mktemp(strxcpy(tmpfile, AddPath(CFG->temppath, "GIXXXXXX"), sizeof(Path)));
|
mktemp(strxcpy(tmpfile, AddPath(CFG->temppath, "GIXXXXXX"), sizeof(Path)));
|
||||||
strxmerge(cmdline, sizeof(Path), filenamebuf.c_str()+1, " > ", tmpfile, NULL);
|
strxmerge(cmdline, sizeof(Path), filenamebuf.c_str()+1, " > ", tmpfile, NULL);
|
||||||
ShellToDos(cmdline, "", BLACK_|_BLACK, NO);
|
ShellToDos(cmdline, (char *)"", BLACK_|_BLACK, NO);
|
||||||
filenamebuf = tmpfile;
|
filenamebuf = tmpfile;
|
||||||
fileselected = true;
|
fileselected = true;
|
||||||
} else {
|
} else {
|
||||||
|
@ -542,22 +542,22 @@ void CreateFileMsgs(int mode, GMsg* msg) {
|
|||||||
|
|
||||||
char* LNG_File = NULL;
|
char* LNG_File = NULL;
|
||||||
char* LNG_Fileing = NULL;
|
char* LNG_Fileing = NULL;
|
||||||
char* tokenstr = "";
|
char* tokenstr = (char *)"";
|
||||||
|
|
||||||
if(msg->attr.att()) {
|
if(msg->attr.att()) {
|
||||||
LNG_File = LNG->File_Attach;
|
LNG_File = LNG->File_Attach;
|
||||||
LNG_Fileing = LNG->FileAttaching;
|
LNG_Fileing = LNG->FileAttaching;
|
||||||
tokenstr = "ST_FILEATTACHING";
|
tokenstr = (char *)"ST_FILEATTACHING";
|
||||||
}
|
}
|
||||||
else if(msg->attr.frq()) {
|
else if(msg->attr.frq()) {
|
||||||
LNG_File = LNG->File_Request;
|
LNG_File = LNG->File_Request;
|
||||||
LNG_Fileing = LNG->FileRequesting;
|
LNG_Fileing = LNG->FileRequesting;
|
||||||
tokenstr = "ST_FILEREQUESTING";
|
tokenstr = (char *)"ST_FILEREQUESTING";
|
||||||
}
|
}
|
||||||
else if(msg->attr.urq()) {
|
else if(msg->attr.urq()) {
|
||||||
LNG_File = LNG->File_Updreq;
|
LNG_File = LNG->File_Updreq;
|
||||||
LNG_Fileing = LNG->FileUpdreqing;
|
LNG_Fileing = LNG->FileUpdreqing;
|
||||||
tokenstr = "ST_FILEUPDREQING";
|
tokenstr = (char *)"ST_FILEUPDREQING";
|
||||||
}
|
}
|
||||||
|
|
||||||
*buf = NUL;
|
*buf = NUL;
|
||||||
|
@ -469,11 +469,11 @@ static bool FindCfg(char* path) {
|
|||||||
AddBackslash(path);
|
AddBackslash(path);
|
||||||
|
|
||||||
#ifdef GEDCFG2
|
#ifdef GEDCFG2
|
||||||
found = ExistCfg(path, GEDCFG2);
|
found = ExistCfg(path, (char *)GEDCFG2);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(not found)
|
if(not found)
|
||||||
found = ExistCfg(path, GEDCFG);
|
found = ExistCfg(path, (char *)GEDCFG);
|
||||||
return found;
|
return found;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -225,15 +225,15 @@ const byte KCRQ_CASE = 0x0002;
|
|||||||
|
|
||||||
static const Kludges fts_list[] = {
|
static const Kludges fts_list[] = {
|
||||||
|
|
||||||
{ "AREA" , FTS_AREA , KCRQ_CASE },
|
{ (char *)"AREA" , FTS_AREA , KCRQ_CASE },
|
||||||
{ "INTL" , FTS_INTL , KCRQ_CASE },
|
{ (char *)"INTL" , FTS_INTL , KCRQ_CASE },
|
||||||
{ "FMPT" , FTS_FMPT , KCRQ_CASE },
|
{ (char *)"FMPT" , FTS_FMPT , KCRQ_CASE },
|
||||||
{ "TOPT" , FTS_TOPT , KCRQ_CASE },
|
{ (char *)"TOPT" , FTS_TOPT , KCRQ_CASE },
|
||||||
{ "MSGID" , FTS_MSGID , KCRQ_CASE },
|
{ (char *)"MSGID" , FTS_MSGID , KCRQ_CASE },
|
||||||
{ "REPLY" , FTS_REPLY , KCRQ_CASE },
|
{ (char *)"REPLY" , FTS_REPLY , KCRQ_CASE },
|
||||||
{ "SEEN-BY" , FTS_SEENBY , KCRQ_CASE },
|
{ (char *)"SEEN-BY" , FTS_SEENBY , KCRQ_CASE },
|
||||||
{ "PATH" , FTS_PATH , KCRQ_CASE },
|
{ (char *)"PATH" , FTS_PATH , KCRQ_CASE },
|
||||||
{ "" , FTS_ZZZZ , KCRQ_NONE },
|
{ (char *)"" , FTS_ZZZZ , KCRQ_NONE },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -241,32 +241,32 @@ static const Kludges fts_list[] = {
|
|||||||
|
|
||||||
static const Kludges fsc_list[] = {
|
static const Kludges fsc_list[] = {
|
||||||
|
|
||||||
{ "CHARSET" , FSC_CHARSET , KCRQ_CASE },
|
{ (char *)"CHARSET" , FSC_CHARSET , KCRQ_CASE },
|
||||||
{ "CHRC" , FSC_CHRC , KCRQ_CASE },
|
{ (char *)"CHRC" , FSC_CHRC , KCRQ_CASE },
|
||||||
{ "CHRS" , FSC_CHRS , KCRQ_CASE },
|
{ (char *)"CHRS" , FSC_CHRS , KCRQ_CASE },
|
||||||
{ "CODEPAGE" , FSC_CODEPAGE , KCRQ_CASE },
|
{ (char *)"CODEPAGE" , FSC_CODEPAGE , KCRQ_CASE },
|
||||||
{ "DOMAIN" , FSC_DOMAIN , KCRQ_CASE },
|
{ (char *)"DOMAIN" , FSC_DOMAIN , KCRQ_CASE },
|
||||||
{ "EID" , FSC_EID , KCRQ_CASE },
|
{ (char *)"EID" , FSC_EID , KCRQ_CASE },
|
||||||
{ "ENC" , FSC_ENC , KCRQ_CASE },
|
{ (char *)"ENC" , FSC_ENC , KCRQ_CASE },
|
||||||
{ "ENCLFILE" , FSC_ENCLFILE , KCRQ_CASE },
|
{ (char *)"ENCLFILE" , FSC_ENCLFILE , KCRQ_CASE },
|
||||||
{ "FLAGS" , FSC_FLAGS , KCRQ_CASE },
|
{ (char *)"FLAGS" , FSC_FLAGS , KCRQ_CASE },
|
||||||
{ "FWDFROM" , FSC_FWDFROM , KCRQ_CASE },
|
{ (char *)"FWDFROM" , FSC_FWDFROM , KCRQ_CASE },
|
||||||
{ "FWDORIG" , FSC_FWDORIG , KCRQ_CASE },
|
{ (char *)"FWDORIG" , FSC_FWDORIG , KCRQ_CASE },
|
||||||
{ "FWDTO" , FSC_FWDTO , KCRQ_CASE },
|
{ (char *)"FWDTO" , FSC_FWDTO , KCRQ_CASE },
|
||||||
{ "FWDDEST" , FSC_FWDDEST , KCRQ_CASE },
|
{ (char *)"FWDDEST" , FSC_FWDDEST , KCRQ_CASE },
|
||||||
{ "FWDSUBJ" , FSC_FWDSUBJ , KCRQ_CASE },
|
{ (char *)"FWDSUBJ" , FSC_FWDSUBJ , KCRQ_CASE },
|
||||||
{ "FWDAREA" , FSC_FWDAREA , KCRQ_CASE },
|
{ (char *)"FWDAREA" , FSC_FWDAREA , KCRQ_CASE },
|
||||||
{ "FWDMSGID" , FSC_FWDMSGID , KCRQ_CASE },
|
{ (char *)"FWDMSGID" , FSC_FWDMSGID , KCRQ_CASE },
|
||||||
{ "I51" , FSC_I51 , KCRQ_CASE },
|
{ (char *)"I51" , FSC_I51 , KCRQ_CASE },
|
||||||
{ "MSGTO" , FSC_MSGTO , KCRQ_CASE },
|
{ (char *)"MSGTO" , FSC_MSGTO , KCRQ_CASE },
|
||||||
{ "PID" , FSC_PID , KCRQ_CASE },
|
{ (char *)"PID" , FSC_PID , KCRQ_CASE },
|
||||||
{ "PTH" , FSC_PTH , KCRQ_CASE },
|
{ (char *)"PTH" , FSC_PTH , KCRQ_CASE },
|
||||||
{ "REPLYADDR" , FSC_REPLYADDR , KCRQ_CASE },
|
{ (char *)"REPLYADDR" , FSC_REPLYADDR , KCRQ_CASE },
|
||||||
{ "REPLYTO" , FSC_REPLYTO , KCRQ_CASE },
|
{ (char *)"REPLYTO" , FSC_REPLYTO , KCRQ_CASE },
|
||||||
{ "SPLIT" , FSC_SPLIT , KCRQ_CASE },
|
{ (char *)"SPLIT" , FSC_SPLIT , KCRQ_CASE },
|
||||||
{ "SPTH" , FSC_SPTH , KCRQ_CASE },
|
{ (char *)"SPTH" , FSC_SPTH , KCRQ_CASE },
|
||||||
{ "TID" , FSC_TID , KCRQ_CASE },
|
{ (char *)"TID" , FSC_TID , KCRQ_CASE },
|
||||||
{ "" , FSC_ZZZZ , KCRQ_NONE },
|
{ (char *)"" , FSC_ZZZZ , KCRQ_NONE },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -274,36 +274,36 @@ static const Kludges fsc_list[] = {
|
|||||||
|
|
||||||
static const Kludges xxx_list[] = {
|
static const Kludges xxx_list[] = {
|
||||||
|
|
||||||
{ "ACUPDATE" , XXX_ACUPDATE , KCRQ_CASE },
|
{ (char *)"ACUPDATE" , XXX_ACUPDATE , KCRQ_CASE },
|
||||||
{ "DESTADDR" , XXX_DESTADDR , KCRQ_CASE },
|
{ (char *)"DESTADDR" , XXX_DESTADDR , KCRQ_CASE },
|
||||||
{ "ENCRYPTION" , XXX_ENCRYPTION , KCRQ_CASE },
|
{ (char *)"ENCRYPTION" , XXX_ENCRYPTION , KCRQ_CASE },
|
||||||
{ "EOT" , XXX_EOT , KCRQ_CASE },
|
{ (char *)"EOT" , XXX_EOT , KCRQ_CASE },
|
||||||
{ "GATECHK" , XXX_GATECHK , KCRQ_CASE },
|
{ (char *)"GATECHK" , XXX_GATECHK , KCRQ_CASE },
|
||||||
{ "GID" , XXX_GID , KCRQ_CASE },
|
{ (char *)"GID" , XXX_GID , KCRQ_CASE },
|
||||||
{ "GIF" , XXX_GIF , KCRQ_CASE },
|
{ (char *)"GIF" , XXX_GIF , KCRQ_CASE },
|
||||||
{ "GMD" , XXX_GMD , KCRQ_CASE },
|
{ (char *)"GMD" , XXX_GMD , KCRQ_CASE },
|
||||||
{ "GROUP" , XXX_GROUP , KCRQ_CASE },
|
{ (char *)"GROUP" , XXX_GROUP , KCRQ_CASE },
|
||||||
{ "MOOD" , XXX_MOOD , KCRQ_CASE },
|
{ (char *)"MOOD" , XXX_MOOD , KCRQ_CASE },
|
||||||
{ "MSGSEQ" , XXX_MSGSEQ , KCRQ_CASE },
|
{ (char *)"MSGSEQ" , XXX_MSGSEQ , KCRQ_CASE },
|
||||||
{ "NOTE" , XXX_NOTE , KCRQ_CASE },
|
{ (char *)"NOTE" , XXX_NOTE , KCRQ_CASE },
|
||||||
{ "ORIGID" , XXX_ORIGID , KCRQ_CASE },
|
{ (char *)"ORIGID" , XXX_ORIGID , KCRQ_CASE },
|
||||||
{ "Original" , XXX_ORIGINAL , KCRQ_NONE },
|
{ (char *)"Original" , XXX_ORIGINAL , KCRQ_NONE },
|
||||||
{ "ORIGREF" , XXX_ORIGREF , KCRQ_CASE },
|
{ (char *)"ORIGREF" , XXX_ORIGREF , KCRQ_CASE },
|
||||||
{ "Recd" , XXX_RECD , KCRQ_CASE },
|
{ (char *)"Recd" , XXX_RECD , KCRQ_CASE },
|
||||||
{ "RFC" , XXX_RFC , KCRQ_CASE },
|
{ (char *)"RFC" , XXX_RFC , KCRQ_CASE },
|
||||||
{ "RFD" , XXX_RFD , KCRQ_CASE },
|
{ (char *)"RFD" , XXX_RFD , KCRQ_CASE },
|
||||||
{ "RID" , XXX_RID , KCRQ_CASE },
|
{ (char *)"RID" , XXX_RID , KCRQ_CASE },
|
||||||
{ "#ROUTE" , XXX_ROUTE , KCRQ_CASE },
|
{ (char *)"#ROUTE" , XXX_ROUTE , KCRQ_CASE },
|
||||||
{ "SN" , XXX_SN , KCRQ_CASE },
|
{ (char *)"SN" , XXX_SN , KCRQ_CASE },
|
||||||
{ "SOT" , XXX_SOT , KCRQ_CASE },
|
{ (char *)"SOT" , XXX_SOT , KCRQ_CASE },
|
||||||
{ "TCL1" , XXX_TCL1 , KCRQ_CASE },
|
{ (char *)"TCL1" , XXX_TCL1 , KCRQ_CASE },
|
||||||
{ "TCL2" , XXX_TCL2 , KCRQ_CASE },
|
{ (char *)"TCL2" , XXX_TCL2 , KCRQ_CASE },
|
||||||
{ "TZUTCINFO" , XXX_TZUTCINFO , KCRQ_CASE },
|
{ (char *)"TZUTCINFO" , XXX_TZUTCINFO , KCRQ_CASE },
|
||||||
{ "TZUTC" , XXX_TZUTC , KCRQ_CASE },
|
{ (char *)"TZUTC" , XXX_TZUTC , KCRQ_CASE },
|
||||||
{ "TZ" , XXX_TZ , KCRQ_CASE },
|
{ (char *)"TZ" , XXX_TZ , KCRQ_CASE },
|
||||||
{ "Via" , XXX_VIA , KCRQ_NONE },
|
{ (char *)"Via" , XXX_VIA , KCRQ_NONE },
|
||||||
{ "XID" , XXX_XID , KCRQ_CASE },
|
{ (char *)"XID" , XXX_XID , KCRQ_CASE },
|
||||||
{ "" , XXX_ZZZZ , KCRQ_NONE }
|
{ (char *)"" , XXX_ZZZZ , KCRQ_NONE }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -311,72 +311,72 @@ static const Kludges xxx_list[] = {
|
|||||||
|
|
||||||
static const Kludges rfc_list[] = {
|
static const Kludges rfc_list[] = {
|
||||||
|
|
||||||
{ "Also-Control" , RFC_ALSO_CONTROL , KCRQ_COLON },
|
{ (char *)"Also-Control" , RFC_ALSO_CONTROL , KCRQ_COLON },
|
||||||
{ "Apparently-To" , RFC_APPARENTLY_TO , KCRQ_COLON },
|
{ (char *)"Apparently-To" , RFC_APPARENTLY_TO , KCRQ_COLON },
|
||||||
{ "Approved" , RFC_APPROVED , KCRQ_COLON },
|
{ (char *)"Approved" , RFC_APPROVED , KCRQ_COLON },
|
||||||
{ "Article-Names" , RFC_ARTICLE_NAMES , KCRQ_COLON },
|
{ (char *)"Article-Names" , RFC_ARTICLE_NAMES , KCRQ_COLON },
|
||||||
{ "Article-Updates" , RFC_ARTICLE_UPDATES , KCRQ_COLON },
|
{ (char *)"Article-Updates" , RFC_ARTICLE_UPDATES , KCRQ_COLON },
|
||||||
{ "Bcc" , RFC_BCC , KCRQ_COLON },
|
{ (char *)"Bcc" , RFC_BCC , KCRQ_COLON },
|
||||||
{ "Cc" , RFC_CC , KCRQ_COLON },
|
{ (char *)"Cc" , RFC_CC , KCRQ_COLON },
|
||||||
{ "Comment" , RFC_COMMENT , KCRQ_COLON },
|
{ (char *)"Comment" , RFC_COMMENT , KCRQ_COLON },
|
||||||
{ "Comments" , RFC_COMMENTS , KCRQ_COLON },
|
{ (char *)"Comments" , RFC_COMMENTS , KCRQ_COLON },
|
||||||
{ "Content-Description" , RFC_CONTENT_DESCRIPTION , KCRQ_COLON },
|
{ (char *)"Content-Description" , RFC_CONTENT_DESCRIPTION , KCRQ_COLON },
|
||||||
{ "Content-Disposition" , RFC_CONTENT_DISPOSITION , KCRQ_COLON },
|
{ (char *)"Content-Disposition" , RFC_CONTENT_DISPOSITION , KCRQ_COLON },
|
||||||
{ "Content-ID" , RFC_CONTENT_ID , KCRQ_COLON },
|
{ (char *)"Content-ID" , RFC_CONTENT_ID , KCRQ_COLON },
|
||||||
{ "Content-Length" , RFC_CONTENT_LENGTH , KCRQ_COLON },
|
{ (char *)"Content-Length" , RFC_CONTENT_LENGTH , KCRQ_COLON },
|
||||||
{ "Content-Transfer-Encoding" , RFC_CONTENT_TRANSFER_ENCODING , KCRQ_COLON },
|
{ (char *)"Content-Transfer-Encoding" , RFC_CONTENT_TRANSFER_ENCODING , KCRQ_COLON },
|
||||||
{ "Content-Type" , RFC_CONTENT_TYPE , KCRQ_COLON },
|
{ (char *)"Content-Type" , RFC_CONTENT_TYPE , KCRQ_COLON },
|
||||||
{ "Control" , RFC_CONTROL , KCRQ_COLON },
|
{ (char *)"Control" , RFC_CONTROL , KCRQ_COLON },
|
||||||
{ "Date" , RFC_DATE , KCRQ_COLON },
|
{ (char *)"Date" , RFC_DATE , KCRQ_COLON },
|
||||||
{ "Delivered-To" , RFC_DELIVERED_TO , KCRQ_COLON },
|
{ (char *)"Delivered-To" , RFC_DELIVERED_TO , KCRQ_COLON },
|
||||||
{ "Delivery-Date" , RFC_DELIVERY_DATE , KCRQ_COLON },
|
{ (char *)"Delivery-Date" , RFC_DELIVERY_DATE , KCRQ_COLON },
|
||||||
{ "Distribution" , RFC_DISTRIBUTION , KCRQ_COLON },
|
{ (char *)"Distribution" , RFC_DISTRIBUTION , KCRQ_COLON },
|
||||||
{ "Encrypted" , RFC_ENCRYPTED , KCRQ_COLON },
|
{ (char *)"Encrypted" , RFC_ENCRYPTED , KCRQ_COLON },
|
||||||
{ "Errors-To" , RFC_ERRORS_TO , KCRQ_COLON },
|
{ (char *)"Errors-To" , RFC_ERRORS_TO , KCRQ_COLON },
|
||||||
{ "Expires" , RFC_EXPIRES , KCRQ_COLON },
|
{ (char *)"Expires" , RFC_EXPIRES , KCRQ_COLON },
|
||||||
{ "Followup-To" , RFC_FOLLOWUP_TO , KCRQ_COLON },
|
{ (char *)"Followup-To" , RFC_FOLLOWUP_TO , KCRQ_COLON },
|
||||||
{ "From" , RFC_FROM , KCRQ_COLON },
|
{ (char *)"From" , RFC_FROM , KCRQ_COLON },
|
||||||
{ "From" , RFC_FROMX , KCRQ_NONE },
|
{ (char *)"From" , RFC_FROMX , KCRQ_NONE },
|
||||||
{ "In-Reply-To" , RFC_IN_REPLY_TO , KCRQ_COLON },
|
{ (char *)"In-Reply-To" , RFC_IN_REPLY_TO , KCRQ_COLON },
|
||||||
{ "Keywords" , RFC_KEYWORDS , KCRQ_COLON },
|
{ (char *)"Keywords" , RFC_KEYWORDS , KCRQ_COLON },
|
||||||
{ "Lines" , RFC_LINES , KCRQ_COLON },
|
{ (char *)"Lines" , RFC_LINES , KCRQ_COLON },
|
||||||
{ "Message-ID" , RFC_MESSAGE_ID , KCRQ_COLON },
|
{ (char *)"Message-ID" , RFC_MESSAGE_ID , KCRQ_COLON },
|
||||||
{ "Mailing-List" , RFC_MAILING_LIST , KCRQ_COLON },
|
{ (char *)"Mailing-List" , RFC_MAILING_LIST , KCRQ_COLON },
|
||||||
{ "MIME-Version" , RFC_MIME_VERSION , KCRQ_COLON },
|
{ (char *)"MIME-Version" , RFC_MIME_VERSION , KCRQ_COLON },
|
||||||
{ "Newsgroups" , RFC_NEWSGROUPS , KCRQ_COLON },
|
{ (char *)"Newsgroups" , RFC_NEWSGROUPS , KCRQ_COLON },
|
||||||
{ "News-Software" , RFC_NEWS_SOFTWARE , KCRQ_COLON },
|
{ (char *)"News-Software" , RFC_NEWS_SOFTWARE , KCRQ_COLON },
|
||||||
{ "NNTP-Posting-Date" , RFC_NNTP_POSTING_DATE , KCRQ_COLON },
|
{ (char *)"NNTP-Posting-Date" , RFC_NNTP_POSTING_DATE , KCRQ_COLON },
|
||||||
{ "NNTP-Posting-Host" , RFC_NNTP_POSTING_HOST , KCRQ_COLON },
|
{ (char *)"NNTP-Posting-Host" , RFC_NNTP_POSTING_HOST , KCRQ_COLON },
|
||||||
{ "NNTP-Posting-User" , RFC_NNTP_POSTING_USER , KCRQ_COLON },
|
{ (char *)"NNTP-Posting-User" , RFC_NNTP_POSTING_USER , KCRQ_COLON },
|
||||||
{ "Old-Date" , RFC_OLD_DATE , KCRQ_COLON },
|
{ (char *)"Old-Date" , RFC_OLD_DATE , KCRQ_COLON },
|
||||||
{ "Organization" , RFC_ORGANIZATION , KCRQ_COLON },
|
{ (char *)"Organization" , RFC_ORGANIZATION , KCRQ_COLON },
|
||||||
{ "Originator" , RFC_ORIGINATOR , KCRQ_COLON },
|
{ (char *)"Originator" , RFC_ORIGINATOR , KCRQ_COLON },
|
||||||
{ "Path" , RFC_PATH , KCRQ_COLON },
|
{ (char *)"Path" , RFC_PATH , KCRQ_COLON },
|
||||||
{ "Precedence" , RFC_PRECEDENCE , KCRQ_COLON },
|
{ (char *)"Precedence" , RFC_PRECEDENCE , KCRQ_COLON },
|
||||||
{ "Priority" , RFC_PRIORITY , KCRQ_COLON },
|
{ (char *)"Priority" , RFC_PRIORITY , KCRQ_COLON },
|
||||||
{ "Received" , RFC_RECEIVED , KCRQ_COLON },
|
{ (char *)"Received" , RFC_RECEIVED , KCRQ_COLON },
|
||||||
{ "References" , RFC_REFERENCES , KCRQ_COLON },
|
{ (char *)"References" , RFC_REFERENCES , KCRQ_COLON },
|
||||||
{ "Reply-To" , RFC_REPLY_TO , KCRQ_COLON },
|
{ (char *)"Reply-To" , RFC_REPLY_TO , KCRQ_COLON },
|
||||||
{ "Return-Path" , RFC_RETURN_PATH , KCRQ_COLON },
|
{ (char *)"Return-Path" , RFC_RETURN_PATH , KCRQ_COLON },
|
||||||
{ "Return-Receipt-To" , RFC_RETURN_RECEIPT_TO , KCRQ_COLON },
|
{ (char *)"Return-Receipt-To" , RFC_RETURN_RECEIPT_TO , KCRQ_COLON },
|
||||||
{ "See-Also" , RFC_SEE_ALSO , KCRQ_COLON },
|
{ (char *)"See-Also" , RFC_SEE_ALSO , KCRQ_COLON },
|
||||||
{ "Sender" , RFC_SENDER , KCRQ_COLON },
|
{ (char *)"Sender" , RFC_SENDER , KCRQ_COLON },
|
||||||
{ "Status" , RFC_STATUS , KCRQ_COLON },
|
{ (char *)"Status" , RFC_STATUS , KCRQ_COLON },
|
||||||
{ "Subject" , RFC_SUBJECT , KCRQ_COLON },
|
{ (char *)"Subject" , RFC_SUBJECT , KCRQ_COLON },
|
||||||
{ "Summary" , RFC_SUMMARY , KCRQ_COLON },
|
{ (char *)"Summary" , RFC_SUMMARY , KCRQ_COLON },
|
||||||
{ "Supersedes" , RFC_SUPERSEDES , KCRQ_COLON },
|
{ (char *)"Supersedes" , RFC_SUPERSEDES , KCRQ_COLON },
|
||||||
{ "To" , RFC_TO , KCRQ_COLON },
|
{ (char *)"To" , RFC_TO , KCRQ_COLON },
|
||||||
{ "Version" , RFC_VERSION , KCRQ_COLON },
|
{ (char *)"Version" , RFC_VERSION , KCRQ_COLON },
|
||||||
{ "Xref" , RFC_XREF , KCRQ_COLON },
|
{ (char *)"Xref" , RFC_XREF , KCRQ_COLON },
|
||||||
{ "X-Charset" , RFC_X_CHARSET , KCRQ_COLON },
|
{ (char *)"X-Charset" , RFC_X_CHARSET , KCRQ_COLON },
|
||||||
{ "X-Char-Esc" , RFC_X_CHAR_ESC , KCRQ_COLON },
|
{ (char *)"X-Char-Esc" , RFC_X_CHAR_ESC , KCRQ_COLON },
|
||||||
{ "X-FTN-To" , RFC_X_FTN_TO , KCRQ_COLON },
|
{ (char *)"X-FTN-To" , RFC_X_FTN_TO , KCRQ_COLON },
|
||||||
{ "X-Mailer" , RFC_X_MAILER , KCRQ_COLON },
|
{ (char *)"X-Mailer" , RFC_X_MAILER , KCRQ_COLON },
|
||||||
{ "X-Mailreader" , RFC_X_MAILER , KCRQ_COLON },
|
{ (char *)"X-Mailreader" , RFC_X_MAILER , KCRQ_COLON },
|
||||||
{ "X-Newsreader" , RFC_X_NEWSREADER , KCRQ_COLON },
|
{ (char *)"X-Newsreader" , RFC_X_NEWSREADER , KCRQ_COLON },
|
||||||
{ "X-To" , RFC_X_TO , KCRQ_COLON },
|
{ (char *)"X-To" , RFC_X_TO , KCRQ_COLON },
|
||||||
{ "#!" , RFC_RNEWS , KCRQ_NONE },
|
{ (char *)"#!" , RFC_RNEWS , KCRQ_NONE },
|
||||||
{ "" , RFC_ZZZZ , KCRQ_NONE },
|
{ (char *)"" , RFC_ZZZZ , KCRQ_NONE },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -821,7 +821,7 @@ static void KludgeMESSAGE_ID(GMsg* msg, const char* ptr) {
|
|||||||
char buf[201];
|
char buf[201];
|
||||||
throw_free(msg->messageid);
|
throw_free(msg->messageid);
|
||||||
msg->messageid = throw_strdup(ptr);
|
msg->messageid = throw_strdup(ptr);
|
||||||
CvtMessageIDtoMSGID(ptr, buf, AA->echoid(), "MSGID");
|
CvtMessageIDtoMSGID(ptr, buf, AA->echoid(), (char *)"MSGID");
|
||||||
strcpy(msg->msgids, buf+8);
|
strcpy(msg->msgids, buf+8);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1565,18 +1565,18 @@ void ScanKludges(GMsg* msg, int getvalue) {
|
|||||||
|
|
||||||
if(getvalue and CFG->gedhandshake) {
|
if(getvalue and CFG->gedhandshake) {
|
||||||
char* tearid[] = {
|
char* tearid[] = {
|
||||||
"GoldED",
|
(char *)"GoldED",
|
||||||
" GED ",
|
(char *)" GED ",
|
||||||
" GED2 ",
|
(char *)" GED2 ",
|
||||||
" GED3 ",
|
(char *)" GED3 ",
|
||||||
" GED386 ",
|
(char *)" GED386 ",
|
||||||
" GED/2 ",
|
(char *)" GED/2 ",
|
||||||
" GED/386 ",
|
(char *)" GED/386 ",
|
||||||
" GEDP16 ",
|
(char *)" GEDP16 ",
|
||||||
" GEDP32 ",
|
(char *)" GEDP32 ",
|
||||||
" GEDW32 ",
|
(char *)" GEDW32 ",
|
||||||
" GEDLNX ",
|
(char *)" GEDLNX ",
|
||||||
" GED/W32 ",
|
(char *)" GED/W32 ",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
int n = 0;
|
int n = 0;
|
||||||
|
@ -1232,7 +1232,7 @@ int GMenuSChecker::Run(CSpellChecker &schecker, const char *word)
|
|||||||
char buff[1024];
|
char buff[1024];
|
||||||
strcpy(buff, word);
|
strcpy(buff, word);
|
||||||
|
|
||||||
if (edit_string(buff, sizeof(buff), " Edit word ", 0) && !schecker.Check(buff))
|
if (edit_string(buff, sizeof(buff), (char *)" Edit word ", 0) && !schecker.Check(buff))
|
||||||
{
|
{
|
||||||
schecker.AddWord();
|
schecker.AddWord();
|
||||||
return -2;
|
return -2;
|
||||||
|
@ -270,7 +270,7 @@ int ImportQWK() {
|
|||||||
sptr = mptr + strlen(mptr);
|
sptr = mptr + strlen(mptr);
|
||||||
while(((*sptr == ' ') or (*sptr == ',')) and *sptr)
|
while(((*sptr == ' ') or (*sptr == ',')) and *sptr)
|
||||||
*sptr++ = NUL;
|
*sptr++ = NUL;
|
||||||
CvtMessageIDtoMSGID(mptr, kbuf, AA->echoid(), "REPLY");
|
CvtMessageIDtoMSGID(mptr, kbuf, AA->echoid(), (char *)"REPLY");
|
||||||
strcat(kbuf, "\r");
|
strcat(kbuf, "\r");
|
||||||
uint addlen = strlen(kbuf);
|
uint addlen = strlen(kbuf);
|
||||||
msg->txt = (char*)throw_realloc(msg->txt, txtlen+addlen+1);
|
msg->txt = (char*)throw_realloc(msg->txt, txtlen+addlen+1);
|
||||||
@ -283,7 +283,7 @@ int ImportQWK() {
|
|||||||
}
|
}
|
||||||
if(msg->inreplyto) {
|
if(msg->inreplyto) {
|
||||||
if(not strnieql(msg->inreplyto, "<NOMSGID_", 9)) {
|
if(not strnieql(msg->inreplyto, "<NOMSGID_", 9)) {
|
||||||
CvtMessageIDtoMSGID(msg->inreplyto, kbuf, AA->echoid(), "REPLY");
|
CvtMessageIDtoMSGID(msg->inreplyto, kbuf, AA->echoid(), (char *)"REPLY");
|
||||||
strcat(kbuf, "\r");
|
strcat(kbuf, "\r");
|
||||||
uint addlen = strlen(kbuf);
|
uint addlen = strlen(kbuf);
|
||||||
msg->txt = (char*)throw_realloc(msg->txt, txtlen+addlen+1);
|
msg->txt = (char*)throw_realloc(msg->txt, txtlen+addlen+1);
|
||||||
@ -294,7 +294,7 @@ int ImportQWK() {
|
|||||||
}
|
}
|
||||||
if(msg->messageid) {
|
if(msg->messageid) {
|
||||||
if(not strnieql(msg->messageid, "<NOMSGID_", 9)) {
|
if(not strnieql(msg->messageid, "<NOMSGID_", 9)) {
|
||||||
CvtMessageIDtoMSGID(msg->messageid, kbuf, AA->echoid(), "MSGID");
|
CvtMessageIDtoMSGID(msg->messageid, kbuf, AA->echoid(), (char *)"MSGID");
|
||||||
strcat(kbuf, "\r");
|
strcat(kbuf, "\r");
|
||||||
uint addlen = strlen(kbuf);
|
uint addlen = strlen(kbuf);
|
||||||
msg->txt = (char*)throw_realloc(msg->txt, txtlen+addlen+1);
|
msg->txt = (char*)throw_realloc(msg->txt, txtlen+addlen+1);
|
||||||
|
@ -583,7 +583,7 @@ int ExternUtil(GMsg *msg, const ExtUtil &extutil)
|
|||||||
if(extutil.options & EXTUTIL_PAUSE)
|
if(extutil.options & EXTUTIL_PAUSE)
|
||||||
pauseval = 1;
|
pauseval = 1;
|
||||||
|
|
||||||
ShellToDos(cmdline.c_str(), "",
|
ShellToDos(cmdline.c_str(), (char *)"",
|
||||||
extutil.options & EXTUTIL_CLS ? LGREY_|_BLACK : BLACK_|_BLACK,
|
extutil.options & EXTUTIL_CLS ? LGREY_|_BLACK : BLACK_|_BLACK,
|
||||||
extutil.options & EXTUTIL_CURSOR,
|
extutil.options & EXTUTIL_CURSOR,
|
||||||
pauseval
|
pauseval
|
||||||
@ -839,7 +839,7 @@ void ReadPeekURLs(GMsg* msg)
|
|||||||
if (it->handler.options & EXTUTIL_PAUSE)
|
if (it->handler.options & EXTUTIL_PAUSE)
|
||||||
pauseval = 1;
|
pauseval = 1;
|
||||||
|
|
||||||
ShellToDos(cmdline.c_str(), "",
|
ShellToDos(cmdline.c_str(), (char *)"",
|
||||||
it->handler.options & EXTUTIL_CLS ? LGREY_|_BLACK : BLACK_|_BLACK,
|
it->handler.options & EXTUTIL_CLS ? LGREY_|_BLACK : BLACK_|_BLACK,
|
||||||
it->handler.options & EXTUTIL_CURSOR,
|
it->handler.options & EXTUTIL_CURSOR,
|
||||||
pauseval
|
pauseval
|
||||||
|
@ -218,11 +218,11 @@ void ProcessSoupMsg(char* lbuf, GMsg* msg, int& msgs, char* areaname, int tossto
|
|||||||
char buf[2010];
|
char buf[2010];
|
||||||
|
|
||||||
if(*smsgid) {
|
if(*smsgid) {
|
||||||
CvtMessageIDtoMSGID(smsgid, buf, echo_id, "MSGID");
|
CvtMessageIDtoMSGID(smsgid, buf, echo_id, (char *)"MSGID");
|
||||||
fline = AddKludge(fline, buf);
|
fline = AddKludge(fline, buf);
|
||||||
}
|
}
|
||||||
if(*sreply) {
|
if(*sreply) {
|
||||||
CvtMessageIDtoMSGID(sreply, buf, echo_id, "REPLY");
|
CvtMessageIDtoMSGID(sreply, buf, echo_id, (char *)"REPLY");
|
||||||
fline = AddKludge(fline, buf);
|
fline = AddKludge(fline, buf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -405,7 +405,7 @@ int ImportSOUP() {
|
|||||||
|
|
||||||
while (fpa.Fgets(buf, sizeof(buf)))
|
while (fpa.Fgets(buf, sizeof(buf)))
|
||||||
{
|
{
|
||||||
char* delim = "\t\n";
|
char* delim = (char *)"\t\n";
|
||||||
char* prefix = strtok(buf, delim);
|
char* prefix = strtok(buf, delim);
|
||||||
char* areaname = strtok(NULL, delim);
|
char* areaname = strtok(NULL, delim);
|
||||||
char* encoding = strtok(NULL, delim);
|
char* encoding = strtok(NULL, delim);
|
||||||
@ -780,9 +780,9 @@ int ExportSOUP() {
|
|||||||
for(uint na = 0; na < AL.size(); na++) {
|
for(uint na = 0; na < AL.size(); na++) {
|
||||||
Area* ap = AL[na];
|
Area* ap = AL[na];
|
||||||
if(ap->isemail() and ap->Expo.Count())
|
if(ap->isemail() and ap->Expo.Count())
|
||||||
mailexported += ExportSoupArea(na, "GOLDMAIL.MSG", mfp, true);
|
mailexported += ExportSoupArea(na, (char *)"GOLDMAIL.MSG", mfp, true);
|
||||||
else if(ap->isnewsgroup() and ap->Expo.Count())
|
else if(ap->isnewsgroup() and ap->Expo.Count())
|
||||||
newsexported += ExportSoupArea(na, "GOLDNEWS.MSG", nfp, false);
|
newsexported += ExportSoupArea(na, (char *)"GOLDNEWS.MSG", nfp, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Close any open SOUP files
|
// Close any open SOUP files
|
||||||
|
@ -140,35 +140,35 @@ int TemplateToText(int mode, GMsg* msg, GMsg* oldmsg, const char* tpl, int origa
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const tpl_token token_list[] = {
|
static const tpl_token token_list[] = {
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("forward") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"forward") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("notforward") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"notforward") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("changed") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"changed") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("net") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"net") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("echo") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"echo") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("local") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"local") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("moved") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"moved") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("new") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"new") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("reply") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"reply") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("quoted") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"quoted") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("comment") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"comment") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("quotebuf") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"quotebuf") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("attrib") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"attrib") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("spellchecker") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"spellchecker") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("setsubj") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"setsubj") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("setfrom") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"setfrom") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("setto") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"setto") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("forcesubj") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"forcesubj") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("forcefrom") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"forcefrom") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("forceto") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"forceto") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("xlatexport") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"xlatexport") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("loadlanguage") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"loadlanguage") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("random") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"random") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("quote") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"quote") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("include") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"include") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("message") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"message") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("moderator") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"moderator") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("write") },
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"write") },
|
||||||
{ CSTR_COMMA_SIZEOF_CSTR("header") }
|
{ CSTR_COMMA_SIZEOF_CSTR((char *)"header") }
|
||||||
};
|
};
|
||||||
|
|
||||||
int end_token = sizeof(token_list) / sizeof(tpl_token);
|
int end_token = sizeof(token_list) / sizeof(tpl_token);
|
||||||
|
@ -112,11 +112,11 @@ const char *get_dos_charset(const char *cpfrom)
|
|||||||
static const struct _cpmap {
|
static const struct _cpmap {
|
||||||
char *from, *to;
|
char *from, *to;
|
||||||
} cpmap[] = {
|
} cpmap[] = {
|
||||||
{ "IBMPC", "CP850" },
|
{ (char *)"IBMPC", (char *)"CP850" },
|
||||||
{ "LATIN-1", "CP437" },
|
{ (char *)"LATIN-1", (char *)"CP437" },
|
||||||
{ "KOI8", "CP866" },
|
{ (char *)"KOI8", (char *)"CP866" },
|
||||||
{ "KOI8-R", "CP866" },
|
{ (char *)"KOI8-R", (char *)"CP866" },
|
||||||
{ "KOI8-U", "CP1125" },
|
{ (char *)"KOI8-U", (char *)"CP1125" },
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -273,15 +273,15 @@ class gnfile: gfile
|
|||||||
|
|
||||||
gnfile& operator<< (uint8_t o) { Fwrite(&o, sizeof(o)); return *this; }
|
gnfile& operator<< (uint8_t o) { Fwrite(&o, sizeof(o)); return *this; }
|
||||||
gnfile& operator<< (uint16_t o) { uint8_t o8;
|
gnfile& operator<< (uint16_t o) { uint8_t o8;
|
||||||
o8 = uint8_t(o && 0xff); Fwrite(&o8, sizeof(o8));
|
o8 = uint8_t(o & 0xff); Fwrite(&o8, sizeof(o8));
|
||||||
o8 = uint8_t((o<<8) && 0xff); Fwrite(&o8, sizeof(o8));
|
o8 = uint8_t((o<<8) & 0xff); Fwrite(&o8, sizeof(o8));
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
gnfile& operator<< (uint32_t o) { uint8_t o8;
|
gnfile& operator<< (uint32_t o) { uint8_t o8;
|
||||||
o8 = uint8_t(o && 0xff); Fwrite(&o8, sizeof(o8));
|
o8 = uint8_t(o & 0xff); Fwrite(&o8, sizeof(o8));
|
||||||
o8 = uint8_t((o<<8) && 0xff); Fwrite(&o8, sizeof(o8));
|
o8 = uint8_t((o<<8) & 0xff); Fwrite(&o8, sizeof(o8));
|
||||||
o8 = uint8_t((o<<16) && 0xff); Fwrite(&o8, sizeof(o8));
|
o8 = uint8_t((o<<16) & 0xff); Fwrite(&o8, sizeof(o8));
|
||||||
o8 = uint8_t((o<<24) && 0xff); Fwrite(&o8, sizeof(o8));
|
o8 = uint8_t((o<<24) & 0xff); Fwrite(&o8, sizeof(o8));
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
@ -157,7 +157,7 @@ char* ftn_addr::set(const char* str, char* dom, int domsizelimit) {
|
|||||||
bool gotnode = false;
|
bool gotnode = false;
|
||||||
bool gotpoint = false;
|
bool gotpoint = false;
|
||||||
bool gotdomain = false;
|
bool gotdomain = false;
|
||||||
static char* nulchar = "";
|
static char* nulchar = (char *)"";
|
||||||
|
|
||||||
if(*str == '*')
|
if(*str == '*')
|
||||||
set_all(ftn::wildcard_all);
|
set_all(ftn::wildcard_all);
|
||||||
|
@ -289,7 +289,7 @@ int gsnd::close() {
|
|||||||
#elif defined(GUTLOS_FUNCS)
|
#elif defined(GUTLOS_FUNCS)
|
||||||
|
|
||||||
if(file_open) {
|
if(file_open) {
|
||||||
g_send_mci_string("close noise wait", NULL);
|
g_send_mci_string((char *)"close noise wait", NULL);
|
||||||
file_open = false;
|
file_open = false;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -316,8 +316,8 @@ int gsnd::play(uint sample_rate) {
|
|||||||
NW(sample_rate);
|
NW(sample_rate);
|
||||||
|
|
||||||
if(file_open) {
|
if(file_open) {
|
||||||
g_send_mci_string("seek noise to start", NULL);
|
g_send_mci_string((char *)"seek noise to start", NULL);
|
||||||
g_send_mci_string("play noise", NULL);
|
g_send_mci_string((char *)"play noise", NULL);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
@ -342,7 +342,7 @@ int gsnd::stop() {
|
|||||||
#elif defined(GUTLOS_FUNCS)
|
#elif defined(GUTLOS_FUNCS)
|
||||||
|
|
||||||
if(file_open) {
|
if(file_open) {
|
||||||
g_send_mci_string("stop noise wait", NULL);
|
g_send_mci_string((char *)"stop noise wait", NULL);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
@ -366,7 +366,7 @@ int gsnd::pause() {
|
|||||||
#elif defined(GUTLOS_FUNCS)
|
#elif defined(GUTLOS_FUNCS)
|
||||||
|
|
||||||
if(file_open) {
|
if(file_open) {
|
||||||
g_send_mci_string("pause noise", NULL);
|
g_send_mci_string((char *)"pause noise", NULL);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
@ -390,7 +390,7 @@ int gsnd::resume() {
|
|||||||
#elif defined(GUTLOS_FUNCS)
|
#elif defined(GUTLOS_FUNCS)
|
||||||
|
|
||||||
if(file_open) {
|
if(file_open) {
|
||||||
g_send_mci_string("resume noise", NULL);
|
g_send_mci_string((char *)"resume noise", NULL);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
@ -483,7 +483,7 @@ int gsnd::is_playing() {
|
|||||||
|
|
||||||
if (file_open)
|
if (file_open)
|
||||||
{
|
{
|
||||||
if(g_send_mci_string("status noise mode wait", return_buffer))
|
if(g_send_mci_string((char *)"status noise mode wait", return_buffer))
|
||||||
return strieql(return_buffer, "playing") or strieql(return_buffer, "seeking");
|
return strieql(return_buffer, "playing") or strieql(return_buffer, "seeking");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -72,29 +72,29 @@ int tzoffset()
|
|||||||
// ------------------------------------------------------------------
|
// ------------------------------------------------------------------
|
||||||
|
|
||||||
char* __gampm[2] = {
|
char* __gampm[2] = {
|
||||||
"AM", "PM"
|
(char *)"AM", (char *)"PM"
|
||||||
};
|
};
|
||||||
|
|
||||||
char* __gsweekday[7] = {
|
char* __gsweekday[7] = {
|
||||||
"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
|
(char *)"Sun", (char *)"Mon", (char *)"Tue", (char *)"Wed", (char *)"Thu", (char *)"Fri", (char *)"Sat"
|
||||||
};
|
};
|
||||||
|
|
||||||
char* __glweekday[7] = {
|
char* __glweekday[7] = {
|
||||||
"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
|
(char *)"Sunday", (char *)"Monday", (char *)"Tuesday", (char *)"Wednesday", (char *)"Thursday", (char *)"Friday", (char *)"Saturday"
|
||||||
};
|
};
|
||||||
|
|
||||||
char* __gsmonth[12] = {
|
char* __gsmonth[12] = {
|
||||||
"Jan", "Feb", "Mar", "Apr", "May", "Jun",
|
(char *)"Jan", (char *)"Feb", (char *)"Mar", (char *)"Apr", (char *)"May", (char *)"Jun",
|
||||||
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
|
(char *)"Jul", (char *)"Aug", (char *)"Sep", (char *)"Oct", (char *)"Nov", (char *)"Dec"
|
||||||
};
|
};
|
||||||
|
|
||||||
char* __glmonth[12] = {
|
char* __glmonth[12] = {
|
||||||
"January", "February", "March", "April", "May", "June",
|
(char *)"January", (char *)"February", (char *)"March", (char *)"April", (char *)"May", (char *)"June",
|
||||||
"July", "August", "September", "October", "November", "December"
|
(char *)"July", (char *)"August", (char *)"September", (char *)"October", (char *)"November", (char *)"December"
|
||||||
};
|
};
|
||||||
|
|
||||||
char* gampm[2] = {
|
char* gampm[2] = {
|
||||||
"AM", "PM"
|
(char *)"AM", (char *)"PM"
|
||||||
};
|
};
|
||||||
|
|
||||||
char* gsweekday[7] = {
|
char* gsweekday[7] = {
|
||||||
|
@ -306,10 +306,10 @@ static void disp_cat() {
|
|||||||
wmessage(_help, TP_BORD, whelp.ecol-whelp.scol-strlen(_help), whelp.winattr);
|
wmessage(_help, TP_BORD, whelp.ecol-whelp.scol-strlen(_help), whelp.winattr);
|
||||||
|
|
||||||
// update bottom border of window with PgUp/PgDn info
|
// update bottom border of window with PgUp/PgDn info
|
||||||
if(page and not end) p = " PgUp/PgDn ";
|
if(page and not end) p = (char *)" PgUp/PgDn ";
|
||||||
else if(not page and end) p = "";
|
else if(not page and end) p = (char *)"";
|
||||||
else if(page and end) p = " PgUp ";
|
else if(page and end) p = (char *)" PgUp ";
|
||||||
else p = " PgDn ";
|
else p = (char *)" PgDn ";
|
||||||
wmessage(p,BT_BORD,whelp.ecol-whelp.scol-strlen(p),whelp.winattr);
|
wmessage(p,BT_BORD,whelp.ecol-whelp.scol-strlen(p),whelp.winattr);
|
||||||
wmessage(" ESC ",BT_BORD,1,whelp.winattr);
|
wmessage(" ESC ",BT_BORD,1,whelp.winattr);
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@ int _HudsArea<msgn_t, rec_t, attr_t, board_t, last_t, __HUDSON>::load_message(in
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Read header
|
// Read header
|
||||||
msgn_t _hdridx = get_hdr_idx(__msg, __FILE__, __LINE__);
|
msgn_t _hdridx = get_hdr_idx(__msg, (char *)__FILE__, __LINE__);
|
||||||
wide->fhhdr.LseekSet((int32_t)_hdridx*(int32_t)sizeof(HudsHdr));
|
wide->fhhdr.LseekSet((int32_t)_hdridx*(int32_t)sizeof(HudsHdr));
|
||||||
wide->fhhdr.Read(&__hdr, sizeof(HudsHdr));
|
wide->fhhdr.Read(&__hdr, sizeof(HudsHdr));
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ void _HudsArea<msgn_t, rec_t, attr_t, board_t, last_t, __HUDSON>::save_message(i
|
|||||||
_hdridx = (msgn_t)(wide->fhhdr.FileLength()/sizeof(HudsHdr));
|
_hdridx = (msgn_t)(wide->fhhdr.FileLength()/sizeof(HudsHdr));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
_hdridx = get_hdr_idx(__msg, __FILE__, __LINE__);
|
_hdridx = get_hdr_idx(__msg, (char *)__FILE__, __LINE__);
|
||||||
}
|
}
|
||||||
|
|
||||||
__hdr.board = (board_t)board();
|
__hdr.board = (board_t)board();
|
||||||
@ -362,7 +362,7 @@ void _HudsArea<msgn_t, rec_t, attr_t, board_t, last_t, __HUDSON>::update_timesre
|
|||||||
|
|
||||||
lock();
|
lock();
|
||||||
|
|
||||||
msgn_t hdridx = get_hdr_idx(msg, __FILE__, __LINE__);
|
msgn_t hdridx = get_hdr_idx(msg, (char *)__FILE__, __LINE__);
|
||||||
wide->fhhdr.LseekSet(hdridx*sizeof(HudsHdr));
|
wide->fhhdr.LseekSet(hdridx*sizeof(HudsHdr));
|
||||||
|
|
||||||
HudsHdr hdr;
|
HudsHdr hdr;
|
||||||
|
@ -269,7 +269,7 @@ int AffixMgr::parse_file(const char * affpath)
|
|||||||
|
|
||||||
/* parse in the flag used by the controlled compound words */
|
/* parse in the flag used by the controlled compound words */
|
||||||
if (strncmp(line,"COMPOUNDFLAG",12) == 0) {
|
if (strncmp(line,"COMPOUNDFLAG",12) == 0) {
|
||||||
if (parse_flag(line, &compoundflag, "COMPOUNDFLAG")) {
|
if (parse_flag(line, &compoundflag, (char *)"COMPOUNDFLAG")) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -277,11 +277,11 @@ int AffixMgr::parse_file(const char * affpath)
|
|||||||
/* parse in the flag used by compound words */
|
/* parse in the flag used by compound words */
|
||||||
if (strncmp(line,"COMPOUNDBEGIN",13) == 0) {
|
if (strncmp(line,"COMPOUNDBEGIN",13) == 0) {
|
||||||
if (complexprefixes) {
|
if (complexprefixes) {
|
||||||
if (parse_flag(line, &compoundend, "COMPOUNDBEGIN")) {
|
if (parse_flag(line, &compoundend, (char *)"COMPOUNDBEGIN")) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (parse_flag(line, &compoundbegin, "COMPOUNDBEGIN")) {
|
if (parse_flag(line, &compoundbegin, (char *)"COMPOUNDBEGIN")) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -289,18 +289,18 @@ int AffixMgr::parse_file(const char * affpath)
|
|||||||
|
|
||||||
/* parse in the flag used by compound words */
|
/* parse in the flag used by compound words */
|
||||||
if (strncmp(line,"COMPOUNDMIDDLE",14) == 0) {
|
if (strncmp(line,"COMPOUNDMIDDLE",14) == 0) {
|
||||||
if (parse_flag(line, &compoundmiddle, "COMPOUNDMIDDLE")) {
|
if (parse_flag(line, &compoundmiddle, (char *)"COMPOUNDMIDDLE")) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* parse in the flag used by compound words */
|
/* parse in the flag used by compound words */
|
||||||
if (strncmp(line,"COMPOUNDEND",11) == 0) {
|
if (strncmp(line,"COMPOUNDEND",11) == 0) {
|
||||||
if (complexprefixes) {
|
if (complexprefixes) {
|
||||||
if (parse_flag(line, &compoundbegin, "COMPOUNDEND")) {
|
if (parse_flag(line, &compoundbegin, (char *)"COMPOUNDEND")) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (parse_flag(line, &compoundend, "COMPOUNDEND")) {
|
if (parse_flag(line, &compoundend, (char *)"COMPOUNDEND")) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -308,28 +308,28 @@ int AffixMgr::parse_file(const char * affpath)
|
|||||||
|
|
||||||
/* parse in the flag used by compound_check() method */
|
/* parse in the flag used by compound_check() method */
|
||||||
if (strncmp(line,"COMPOUNDWORDMAX",15) == 0) {
|
if (strncmp(line,"COMPOUNDWORDMAX",15) == 0) {
|
||||||
if (parse_num(line, &cpdwordmax, "COMPOUNDWORDMAX")) {
|
if (parse_num(line, &cpdwordmax, (char *)"COMPOUNDWORDMAX")) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* parse in the flag sign compounds in dictionary */
|
/* parse in the flag sign compounds in dictionary */
|
||||||
if (strncmp(line,"COMPOUNDROOT",12) == 0) {
|
if (strncmp(line,"COMPOUNDROOT",12) == 0) {
|
||||||
if (parse_flag(line, &compoundroot, "COMPOUNDROOT")) {
|
if (parse_flag(line, &compoundroot, (char *)"COMPOUNDROOT")) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* parse in the flag used by compound_check() method */
|
/* parse in the flag used by compound_check() method */
|
||||||
if (strncmp(line,"COMPOUNDPERMITFLAG",18) == 0) {
|
if (strncmp(line,"COMPOUNDPERMITFLAG",18) == 0) {
|
||||||
if (parse_flag(line, &compoundpermitflag, "COMPOUNDPERMITFLAG")) {
|
if (parse_flag(line, &compoundpermitflag, (char *)"COMPOUNDPERMITFLAG")) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* parse in the flag used by compound_check() method */
|
/* parse in the flag used by compound_check() method */
|
||||||
if (strncmp(line,"COMPOUNDFORBIDFLAG",18) == 0) {
|
if (strncmp(line,"COMPOUNDFORBIDFLAG",18) == 0) {
|
||||||
if (parse_flag(line, &compoundforbidflag, "COMPOUNDFORBIDFLAG")) {
|
if (parse_flag(line, &compoundforbidflag, (char *)"COMPOUNDFORBIDFLAG")) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -347,56 +347,56 @@ int AffixMgr::parse_file(const char * affpath)
|
|||||||
checkcompoundcase = 1;
|
checkcompoundcase = 1;
|
||||||
|
|
||||||
if (strncmp(line,"NOSUGGEST",9) == 0) {
|
if (strncmp(line,"NOSUGGEST",9) == 0) {
|
||||||
if (parse_flag(line, &nosuggest, "NOSUGGEST")) {
|
if (parse_flag(line, &nosuggest, (char *)"NOSUGGEST")) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* parse in the flag used by forbidden words */
|
/* parse in the flag used by forbidden words */
|
||||||
if (strncmp(line,"FORBIDDENWORD",13) == 0) {
|
if (strncmp(line,"FORBIDDENWORD",13) == 0) {
|
||||||
if (parse_flag(line, &forbiddenword, "FORBIDDENWORD")) {
|
if (parse_flag(line, &forbiddenword, (char *)"FORBIDDENWORD")) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* parse in the flag used by forbidden words */
|
/* parse in the flag used by forbidden words */
|
||||||
if (strncmp(line,"LEMMA_PRESENT",13) == 0) {
|
if (strncmp(line,"LEMMA_PRESENT",13) == 0) {
|
||||||
if (parse_flag(line, &lemma_present, "LEMMA_PRESENT")) {
|
if (parse_flag(line, &lemma_present, (char *)"LEMMA_PRESENT")) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* parse in the flag used by circumfixes */
|
/* parse in the flag used by circumfixes */
|
||||||
if (strncmp(line,"CIRCUMFIX",9) == 0) {
|
if (strncmp(line,"CIRCUMFIX",9) == 0) {
|
||||||
if (parse_flag(line, &circumfix, "CIRCUMFIX")) {
|
if (parse_flag(line, &circumfix, (char *)"CIRCUMFIX")) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* parse in the flag used by fogemorphemes */
|
/* parse in the flag used by fogemorphemes */
|
||||||
if (strncmp(line,"ONLYINCOMPOUND",14) == 0) {
|
if (strncmp(line,"ONLYINCOMPOUND",14) == 0) {
|
||||||
if (parse_flag(line, &onlyincompound, "ONLYINCOMPOUND")) {
|
if (parse_flag(line, &onlyincompound, (char *)"ONLYINCOMPOUND")) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* parse in the flag used by `pseudoroots' */
|
/* parse in the flag used by `pseudoroots' */
|
||||||
if (strncmp(line,"PSEUDOROOT",10) == 0) {
|
if (strncmp(line,"PSEUDOROOT",10) == 0) {
|
||||||
if (parse_flag(line, &pseudoroot, "PSEUDOROOT")) {
|
if (parse_flag(line, &pseudoroot, (char *)"PSEUDOROOT")) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* parse in the flag used by `pseudoroots' */
|
/* parse in the flag used by `pseudoroots' */
|
||||||
if (strncmp(line,"NEEDAFFIX",9) == 0) {
|
if (strncmp(line,"NEEDAFFIX",9) == 0) {
|
||||||
if (parse_flag(line, &pseudoroot, "NEEDAFFIX")) {
|
if (parse_flag(line, &pseudoroot, (char *)"NEEDAFFIX")) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* parse in the minimal length for words in compounds */
|
/* parse in the minimal length for words in compounds */
|
||||||
if (strncmp(line,"COMPOUNDMIN",11) == 0) {
|
if (strncmp(line,"COMPOUNDMIN",11) == 0) {
|
||||||
if (parse_num(line, &cpdmin, "COMPOUNDMIN")) {
|
if (parse_num(line, &cpdmin, (char *)"COMPOUNDMIN")) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if (cpdmin < 1) cpdmin = 1;
|
if (cpdmin < 1) cpdmin = 1;
|
||||||
@ -477,7 +477,7 @@ int AffixMgr::parse_file(const char * affpath)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (strncmp(line,"MAXNGRAMSUGS",12) == 0) {
|
if (strncmp(line,"MAXNGRAMSUGS",12) == 0) {
|
||||||
if (parse_num(line, &maxngramsugs, "MAXNGRAMSUGS")) {
|
if (parse_num(line, &maxngramsugs, (char *)"MAXNGRAMSUGS")) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -490,7 +490,7 @@ int AffixMgr::parse_file(const char * affpath)
|
|||||||
|
|
||||||
/* parse in the flag used by forbidden words */
|
/* parse in the flag used by forbidden words */
|
||||||
if (strncmp(line,"KEEPCASE",8) == 0) {
|
if (strncmp(line,"KEEPCASE",8) == 0) {
|
||||||
if (parse_flag(line, &keepcase, "KEEPCASE")) {
|
if (parse_flag(line, &keepcase, (char *)"KEEPCASE")) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1418,7 +1418,7 @@ char * SuggestMgr::suggest_morph_for_spelling_error(const char * word)
|
|||||||
char * p = NULL;
|
char * p = NULL;
|
||||||
char ** wlst = (char **) calloc(maxSug, sizeof(char *));
|
char ** wlst = (char **) calloc(maxSug, sizeof(char *));
|
||||||
// we will use only the first suggestion
|
// we will use only the first suggestion
|
||||||
for (int i = 0; i < maxSug - 1; i++) wlst[i] = "";
|
for (int i = 0; i < maxSug - 1; i++) wlst[i] = (char *)"";
|
||||||
int ns = suggest(&wlst, word, maxSug - 1);
|
int ns = suggest(&wlst, word, maxSug - 1);
|
||||||
if (ns == maxSug) {
|
if (ns == maxSug) {
|
||||||
p = suggest_morph(wlst[maxSug - 1]);
|
p = suggest_morph(wlst[maxSug - 1]);
|
||||||
|
@ -90,7 +90,7 @@ int SMBCALL smb_ver(void)
|
|||||||
|
|
||||||
char* SMBCALL smb_lib_ver(void)
|
char* SMBCALL smb_lib_ver(void)
|
||||||
{
|
{
|
||||||
return(SMBLIB_VERSION);
|
return((char *)SMBLIB_VERSION);
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
|
@ -66,7 +66,7 @@ DllEntryPoint (HINSTANCE hInstance, DWORD seginfo,
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
char * fptools_id = "$Id$";
|
char * fptools_id = (char *)"$Id$";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* some versions of free can't handle a NULL pointer properly
|
* some versions of free can't handle a NULL pointer properly
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
#include <fptools.h>
|
#include <fptools.h>
|
||||||
#include <uustring.h>
|
#include <uustring.h>
|
||||||
|
|
||||||
char * uucheck_id = "$Id$";
|
char * uucheck_id = (char *)"$Id$";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Arbitrary number. This is the maximum number of part numbers we
|
* Arbitrary number. This is the maximum number of part numbers we
|
||||||
@ -79,13 +79,13 @@ int lastvalid, lastenc, nofnum;
|
|||||||
char *uucheck_lastname;
|
char *uucheck_lastname;
|
||||||
char *uucheck_tempname;
|
char *uucheck_tempname;
|
||||||
static int lastpart = 0;
|
static int lastpart = 0;
|
||||||
static char *nofname = "UNKNOWN";
|
static char *nofname = (char *)"UNKNOWN";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* special characters we allow an unquoted filename to have
|
* special characters we allow an unquoted filename to have
|
||||||
*/
|
*/
|
||||||
|
|
||||||
char *uufnchars = "._-~!$@";
|
char *uufnchars = (char *)"._-~!$@";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Policy for extracting a part number from the subject line.
|
* Policy for extracting a part number from the subject line.
|
||||||
@ -93,7 +93,7 @@ char *uufnchars = "._-~!$@";
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
static char *brackchr[] = {
|
static char *brackchr[] = {
|
||||||
"()[]", "[]()"
|
(char *)"()[]", (char *)"[]()"
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -135,14 +135,14 @@ UUGetFileName (char *subject, char *ptonum, char *ptonend)
|
|||||||
* a file named "Repost" :-)
|
* a file named "Repost" :-)
|
||||||
**/
|
**/
|
||||||
|
|
||||||
if (_FP_strnicmp (subject, "repost", 6) == 0)
|
if (_FP_strnicmp (subject, (char *)"repost", 6) == 0)
|
||||||
subject += 6;
|
subject += 6;
|
||||||
if (_FP_strnicmp (subject, "re:", 3) == 0)
|
if (_FP_strnicmp (subject, (char *)"re:", 3) == 0)
|
||||||
subject += 3;
|
subject += 3;
|
||||||
|
|
||||||
while (*subject == ' ' || *subject == ':') subject++;
|
while (*subject == ' ' || *subject == ':') subject++;
|
||||||
|
|
||||||
part = _FP_stristr (subject, "part");
|
part = _FP_stristr (subject, (char *)"part");
|
||||||
if (part == subject) {
|
if (part == subject) {
|
||||||
subject += 4;
|
subject += 4;
|
||||||
while (*subject == ' ') subject++;
|
while (*subject == ' ') subject++;
|
||||||
@ -223,7 +223,7 @@ UUGetFileName (char *subject, char *ptonum, char *ptonend)
|
|||||||
iter = ptr;
|
iter = ptr;
|
||||||
count = length = alflag = 0;
|
count = length = alflag = 0;
|
||||||
|
|
||||||
if (_FP_strnicmp (ptr, "ftp", 3) == 0) {
|
if (_FP_strnicmp (ptr, (char*)"ftp", 3) == 0) {
|
||||||
/* hey, that's an ftp address */
|
/* hey, that's an ftp address */
|
||||||
while (g_isalpha(*ptr) || isdigit (*ptr) || *ptr == '.')
|
while (g_isalpha(*ptr) || isdigit (*ptr) || *ptr == '.')
|
||||||
ptr++;
|
ptr++;
|
||||||
@ -251,8 +251,8 @@ UUGetFileName (char *subject, char *ptonum, char *ptonend)
|
|||||||
length = 0;
|
length = 0;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (_FP_strnicmp (iter, "edu", 3) == 0 ||
|
if (_FP_strnicmp (iter, (char *)"edu", 3) == 0 ||
|
||||||
_FP_strnicmp (iter, "gov", 3) == 0) {
|
_FP_strnicmp (iter, (char *)"gov", 3) == 0) {
|
||||||
/* hey, that's an ftp address */
|
/* hey, that's an ftp address */
|
||||||
while (g_isalpha(*iter) || isdigit (*iter) || *iter == '.')
|
while (g_isalpha(*iter) || isdigit (*iter) || *iter == '.')
|
||||||
iter++;
|
iter++;
|
||||||
@ -381,7 +381,7 @@ UUGetPartNo (char *subject, char **where, char **whend)
|
|||||||
*whend = NULL; bdel[1] = '\0';
|
*whend = NULL; bdel[1] = '\0';
|
||||||
|
|
||||||
iter = NULL;
|
iter = NULL;
|
||||||
delim = "";
|
delim = (char *)"";
|
||||||
|
|
||||||
if (subject == NULL)
|
if (subject == NULL)
|
||||||
return -1;
|
return -1;
|
||||||
@ -428,7 +428,7 @@ UUGetPartNo (char *subject, char **where, char **whend)
|
|||||||
while (iter[count] == ' ' || iter[count] == '#' ||
|
while (iter[count] == ' ' || iter[count] == '#' ||
|
||||||
iter[count] == '/' || iter[count] == '\\') count++;
|
iter[count] == '/' || iter[count] == '\\') count++;
|
||||||
|
|
||||||
if (_FP_strnicmp (iter + count, "of", 2) == 0)
|
if (_FP_strnicmp (iter + count, (char *)"of", 2) == 0)
|
||||||
count += 2;
|
count += 2;
|
||||||
|
|
||||||
while (iter[count] == ' ') count++;
|
while (iter[count] == ' ') count++;
|
||||||
@ -496,7 +496,7 @@ UUGetPartNo (char *subject, char **where, char **whend)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
if (length == 0) {
|
if (length == 0) {
|
||||||
if ((iter = _FP_stristr (subject, "part")) != NULL) {
|
if ((iter = _FP_stristr (subject, (char *)"part")) != NULL) {
|
||||||
iter += 4;
|
iter += 4;
|
||||||
|
|
||||||
while (isspace (*iter) || *iter == '.' || *iter == '-')
|
while (isspace (*iter) || *iter == '.' || *iter == '-')
|
||||||
@ -506,16 +506,16 @@ UUGetPartNo (char *subject, char **where, char **whend)
|
|||||||
length++;
|
length++;
|
||||||
|
|
||||||
if (length == 0) {
|
if (length == 0) {
|
||||||
if (_FP_strnicmp (iter, "one", 3) == 0) length = 1;
|
if (_FP_strnicmp (iter, (char *)"one", 3) == 0) length = 1;
|
||||||
else if (_FP_strnicmp (iter, "two", 3) == 0) length = 2;
|
else if (_FP_strnicmp (iter, (char *)"two", 3) == 0) length = 2;
|
||||||
else if (_FP_strnicmp (iter, "three", 5) == 0) length = 3;
|
else if (_FP_strnicmp (iter, (char *)"three", 5) == 0) length = 3;
|
||||||
else if (_FP_strnicmp (iter, "four", 4) == 0) length = 4;
|
else if (_FP_strnicmp (iter, (char *)"four", 4) == 0) length = 4;
|
||||||
else if (_FP_strnicmp (iter, "five", 4) == 0) length = 5;
|
else if (_FP_strnicmp (iter, (char *)"five", 4) == 0) length = 5;
|
||||||
else if (_FP_strnicmp (iter, "six", 3) == 0) length = 6;
|
else if (_FP_strnicmp (iter, (char *)"six", 3) == 0) length = 6;
|
||||||
else if (_FP_strnicmp (iter, "seven", 5) == 0) length = 7;
|
else if (_FP_strnicmp (iter, (char *)"seven", 5) == 0) length = 7;
|
||||||
else if (_FP_strnicmp (iter, "eight", 5) == 0) length = 8;
|
else if (_FP_strnicmp (iter, (char *)"eight", 5) == 0) length = 8;
|
||||||
else if (_FP_strnicmp (iter, "nine", 4) == 0) length = 9;
|
else if (_FP_strnicmp (iter, (char *)"nine", 4) == 0) length = 9;
|
||||||
else if (_FP_strnicmp (iter, "ten", 3) == 0) length = 10;
|
else if (_FP_strnicmp (iter, (char *)"ten", 3) == 0) length = 10;
|
||||||
|
|
||||||
if (length && (*whend = strchr (iter, ' '))) {
|
if (length && (*whend = strchr (iter, ' '))) {
|
||||||
*where = iter;
|
*where = iter;
|
||||||
@ -526,7 +526,7 @@ UUGetPartNo (char *subject, char **where, char **whend)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
*where = iter;
|
*where = iter;
|
||||||
delim = "of";
|
delim = (char *)"of";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -536,7 +536,7 @@ UUGetPartNo (char *subject, char **where, char **whend)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
if (length == 0) {
|
if (length == 0) {
|
||||||
if ((iter = _FP_strirstr (subject, "of")) != NULL) {
|
if ((iter = _FP_strirstr (subject, (char *)"of")) != NULL) {
|
||||||
while (iter>subject && isspace (*(iter-1)))
|
while (iter>subject && isspace (*(iter-1)))
|
||||||
iter--;
|
iter--;
|
||||||
if (isdigit(*(iter-1))) {
|
if (isdigit(*(iter-1))) {
|
||||||
@ -550,7 +550,7 @@ UUGetPartNo (char *subject, char **where, char **whend)
|
|||||||
ptr++; length++;
|
ptr++; length++;
|
||||||
}
|
}
|
||||||
*where = iter;
|
*where = iter;
|
||||||
delim = "of";
|
delim = (char *)"of";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -635,18 +635,18 @@ UUGetPartNo (char *subject, char **where, char **whend)
|
|||||||
/*
|
/*
|
||||||
* some people use the strangest things, including spelling mistakes :-)
|
* some people use the strangest things, including spelling mistakes :-)
|
||||||
*/
|
*/
|
||||||
if ((iter = _FP_stristr (subject, "first")) != NULL) length = 1;
|
if ((iter = _FP_stristr (subject, (char *)"first")) != NULL) length = 1;
|
||||||
else if ((iter = _FP_stristr (subject, "second")) != NULL) length = 2;
|
else if ((iter = _FP_stristr (subject, (char *)"second")) != NULL) length = 2;
|
||||||
else if ((iter = _FP_stristr (subject, "third")) != NULL) length = 3;
|
else if ((iter = _FP_stristr (subject, (char *)"third")) != NULL) length = 3;
|
||||||
else if ((iter = _FP_stristr (subject, "forth")) != NULL) length = 4;
|
else if ((iter = _FP_stristr (subject, (char *)"forth")) != NULL) length = 4;
|
||||||
else if ((iter = _FP_stristr (subject, "fourth")) != NULL) length = 4;
|
else if ((iter = _FP_stristr (subject, (char *)"fourth")) != NULL) length = 4;
|
||||||
else if ((iter = _FP_stristr (subject, "fifth")) != NULL) length = 5;
|
else if ((iter = _FP_stristr (subject, (char *)"fifth")) != NULL) length = 5;
|
||||||
else if ((iter = _FP_stristr (subject, "sixth")) != NULL) length = 6;
|
else if ((iter = _FP_stristr (subject, (char *)"sixth")) != NULL) length = 6;
|
||||||
else if ((iter = _FP_stristr (subject, "seventh")) != NULL) length = 7;
|
else if ((iter = _FP_stristr (subject, (char *)"seventh")) != NULL) length = 7;
|
||||||
else if ((iter = _FP_stristr (subject, "eigth")) != NULL) length = 8;
|
else if ((iter = _FP_stristr (subject, (char *)"eigth")) != NULL) length = 8;
|
||||||
else if ((iter = _FP_stristr (subject, "nineth")) != NULL) length = 9;
|
else if ((iter = _FP_stristr (subject, (char *)"nineth")) != NULL) length = 9;
|
||||||
else if ((iter = _FP_stristr (subject, "ninth")) != NULL) length = 9;
|
else if ((iter = _FP_stristr (subject, (char *)"ninth")) != NULL) length = 9;
|
||||||
else if ((iter = _FP_stristr (subject, "tenth")) != NULL) length = 10;
|
else if ((iter = _FP_stristr (subject, (char *)"tenth")) != NULL) length = 10;
|
||||||
else iter = NULL;
|
else iter = NULL;
|
||||||
|
|
||||||
if (length && iter && (*whend = strchr (iter, ' '))) {
|
if (length && iter && (*whend = strchr (iter, ' '))) {
|
||||||
@ -1097,8 +1097,8 @@ UUInsertPartToList (uufile *data)
|
|||||||
if (data->partno == fiter->partno) {
|
if (data->partno == fiter->partno) {
|
||||||
if (fiter->data->subject == NULL)
|
if (fiter->data->subject == NULL)
|
||||||
return UURET_NODATA;
|
return UURET_NODATA;
|
||||||
else if (_FP_stristr (fiter->data->subject, "repost") != NULL &&
|
else if (_FP_stristr (fiter->data->subject, (char *)"repost") != NULL &&
|
||||||
_FP_stristr (data->data->subject, "repost") == NULL)
|
_FP_stristr (data->data->subject, (char *)"repost") == NULL)
|
||||||
return UURET_NODATA;
|
return UURET_NODATA;
|
||||||
else if (fiter->data->uudet && !data->data->uudet)
|
else if (fiter->data->uudet && !data->data->uudet)
|
||||||
return UURET_NODATA;
|
return UURET_NODATA;
|
||||||
@ -1439,7 +1439,7 @@ UUCheckGlobalList (void)
|
|||||||
*/
|
*/
|
||||||
_FP_free (liter->filename);
|
_FP_free (liter->filename);
|
||||||
if (liter->subfname && liter->subfname[0] &&
|
if (liter->subfname && liter->subfname[0] &&
|
||||||
_FP_strpbrk (liter->subfname, "()[];: ") == NULL)
|
_FP_strpbrk (liter->subfname, (char *)"()[];: ") == NULL)
|
||||||
liter->filename = _FP_strdup (liter->subfname);
|
liter->filename = _FP_strdup (liter->subfname);
|
||||||
else {
|
else {
|
||||||
sprintf (uucheck_tempname, "%s.%03d", nofname, ++nofnum);
|
sprintf (uucheck_tempname, "%s.%03d", nofname, ++nofnum);
|
||||||
|
@ -60,7 +60,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
char * uuencode_id = "$Id$";
|
char * uuencode_id = (char *)"$Id$";
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
/*
|
/*
|
||||||
@ -192,22 +192,22 @@ typedef struct {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
static mimemap mimetable[] = {
|
static mimemap mimetable[] = {
|
||||||
{ "gif", "image/gif" }, /* Grafics Interchange Format */
|
{ (char *)"gif", (char *)"image/gif" }, /* Grafics Interchange Format */
|
||||||
{ "jpg", "image/jpeg" }, /* JFIF encoded files */
|
{ (char *)"jpg", (char *)"image/jpeg" }, /* JFIF encoded files */
|
||||||
{ "jpeg", "image/jpeg" },
|
{ (char *)"jpeg", (char *)"image/jpeg" },
|
||||||
{ "tif", "image/tiff" }, /* Tag Image File Format */
|
{ (char *)"tif", (char *)"image/tiff" }, /* Tag Image File Format */
|
||||||
{ "tiff", "image/tiff" },
|
{ (char *)"tiff", (char *)"image/tiff" },
|
||||||
{ "cgm", "image/cgm" }, /* Computer Graphics Metafile */
|
{ (char *)"cgm", (char *)"image/cgm" }, /* Computer Graphics Metafile */
|
||||||
{ "au", "audio/basic" }, /* 8kHz ulaw audio data */
|
{ (char *)"au", (char *)"audio/basic" }, /* 8kHz ulaw audio data */
|
||||||
{ "mov", "video/quicktime" }, /* Apple Quicktime */
|
{ (char *)"mov", (char *)"video/quicktime" }, /* Apple Quicktime */
|
||||||
{ "qt", "video/quicktime" }, /* Also infrequently used */
|
{ (char *)"qt", (char *)"video/quicktime" }, /* Also infrequently used */
|
||||||
{ "mpeg", "video/mpeg" }, /* Motion Picture Expert Group */
|
{ (char *)"mpeg", (char *)"video/mpeg" }, /* Motion Picture Expert Group */
|
||||||
{ "mpg", "video/mpeg" },
|
{ (char *)"mpg", (char *)"video/mpeg" },
|
||||||
{ "mp2", "video/mpeg" }, /* dito, MPEG-2 encoded files */
|
{ (char *)"mp2", (char *)"video/mpeg" }, /* dito, MPEG-2 encoded files */
|
||||||
{ "mp3", "audio/mpeg" }, /* dito, MPEG-3 encoded files */
|
{ (char *)"mp3", (char *)"audio/mpeg" }, /* dito, MPEG-3 encoded files */
|
||||||
{ "ps", "application/postscript" }, /* Postscript Language */
|
{ (char *)"ps", (char *)"application/postscript" }, /* Postscript Language */
|
||||||
{ "zip", "application/zip" }, /* ZIP archive */
|
{ (char *)"zip", (char *)"application/zip" }, /* ZIP archive */
|
||||||
{ "doc", "application/msword"},/* assume Microsoft Word */
|
{ (char *)"doc", (char *)"application/msword"},/* assume Microsoft Word */
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -697,7 +697,7 @@ UUEncodeMulti (FILE *outfile, FILE *infile, char *infname, int encoding,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (mimetype == NULL && (encoding == PT_ENCODED || encoding == QP_ENCODED)) {
|
if (mimetype == NULL && (encoding == PT_ENCODED || encoding == QP_ENCODED)) {
|
||||||
mimetype = "text/plain";
|
mimetype = (char *)"text/plain";
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -884,7 +884,7 @@ UUEncodePartial (FILE *outfile, FILE *infile,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (mimetype == NULL && (encoding==PT_ENCODED || encoding==QP_ENCODED)) {
|
if (mimetype == NULL && (encoding==PT_ENCODED || encoding==QP_ENCODED)) {
|
||||||
mimetype = "text/plain";
|
mimetype = (char *)"text/plain";
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -1535,7 +1535,7 @@ UUE_PrepSingleExt (FILE *outfile, FILE *infile,
|
|||||||
mimetype = NULL;
|
mimetype = NULL;
|
||||||
|
|
||||||
if (mimetype == NULL && (encoding == PT_ENCODED || encoding == QP_ENCODED)) {
|
if (mimetype == NULL && (encoding == PT_ENCODED || encoding == QP_ENCODED)) {
|
||||||
mimetype = "text/plain";
|
mimetype = (char *)"text/plain";
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((subline = (char *) malloc (len)) == NULL) {
|
if ((subline = (char *) malloc (len)) == NULL) {
|
||||||
|
@ -81,7 +81,7 @@
|
|||||||
#include <fptools.h>
|
#include <fptools.h>
|
||||||
#include <uustring.h>
|
#include <uustring.h>
|
||||||
|
|
||||||
char * uulib_id = "$Id$";
|
char * uulib_id = (char *)"$Id$";
|
||||||
|
|
||||||
#ifdef SYSTEM_WINDLL
|
#ifdef SYSTEM_WINDLL
|
||||||
BOOL _export WINAPI
|
BOOL _export WINAPI
|
||||||
|
@ -60,7 +60,7 @@
|
|||||||
#include <fptools.h>
|
#include <fptools.h>
|
||||||
#include <uustring.h>
|
#include <uustring.h>
|
||||||
|
|
||||||
char * uunconc_id = "$Id$";
|
char * uunconc_id = (char *)"$Id$";
|
||||||
|
|
||||||
/* for braindead systems */
|
/* for braindead systems */
|
||||||
#ifndef SEEK_SET
|
#ifndef SEEK_SET
|
||||||
@ -203,8 +203,8 @@ UUBrokenByNetscape (char *string)
|
|||||||
if (string==NULL || (len=strlen(string))<3)
|
if (string==NULL || (len=strlen(string))<3)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if ((ptr = _FP_stristr (string, "<a href=")) != NULL) {
|
if ((ptr = _FP_stristr (string, (char *)"<a href=")) != NULL) {
|
||||||
if (_FP_stristr (string, "</a>") > ptr)
|
if (_FP_stristr (string, (char *)"</a>") > ptr)
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -217,7 +217,7 @@ UUBrokenByNetscape (char *string)
|
|||||||
if (*--ptr == ' ') ptr--;
|
if (*--ptr == ' ') ptr--;
|
||||||
ptr--;
|
ptr--;
|
||||||
|
|
||||||
if (_FP_strnicmp (ptr, "<a", 2) == 0)
|
if (_FP_strnicmp (ptr, (char *)"<a", 2) == 0)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
@ -251,9 +251,9 @@ UUNetscapeCollapse (char *string)
|
|||||||
*/
|
*/
|
||||||
while (*p1) {
|
while (*p1) {
|
||||||
if (*p1 == '&') {
|
if (*p1 == '&') {
|
||||||
if (_FP_strnicmp (p1, "&", 5) == 0) { p1+=5; *p2++='&'; res=1; }
|
if (_FP_strnicmp (p1, (char *)"&", 5) == 0) { p1+=5; *p2++='&'; res=1; }
|
||||||
else if (_FP_strnicmp (p1, "<", 4) == 0) { p1+=4; *p2++='<'; res=1; }
|
else if (_FP_strnicmp (p1, (char *)"<", 4) == 0) { p1+=4; *p2++='<'; res=1; }
|
||||||
else if (_FP_strnicmp (p1, ">", 4) == 0) { p1+=4; *p2++='>'; res=1; }
|
else if (_FP_strnicmp (p1, (char *)">", 4) == 0) { p1+=4; *p2++='>'; res=1; }
|
||||||
else *p2++ = *p1++;
|
else *p2++ = *p1++;
|
||||||
}
|
}
|
||||||
else *p2++ = *p1++;
|
else *p2++ = *p1++;
|
||||||
@ -266,16 +266,16 @@ UUNetscapeCollapse (char *string)
|
|||||||
|
|
||||||
while (*p1) {
|
while (*p1) {
|
||||||
if (*p1 == '<') {
|
if (*p1 == '<') {
|
||||||
if ((_FP_strnicmp (p1, "<ahref=", 7) == 0 ||
|
if ((_FP_strnicmp (p1, (char *)"<ahref=", 7) == 0 ||
|
||||||
_FP_strnicmp (p1, "<a href=",8) == 0) &&
|
_FP_strnicmp (p1, (char *)"<a href=",8) == 0) &&
|
||||||
(_FP_strstr (p1, "</a>") != 0 || _FP_strstr (p1, "</A>") != 0)) {
|
(_FP_strstr (p1, (char *)"</a>") != 0 || _FP_strstr (p1, (char *)"</A>") != 0)) {
|
||||||
while (*p1 && *p1!='>') p1++;
|
while (*p1 && *p1!='>') p1++;
|
||||||
if (*p1=='\0' || *(p1+1)!='<') return 0;
|
if (*p1=='\0' || *(p1+1)!='<') return 0;
|
||||||
p1++;
|
p1++;
|
||||||
while (*p1 && (*p1!='<' || _FP_strnicmp(p1,"</a>",4)!=0)) {
|
while (*p1 && (*p1!='<' || _FP_strnicmp(p1,(char *)"</a>",4)!=0)) {
|
||||||
*p2++ = *p1++;
|
*p2++ = *p1++;
|
||||||
}
|
}
|
||||||
if (_FP_strnicmp(p1,"</a>",4) != 0)
|
if (_FP_strnicmp(p1,(char *)"</a>",4) != 0)
|
||||||
return 0;
|
return 0;
|
||||||
p1+=4;
|
p1+=4;
|
||||||
res=1;
|
res=1;
|
||||||
@ -1020,7 +1020,7 @@ UUDecodePart (FILE *datain, FILE *dataout, int *state,
|
|||||||
|
|
||||||
if ((flags&FL_PROPER) == 0) {
|
if ((flags&FL_PROPER) == 0) {
|
||||||
if (strncmp (line, "BEGIN", 5) == 0 &&
|
if (strncmp (line, "BEGIN", 5) == 0 &&
|
||||||
_FP_strstr (line, "CUT HERE") && !tf) { /* I hate these lines */
|
_FP_strstr (line, (char *)"CUT HERE") && !tf) { /* I hate these lines */
|
||||||
tc = tf = vlc = 0;
|
tc = tf = vlc = 0;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -1036,7 +1036,7 @@ UUDecodePart (FILE *datain, FILE *dataout, int *state,
|
|||||||
haddh = 1;
|
haddh = 1;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (_FP_strnicmp (line, "Content-Type", 12) == 0)
|
if (_FP_strnicmp (line, (char *)"Content-Type", 12) == 0)
|
||||||
hadct = 1;
|
hadct = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1044,7 +1044,7 @@ UUDecodePart (FILE *datain, FILE *dataout, int *state,
|
|||||||
if ((method == UU_ENCODED || method == XX_ENCODED) &&
|
if ((method == UU_ENCODED || method == XX_ENCODED) &&
|
||||||
(strncmp (line, "begin ", 6) == 0 ||
|
(strncmp (line, "begin ", 6) == 0 ||
|
||||||
strncmp (line, "section ", 8) == 0 ||
|
strncmp (line, "section ", 8) == 0 ||
|
||||||
_FP_strnicmp (line, "<pre>begin ", 11) == 0)) { /* for LYNX */
|
_FP_strnicmp (line, (char *)"<pre>begin ", 11) == 0)) { /* for LYNX */
|
||||||
*state = DATA;
|
*state = DATA;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -1058,10 +1058,10 @@ UUDecodePart (FILE *datain, FILE *dataout, int *state,
|
|||||||
}
|
}
|
||||||
else if (method == YENC_ENCODED &&
|
else if (method == YENC_ENCODED &&
|
||||||
strncmp (line, "=ybegin ", 8) == 0 &&
|
strncmp (line, "=ybegin ", 8) == 0 &&
|
||||||
_FP_strstr (line, " name=") != NULL) {
|
_FP_strstr (line, (char *)" name=") != NULL) {
|
||||||
*state = DATA;
|
*state = DATA;
|
||||||
|
|
||||||
if ((ptr = _FP_strstr (line, " size=")) != NULL) {
|
if ((ptr = _FP_strstr (line, (char *)" size=")) != NULL) {
|
||||||
ptr += 6;
|
ptr += 6;
|
||||||
yefilesize = atoi (ptr);
|
yefilesize = atoi (ptr);
|
||||||
}
|
}
|
||||||
@ -1069,12 +1069,12 @@ UUDecodePart (FILE *datain, FILE *dataout, int *state,
|
|||||||
yefilesize = -1;
|
yefilesize = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_FP_strstr (line, " part=") != NULL) {
|
if (_FP_strstr (line, (char *)" part=") != NULL) {
|
||||||
if (_FP_fgets (line, 299, datain) == NULL) {
|
if (_FP_fgets (line, 299, datain) == NULL) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((ptr = _FP_strstr (line, " end=")) == NULL) {
|
if ((ptr = _FP_strstr (line, (char *)" end=")) == NULL) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1110,14 +1110,14 @@ UUDecodePart (FILE *datain, FILE *dataout, int *state,
|
|||||||
|
|
||||||
if (*state == DATA && method == YENC_ENCODED &&
|
if (*state == DATA && method == YENC_ENCODED &&
|
||||||
strncmp (line, "=yend ", 6) == 0) {
|
strncmp (line, "=yend ", 6) == 0) {
|
||||||
if ((ptr = _FP_strstr (line, " pcrc32=")) != NULL) {
|
if ((ptr = _FP_strstr (line, (char *)" pcrc32=")) != NULL) {
|
||||||
dword pcrc32 = strtoul (ptr + 8, NULL, 16);
|
dword pcrc32 = strtoul (ptr + 8, NULL, 16);
|
||||||
if (pcrc32 != yepartcrc) {
|
if (pcrc32 != yepartcrc) {
|
||||||
UUMessage (uunconc_id, __LINE__, UUMSG_WARNING,
|
UUMessage (uunconc_id, __LINE__, UUMSG_WARNING,
|
||||||
uustring (S_PCRC_MISMATCH), progress.curfile, progress.partno);
|
uustring (S_PCRC_MISMATCH), progress.curfile, progress.partno);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((ptr = _FP_strstr (line, " crc32=")) != NULL)
|
if ((ptr = _FP_strstr (line, (char *)" crc32=")) != NULL)
|
||||||
{
|
{
|
||||||
dword fcrc32 = strtoul (ptr + 7, NULL, 16);
|
dword fcrc32 = strtoul (ptr + 7, NULL, 16);
|
||||||
if (fcrc32 != yefilecrc) {
|
if (fcrc32 != yefilecrc) {
|
||||||
@ -1125,7 +1125,7 @@ UUDecodePart (FILE *datain, FILE *dataout, int *state,
|
|||||||
uustring (S_CRC_MISMATCH), progress.curfile);
|
uustring (S_CRC_MISMATCH), progress.curfile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((ptr = _FP_strstr (line, " size=")) != NULL)
|
if ((ptr = _FP_strstr (line, (char *)" size=")) != NULL)
|
||||||
{
|
{
|
||||||
size_t size = atol(ptr + 6);
|
size_t size = atol(ptr + 6);
|
||||||
if (size != yepartsize && yefilesize != -1) {
|
if (size != yepartsize && yefilesize != -1) {
|
||||||
@ -1295,9 +1295,9 @@ UUDecode (uulist *data)
|
|||||||
return UURET_NODATA;
|
return UURET_NODATA;
|
||||||
|
|
||||||
if (data->uudet == PT_ENCODED)
|
if (data->uudet == PT_ENCODED)
|
||||||
mode = "wt"; /* open text files in text mode */
|
mode = (char *)"wt"; /* open text files in text mode */
|
||||||
else
|
else
|
||||||
mode = "wb"; /* otherwise in binary */
|
mode = (char *)"wb"; /* otherwise in binary */
|
||||||
|
|
||||||
if ((data->binfile = tempnam (NULL, "uu")) == NULL) {
|
if ((data->binfile = tempnam (NULL, "uu")) == NULL) {
|
||||||
UUMessage (uunconc_id, __LINE__, UUMSG_ERROR,
|
UUMessage (uunconc_id, __LINE__, UUMSG_ERROR,
|
||||||
@ -1619,13 +1619,13 @@ UUQuickDecode (FILE *datain, FILE *dataout, char *boundary, long maxpos)
|
|||||||
memset (&myenv, 0, sizeof (headers));
|
memset (&myenv, 0, sizeof (headers));
|
||||||
UUScanHeader (datain, &myenv);
|
UUScanHeader (datain, &myenv);
|
||||||
|
|
||||||
if (_FP_stristr (myenv.ctenc, "uu") != NULL)
|
if (_FP_stristr (myenv.ctenc, (char *)"uu") != NULL)
|
||||||
encoding = UU_ENCODED;
|
encoding = UU_ENCODED;
|
||||||
else if (_FP_stristr (myenv.ctenc, "xx") != NULL)
|
else if (_FP_stristr (myenv.ctenc, (char *)"xx") != NULL)
|
||||||
encoding = XX_ENCODED;
|
encoding = XX_ENCODED;
|
||||||
else if (_FP_stricmp (myenv.ctenc, "base64") == 0)
|
else if (_FP_stricmp (myenv.ctenc, (char *)"base64") == 0)
|
||||||
encoding = B64ENCODED;
|
encoding = B64ENCODED;
|
||||||
else if (_FP_stricmp (myenv.ctenc, "quoted-printable") == 0)
|
else if (_FP_stricmp (myenv.ctenc, (char *)"quoted-printable") == 0)
|
||||||
encoding = QP_ENCODED;
|
encoding = QP_ENCODED;
|
||||||
else
|
else
|
||||||
encoding = PT_ENCODED;
|
encoding = PT_ENCODED;
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
#include <fptools.h>
|
#include <fptools.h>
|
||||||
#include <uustring.h>
|
#include <uustring.h>
|
||||||
|
|
||||||
char * uuscan_id = "$Id$";
|
char * uuscan_id = (char *)"$Id$";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Header fields we recognize as such. See RFC822. We add "From ",
|
* Header fields we recognize as such. See RFC822. We add "From ",
|
||||||
@ -69,25 +69,25 @@ char * uuscan_id = "$Id$";
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
static char *knownmsgheaders[] = {
|
static char *knownmsgheaders[] = {
|
||||||
"From ", "Return-Path:", "Received:", "Reply-To:",
|
(char *)"From ", (char *)"Return-Path:", (char *)"Received:", (char *)"Reply-To:",
|
||||||
"From:", "Sender:", "Resent-Reply-To:", "Resent-From:",
|
(char *)"From:", (char *)"Sender:", (char *)"Resent-Reply-To:", (char *)"Resent-From:",
|
||||||
"Resent-Sender:", "Date:", "Resent-Date:", "To:",
|
(char *)"Resent-Sender:", (char *)"Date:", (char *)"Resent-Date:", (char *)"To:",
|
||||||
"Resent-To:", "Cc:", "Bcc:", "Resent-bcc:",
|
(char *)"Resent-To:", (char *)"Cc:", (char *)"Bcc:", (char *)"Resent-bcc:",
|
||||||
"Message-ID:", "Resent-Message-Id:", "In-Reply-To:",
|
(char *)"Message-ID:", (char *)"Resent-Message-Id:", (char *)"In-Reply-To:",
|
||||||
"References:", "Keywords:", "Subject:", "Comments:",
|
(char *)"References:", (char *)"Keywords:", (char *)"Subject:", (char *)"Comments:",
|
||||||
|
|
||||||
"Delivery-Date:", "Posted-Date:", "Received-Date:",
|
(char *)"Delivery-Date:", (char *)"Posted-Date:", (char *)"Received-Date:",
|
||||||
"Precedence:",
|
(char *)"Precedence:",
|
||||||
|
|
||||||
"Path:", "Newsgroups:", "Organization:", "Lines:",
|
(char *)"Path:", (char *)"Newsgroups:", (char *)"Organization:", (char *)"Lines:",
|
||||||
"NNTP-Posting-Host:",
|
(char *)"NNTP-Posting-Host:",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
static char *knownmimeheaders[] = {
|
static char *knownmimeheaders[] = {
|
||||||
"Mime-Version:", "Content-Transfer-Encoding:",
|
(char *)"Mime-Version:", (char *)"Content-Transfer-Encoding:",
|
||||||
"Content-Type:", "Content-Disposition:",
|
(char *)"Content-Type:", (char *)"Content-Disposition:",
|
||||||
"Content-Description:", "Content-Length:",
|
(char *)"Content-Description:", (char *)"Content-Length:",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -333,86 +333,86 @@ ParseHeader (headers *theheaders, char *line)
|
|||||||
if (line == NULL)
|
if (line == NULL)
|
||||||
return theheaders;
|
return theheaders;
|
||||||
|
|
||||||
if (_FP_strnicmp (line, "From:", 5) == 0) {
|
if (_FP_strnicmp (line, (char *)"From:", 5) == 0) {
|
||||||
if (theheaders->from) return theheaders;
|
if (theheaders->from) return theheaders;
|
||||||
variable = &theheaders->from;
|
variable = &theheaders->from;
|
||||||
value = line+5;
|
value = line+5;
|
||||||
delimit = 0;
|
delimit = 0;
|
||||||
}
|
}
|
||||||
else if (_FP_strnicmp (line, "Subject:", 8) == 0) {
|
else if (_FP_strnicmp (line, (char *)"Subject:", 8) == 0) {
|
||||||
if (theheaders->subject) return theheaders;
|
if (theheaders->subject) return theheaders;
|
||||||
variable = &theheaders->subject;
|
variable = &theheaders->subject;
|
||||||
value = line+8;
|
value = line+8;
|
||||||
delimit = 0;
|
delimit = 0;
|
||||||
}
|
}
|
||||||
else if (_FP_strnicmp (line, "To:", 3) == 0) {
|
else if (_FP_strnicmp (line, (char *)"To:", 3) == 0) {
|
||||||
if (theheaders->rcpt) return theheaders;
|
if (theheaders->rcpt) return theheaders;
|
||||||
variable = &theheaders->rcpt;
|
variable = &theheaders->rcpt;
|
||||||
value = line+3;
|
value = line+3;
|
||||||
delimit = 0;
|
delimit = 0;
|
||||||
}
|
}
|
||||||
else if (_FP_strnicmp (line, "Date:", 5) == 0) {
|
else if (_FP_strnicmp (line, (char *)"Date:", 5) == 0) {
|
||||||
if (theheaders->date) return theheaders;
|
if (theheaders->date) return theheaders;
|
||||||
variable = &theheaders->date;
|
variable = &theheaders->date;
|
||||||
value = line+5;
|
value = line+5;
|
||||||
delimit = 0;
|
delimit = 0;
|
||||||
}
|
}
|
||||||
else if (_FP_strnicmp (line, "Mime-Version:", 13) == 0) {
|
else if (_FP_strnicmp (line, (char *)"Mime-Version:", 13) == 0) {
|
||||||
if (theheaders->mimevers) return theheaders;
|
if (theheaders->mimevers) return theheaders;
|
||||||
variable = &theheaders->mimevers;
|
variable = &theheaders->mimevers;
|
||||||
value = line+13;
|
value = line+13;
|
||||||
delimit = 0;
|
delimit = 0;
|
||||||
}
|
}
|
||||||
else if (_FP_strnicmp (line, "Content-Type:", 13) == 0) {
|
else if (_FP_strnicmp (line, (char *)"Content-Type:", 13) == 0) {
|
||||||
if (theheaders->ctype) return theheaders;
|
if (theheaders->ctype) return theheaders;
|
||||||
variable = &theheaders->ctype;
|
variable = &theheaders->ctype;
|
||||||
value = line+13;
|
value = line+13;
|
||||||
delimit = ';';
|
delimit = ';';
|
||||||
|
|
||||||
/* we can probably extract more information */
|
/* we can probably extract more information */
|
||||||
if ((ptr = _FP_stristr (line, "boundary")) != NULL) {
|
if ((ptr = _FP_stristr (line, (char *)"boundary")) != NULL) {
|
||||||
if ((thenew = ParseValue (ptr))) {
|
if ((thenew = ParseValue (ptr))) {
|
||||||
if (theheaders->boundary) free (theheaders->boundary);
|
if (theheaders->boundary) free (theheaders->boundary);
|
||||||
theheaders->boundary = _FP_strdup (thenew);
|
theheaders->boundary = _FP_strdup (thenew);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((ptr = _FP_stristr (line, "name")) != NULL) {
|
if ((ptr = _FP_stristr (line, (char *)"name")) != NULL) {
|
||||||
if ((thenew = ParseValue (ptr))) {
|
if ((thenew = ParseValue (ptr))) {
|
||||||
if (theheaders->fname) free (theheaders->fname);
|
if (theheaders->fname) free (theheaders->fname);
|
||||||
theheaders->fname = _FP_strdup (thenew);
|
theheaders->fname = _FP_strdup (thenew);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((ptr = _FP_stristr (line, "id")) != NULL) {
|
if ((ptr = _FP_stristr (line, (char *)"id")) != NULL) {
|
||||||
if ((thenew = ParseValue (ptr))) {
|
if ((thenew = ParseValue (ptr))) {
|
||||||
if (theheaders->mimeid) free (theheaders->mimeid);
|
if (theheaders->mimeid) free (theheaders->mimeid);
|
||||||
theheaders->mimeid = _FP_strdup (thenew);
|
theheaders->mimeid = _FP_strdup (thenew);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((ptr = _FP_stristr (line, "number")) != NULL) {
|
if ((ptr = _FP_stristr (line, (char *)"number")) != NULL) {
|
||||||
if ((thenew = ParseValue (ptr))) {
|
if ((thenew = ParseValue (ptr))) {
|
||||||
theheaders->partno = atoi (thenew);
|
theheaders->partno = atoi (thenew);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((ptr = _FP_stristr (line, "total")) != NULL) {
|
if ((ptr = _FP_stristr (line, (char *)"total")) != NULL) {
|
||||||
if ((thenew = ParseValue (ptr))) {
|
if ((thenew = ParseValue (ptr))) {
|
||||||
theheaders->numparts = atoi (thenew);
|
theheaders->numparts = atoi (thenew);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (_FP_strnicmp (line, "Content-Transfer-Encoding:", 26) == 0) {
|
else if (_FP_strnicmp (line, (char *)"Content-Transfer-Encoding:", 26) == 0) {
|
||||||
if (theheaders->ctenc) return theheaders;
|
if (theheaders->ctenc) return theheaders;
|
||||||
variable = &theheaders->ctenc;
|
variable = &theheaders->ctenc;
|
||||||
value = line+26;
|
value = line+26;
|
||||||
delimit = ';';
|
delimit = ';';
|
||||||
}
|
}
|
||||||
else if (_FP_strnicmp (line, "Content-Disposition:", 20) == 0) {
|
else if (_FP_strnicmp (line, (char *)"Content-Disposition:", 20) == 0) {
|
||||||
/*
|
/*
|
||||||
* Some encoders mention the original filename as parameter to
|
* Some encoders mention the original filename as parameter to
|
||||||
* Content-Type, others as parameter to Content-Disposition. We
|
* Content-Type, others as parameter to Content-Disposition. We
|
||||||
* do prefer the first solution, but accept this situation, too.
|
* do prefer the first solution, but accept this situation, too.
|
||||||
* TODO: Read RFC1806
|
* TODO: Read RFC1806
|
||||||
*/
|
*/
|
||||||
if ((ptr = _FP_stristr (line, "name")) != NULL) {
|
if ((ptr = _FP_stristr (line, (char *)"name")) != NULL) {
|
||||||
if (theheaders->fname == NULL && (thenew=ParseValue(ptr)) != NULL) {
|
if (theheaders->fname == NULL && (thenew=ParseValue(ptr)) != NULL) {
|
||||||
theheaders->fname = _FP_strdup (thenew);
|
theheaders->fname = _FP_strdup (thenew);
|
||||||
}
|
}
|
||||||
@ -626,9 +626,9 @@ ScanData (FILE *datei, char *fname, int *errcode,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (boundary != NULL && line[0] == 'C' && line[1] == 'o' &&
|
if (boundary != NULL && line[0] == 'C' && line[1] == 'o' &&
|
||||||
_FP_strnicmp (line, "Content-Type:", 13) == 0) {
|
_FP_strnicmp (line, (char *)"Content-Type:", 13) == 0) {
|
||||||
ptr = ScanHeaderLine (datei, line);
|
ptr = ScanHeaderLine (datei, line);
|
||||||
p2 = (ptr)?_FP_stristr(ptr,"boundary"):NULL;
|
p2 = (ptr)?_FP_stristr(ptr,(char *)"boundary"):NULL;
|
||||||
p3 = (p2)?ParseValue(p2):NULL;
|
p3 = (p2)?ParseValue(p2):NULL;
|
||||||
|
|
||||||
if (p3 && strcmp (p3, boundary) == 0) {
|
if (p3 && strcmp (p3, boundary) == 0) {
|
||||||
@ -641,7 +641,7 @@ ScanData (FILE *datei, char *fname, int *errcode,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (strncmp (line, "begin ", 6) == 0 ||
|
if (strncmp (line, "begin ", 6) == 0 ||
|
||||||
_FP_strnicmp (line, "<pre>begin ", 11) == 0) {
|
_FP_strnicmp (line, (char *)"<pre>begin ", 11) == 0) {
|
||||||
if ((result->begin || result->end ||
|
if ((result->begin || result->end ||
|
||||||
result->uudet == B64ENCODED ||
|
result->uudet == B64ENCODED ||
|
||||||
result->uudet == BH_ENCODED) && !uu_more_mime) {
|
result->uudet == BH_ENCODED) && !uu_more_mime) {
|
||||||
@ -702,19 +702,19 @@ ScanData (FILE *datei, char *fname, int *errcode,
|
|||||||
* Detect a UUDeview-Style header
|
* Detect a UUDeview-Style header
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ((_FP_strnicmp (line, "_=_ Part ", 9) == 0 ||
|
if ((_FP_strnicmp (line, (char *)"_=_ Part ", 9) == 0 ||
|
||||||
_FP_strnicmp (line, "section ", 8) == 0) &&
|
_FP_strnicmp (line, (char *)"section ", 8) == 0) &&
|
||||||
result->uudet != YENC_ENCODED) {
|
result->uudet != YENC_ENCODED) {
|
||||||
if (result->uudet) {
|
if (result->uudet) {
|
||||||
fseek (datei, oldposition, SEEK_SET);
|
fseek (datei, oldposition, SEEK_SET);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
result->partno = atoi (line + 8);
|
result->partno = atoi (line + 8);
|
||||||
if ((ptr = _FP_stristr (line, " of ")) != NULL) {
|
if ((ptr = _FP_stristr (line, (char *)" of ")) != NULL) {
|
||||||
int maxpno = atoi (ptr + 4);
|
int maxpno = atoi (ptr + 4);
|
||||||
if(maxpno != 0) result->maxpno = maxpno;
|
if(maxpno != 0) result->maxpno = maxpno;
|
||||||
}
|
}
|
||||||
if ((ptr = _FP_stristr (line, "of file ")) != NULL) {
|
if ((ptr = _FP_stristr (line, (char *)"of file ")) != NULL) {
|
||||||
ptr += 8;
|
ptr += 8;
|
||||||
while (isspace (*ptr)) ptr++;
|
while (isspace (*ptr)) ptr++;
|
||||||
p2 = ptr;
|
p2 = ptr;
|
||||||
@ -740,8 +740,8 @@ ScanData (FILE *datei, char *fname, int *errcode,
|
|||||||
*/
|
*/
|
||||||
if (boundary == NULL && !ismime && !uu_more_mime &&
|
if (boundary == NULL && !ismime && !uu_more_mime &&
|
||||||
result->uudet != YENC_ENCODED) {
|
result->uudet != YENC_ENCODED) {
|
||||||
if (_FP_strnicmp (line, "Content-Type", 12) == 0 ||
|
if (_FP_strnicmp (line, (char *)"Content-Type", 12) == 0 ||
|
||||||
_FP_strnicmp (line, "X-Orcl-Content-Type", 19) == 0) {
|
_FP_strnicmp (line, (char *)"X-Orcl-Content-Type", 19) == 0) {
|
||||||
/*
|
/*
|
||||||
* We use Content-Type to mark a new attachment and split the file.
|
* We use Content-Type to mark a new attachment and split the file.
|
||||||
* However, we do not split if we haven't found anything encoded yet.
|
* However, we do not split if we haven't found anything encoded yet.
|
||||||
@ -764,15 +764,15 @@ ScanData (FILE *datei, char *fname, int *errcode,
|
|||||||
ctline=0;
|
ctline=0;
|
||||||
hadct=1;
|
hadct=1;
|
||||||
}
|
}
|
||||||
if ((ptr = _FP_stristr (line, "number=")) && ctline<4) {
|
if ((ptr = _FP_stristr (line, (char *)"number=")) && ctline<4) {
|
||||||
ptr += 7; if (*ptr == '"') ptr++;
|
ptr += 7; if (*ptr == '"') ptr++;
|
||||||
result->partno = atoi (ptr);
|
result->partno = atoi (ptr);
|
||||||
}
|
}
|
||||||
if ((ptr = _FP_stristr (line, "total=")) && ctline<4) {
|
if ((ptr = _FP_stristr (line, (char *)"total=")) && ctline<4) {
|
||||||
ptr += 6; if (*ptr == '"') ptr++;
|
ptr += 6; if (*ptr == '"') ptr++;
|
||||||
result->maxpno = atoi (ptr);
|
result->maxpno = atoi (ptr);
|
||||||
}
|
}
|
||||||
if ((ptr = _FP_stristr (line, "name=")) && ctline<4) {
|
if ((ptr = _FP_stristr (line, (char *)"name=")) && ctline<4) {
|
||||||
ptr += 5;
|
ptr += 5;
|
||||||
while (isspace (*ptr)) ptr++;
|
while (isspace (*ptr)) ptr++;
|
||||||
if (*ptr == '"' && *(ptr+1) && (p2 = strchr (ptr+2, '"')) != NULL) {
|
if (*ptr == '"' && *(ptr+1) && (p2 = strchr (ptr+2, '"')) != NULL) {
|
||||||
@ -806,7 +806,7 @@ ScanData (FILE *datei, char *fname, int *errcode,
|
|||||||
*p2 = c;
|
*p2 = c;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((ptr = _FP_stristr (line, "id=")) && ctline<4) {
|
if ((ptr = _FP_stristr (line, (char *)"id=")) && ctline<4) {
|
||||||
p2 = ptr += 3;
|
p2 = ptr += 3;
|
||||||
if (*p2 == '"') {
|
if (*p2 == '"') {
|
||||||
p2 = strchr (++ptr, '"');
|
p2 = strchr (++ptr, '"');
|
||||||
@ -850,14 +850,14 @@ ScanData (FILE *datei, char *fname, int *errcode,
|
|||||||
|
|
||||||
if (boundary == NULL && !ismime && !uu_more_mime && dflag <= 1 &&
|
if (boundary == NULL && !ismime && !uu_more_mime && dflag <= 1 &&
|
||||||
line[0] == '-' && line[1] == '-' && strlen(line+2)>10 &&
|
line[0] == '-' && line[1] == '-' && strlen(line+2)>10 &&
|
||||||
(((ptr = _FP_strrstr (line+2, "--")) == NULL) ||
|
(((ptr = _FP_strrstr (line+2, (char *)"--")) == NULL) ||
|
||||||
(*(ptr+2) != '\012' && *(ptr+2) != '\015')) &&
|
(*(ptr+2) != '\012' && *(ptr+2) != '\015')) &&
|
||||||
_FP_strstr (line+2, "_=_") != NULL) {
|
_FP_strstr (line+2, (char *)"_=_") != NULL) {
|
||||||
prevlinefirstchar = line[0];
|
prevlinefirstchar = line[0];
|
||||||
if (_FP_fgets (line, 255, datei) == NULL) {
|
if (_FP_fgets (line, 255, datei) == NULL) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (_FP_strnicmp (line, "Content-", 8) == 0) {
|
if (_FP_strnicmp (line, (char *)"Content-", 8) == 0) {
|
||||||
/*
|
/*
|
||||||
* Okay, let's do it. This breaks out of ScanData. ScanPart will
|
* Okay, let's do it. This breaks out of ScanData. ScanPart will
|
||||||
* recognize the boundary on the next call and use it.
|
* recognize the boundary on the next call and use it.
|
||||||
@ -872,7 +872,7 @@ ScanData (FILE *datei, char *fname, int *errcode,
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
if (strncmp (line, "=ybegin ", 8) == 0 &&
|
if (strncmp (line, "=ybegin ", 8) == 0 &&
|
||||||
_FP_strstr (line, " name=") != NULL) {
|
_FP_strstr (line, (char *)" name=") != NULL) {
|
||||||
if ((result->begin || result->end) && !uu_more_mime) {
|
if ((result->begin || result->end) && !uu_more_mime) {
|
||||||
fseek (datei, oldposition, SEEK_SET);
|
fseek (datei, oldposition, SEEK_SET);
|
||||||
break;
|
break;
|
||||||
@ -883,7 +883,7 @@ ScanData (FILE *datei, char *fname, int *errcode,
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
_FP_free (result->filename);
|
_FP_free (result->filename);
|
||||||
ptr = _FP_strstr (line, " name=") + 6;
|
ptr = _FP_strstr (line, (char *)" name=") + 6;
|
||||||
result->filename = _FP_strdup (ptr);
|
result->filename = _FP_strdup (ptr);
|
||||||
|
|
||||||
while (isspace (result->filename[strlen(result->filename)-1]))
|
while (isspace (result->filename[strlen(result->filename)-1]))
|
||||||
@ -893,7 +893,7 @@ ScanData (FILE *datei, char *fname, int *errcode,
|
|||||||
* Determine size
|
* Determine size
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ((ptr = _FP_strstr (line, " size=")) != NULL) {
|
if ((ptr = _FP_strstr (line, (char *)" size=")) != NULL) {
|
||||||
ptr += 6;
|
ptr += 6;
|
||||||
yefilesize = atoi (ptr);
|
yefilesize = atoi (ptr);
|
||||||
}
|
}
|
||||||
@ -905,7 +905,7 @@ ScanData (FILE *datei, char *fname, int *errcode,
|
|||||||
* check for multipart file and read =ypart line
|
* check for multipart file and read =ypart line
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ((ptr = _FP_strstr (line, " part=")) != NULL) {
|
if ((ptr = _FP_strstr (line, (char *)" part=")) != NULL) {
|
||||||
result->partno = atoi (ptr + 6);
|
result->partno = atoi (ptr + 6);
|
||||||
|
|
||||||
if (result->partno == 1) {
|
if (result->partno == 1) {
|
||||||
@ -922,7 +922,7 @@ ScanData (FILE *datei, char *fname, int *errcode,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((ptr = _FP_strstr (line, " end=")) == NULL) {
|
if ((ptr = _FP_strstr (line, (char *)" end=")) == NULL) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1362,7 +1362,7 @@ ScanData (FILE *datei, char *fname, int *errcode,
|
|||||||
return 2;
|
return 2;
|
||||||
else if (boundary && p3 &&
|
else if (boundary && p3 &&
|
||||||
line[0] == 'C' && line[1] == 'o' &&
|
line[0] == 'C' && line[1] == 'o' &&
|
||||||
_FP_strnicmp (line, "Content-Type:", 13) == 0 &&
|
_FP_strnicmp (line, (char *)"Content-Type:", 13) == 0 &&
|
||||||
strcmp (p3, boundary) == 0)
|
strcmp (p3, boundary) == 0)
|
||||||
return 2;
|
return 2;
|
||||||
else if (IsKnownHeader (line))
|
else if (IsKnownHeader (line))
|
||||||
@ -1487,9 +1487,9 @@ ScanPart (FILE *datei, char *fname, int *errcode)
|
|||||||
}
|
}
|
||||||
|
|
||||||
sstate.ismime = 1;
|
sstate.ismime = 1;
|
||||||
sstate.envelope.mimevers = _FP_strdup ("1.0");
|
sstate.envelope.mimevers = _FP_strdup ((char *)"1.0");
|
||||||
sstate.envelope.boundary = _FP_strdup (line+2);
|
sstate.envelope.boundary = _FP_strdup (line+2);
|
||||||
sstate.envelope.ctype = _FP_strdup ("multipart/mixed");
|
sstate.envelope.ctype = _FP_strdup ((char *)"multipart/mixed");
|
||||||
sstate.mimestate = MS_SUBPART;
|
sstate.mimestate = MS_SUBPART;
|
||||||
|
|
||||||
*errcode = UURET_CONT;
|
*errcode = UURET_CONT;
|
||||||
@ -1592,14 +1592,14 @@ ScanPart (FILE *datei, char *fname, int *errcode)
|
|||||||
* headers, don't be too picky about it.
|
* headers, don't be too picky about it.
|
||||||
*/
|
*/
|
||||||
if (sstate.envelope.ctype && sstate.envelope.mimevers==NULL &&
|
if (sstate.envelope.ctype && sstate.envelope.mimevers==NULL &&
|
||||||
_FP_stristr (sstate.envelope.ctype, "multipart") != NULL &&
|
_FP_stristr (sstate.envelope.ctype, (char *)"multipart") != NULL &&
|
||||||
sstate.envelope.boundary != NULL) {
|
sstate.envelope.boundary != NULL) {
|
||||||
sstate.envelope.mimevers = _FP_strdup ("1.0");
|
sstate.envelope.mimevers = _FP_strdup ((char *)"1.0");
|
||||||
hcount = hlcount.afternl;
|
hcount = hlcount.afternl;
|
||||||
}
|
}
|
||||||
else if (sstate.envelope.mimevers==NULL && sstate.envelope.ctype &&
|
else if (sstate.envelope.mimevers==NULL && sstate.envelope.ctype &&
|
||||||
sstate.envelope.fname && sstate.envelope.ctenc) {
|
sstate.envelope.fname && sstate.envelope.ctenc) {
|
||||||
sstate.envelope.mimevers = _FP_strdup ("1.0");
|
sstate.envelope.mimevers = _FP_strdup ((char *)"1.0");
|
||||||
hcount = hlcount.afternl;
|
hcount = hlcount.afternl;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1612,13 +1612,13 @@ ScanPart (FILE *datei, char *fname, int *errcode)
|
|||||||
else if (sstate.envelope.mimevers != NULL) {
|
else if (sstate.envelope.mimevers != NULL) {
|
||||||
/* this is a MIME file. check the Content-Type */
|
/* this is a MIME file. check the Content-Type */
|
||||||
sstate.ismime = 1;
|
sstate.ismime = 1;
|
||||||
if (_FP_stristr (sstate.envelope.ctype, "multipart") != NULL) {
|
if (_FP_stristr (sstate.envelope.ctype, (char *)"multipart") != NULL) {
|
||||||
if (sstate.envelope.boundary == NULL) {
|
if (sstate.envelope.boundary == NULL) {
|
||||||
UUMessage (uuscan_id, __LINE__, UUMSG_WARNING,
|
UUMessage (uuscan_id, __LINE__, UUMSG_WARNING,
|
||||||
uustring (S_MIME_NO_BOUNDARY));
|
uustring (S_MIME_NO_BOUNDARY));
|
||||||
sstate.mimestate = MS_BODY;
|
sstate.mimestate = MS_BODY;
|
||||||
_FP_free (sstate.envelope.ctype);
|
_FP_free (sstate.envelope.ctype);
|
||||||
sstate.envelope.ctype = _FP_strdup ("text/plain");
|
sstate.envelope.ctype = _FP_strdup ((char *)"text/plain");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
sstate.mimestate = MS_PREAMBLE;
|
sstate.mimestate = MS_PREAMBLE;
|
||||||
@ -1718,7 +1718,7 @@ ScanPart (FILE *datei, char *fname, int *errcode)
|
|||||||
result->filename = _FP_strdup (line);
|
result->filename = _FP_strdup (line);
|
||||||
result->origin = _FP_strdup (sstate.envelope.from);
|
result->origin = _FP_strdup (sstate.envelope.from);
|
||||||
result->mimeid = _FP_strdup (sstate.envelope.mimeid);
|
result->mimeid = _FP_strdup (sstate.envelope.mimeid);
|
||||||
result->mimetype = _FP_strdup ("text/plain");
|
result->mimetype = _FP_strdup ((char *)"text/plain");
|
||||||
result->mode = 0644;
|
result->mode = 0644;
|
||||||
result->uudet = PT_ENCODED; /* plain text */
|
result->uudet = PT_ENCODED; /* plain text */
|
||||||
result->sfname = _FP_strdup (fname);
|
result->sfname = _FP_strdup (fname);
|
||||||
@ -1791,7 +1791,7 @@ ScanPart (FILE *datei, char *fname, int *errcode)
|
|||||||
result->filename = _FP_strdup (line);
|
result->filename = _FP_strdup (line);
|
||||||
result->origin = _FP_strdup (sstate.envelope.from);
|
result->origin = _FP_strdup (sstate.envelope.from);
|
||||||
result->mimeid = _FP_strdup (sstate.envelope.mimeid);
|
result->mimeid = _FP_strdup (sstate.envelope.mimeid);
|
||||||
result->mimetype = _FP_strdup ("text/plain");
|
result->mimetype = _FP_strdup ((char *)"text/plain");
|
||||||
result->mode = 0644;
|
result->mode = 0644;
|
||||||
result->uudet = PT_ENCODED; /* plain text */
|
result->uudet = PT_ENCODED; /* plain text */
|
||||||
result->sfname = _FP_strdup (fname);
|
result->sfname = _FP_strdup (fname);
|
||||||
@ -1856,7 +1856,7 @@ ScanPart (FILE *datei, char *fname, int *errcode)
|
|||||||
/* check for begin and encoded data only at outermost level */
|
/* check for begin and encoded data only at outermost level */
|
||||||
if (mssdepth == 0 && !uu_more_mime) {
|
if (mssdepth == 0 && !uu_more_mime) {
|
||||||
if (strncmp (line, "begin ", 6) == 0 ||
|
if (strncmp (line, "begin ", 6) == 0 ||
|
||||||
_FP_strnicmp (line, "<pre>begin ", 11) == 0) {
|
_FP_strnicmp (line, (char *)"<pre>begin ", 11) == 0) {
|
||||||
preenc = prevpos;
|
preenc = prevpos;
|
||||||
begflag = 1;
|
begflag = 1;
|
||||||
}
|
}
|
||||||
@ -1960,7 +1960,7 @@ ScanPart (FILE *datei, char *fname, int *errcode)
|
|||||||
result->filename = _FP_strdup (line);
|
result->filename = _FP_strdup (line);
|
||||||
result->origin = _FP_strdup (sstate.envelope.from);
|
result->origin = _FP_strdup (sstate.envelope.from);
|
||||||
result->mimeid = _FP_strdup (sstate.envelope.mimeid);
|
result->mimeid = _FP_strdup (sstate.envelope.mimeid);
|
||||||
result->mimetype = _FP_strdup ("text/plain");
|
result->mimetype = _FP_strdup ((char *)"text/plain");
|
||||||
result->mode = 0644;
|
result->mode = 0644;
|
||||||
result->uudet = PT_ENCODED; /* plain text */
|
result->uudet = PT_ENCODED; /* plain text */
|
||||||
result->sfname = _FP_strdup (fname);
|
result->sfname = _FP_strdup (fname);
|
||||||
@ -2078,7 +2078,7 @@ ScanPart (FILE *datei, char *fname, int *errcode)
|
|||||||
fseek (datei, prevpos, SEEK_SET);
|
fseek (datei, prevpos, SEEK_SET);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_FP_stristr (localenv.ctype, "multipart") != NULL) {
|
if (_FP_stristr (localenv.ctype, (char *)"multipart") != NULL) {
|
||||||
/* oh no, not again */
|
/* oh no, not again */
|
||||||
if (mssdepth >= MSMAXDEPTH) {
|
if (mssdepth >= MSMAXDEPTH) {
|
||||||
/* Argh, what an isane message. Treat as plain text */
|
/* Argh, what an isane message. Treat as plain text */
|
||||||
@ -2120,23 +2120,23 @@ ScanPart (FILE *datei, char *fname, int *errcode)
|
|||||||
* would then be correctly typed as `text/plain'.
|
* would then be correctly typed as `text/plain'.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (_FP_stristr (localenv.ctenc, "base64") != NULL)
|
if (_FP_stristr (localenv.ctenc, (char *)"base64") != NULL)
|
||||||
result->uudet = B64ENCODED;
|
result->uudet = B64ENCODED;
|
||||||
else if (_FP_stristr (localenv.ctenc, "x-uue") != NULL) {
|
else if (_FP_stristr (localenv.ctenc, (char *)"x-uue") != NULL) {
|
||||||
result->uudet = UU_ENCODED;
|
result->uudet = UU_ENCODED;
|
||||||
result->begin = result->end = 1;
|
result->begin = result->end = 1;
|
||||||
}
|
}
|
||||||
else if (_FP_stristr (localenv.ctenc, "x-yenc") != NULL) {
|
else if (_FP_stristr (localenv.ctenc, (char *)"x-yenc") != NULL) {
|
||||||
result->uudet = YENC_ENCODED;
|
result->uudet = YENC_ENCODED;
|
||||||
result->begin = result->end = 1;
|
result->begin = result->end = 1;
|
||||||
}
|
}
|
||||||
else if (_FP_stristr (localenv.ctenc, "quoted-printable") != NULL)
|
else if (_FP_stristr (localenv.ctenc, (char *)"quoted-printable") != NULL)
|
||||||
result->uudet = QP_ENCODED;
|
result->uudet = QP_ENCODED;
|
||||||
else if (_FP_stristr (localenv.ctenc, "7bit") != NULL ||
|
else if (_FP_stristr (localenv.ctenc, (char *)"7bit") != NULL ||
|
||||||
_FP_stristr (localenv.ctenc, "8bit") != NULL)
|
_FP_stristr (localenv.ctenc, (char *)"8bit") != NULL)
|
||||||
result->uudet = PT_ENCODED;
|
result->uudet = PT_ENCODED;
|
||||||
else if (_FP_stristr (localenv.ctype, "multipart") != NULL ||
|
else if (_FP_stristr (localenv.ctype, (char *)"multipart") != NULL ||
|
||||||
_FP_stristr (localenv.ctype, "message") != NULL)
|
_FP_stristr (localenv.ctype, (char *)"message") != NULL)
|
||||||
result->uudet = PT_ENCODED;
|
result->uudet = PT_ENCODED;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -2176,9 +2176,9 @@ ScanPart (FILE *datei, char *fname, int *errcode)
|
|||||||
* Content-Type: multipart/... boundary="same-boundary"
|
* Content-Type: multipart/... boundary="same-boundary"
|
||||||
*/
|
*/
|
||||||
if (line[0] == 'C' && line[1] == 'o' &&
|
if (line[0] == 'C' && line[1] == 'o' &&
|
||||||
_FP_strnicmp (line, "Content-Type:", 13) == 0) {
|
_FP_strnicmp (line, (char *)"Content-Type:", 13) == 0) {
|
||||||
ptr1 = ScanHeaderLine (datei, line);
|
ptr1 = ScanHeaderLine (datei, line);
|
||||||
ptr2 = (ptr1)?_FP_stristr(ptr1,"boundary"):NULL;
|
ptr2 = (ptr1)?_FP_stristr(ptr1,(char *)"boundary"):NULL;
|
||||||
ptr1 = (ptr2)?ParseValue(ptr2):NULL;
|
ptr1 = (ptr2)?ParseValue(ptr2):NULL;
|
||||||
if (ptr1 && strcmp (ptr1, sstate.envelope.boundary) == 0)
|
if (ptr1 && strcmp (ptr1, sstate.envelope.boundary) == 0)
|
||||||
break;
|
break;
|
||||||
@ -2336,9 +2336,9 @@ ScanPart (FILE *datei, char *fname, int *errcode)
|
|||||||
strncmp (line+2, sstate.envelope.boundary, blen) == 0)
|
strncmp (line+2, sstate.envelope.boundary, blen) == 0)
|
||||||
break;
|
break;
|
||||||
if (line[0] == 'C' && line[1] == 'o' &&
|
if (line[0] == 'C' && line[1] == 'o' &&
|
||||||
_FP_strnicmp (line, "Content-Type:", 13) == 0) {
|
_FP_strnicmp (line, (char *)"Content-Type:", 13) == 0) {
|
||||||
ptr1 = ScanHeaderLine (datei, line);
|
ptr1 = ScanHeaderLine (datei, line);
|
||||||
ptr2 = (ptr1)?_FP_stristr(ptr1,"boundary"):NULL;
|
ptr2 = (ptr1)?_FP_stristr(ptr1,(char *)"boundary"):NULL;
|
||||||
ptr1 = (ptr2)?ParseValue(ptr2):NULL;
|
ptr1 = (ptr2)?ParseValue(ptr2):NULL;
|
||||||
if (ptr1 && strcmp (ptr1, sstate.envelope.boundary) == 0)
|
if (ptr1 && strcmp (ptr1, sstate.envelope.boundary) == 0)
|
||||||
break;
|
break;
|
||||||
@ -2419,7 +2419,7 @@ ScanPart (FILE *datei, char *fname, int *errcode)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
if (strcmp (localenv.mimevers, "1.0") == 0 &&
|
if (strcmp (localenv.mimevers, "1.0") == 0 &&
|
||||||
_FP_stristr (localenv.ctype, "text") != NULL &&
|
_FP_stristr (localenv.ctype, (char *)"text") != NULL &&
|
||||||
sstate.ismime && sstate.mimestate == MS_SUBPART &&
|
sstate.ismime && sstate.mimestate == MS_SUBPART &&
|
||||||
!uu_desperate) {
|
!uu_desperate) {
|
||||||
if (result->uudet == UU_ENCODED && !(result->begin || result->end)) {
|
if (result->uudet == UU_ENCODED && !(result->begin || result->end)) {
|
||||||
@ -2451,7 +2451,7 @@ ScanPart (FILE *datei, char *fname, int *errcode)
|
|||||||
}
|
}
|
||||||
if (result->mimetype) _FP_free (result->mimetype);
|
if (result->mimetype) _FP_free (result->mimetype);
|
||||||
if (result->uudet) {
|
if (result->uudet) {
|
||||||
if (_FP_stristr (localenv.ctype, "text") != NULL &&
|
if (_FP_stristr (localenv.ctype, (char *)"text") != NULL &&
|
||||||
result->uudet != QP_ENCODED && result->uudet != PT_ENCODED)
|
result->uudet != QP_ENCODED && result->uudet != PT_ENCODED)
|
||||||
result->mimetype = NULL; /* better don't set it */
|
result->mimetype = NULL; /* better don't set it */
|
||||||
else
|
else
|
||||||
@ -2496,8 +2496,8 @@ ScanPart (FILE *datei, char *fname, int *errcode)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
if (sstate.isfolder && sstate.ismime && sstate.mimestate == MS_BODY &&
|
if (sstate.isfolder && sstate.ismime && sstate.mimestate == MS_BODY &&
|
||||||
_FP_stristr (sstate.envelope.ctype, "message") != NULL &&
|
_FP_stristr (sstate.envelope.ctype, (char *)"message") != NULL &&
|
||||||
_FP_stristr (sstate.envelope.ctype, "partial") != NULL) {
|
_FP_stristr (sstate.envelope.ctype, (char *)"partial") != NULL) {
|
||||||
|
|
||||||
result->startpos = ftell (datei);
|
result->startpos = ftell (datei);
|
||||||
|
|
||||||
@ -2544,7 +2544,7 @@ ScanPart (FILE *datei, char *fname, int *errcode)
|
|||||||
* Examine local header. We're mostly interested in the Content-Type
|
* Examine local header. We're mostly interested in the Content-Type
|
||||||
* and the Content-Transfer-Encoding.
|
* and the Content-Transfer-Encoding.
|
||||||
*/
|
*/
|
||||||
if (_FP_stristr (localenv.ctype, "multipart") != NULL) {
|
if (_FP_stristr (localenv.ctype, (char *)"multipart") != NULL) {
|
||||||
UUMessage (uuscan_id, __LINE__, UUMSG_WARNING,
|
UUMessage (uuscan_id, __LINE__, UUMSG_WARNING,
|
||||||
uustring (S_MIME_PART_MULTI));
|
uustring (S_MIME_PART_MULTI));
|
||||||
}
|
}
|
||||||
@ -2561,25 +2561,25 @@ ScanPart (FILE *datei, char *fname, int *errcode)
|
|||||||
if (localenv.ctype)
|
if (localenv.ctype)
|
||||||
result->mimetype = _FP_strdup (localenv.ctype);
|
result->mimetype = _FP_strdup (localenv.ctype);
|
||||||
else
|
else
|
||||||
result->mimetype = _FP_strdup ("text/plain");
|
result->mimetype = _FP_strdup ((char *)"text/plain");
|
||||||
|
|
||||||
if (_FP_stristr (localenv.ctenc, "quoted-printable") != NULL)
|
if (_FP_stristr (localenv.ctenc, (char *)"quoted-printable") != NULL)
|
||||||
result->uudet = QP_ENCODED;
|
result->uudet = QP_ENCODED;
|
||||||
else if (_FP_stristr (localenv.ctenc, "base64") != NULL)
|
else if (_FP_stristr (localenv.ctenc, (char *)"base64") != NULL)
|
||||||
result->uudet = B64ENCODED;
|
result->uudet = B64ENCODED;
|
||||||
else if (_FP_stristr (localenv.ctenc, "x-uue") != NULL) {
|
else if (_FP_stristr (localenv.ctenc, (char *)"x-uue") != NULL) {
|
||||||
result->uudet = UU_ENCODED;
|
result->uudet = UU_ENCODED;
|
||||||
result->begin = result->end = 1;
|
result->begin = result->end = 1;
|
||||||
}
|
}
|
||||||
else if (_FP_stristr (localenv.ctenc, "x-yenc") != NULL) {
|
else if (_FP_stristr (localenv.ctenc, (char *)"x-yenc") != NULL) {
|
||||||
result->uudet = YENC_ENCODED;
|
result->uudet = YENC_ENCODED;
|
||||||
result->begin = result->end = 1;
|
result->begin = result->end = 1;
|
||||||
}
|
}
|
||||||
else if (_FP_stristr (localenv.ctenc, "7bit") != NULL ||
|
else if (_FP_stristr (localenv.ctenc, (char *)"7bit") != NULL ||
|
||||||
_FP_stristr (localenv.ctenc, "8bit") != NULL)
|
_FP_stristr (localenv.ctenc, (char *)"8bit") != NULL)
|
||||||
result->uudet = PT_ENCODED;
|
result->uudet = PT_ENCODED;
|
||||||
else if (_FP_stristr (localenv.ctype, "multipart") != NULL ||
|
else if (_FP_stristr (localenv.ctype, (char *)"multipart") != NULL ||
|
||||||
_FP_stristr (localenv.ctype, "message") != NULL)
|
_FP_stristr (localenv.ctype, (char *)"message") != NULL)
|
||||||
result->uudet = PT_ENCODED;
|
result->uudet = PT_ENCODED;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -2616,8 +2616,8 @@ ScanPart (FILE *datei, char *fname, int *errcode)
|
|||||||
hcount = lcount = 0;
|
hcount = lcount = 0;
|
||||||
prevpos = ftell (datei);
|
prevpos = ftell (datei);
|
||||||
|
|
||||||
if (_FP_stristr (localenv.ctype, "message") != NULL &&
|
if (_FP_stristr (localenv.ctype, (char *)"message") != NULL &&
|
||||||
_FP_stristr (localenv.ctype, "rfc822") != NULL) {
|
_FP_stristr (localenv.ctype, (char *)"rfc822") != NULL) {
|
||||||
/*
|
/*
|
||||||
* skip over empty lines and local header
|
* skip over empty lines and local header
|
||||||
*/
|
*/
|
||||||
@ -2791,11 +2791,11 @@ ScanPart (FILE *datei, char *fname, int *errcode)
|
|||||||
|
|
||||||
if (sstate.isfolder && sstate.ismime &&
|
if (sstate.isfolder && sstate.ismime &&
|
||||||
sstate.mimestate == MS_BODY &&
|
sstate.mimestate == MS_BODY &&
|
||||||
(_FP_stristr (sstate.envelope.ctenc, "quoted-printable") != NULL ||
|
(_FP_stristr (sstate.envelope.ctenc, (char *)"quoted-printable") != NULL ||
|
||||||
_FP_stristr (sstate.envelope.ctenc, "base64") != NULL ||
|
_FP_stristr (sstate.envelope.ctenc, (char *)"base64") != NULL ||
|
||||||
_FP_stristr (sstate.envelope.ctenc, "x-uue") != NULL ||
|
_FP_stristr (sstate.envelope.ctenc, (char *)"x-uue") != NULL ||
|
||||||
_FP_stristr (sstate.envelope.ctenc, "x-yenc") != NULL ||
|
_FP_stristr (sstate.envelope.ctenc, (char *)"x-yenc") != NULL ||
|
||||||
_FP_stristr (sstate.envelope.ctype, "message") != NULL ||
|
_FP_stristr (sstate.envelope.ctype, (char *)"message") != NULL ||
|
||||||
sstate.envelope.fname != NULL)) {
|
sstate.envelope.fname != NULL)) {
|
||||||
|
|
||||||
if (sstate.envelope.subject)
|
if (sstate.envelope.subject)
|
||||||
@ -2806,24 +2806,24 @@ ScanPart (FILE *datei, char *fname, int *errcode)
|
|||||||
if (sstate.envelope.ctype)
|
if (sstate.envelope.ctype)
|
||||||
result->mimetype = _FP_strdup (sstate.envelope.ctype);
|
result->mimetype = _FP_strdup (sstate.envelope.ctype);
|
||||||
else
|
else
|
||||||
result->mimetype = _FP_strdup ("text/plain");
|
result->mimetype = _FP_strdup ((char *)"text/plain");
|
||||||
|
|
||||||
if (_FP_stristr (sstate.envelope.ctenc, "quoted-printable") != NULL)
|
if (_FP_stristr (sstate.envelope.ctenc, (char *)"quoted-printable") != NULL)
|
||||||
result->uudet = QP_ENCODED;
|
result->uudet = QP_ENCODED;
|
||||||
else if (_FP_stristr (sstate.envelope.ctenc, "base64") != NULL)
|
else if (_FP_stristr (sstate.envelope.ctenc, (char *)"base64") != NULL)
|
||||||
result->uudet = B64ENCODED;
|
result->uudet = B64ENCODED;
|
||||||
else if (_FP_stristr (sstate.envelope.ctenc, "x-uue") != NULL) {
|
else if (_FP_stristr (sstate.envelope.ctenc, (char *)"x-uue") != NULL) {
|
||||||
result->uudet = UU_ENCODED;
|
result->uudet = UU_ENCODED;
|
||||||
result->begin = result->end = 1;
|
result->begin = result->end = 1;
|
||||||
}
|
}
|
||||||
else if (_FP_stristr (sstate.envelope.ctenc, "x-yenc") != NULL) {
|
else if (_FP_stristr (sstate.envelope.ctenc, (char *)"x-yenc") != NULL) {
|
||||||
result->uudet = YENC_ENCODED;
|
result->uudet = YENC_ENCODED;
|
||||||
}
|
}
|
||||||
else if (_FP_stristr (sstate.envelope.ctenc, "7bit") != NULL ||
|
else if (_FP_stristr (sstate.envelope.ctenc, (char *)"7bit") != NULL ||
|
||||||
_FP_stristr (sstate.envelope.ctenc, "8bit") != NULL)
|
_FP_stristr (sstate.envelope.ctenc, (char *)"8bit") != NULL)
|
||||||
result->uudet = PT_ENCODED;
|
result->uudet = PT_ENCODED;
|
||||||
else if (_FP_stristr (sstate.envelope.ctype, "multipart") != NULL ||
|
else if (_FP_stristr (sstate.envelope.ctype, (char *)"multipart") != NULL ||
|
||||||
_FP_stristr (sstate.envelope.ctype, "message") != NULL ||
|
_FP_stristr (sstate.envelope.ctype, (char *)"message") != NULL ||
|
||||||
sstate.envelope.fname != NULL)
|
sstate.envelope.fname != NULL)
|
||||||
result->uudet = PT_ENCODED;
|
result->uudet = PT_ENCODED;
|
||||||
|
|
||||||
@ -2852,8 +2852,8 @@ ScanPart (FILE *datei, char *fname, int *errcode)
|
|||||||
hcount = lcount = 0;
|
hcount = lcount = 0;
|
||||||
prevpos = ftell (datei);
|
prevpos = ftell (datei);
|
||||||
|
|
||||||
if (_FP_stristr (sstate.envelope.ctype, "message") != NULL &&
|
if (_FP_stristr (sstate.envelope.ctype, (char *)"message") != NULL &&
|
||||||
_FP_stristr (sstate.envelope.ctype, "rfc822") != NULL) {
|
_FP_stristr (sstate.envelope.ctype, (char *)"rfc822") != NULL) {
|
||||||
/*
|
/*
|
||||||
* skip over empty lines and local header
|
* skip over empty lines and local header
|
||||||
*/
|
*/
|
||||||
@ -3015,7 +3015,7 @@ ScanPart (FILE *datei, char *fname, int *errcode)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
if ((sstate.envelope.ctype == NULL ||
|
if ((sstate.envelope.ctype == NULL ||
|
||||||
_FP_stristr (sstate.envelope.ctype, "multipart") != NULL) &&
|
_FP_stristr (sstate.envelope.ctype, (char *)"multipart") != NULL) &&
|
||||||
!uu_more_mime) {
|
!uu_more_mime) {
|
||||||
prevpos = ftell (datei);
|
prevpos = ftell (datei);
|
||||||
while (!feof (datei)) {
|
while (!feof (datei)) {
|
||||||
@ -3029,10 +3029,10 @@ ScanPart (FILE *datei, char *fname, int *errcode)
|
|||||||
}
|
}
|
||||||
if (line[0] == '-' && line[1] == '-' &&
|
if (line[0] == '-' && line[1] == '-' &&
|
||||||
!IsLineEmpty (line+2) && !feof (datei)) {
|
!IsLineEmpty (line+2) && !feof (datei)) {
|
||||||
ptr1 = _FP_strrstr (line+2, "--");
|
ptr1 = _FP_strrstr (line+2, (char *)"--");
|
||||||
ptr2 = ScanHeaderLine (datei, NULL);
|
ptr2 = ScanHeaderLine (datei, NULL);
|
||||||
if ((ptr1 == NULL || (*(ptr1+2) != '\012' && *(ptr1+2) != '\015')) &&
|
if ((ptr1 == NULL || (*(ptr1+2) != '\012' && *(ptr1+2) != '\015')) &&
|
||||||
ptr2 && _FP_strnicmp (ptr2, "Content-", 8) == 0) {
|
ptr2 && _FP_strnicmp (ptr2, (char *)"Content-", 8) == 0) {
|
||||||
/*
|
/*
|
||||||
* hmm, okay, let's do it!
|
* hmm, okay, let's do it!
|
||||||
*/
|
*/
|
||||||
@ -3047,7 +3047,7 @@ ScanPart (FILE *datei, char *fname, int *errcode)
|
|||||||
ptr1++;
|
ptr1++;
|
||||||
*ptr1 = '\0';
|
*ptr1 = '\0';
|
||||||
|
|
||||||
sstate.envelope.mimevers = _FP_strdup ("1.0");
|
sstate.envelope.mimevers = _FP_strdup ((char *)"1.0");
|
||||||
sstate.envelope.boundary = _FP_strdup (line+2);
|
sstate.envelope.boundary = _FP_strdup (line+2);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
#include <uuint.h>
|
#include <uuint.h>
|
||||||
#include <uustring.h>
|
#include <uustring.h>
|
||||||
|
|
||||||
char * uustring_id = "$Id$";
|
char * uustring_id = (char *)"$Id$";
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int code;
|
int code;
|
||||||
@ -63,51 +63,51 @@ typedef struct {
|
|||||||
|
|
||||||
static stringmap messages[] = {
|
static stringmap messages[] = {
|
||||||
/* I/O related errors/messages. Last parameter is strerror() */
|
/* I/O related errors/messages. Last parameter is strerror() */
|
||||||
{ S_NOT_OPEN_SOURCE, "Could not open source file %s: %s" },
|
{ S_NOT_OPEN_SOURCE, (char *)"Could not open source file %s: %s" },
|
||||||
{ S_NOT_OPEN_TARGET, "Could not open target file %s for writing: %s" },
|
{ S_NOT_OPEN_TARGET, (char *)"Could not open target file %s for writing: %s" },
|
||||||
{ S_NOT_OPEN_FILE, "Could not open file %s: %s" },
|
{ S_NOT_OPEN_FILE, (char *)"Could not open file %s: %s" },
|
||||||
{ S_NOT_STAT_FILE, "Could not stat file %s: %s" },
|
{ S_NOT_STAT_FILE, (char *)"Could not stat file %s: %s" },
|
||||||
{ S_SOURCE_READ_ERR, "Read error on source file: %s" },
|
{ S_SOURCE_READ_ERR, (char *)"Read error on source file: %s" },
|
||||||
{ S_READ_ERROR, "Error reading from %s: %s" },
|
{ S_READ_ERROR, (char *)"Error reading from %s: %s" },
|
||||||
{ S_IO_ERR_TARGET, "I/O error on target file %s: %s" },
|
{ S_IO_ERR_TARGET, (char *)"I/O error on target file %s: %s" },
|
||||||
{ S_WR_ERR_TARGET, "Write error on target file %s: %s" },
|
{ S_WR_ERR_TARGET, (char *)"Write error on target file %s: %s" },
|
||||||
{ S_WR_ERR_TEMP, "Write error on temp file: %s" },
|
{ S_WR_ERR_TEMP, (char *)"Write error on temp file: %s" },
|
||||||
{ S_TMP_NOT_REMOVED, "Could not remove temp file %s: %s (ignored)" },
|
{ S_TMP_NOT_REMOVED, (char *)"Could not remove temp file %s: %s (ignored)" },
|
||||||
|
|
||||||
/* some other problems */
|
/* some other problems */
|
||||||
{ S_OUT_OF_MEMORY, "Out of memory allocating %d bytes" },
|
{ S_OUT_OF_MEMORY, (char *)"Out of memory allocating %d bytes" },
|
||||||
{ S_TARGET_EXISTS, "Target file %s exists and overwriting is not allowed" },
|
{ S_TARGET_EXISTS, (char *)"Target file %s exists and overwriting is not allowed" },
|
||||||
{ S_NOT_RENAME, "Could not change name of %s to %s" },
|
{ S_NOT_RENAME, (char *)"Could not change name of %s to %s" },
|
||||||
{ S_ERR_ENCODING, "Error while encoding %s: %s" },
|
{ S_ERR_ENCODING, (char *)"Error while encoding %s: %s" },
|
||||||
{ S_STAT_ONE_PART, "Could not stat input, encoding to one part only" },
|
{ S_STAT_ONE_PART, (char *)"Could not stat input, encoding to one part only" },
|
||||||
{ S_PARM_CHECK, "Parameter check failed in %s" },
|
{ S_PARM_CHECK, (char *)"Parameter check failed in %s" },
|
||||||
{ S_SHORT_BINHEX, "BinHex encoded file %s ended prematurely (%ld bytes left)" },
|
{ S_SHORT_BINHEX, (char *)"BinHex encoded file %s ended prematurely (%ld bytes left)" },
|
||||||
{ S_DECODE_CANCEL, "Decode operation canceled" },
|
{ S_DECODE_CANCEL, (char *)"Decode operation canceled" },
|
||||||
{ S_ENCODE_CANCEL, "Encode operation canceled" },
|
{ S_ENCODE_CANCEL, (char *)"Encode operation canceled" },
|
||||||
{ S_SCAN_CANCEL, "Scanning canceled" },
|
{ S_SCAN_CANCEL, (char *)"Scanning canceled" },
|
||||||
{ S_SIZE_MISMATCH, "%s: Decoded size (%ld) does not match expected size (%ld)" },
|
{ S_SIZE_MISMATCH, (char *)"%s: Decoded size (%ld) does not match expected size (%ld)" },
|
||||||
{ S_PSIZE_MISMATCH, "%s part %d: Decoded size (%ld) does not match expected size (%ld)" },
|
{ S_PSIZE_MISMATCH, (char *)"%s part %d: Decoded size (%ld) does not match expected size (%ld)" },
|
||||||
{ S_CRC_MISMATCH, "CRC32 mismatch in %s. Decoded file probably corrupt." },
|
{ S_CRC_MISMATCH, (char *)"CRC32 mismatch in %s. Decoded file probably corrupt." },
|
||||||
{ S_PCRC_MISMATCH, "PCRC32 mismatch in %s part %d. Decoded file probably corrupt." },
|
{ S_PCRC_MISMATCH, (char *)"PCRC32 mismatch in %s part %d. Decoded file probably corrupt." },
|
||||||
|
|
||||||
/* informational messages */
|
/* informational messages */
|
||||||
{ S_LOADED_PART, "Loaded from %s: '%s' (%s): %s part %d %s %s %s" },
|
{ S_LOADED_PART, (char *)"Loaded from %s: '%s' (%s): %s part %d %s %s %s" },
|
||||||
{ S_NO_DATA_FOUND, "No encoded data found in %s" },
|
{ S_NO_DATA_FOUND, (char *)"No encoded data found in %s" },
|
||||||
{ S_NO_BIN_FILE, "Oops, could not find decoded file?" },
|
{ S_NO_BIN_FILE, (char *)"Oops, could not find decoded file?" },
|
||||||
{ S_STRIPPED_SETUID, "Stripped setuid/setgid bits from target file %s mode %d" },
|
{ S_STRIPPED_SETUID, (char *)"Stripped setuid/setgid bits from target file %s mode %d" },
|
||||||
{ S_DATA_SUSPICIOUS, "Data looks suspicious. Decoded file might be corrupt." },
|
{ S_DATA_SUSPICIOUS, (char *)"Data looks suspicious. Decoded file might be corrupt." },
|
||||||
{ S_NO_TEMP_NAME, "Could not get name for temporary file" },
|
{ S_NO_TEMP_NAME, (char *)"Could not get name for temporary file" },
|
||||||
{ S_BINHEX_SIZES, "BinHex file: data/resource fork sizes %ld/%ld" },
|
{ S_BINHEX_SIZES, (char *)"BinHex file: data/resource fork sizes %ld/%ld" },
|
||||||
{ S_BINHEX_BOTH, "BinHex file: both forks non-empty, decoding data fork" },
|
{ S_BINHEX_BOTH, (char *)"BinHex file: both forks non-empty, decoding data fork" },
|
||||||
{ S_SMERGE_MERGED, "Parts of '%s' merged with parts of '%s' (%d)" },
|
{ S_SMERGE_MERGED, (char *)"Parts of '%s' merged with parts of '%s' (%d)" },
|
||||||
|
|
||||||
/* MIME-related messages */
|
/* MIME-related messages */
|
||||||
{ S_MIME_NO_BOUNDARY, "Multipart message without boundary ignored" },
|
{ S_MIME_NO_BOUNDARY, (char *)"Multipart message without boundary ignored" },
|
||||||
{ S_MIME_B_NOT_FOUND, "Boundary expected on Multipart message but found EOF" },
|
{ S_MIME_B_NOT_FOUND, (char *)"Boundary expected on Multipart message but found EOF" },
|
||||||
{ S_MIME_MULTI_DEPTH, "Multipart message nested too deep" },
|
{ S_MIME_MULTI_DEPTH, (char *)"Multipart message nested too deep" },
|
||||||
{ S_MIME_PART_MULTI, "Handling partial multipart message as plain text" },
|
{ S_MIME_PART_MULTI, (char *)"Handling partial multipart message as plain text" },
|
||||||
|
|
||||||
{ 0, "" }
|
{ 0, (char *)"" }
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -115,16 +115,16 @@ static stringmap messages[] = {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
char *uuretcodes[] = {
|
char *uuretcodes[] = {
|
||||||
"OK",
|
(char *)"OK",
|
||||||
"File I/O Error",
|
(char *)"File I/O Error",
|
||||||
"Not Enough Memory",
|
(char *)"Not Enough Memory",
|
||||||
"Illegal Value",
|
(char *)"Illegal Value",
|
||||||
"No Data found",
|
(char *)"No Data found",
|
||||||
"Unexpected End of File",
|
(char *)"Unexpected End of File",
|
||||||
"Unsupported function",
|
(char *)"Unsupported function",
|
||||||
"File exists",
|
(char *)"File exists",
|
||||||
"Continue -- no error", /* only to be seen internally */
|
(char *)"Continue -- no error", /* only to be seen internally */
|
||||||
"Operation Canceled"
|
(char *)"Operation Canceled"
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -132,7 +132,7 @@ char *uuretcodes[] = {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
char *codenames[8] = {
|
char *codenames[8] = {
|
||||||
"", "UUdata", "Base64", "XXdata", "Binhex", "Text", "Text", "yEnc"
|
(char *)"", (char *)"UUdata", (char *)"Base64", (char *)"XXdata", (char *)"Binhex", (char *)"Text", (char *)"Text", (char *)"yEnc"
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -140,7 +140,7 @@ char *codenames[8] = {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
char *msgnames[6] = {
|
char *msgnames[6] = {
|
||||||
"", "Note: ", "Warning: ", "ERROR: ", "FATAL ERROR: ", "PANIC: "
|
(char *)"", (char *)"Note: ", (char *)"Warning: ", (char *)"ERROR: ", (char *)"FATAL ERROR: ", (char *)"PANIC: "
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -151,7 +151,7 @@ char *msgnames[6] = {
|
|||||||
char *
|
char *
|
||||||
uustring (int codeno)
|
uustring (int codeno)
|
||||||
{
|
{
|
||||||
static char * faileddef = "oops";
|
static char * faileddef = (char *)"oops";
|
||||||
stringmap *ptr = messages;
|
stringmap *ptr = messages;
|
||||||
|
|
||||||
while (ptr->code) {
|
while (ptr->code) {
|
||||||
@ -161,7 +161,7 @@ uustring (int codeno)
|
|||||||
}
|
}
|
||||||
|
|
||||||
UUMessage (uustring_id, __LINE__, UUMSG_ERROR,
|
UUMessage (uustring_id, __LINE__, UUMSG_ERROR,
|
||||||
"Could not retrieve string no %d",
|
(char *)"Could not retrieve string no %d",
|
||||||
codeno);
|
codeno);
|
||||||
|
|
||||||
return faileddef;
|
return faileddef;
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
#include <fptools.h>
|
#include <fptools.h>
|
||||||
#include <uustring.h>
|
#include <uustring.h>
|
||||||
|
|
||||||
char * uuutil_id = "$Id$";
|
char * uuutil_id = (char *)"$Id$";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Parts with different known extensions will not be merged by SPMS.
|
* Parts with different known extensions will not be merged by SPMS.
|
||||||
@ -64,10 +64,10 @@ char * uuutil_id = "$Id$";
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
static char *knownexts[] = {
|
static char *knownexts[] = {
|
||||||
"mpg", "@mpeg", "avi", "mov",
|
(char *)"mpg", (char *)"@mpeg", (char *)"avi", (char *)"mov",
|
||||||
"gif", "jpg", "@jpeg", "tif",
|
(char *)"gif", (char *)"jpg", (char *)"@jpeg", (char *)"tif",
|
||||||
"voc", "wav", "@wave", "au",
|
(char *)"voc", (char *)"wav", (char *)"@wave", (char *)"au",
|
||||||
"zip", "arj", "tar",
|
(char *)"zip", (char *)"arj", (char *)"tar",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -978,7 +978,7 @@ static void read_nodelists()
|
|||||||
if (fidouser)
|
if (fidouser)
|
||||||
{
|
{
|
||||||
char buf[256];
|
char buf[256];
|
||||||
fido.Printf("%-36.36s%24.24s\n", curr->name, make_addr_str(buf, &curr->addr, ""));
|
fido.Printf("%-36.36s%24.24s\n", curr->name, make_addr_str(buf, &curr->addr, (char *)""));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1441,7 +1441,7 @@ static bool FindCfg(char* path) {
|
|||||||
found = ExistCfg(path, "gedw32.cfg");
|
found = ExistCfg(path, "gedw32.cfg");
|
||||||
#endif
|
#endif
|
||||||
if(not found)
|
if(not found)
|
||||||
found = ExistCfg(path, "golded.cfg");
|
found = ExistCfg(path, (char *)"golded.cfg");
|
||||||
return found;
|
return found;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user