summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2009-08-22Kristaps@ significantly overhauled libman.Ingo Schwarze
I'm committing this in one large chunk because in contrast to -mdoc, -man is mostly untested in OpenBSD anyway, so any fallout can be fixed in-tree. Among others, improved support for .IP, .HP, and .TP. Now in sync with release 1.9.0.
2009-08-22sync to 1.9.0: improve documentation of parsed and callable macros;Ingo Schwarze
the diff is large because kristaps@ reindented macro calls
2009-08-22sync to 1.9.0: polishing the core code of mdoc macro handlingIngo Schwarze
1) If a macro is not parsed, do not parse it. Of course, without parsing it, we cannot produce "macro-like parameter" warnings, but these were useless anyway. 2) If a macro is not callable, do not print a useless warning when it occurs as a parameter, just display the raw characters. 3) Below .Bl -column, check whether macros are callable. 4) Like groff, allow whitespace after the initial dot on macro lines.
2009-08-22sync to 1.9.0: like in groff, do not assert vspace between two .Sh macrosIngo Schwarze
in case the first one has no body
2009-08-22sync to 1.9.0: move indentation size into *term.c files,Ingo Schwarze
improving -man indentation
2009-08-22now in sync with 1.8.5 (except for %T underline)Ingo Schwarze
2009-08-22sync to 1.8.5: Error string is now file:line:col: message.Ingo Schwarze
Fixed column reporting (off by one). Use fprintf instead of warnx for parse errors (like cc).
2009-08-22sync to 1.8.5: partial rewrite of the handling of escape sequences:Ingo Schwarze
distinguish special characters and predefined strings, and add and fix several escape sequences
2009-08-22sync to 1.8.5: better explanation of the format of special characters,Ingo Schwarze
and list additional character
2009-08-22sync to 1.8.5: clean up sections describing escape sequencesIngo Schwarze
2009-08-22sync to 1.8.5: add "vim -q" tip (from uqs at spoerlein dot net)Ingo Schwarze
2009-08-22sync to 1.8.5: note that \~ does not work;Ingo Schwarze
noticed by <uqs at spoerlein dot net>
2009-08-22now in sync with 1.8.4Ingo Schwarze
except for the %T underline diff which is still pending (me slacking)
2009-08-22sync to 1.8.4: The .St -p1003.1* macros produce "POSIX" instead of "POSIX.1";Ingo Schwarze
agreed with jmc@ to leave this for now (because it agrees with our in-tree groff) and adapt it to new groff conventions after the main switch
2009-08-22sync to 1.8.4: LLVM findings from <uqs at spoerlein dot net>Ingo Schwarze
2009-08-22sync to 1.8.4: do not error out in case of out-of-order prologue macrosIngo Schwarze
2009-08-22sync to 1.8.4: recognize the \c escape (only used in -man)Ingo Schwarze
2009-08-22sync to 1.8.4: support .sp in -manIngo Schwarze
2009-08-22sync to 1.8.4: add option -fign-errors to check several manual pagesIngo Schwarze
without stopping at errors
2009-08-21tweak previous;Jason McIntyre
2009-08-21make aucat(1) expose a MIDI device to control server behaviour inAlexandre Ratchov
realtime. For now only the playback volume of individual streams can be changed/monitored. To each stream is assigned a MIDI channel; the volume is changed/monitored using the standard controller number 7.
2009-08-21Emulate dch/dch1 if missing by redrawing the entire line.Nicholas Marriott
2009-08-21Move reading termios settings to before tty_open alters them, and expand theNicholas Marriott
comment.
2009-08-21Ugh, committed the wrong version of this change and got both solutions ratherNicholas Marriott
than just the second. Remove unused assignment.
2009-08-21When moving up or down in copy mode, save the cursor position and size of theNicholas Marriott
last line with content (width != 0) and use it to determine if the cursor should be at the end of the line. Fixes problem of the cursor always jumping to the end of the line when scrolling past a blank line.
2009-08-21Fix grid_expand_line so it actually works when the required size is bigger thanNicholas Marriott
2 * the current size.
2009-08-20subsystem_flag is defined in ssh.c so it's extern; ok djmDarren Tucker
2009-08-20A few trivial optimisations: no need to check for zero size if callingNicholas Marriott
buffer_ensure in buffer.c; expand grid lines by a greater increase than one each time; and don't read UTF-8 data unless it actually needs to be checked when overwriting a cell.
2009-08-20Nuke unused variable.Nicholas Marriott
2009-08-19don't try to process -o arguments using the input file list, fixesAlexandre Ratchov
midicat crashing sometimes when -o is used
2009-08-19Handle the device attributes (DA) escape sequence.Nicholas Marriott
2009-08-19tweak previous;Jason McIntyre
2009-08-19Don't read beyond the edge of the screen when searching (dies with debugNicholas Marriott
enabled).
2009-08-19Use cfsetispeed/cfsetospeed to set termios speed members.Nicholas Marriott
2009-08-19Extend command-prompt with a -p option which is a comma-separated list of oneNicholas Marriott
or more prompts to present in order. The responses to the prompt are replaced in the template string: %% are replaced in order, so the first prompt replaces the first %%, the second replaces the second, and so on. In addition, %1 up to %9 are replaced with the responses to the first the ninth prompts The default template is "%1" so the response to the first prompt is processed as a command. Note that this changes the behaviour for %% so if there is only one prompt, only the first %% will be replaced. Templates such as "neww -n '%%' 'ssh %%'" should be changed to "neww -n '%1' 'ssh %1'". From Tiago Cunha.
2009-08-19organize midi code like audio code, no functional changeAlexandre Ratchov
2009-08-19ether -> either;Jason McIntyre
2009-08-18Instead of just checking for an empty buffer, which may not be the case ifNicholas Marriott
there is unconsumed data, save the previous size and use it instead. This means that activity monitoring should work in this (unlikely) event. Also remove a debugging statement that no longer seems necessary.
2009-08-18Whoops, getting the comparison the right way round is usually recommended.Nicholas Marriott
2009-08-18Move another expensive options test to after a cheaper timer check/update.Nicholas Marriott
2009-08-18fix "get" command usage, spotted by jmc@Damien Miller
2009-08-18options_get_number() is relatively expensive and a check for dead panes happensNicholas Marriott
a lot more often than actually finding one, so instead of getting the option for every check, get it for every dead window found.
2009-08-18recursive transfer support for get/put and on the commandlineDamien Miller
work mostly by carlosvsilvapt@gmail.com for the Google Summer of Code with some tweaks by me; "go for it" deraadt@
2009-08-18Now that pane targets (-t) are supported, switch some commands to use themNicholas Marriott
where it makes sense: clock-mode, copy-mode, scroll-mode, send-keys, send-prefix.
2009-08-18Tag a few missed printf-like functions and fix a missing "%s".Nicholas Marriott
2009-08-18Pass show-buffer output through vis(3) as well, and wrap it to the edge of theNicholas Marriott
terminal when used from the command line.
2009-08-18Change list-buffers to run the preview of the buffer through vis(1).Nicholas Marriott
2009-08-18Use the full screen width when printing output rather than one less.Nicholas Marriott
2009-08-18Nuke unnecessary assignment.Nicholas Marriott
2009-08-18Add a "delete line" key when editing in the status line or the search up/downNicholas Marriott
prompt. C-u with emacs keys, d with vi.