Nathan Bryant [Tue, 26 Mar 2002 05:58:35 +0000 (05:58 +0000)]
don't check for a database driver until after the openssl check is
complete. if the ld paths aren't set up for the db installation this
can interfere with the openssl check because it tries to run a program
linked against the libraries we've been finding.
Nathan Bryant [Tue, 26 Mar 2002 04:38:32 +0000 (04:38 +0000)]
* support autoconf 2.53
* make a note that people should be using libtool 1.4d
* cut some of the more pointless bells and whistles out of the configure
script in an effort to make it more maintainable
* modularized ipc_c_tcp.c and client_crypto.o so that they're not tied
to the curses stuff.
* timezone/daylight and other FreeBSD fixes
* more effort in the configure script to detect the common
bastardizations (ahem, ports) of Berkeley DB without falling down
Nathan Bryant [Mon, 25 Mar 2002 00:01:51 +0000 (00:01 +0000)]
* compatibility with Berkeley DB < 3.3
* squished symbol clashes with the OK symbol from curses in certain *n[iu]x
distributions. this is kind of a pain in the ass, but I had to rename our
OK to CIT_OK :-(
Nathan Bryant [Wed, 13 Mar 2002 03:34:38 +0000 (03:34 +0000)]
/* when running in curses mode, the scroll bar in most
xterm-style programs becomes useless, so it makes sense to
pause after a screenful of pages if the user has been idle
for a while. However, this is annoying to some of the users
who aren't in curses mode and tend to leave their clients
idle. keepalives become disabled, resulting in getting booted
when coming back to the idle session. but they probably have
a working scrollback in their terminal, so disable it in this
case:
*/
if (!is_curses_enabled())
lines_printed = 0;
Nathan Bryant [Tue, 12 Mar 2002 23:34:38 +0000 (23:34 +0000)]
use ncurses in preference to curses if it's installed; it handles
background colors properly on dtterm, has a larger color pair palette,
and has a bigger terminal database than solaris curses
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