- Jan 16, 2009
-
-
rswindell authored
ansi_restore() in place of dumb macros that don't check the current terminal support.
-
rswindell authored
comment regarding better validation of ANSI cursor position report response.
-
rswindell authored
expecting an ANSI cursor position report and we will use this value to determine the user's screen dimensions (currently, lines only).
-
rswindell authored
-
- Jan 15, 2009
- Jan 14, 2009
-
-
rswindell authored
-
rswindell authored
server now automatically includes the mail proc name in the log() output). Outbound listserver messages now have the SMTP reverse-path (translated to Return-Path header) set to the list server's address (so bounces will go there instead of to the author of the original message). The outbound messages now have an agent-type of "PROCESS" which will be used to allow this script to process bounce messages in the near future (and remove invalid e-mail addresses from the subscription list).
-
rswindell authored
- Fixed line counter/return value of sockmimetext() - did not count last line if not \n terminated. - If a POP3 "TOP" command is used to request more lines than there are bytes in message body, just send all lines and don't log an error. - JS mailproc error reporting and log() method now includes the mail-proc name and the "SMTP" log prefix. "JavaScript:" is no longer included as part of the log() output since that is implied by the mailproc name. - js_mailproc() now reuses the same runtime, context, and global object to speed up the initialization/execution of multiple JS mailprocs per message. - Beginning support for messages to be bounced back to mailprocs (e.g. ListServer), specifically by ignoring bounces of SMTP sys messages (instead of all non-person agent types). More work in bounce() is needed.
-
deuce authored
super-wonderfull srandomdev() where available. Where we can't, try to use /dev/urandom if possible... If that fails, start making stuff up... At some point, the Win32 build should use CryptGenRandom() which is slightly better on Windows NT/2K/XP and vastly better on Vista... not present on 9x apparently though.
-
deuce authored
HAS_DEV_URANDOM and URANDOM_DEV based on that
-
deuce authored
-
deuce authored
-
rswindell authored
-
deuce authored
as well. This fixes a bug where /dev/urandom is not a character special file (on FreeBSD it's a symlink) and there is a random() function available. In this case, the same sequence of random numbers was used for each process (most noticable with jsexec).
-
- Jan 13, 2009
-
-
deuce authored
pause if necessary is expected to be handled by the caller.
-
deuce authored
if true. Call console.clear() in draw_main(true) so the screen is cleared rather than overwritten. On some terminal programs (ie: SyncTERM) this forces the current screen into the scrollback rather than removing it.
-
deuce authored
1) When a log file does not exist, mark it as having been parsed rather than retrying next time. 2) Keep track of the oldest since date and do not parse after it
-
deuce authored
-
deuce authored
-
deuce authored
-
deuce authored
-
deuce authored
-
deuce authored
-
deuce authored
-
deuce authored
-
deuce authored
-
deuce authored
-
rswindell authored
-
deuce authored
-
deuce authored
-
deuce authored
Make the config command work... this should be added as an external, or a menu option.
-
deuce authored
-
deuce authored
-
deuce authored
X11.
-
rswindell authored
If a "Command" key value is included in .ini file, will be used in place of mail processor's name (section name in square brackets). If an "Eval" key value is included in .ini file (for non-native mail procs), the key value will be JS-evaluated instead of executing an external script. Fix: If a message is received for multiple local recipients and any of the names match a mailproc's 'to' list, that mail processor will be executed. These improvements and fixes allow a mailproc.ini entry like the following to work: [From Hosted Address] From = *@synchro.net,*@swindellfamily.com,*@weedpuller.com AccessRequirements=not user 1 Eval = log("Removing mail from " + reverse_path); file_remove(message_text_filename)
-
- Jan 12, 2009