summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2009-10-20UTF-8 combined character fixes.Nicholas Marriott
Thai can have treble combinations (1 x width=1 then 2 x width=0) so bump the UTF-8 cell data size to 9 and alter the code to allow this. Also break off the combining code into a separate function, handle any further combining beyond the buffer size by replacing the character with _s, and when redrawing the UTF-8 character don't assume the first part has just been printed, redraw the entire line.
2009-10-20Move the check for whether to force a line wrapper lower down into the tty codeNicholas Marriott
where it has access to the tty width, which is what should have been checked.
2009-10-20Nuke stray blank line.Nicholas Marriott
2009-10-20sync to 1.9.7: use .In instead of .Fd #includeIngo Schwarze
2009-10-20ex(1) and vi(1) are different editors. diff based on the originalIgor Sobrado
printed edition of the User's Reference Manual from USENIX and O'Reilly. 4.4BSD had exactly this, that is much more accurate than our current description (while here, Jason observed that both FreeBSD and NetBSD do the same). tweaked by jmc@ ok jmc@
2009-10-19sync to 1.9.7: consolidate some -man -Tascii functions,Ingo Schwarze
and use a static buffer for the footer
2009-10-19sync to 1.9.7: kristaps@ renamed part of the DECL_ARGS :-(Ingo Schwarze
intricately mixed with three minor .Bd fixes
2009-10-19sync to 1.9.7: the same function was declared in two different headers;Ingo Schwarze
spotted by Ulrich Spoerlein, uqs at spoerlein dot net
2009-10-19sync to 1.9.7: avoid using the same identifier for a static functionIngo Schwarze
and for a local variable in another function in the same compilation unit; suggested by Ulrich Spoerlein, uqs at spoerlein dot net
2009-10-19sync to 1.9.7: compatibility fix; from joerg at netbsd dot orgIngo Schwarze
2009-10-19sync to 1.9.7: typo; from Alan Bueno, alan dot bsd at gmail dot comIngo Schwarze
2009-10-19sync to 1.9.6: minor fixes:Ingo Schwarze
* avoid blank character before the closing ">" of .In * .Bt can not have children
2009-10-19sync to 1.9.6: multiple improvements to references (.Rs)Ingo Schwarze
* validate and order .Rs child nodes * underline book title (.%B) and issuer (.%I) * enclose title of article (.%T) in quotes * avoid calling mdoc_verr directly, use a proper error code instead
2009-10-19sync to 1.9.6: do not die from .Bd -literal -offset w/o arg (and similar)Ingo Schwarze
Actually, our ancient groff behaves slightly differently than this fix, but not to die is already an improvement. Needs a closer look later.
2009-10-19sync to 1.9.6: two newline fixes:Ingo Schwarze
* newline before .Rs only below SEE ALSO * newline after .Lb only below LIBRARY
2009-10-19Stop updating the screen when not in output mode, stops copy mode gettingNicholas Marriott
confused.
2009-10-19sync to 1.9.6: u_char lives in <sys/types.h>Ingo Schwarze
noticed by uqs at spoerlein dot net on FreeBSD, where <stdlib.h> does not include <sys/types.h>
2009-10-19sync to 1.9.6: here is the sync of special characters to new groffIngo Schwarze
as mentioned in the preceding manual commit (oops)
2009-10-19sync to 1.9.6: rework the documentation for special characters andIngo Schwarze
predefined strings, including the recent sync to new groff
2009-10-19sync to 1.9.6: fix segfault in .Bl -columnIngo Schwarze
2009-10-19sync to 1.9.5: partial rewrite of special character and predefined stringIngo Schwarze
tables and the supporting infrastructure, mostly in preparation for HTML output support
2009-10-18sync to 1.9.5: integrate closedelim() and opendelim() into term_word(),Ingo Schwarze
removing unnecessary extra functions
2009-10-17sort flags.Igor Sobrado
2009-10-17Add version number to aucat protocol. It's not used yet,Alexandre Ratchov
but later, it will permit aucat to reject connections from clients statically linked to a unsupported version of libsndio. idea from kittenis, otto and sthen
2009-10-17Always move the cursor position on !xenl terminals, since there is no invisibleNicholas Marriott
last cursor position. Also nuke an unused variable.
2009-10-17Don't print wide characters at screen width - 1. Matches uterm behaviour andNicholas Marriott
is probably a better idea anyway.
2009-10-17Instead of having a complicated check to see if the cursor is in the lastNicholas Marriott
position to avoid an explicit wrap, actually move it there. Some UTF-8 fixes to come.
2009-10-16When checking whether the region will scroll and the cursor position is thusNicholas Marriott
unsuitable for using CUD/CUU, check the current cursor position not the target position.
2009-10-16man page bits for mail; it was ok millert@Martynas Venckus
2009-10-16factor psummary code of ftp.c to be generic, for all types ofMartynas Venckus
transfers. makes output between all transfers consistent; handles SIGINFO for non-ftp transfers too; shows statistics at the end: 7303400 bytes received in 96.00 seconds (74.29 KB/s) tweak / ok halex@, sthen@.
2009-10-15ident(1) does not require arguments; while here, note that thisIgor Sobrado
program uses the standard input, not the standard output, when no filenames are provided. ok xsa@
2009-10-15sort flags.Igor Sobrado
2009-10-15arguments to -C, -c, -S and -s are optional.Igor Sobrado
ok jmc@
2009-10-15The pane pty name isn't useful for anything so show the pane number instead.Nicholas Marriott
2009-10-14cmd_find_client shouldn't die when there is an empty slot in the clientsNicholas Marriott
array. DOH.
2009-10-14sort flags.Igor Sobrado
2009-10-14Call err() instead of crashing if hid_start_parse() fails. Don'tPhilip Guenthe
leak FILEs or memory when parsing the conf fails. Don't segv on the first action when told to ignore unknown lines and there are lines to ignore. ok deraadt@ miod@
2009-10-14add a missing flag to usage; while here, slightly improve spacingIgor Sobrado
in source code (being consistent with the style used in the rest of this file) and write "usage:" using lower case letters only, as usual in the BSD operating systems. ok ratchov@
2009-10-14whitespace; from deraadt@Stuart Henderson
2009-10-14Support the -P option from gnu m4, which prefixes builtins with theStuart Henderson
string m4_. Feedback from jmc@, Tobias Ulmer, Matthew Dempsky - thanks! ok espie@
2009-10-14Don't allow cmd_lookup_client to test clients without a session.Nicholas Marriott
2009-10-13Move lines into the history when scrolling even if the scroll region is notNicholas Marriott
the entire screen. Allows ircII users to see history, prompted by naddy.
2009-10-13Handle DECCOLM by just emulating its side-effect of clearing the screen.Nicholas Marriott
2009-10-13Add mode keys to move the cursor to the top, middle and bottom of the screen.Nicholas Marriott
H/M/L in vi mode and M-R/M-r in emacs (bottom of screen not bound in emacs).
2009-10-13Do this in a better way - print messages when exiting with nonzero.Nicholas Marriott
Also remove the login shell information from server-info, only the client should care about it.
2009-10-13Don't print exit messages when used as a login shell, requested by martynas@ aNicholas Marriott
while back.
2009-10-13Don't try to use \n across scroll region when doing \r\n either.Nicholas Marriott
2009-10-13When a session is unattached, reset its activity timer to prevent it lockingNicholas Marriott
instantly when reattached.
2009-10-13Instead of using something sort of similar for both newline checks, useNicholas Marriott
something the same. Doesn't fix the bug I'm looking for though :-/.
2009-10-12source code can fit on a 80-column display, no binary change.Igor Sobrado