Nathan Bryant [Tue, 12 Mar 2002 22:47:17 +0000 (22:47 +0000)]
curses fix: map our normal color pairs into the 0-7 range instead of 1-8,
in order to make our pairs fit on terminals such as dtterm where COLOR_PAIRS=8.
map the white/blue color pair onto 8 instead of 9, but only if that slot
is available; fall back on white/black otherwise.
it seems there may be an off-by-one error in the color pair manpages for
the various curses packages (?) if not, our 0 entry is unusable, but that's
the DIM_BLACK color and we don't use it anyway.
Nathan Bryant [Tue, 12 Mar 2002 04:30:53 +0000 (04:30 +0000)]
if a filesystem node exists at /var/run/egd-pool, try to connect to it as
the EGD (Entropy Gathering Daemon) or PRNGD (pseudorandom number
generator daemon) socket and seed OpenSSL's RNG.
this is necessary on solaris and other systems which lack /dev/urandom.
Nathan Bryant [Mon, 11 Mar 2002 06:00:21 +0000 (06:00 +0000)]
use <db.h> before <db3/db.h> or <db4/db.h>
this is the only way i can think of to make it work everywhere; people on
systems like FreeBSD where the ports work the other way around will have to
specify an extra -I flag in their CPPFLAGS variable.
Stu Mark [Sun, 17 Feb 2002 21:17:33 +0000 (21:17 +0000)]
undid some of the changes I made for the curses part of the input
routines, because apparently I broke it. I would spin on the login
name. So I put most of it back the way it was, now it works.
Sorry about that IO.
No amount of my poking around seems to make ChangeLog work, maybe it's
my version of CVS.
Stu Mark [Fri, 15 Feb 2002 17:26:11 +0000 (17:26 +0000)]
I *DID* make changelog comments. I removed the blankj
line at the end of the file and committed, and left a really
long commentary. I always do.
Anyway, I fixed the lagging key problem, unfortunately, I can't
explain why it works, so I expect some larger vaguely sinister problem
is going on and my fix hacks a solution without fixing the problem.
Stu Mark [Fri, 15 Feb 2002 00:48:24 +0000 (00:48 +0000)]
I made some changes that I hope will help the lagging input problem
but since I can't actually make it happen here, you'll have to
try it out to see if it helps. If it doesn't actually help, its
should at least be closer to the way to go. I had to jimmy
some stuff around (made do_keepalive not static) and one or two
other things. TRY THIS OUT BEFORE INSTALLING IT MAKE SURE IT DOESN'T
KILL THE WHOLE THING.
Art Cancro [Tue, 12 Feb 2002 20:15:25 +0000 (20:15 +0000)]
* Threw in a few more #ifdef's so the client build doesn't barf on
non-curses systems
* Added rc_prompt_control (<N>ext/<S>top active at paginator: on/off/user)
Nathan Bryant [Sun, 10 Feb 2002 22:36:41 +0000 (22:36 +0000)]
- replace cdb_trunc with a complete version of the code i had been
working on; fallback code for db < 3.3.x needed
- change 'can't connect to host.port' to 'can't connect to host:port'
Art Cancro [Fri, 8 Feb 2002 22:36:24 +0000 (22:36 +0000)]
* Changed the logic for printing RFC822 addresses (again)
* Implemented cdb_trunc() in database_sleepycat.c, using db_truncate()
(We need to either provide an alternative implementation or require DB >=3.3)
* Automatically Re: subject line in the client where appropriate
Art Cancro [Thu, 7 Feb 2002 04:42:49 +0000 (04:42 +0000)]
* Silently refuse to add directory entries for Internet addresses already
belonging to other users.
* cdb_trunc() for CtdlDirectoryInit: implemented for GDBM, stubbed for DB
Brian [Tue, 5 Feb 2002 02:36:31 +0000 (02:36 +0000)]
* ACK! Mental note: Copying and pasting in vi is _not_ foolproof. This nasty, and totally needless,
bug has been squashed after it reared its head completely accidentally in Infusion.
Art Cancro [Fri, 1 Feb 2002 05:11:26 +0000 (05:11 +0000)]
* Added a QDIR protocol command to do quick-and-dirty queries of the directory
* In the client, check the directory for conflicts when selecting email addr.
Art Cancro [Wed, 30 Jan 2002 19:03:42 +0000 (19:03 +0000)]
* Added a new DeleteFunctionHook type of thing. These get called when a
message is being deleted from a room.
* When deleting messages from a room, do the AdjRefCount() calls (and now,
the PerformDeleteHooks() calls) in a second pass. This keeps that stuff
outside of the S_QUICKROOM critical section.
Michael Hampton [Sat, 26 Jan 2002 09:23:40 +0000 (09:23 +0000)]
* setup now has a silent running mode (-q option) where it silently sets
defaults for everything. This is intended for use in scripts such as
the RPM packages, eliminating a step from the installation process.
Art Cancro [Fri, 25 Jan 2002 05:19:03 +0000 (05:19 +0000)]
* Greatly simplified the logic for validating recipient addresses for incoming
SMTP. This logic destroys the whitespace mangling for local names; I will
fix this tomorrow.