Nicholas Marriott
3c0500f282
Don't see a reason for sys/cdefs.h here; remove it.
2009-07-01 23:22:46 +00:00
Nicholas Marriott
9f0653386b
$Id$.
2009-07-01 23:06:32 +00:00
Nicholas Marriott
ec818b8791
Move defines after includes to avoid multiple definition.
2009-07-01 22:46:13 +00:00
Nicholas Marriott
81f06ba170
Typo: bsdpoll.h -> bsd-poll.h.
2009-07-01 22:43:48 +00:00
Nicholas Marriott
851a35eb5e
Change >| to rm/> as apparently Solaris /bin/sh doesn't like it.
2009-07-01 22:28:56 +00:00
Nicholas Marriott
8f2950f4ee
Try to make a bit more sense here.
2009-07-01 22:15:16 +00:00
Nicholas Marriott
e0a6376690
Comment FDEBUG and bump dist version.
2009-07-01 22:10:06 +00:00
Nicholas Marriott
1903756171
Changes for 0.9.
2009-07-01 22:08:33 +00:00
Nicholas Marriott
81010f52db
Update with new UTF-8 environment variable information for 0.9.
2009-07-01 19:49:56 +00:00
Nicholas Marriott
22d1b9412e
Using -l to specify a login shell is non-POSIX and causes problems with shells
...
that do not support it. Instead, set an empty default-command to invoke $SHELL
with - prefixed to argv[0], and make this the default setting.
2009-07-01 19:42:55 +00:00
Nicholas Marriott
d50810267e
This file is not going to be used as much any longer, make a note.
2009-07-01 19:33:53 +00:00
Nicholas Marriott
82b070ddfa
Update ready for 0.9
2009-07-01 19:33:11 +00:00
Nicholas Marriott
55f8219d3c
When unlocking the server, don't try to clear the prompt on clients without a
...
prompt (such as the one issuing the unlock request).
This caused the server to die if the wrong password was entered when unlocking
from the command line with -U (nasty).
2009-07-01 19:15:12 +00:00
Nicholas Marriott
35092835b0
Fix two errors with character/line insertion and deletion: the maximum number
...
of characters which may be inserted or deleted is the screen width, not one
less (and similarly for lines and height); and if characters or lines are
deleted by moving the ones that follow, the space at the end needs to be
cleared.
This appears to solve long-standing redraw issues most visible when using the
force-width option then scrolling in view(1) or unwrapping lines in emacs.
2009-07-01 19:14:33 +00:00
Nicholas Marriott
8fe3f1dcb2
$Id$.
2009-07-01 19:03:34 +00:00
Nicholas Marriott
4c5c125173
When unlocking the server, don't try to clear the prompt on clients without a
...
prompt (such as the one issuing the unlock request).
This caused the server to die if the wrong password was entered when unlocking
from the command line with -U (nasty).
2009-06-30 13:40:30 +00:00
Nicholas Marriott
eed4f7600d
Fix $Id$.
2009-06-29 22:04:51 +00:00
Nicholas Marriott
503c6a3377
Don't try to page up with scroll-mode -u or copy-mode -u unless the mode was
...
successfully changed - if already in a different mode, it would corrupt the
mode data.
2009-06-29 22:04:07 +00:00
Nicholas Marriott
18ebc99906
Use gmtime_r so the current time isn't overwritten, the minute comparison works
...
and the clock is actually updated. It was already used for lock-server but not
here.
2009-06-29 22:03:36 +00:00
Nicholas Marriott
edc2e7da98
Copy the 256-colour flag into the tty saved cell as well as the actual colour,
...
otherwise colour 8 isn't reset.
2009-06-29 22:03:09 +00:00
Nicholas Marriott
796b2e3ec9
Add missing spaces before some alias closing brackets, otherwise they are
...
shown in the wrong style.
2009-06-29 22:02:20 +00:00
Nicholas Marriott
68e06fb6b7
Fix two errors with character/line insertion and deletion: the maximum number
...
of characters which may be inserted or deleted is the screen width, not one
less (and similarly for lines and height); and if characters or lines are
deleted by moving the ones that follow, the space at the end needs to be
cleared.
This appears to solve long-standing redraw issues most visible when using the
force-width option then scrolling in view(1) or unwrapping lines in emacs.
2009-06-29 21:30:50 +00:00
Nicholas Marriott
003e8e65f7
Don't try to page up with scroll-mode -u or copy-mode -u unless the mode was
...
successfully changed - if already in a different mode, it would corrupt the
mode data.
2009-06-29 07:11:20 +00:00
Nicholas Marriott
710393e388
Use gmtime_r so the current time isn't overwritten, the minute comparison works
...
and the clock is actually updated. It was already used for lock-server but not
here.
2009-06-27 14:40:22 +00:00
Nicholas Marriott
2660692fb1
Copy the 256-colour flag into the tty saved cell as well as the actual colour,
...
otherwise colour 8 isn't reset properly.
2009-06-27 12:57:14 +00:00
Nicholas Marriott
916669a244
Add missing spaces before some alias closing brackets, otherwise they are
...
shown in the wrong style.
2009-06-26 22:47:06 +00:00
Nicholas Marriott
1fb3948ff1
Whoops, revert.
2009-06-26 22:18:36 +00:00
Nicholas Marriott
1496aa5dbc
Remove some unused function declarations; no binary change.
2009-06-26 22:18:03 +00:00
Nicholas Marriott
6ce734cec0
After logging (if enabled) is switched to file, there is no reason to keep
...
stdin/stdout/stderr active, so dup them to /dev/null.
2009-06-26 22:13:57 +00:00
Nicholas Marriott
46f80d01ff
After logging (if enabled) is switched to file, there is no reason to keep
...
stdin/stdout/stderr active, so dup them to /dev/null.
2009-06-26 22:12:19 +00:00
Nicholas Marriott
b11b1dd1c0
Remove some unused function declarations; no binary change.
2009-06-26 19:44:36 +00:00
Nicholas Marriott
826add53f1
Set LC_ALL=C to stop i18n breaking gcc test.
2009-06-26 16:01:12 +00:00
Nicholas Marriott
1aaf47e698
Apparently NetBSD's tcgetpgrp is good enough to use, so don't need to play
...
complicated games, from Roy Marples.
2009-06-26 15:54:52 +00:00
Nicholas Marriott
de2ea2d178
Status line fixes: don't truncate status-right now the length calculation is
...
done for UTF-8, limit to the maximum length correctly when printing, and always
print a space even if the left string is longer than the width available.
2009-06-26 15:34:12 +00:00
no_author
3fcbe1e27b
Remove some dead assignments, found by sthen with clang.
2009-06-26 15:32:00 +00:00
Nicholas Marriott
81b4aca934
#ifndef nitems.
2009-06-26 15:31:15 +00:00
Nicholas Marriott
1ec736a3dc
Status line fixes: don't truncate status-right now the length calculation is
...
done for UTF-8, limit to the maximum length correctly when printing, and always
print a space even if the left string is longer than the width available.
2009-06-26 15:13:39 +00:00
Nicholas Marriott
c506e7f711
Also #ifndef nitems here, caught by Thomas Jeunet.
2009-06-26 10:55:37 +00:00
Nicholas Marriott
eb8ab96980
Remove some dead assignments, found by sthen with clang.
2009-06-25 22:09:20 +00:00
Nicholas Marriott
e225ce0fd7
#ifndef nitems to avoid redefining it if it is already in a header.
2009-06-25 22:08:15 +00:00
Nicholas Marriott
63753735ec
Update TODO.
2009-06-25 21:25:36 +00:00
Nicholas Marriott
32312e0252
vis compat stuff.
2009-06-25 20:27:32 +00:00
Nicholas Marriott
802e129fd7
Start of portability update: bitstring.h.
2009-06-25 17:02:59 +00:00
Nicholas Marriott
f1463ff3c1
Lose -V.
2009-06-25 16:56:08 +00:00
Nicholas Marriott
0af7fa08d2
Skip 8 line diffs ($Id$ change only).
2009-06-25 16:54:21 +00:00
Nicholas Marriott
20002ec6cd
Comparison script.
2009-06-25 16:49:22 +00:00
Nicholas Marriott
8fc34ca044
libgen.h.
2009-06-25 16:49:02 +00:00
Nicholas Marriott
a9e3d5c56a
More diff-to-OpenBSD reduction. Move a lot of compat stuff into compat.h.
2009-06-25 16:47:00 +00:00
Nicholas Marriott
bb459beb03
Whitespace and more syncing.
2009-06-25 16:34:50 +00:00
Nicholas Marriott
8df98d1f5b
Don't need linker magic anymore.
2009-06-25 16:25:55 +00:00