summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2010-06-06Merge bsd.lv version 1.10.1 (to be released soon).Ingo Schwarze
The main step forward is that this now has *much* better .Bl -column support, now supporting many manuals that previously errored out without producing any output. Other fixes include: * do not die from multiple list types, use the first and warn * in .Bl without a type, default to -item * various tweaks to .Dt * fix .In, .Fd, .Ft, .Fn and .Fo formatting * some documentation fixes and additions * and fix a couple of bugs reported by Ulrich Spoerlein: * better support for roff block-end "\}" without a preceding dot * .In must not break the line outside SYNOPSIS * spelling in some error messages While merging, fix one regression in .In spacing that needs to go to bsd.lv, too.
2010-06-06Use a macro-based mask for obtaining a key or modifier-set from theNicholas Marriott
combination. Display C-@, etc, as C-Space, in list-keys. By Micah Cowan.
2010-06-06Merge bsd.lv release 1.10.0,Ingo Schwarze
which is mostly the post-hackathon release, bringing in the OpenBSD changes to bsd.lv, but which also has a few additional minor fixes: * .Lb is an in-line macro, not in_line_eoln * .Bt, .Ud now warn when discarding arguments * allow bad -man dates to flow verbatim into the front-ends - so far all reported by Ulrich Spoerlein * .Ar, .Fl and .Li starting with closing punctuation emit an empty element * empty .Li macros print nothing, but may cause spacing * proper EOS handling for .Bt, .Ex, .Rv, and .Ud. * cleanup: collapse posts_xr into posts_wtext (which is the same) * efficiency: very simple table lookup for roff.c
2010-06-05Increase the -man -Tascii text width from 65 to 78 charactersIngo Schwarze
in both our old in-tree groff and in mandoc, because 1) It looks and reads better. 2) It agrees with both bsd.lv mandoc and with modern groff. The tmac.an part was done by millert@, with a minor fix by me. While touching our old groff, switch off hyphenation, suggested a long time ago by millert@. It helps searching and comparisons. While touching mandoc terminal_man(), explicitely initialize the tabwidth - not strictly required, but easier to understand and more robust, also suggested by millert@. General mumbling of agreement by many, including millert@ deraadt@ jmc@ sobrado@ ... Remaining problem: Setting the title length (.lt) has no effect for me, but we can fix this in tree in case anybody figures it out.
2010-06-05Couple of missing command aliases/flags, from Tiago Cunha.Nicholas Marriott
2010-06-05Take into account wav ``riff'' header when calculating the offsetAlexandre Ratchov
of the data chuck returned in ``startpos''. Fixes MMC relocate being off by few samples.
2010-06-05when parsing wav headers, check that a data chuck actually existsAlexandre Ratchov
2010-06-05Fix problems with window sizing seen by Raghavendra D Prabhu whenNicholas Marriott
starting tmux from .xinitrc. One of the very few things the server relies on the client for now is to pass through a message on SIGWINCH, but there is a condition where potentially a SIGWINCH may be lost during the transition from unattached (main.c) to attached (client.c). So trigger a size change immediately after the client installs its SIGWINCH handler. Also, when the terminal is resized, reset the scroll region and cursor position. Previously, we were clearing our saved idea of these, but in fact some terminals do not reset them on resize, so this caused problems during redraw. While here make a resize to the same size not cause a redraw and rename the tmux.out output log file to include the tmux PID.
2010-06-05Support the status_replace # replacement sequences in the pipe-paneNicholas Marriott
command, thanks to Andrea Barisani.
2010-06-05Shut up gcc4 warnings.Nicholas Marriott
2010-06-05This ioctl(TIOCGWINSZ) call is no longer necessary, the result is neverNicholas Marriott
used and the server now does it later on the tty fd directly.
2010-06-05in dev_close(), first terminate streams recording from the hardware,Alexandre Ratchov
then terminate streams recording from the monitor (if any). Otherwise, dev_close() would try to check if a stream is recording from the hardware or the monitor, and, if there's no monitor, would dereference a NULL pointer.
2010-06-05When closing the device, request clients using a midi control slotAlexandre Ratchov
to quit. Otherwise streams that are not attached to the device are not closed.
2010-06-05don't prime server buffers, because it's ugly and conceptuallyAlexandre Ratchov
complicated. Instead, request clients to provide enough samples and start with buffers full.
2010-06-05Fix binding of C-Space/C-@, from Micah Cowan.Nicholas Marriott
2010-06-05Make start-of-line work the same as end-of-line on wrapped lines (jumpNicholas Marriott
to real start if at edge of screen). By Micah Cowan.
2010-06-05Don't send the initial position as a clock tick with a negative delta.Alexandre Ratchov
Add a new ``initial position'' message which is simpler. No bahaviour change, except effects of the protocol version crank.
2010-06-04when attaching files to play or record to the device, check thatAlexandre Ratchov
the device supports play or record modes respectively. spotted by jakemsr
2010-06-04midi control aproc structure is can be destroyed before any streamAlexandre Ratchov
referencing it (for instance while a recording stream drains buffers of a closed device). So, don't abort() if this happen.
2010-06-04Allow the audio device to be opened only while it's actually used.Alexandre Ratchov
This is necessary for uaudio devices, for instance to start aucat before the device is plugged. Or to unplug a device whithout having to restart aucat when another device is plugged. This is controlled with the new -a option. Allow multiple audio devices to be used concurently, i.e. multiple ``-f devname'' options to be used; -f options must follow per-device options, which is what we do for other options.
2010-06-03tweak previous; ok deraadtJason McIntyre
2010-06-03HTTP/1.1 requests must send a "Connection: close" header. Fixes the issue whereAlexander Hall
a download would stall at the end of the file for no apparent reason. ok sthen@, phessler@
2010-06-03When attempting to resume a download, against an HTTP server thatPeter Hessler
doesn't support resume, we restart the download from the beginning, like all other browsers. Diagnosed by sthen and halex, comment from sthen OK sthen@, halex@
2010-06-02Update to sudo 1.7.2p7Todd C. Miller
2010-06-01Add compatibility interfaces for new names binutils-based strip(1) prefersTheo de Raadt
for some of it's options ok miod kettenis drahn
2010-05-31When the mode-mouse option is on, support dragging to make a selectionNicholas Marriott
in copy mode. Also support the scroll wheel, although xterm strangely does not ignore it in application mouse mode, causing redraw artifacts when scrolling up (other terminals appear to be better behaved).
2010-05-31stderr should be used for error messages; this diff makes which(1)Igor Sobrado
output not only more standard but also more predictable, as it now matches the behavior of the csh(1)'s built-in command. diff from Tobias Ulmer. ok millert@
2010-05-30Better to say "command key bindings" since we've just called themNicholas Marriott
command keys.
2010-05-30There is no real reason not to list all the key bindings here ratherNicholas Marriott
than just a selection.
2010-05-29subsitution -> substitution;Jason McIntyre
from Yoshihiro Ota, freebsd pr bin/130874
2010-05-27"Pa Ar" produces wonky output, and makes no sense;Jason McIntyre
2010-05-27include stdint.hAlexandre Ratchov
2010-05-26Move imsg into libutil and add a man page.Nicholas Marriott
Minor bump for libutil. Previous versions of this diff and man page looked at by various people. "you should just commit" deraadt
2010-05-26Rename some imsg bits to make namespace collisions less likely buf toNicholas Marriott
ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE. ok henning gilles claudio jacekm deraadt
2010-05-26sync manualsIngo Schwarze
2010-05-26When a word does not fully fit onto the output line, but it containsIngo Schwarze
at least one hyphen, we already had support for breaking the line a the last fitting hyphen. This patch improves this functionality by only breaking at hyphens in free-form text, and by not breaking at hyphens * at the beginning or end of a word or * immediately preceded or followed by another hyphen or * escaped by a preceding backslash. Before this patch, differences in break-at-hyphen support were one of the major sources of noise in automatic comparisons to mdoc(7) groff output. Now, the remaining differences are hard to find among the noise coming from other sources. Where there are still differences, what we do seems to be better than what groff does, see e.g. the chio(1) exchange and position commands for one of the now rare examples. idea and coding by kristaps@ Besides, this was the last substantial code difference left between bsd.lv and openbsd.org. We are now in full sync.
2010-05-25Don't die if the client has been detached when the job finishes, justNicholas Marriott
don't display the output.
2010-05-25Fix an out-of-date comment.Nicholas Marriott
2010-05-25no more f77;Jason McIntyre
2010-05-25enable support for ``extended'' .wav files since certain programsAlexandre Ratchov
use this format instead of the non-extended one (ex. audio/libao) spotted/suggested by naddy
2010-05-25document that ".if n" is true; requested by kristaps@Ingo Schwarze
2010-05-24- note -o as an extensionJason McIntyre
- sync usage() and synopsis
2010-05-24document ignorance of .ds, .rm and .tr;Ingo Schwarze
requested by kristaps@
2010-05-24document the -o optionTheo de Raadt
2010-05-24Support the -o operation in the non-binutils version, since someTheo de Raadt
architectures still use this (debug kernel builds want to have it). ok miod
2010-05-24plug second meta.source leak in .UT handling; from kristaps@Ingo Schwarze
2010-05-24lift 64-byte max width for Sh (now BUFSIZ); from kristaps@Ingo Schwarze
2010-05-24fix memory leak for .AT; from kristaps@Ingo Schwarze
2010-05-24Fix segfault in mixing old enum types for -Thtml -mdoc; from kristaps@.Ingo Schwarze
2010-05-24sync to bsd.lv: remove needless #include <time.h>Ingo Schwarze