summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2010-05-05restore mput and mget which got lost in the tab-completion changes.Darren Tucker
found by Kenneth Whitaker, ok djm@
2010-05-04end-of-sentence markers at the end of .Fn argument listsIngo Schwarze
ruin indentation of the next line in the SYNOPSIS section; bug found by jacekm@ in err(3)
2010-05-04make the mixer process data as soon as it's pushed by one of itsAlexandre Ratchov
inputs, i.e. don't way that the output requests it.
2010-05-04if the ``device'' is in loopback mode (ie no audio device), thenAlexandre Ratchov
disable overruns/underruns since aucat must pause when an input or an output blocks. This is a theoretical fix, since the start/stop code is never reached in loopback mode
2010-05-04Put this back in with the initialisation in the right order.Nicholas Marriott
2010-05-04Revert last change, it appears to be broken somehow.Nicholas Marriott
2010-05-03Support gcc4 with cpp (gcc4 binary to be installed in /usr/libexec/cpp).Dale Rahn
ok kettenis@
2010-05-03Make signal handler setup/teardown two common functions instead of six,Nicholas Marriott
and reset SIGCHLD after fork to fix problems with some shells. From Romain Francois.
2010-05-03Make C-] and other punctuation-based control key combinations work again.Ryan Thomas McBride
ok nicm
2010-05-02sort options.Igor Sobrado
2010-05-02Clean up device handling code to clarify different initialization phasesAlexandre Ratchov
and different device states. Split initialization in two phases: first global variables are initialized then the audio hardware is opened. Allow devices that don't support full-duplex to work in play-only or record-only mode, even if ``-m play'' or ``-m rec'' are not specified.
2010-05-02Don't systematically fill with silence the mixer output. ThisAlexandre Ratchov
might result in extra samples being written to the device when the mixer is closed.
2010-05-02use clock_gettime() and interval timers instead of gettimeofday()Alexandre Ratchov
and poll()'s timeout. Simpler and more accurate, from midish
2010-05-02in the resampling code, handle the case ``diff == 0'', to avoid producingAlexandre Ratchov
the first sample of the next block in advance.
2010-05-01typo; jmeltzer@Damien Miller
2010-04-30shuffle some things around to deal with incomplete typesJonathan Gray
gcc4 gets upset about. based on suggestions from miod@, ok millert@
2010-04-28Make the active pane border have a green foreground instead ofNicholas Marriott
background by default.
2010-04-28Rename nfiles so as not to collide with sys/file.h,Jonathan Gray
makes gcc4 happy. ok deraadt@ miod@
2010-04-28shuffle extern decl of header[] so gcc4 doesn't complain aboutJonathan Gray
incomplete types. ok deraadt@ 'Looks acceptable' miod@
2010-04-28Fix crash when resizing in copy mode, when cursor can end up outside screen.Nicholas Marriott
Reported by Romain Francois, fixed by Micah Cowan.
2010-04-27Fix a subtle bug noticed by naddy@ in pftop(8), thanks!Ingo Schwarze
When converting blank lines to .Pp outside literal context, it could happen that the following node ended up as a child of the .Pp element, but it must always be a sibling.
2010-04-27imsg.h does not need sys/tree.h.Nicholas Marriott
ok eric
2010-04-26bz#1502: authctxt.success is declared as an int, but passed byDamien Miller
reference to function that accepts sig_atomic_t*. Convert it to the latter; ok markus@ dtucker@
2010-04-26Fix a bug in auto-completion accidentally introduced when supportStefan Sperling
for auto-completion of filenames containing whitespace was added. This bug was tracked a decade ago in NetBSD as pr 7014. ok deraadt
2010-04-26more portable codeTheo de Raadt
2010-04-25Add a tiled layout, originally from Liam Bedford a while ago, fixed upNicholas Marriott
by me.
2010-04-25Implement roff conditional instructions .if .ie .el, in man(7) only for now;Ingo Schwarze
fixing OpenBSD::PackageName(3p) and friends for espie@.
2010-04-25ftpvis was not ok. fix it.Ted Unangst
2010-04-25prevent out-of-bounds access with empty pattern (fixes "grep -x ''")Eric Faurot
ok millert@ krw@
2010-04-25pure whitespace cleanupMarc Espie
2010-04-25Fix auto-completion of filenames containing whitespace.Stefan Sperling
Before this change whitespace wasn't escaped during completion which caused the ftp command to see multiple arguments where a single path was expected. Based on similar commit made to NetBSD's ftp in 1999. help and ok uwe tedu deraadt
2010-04-24delete two extra ; that got inserted somewhere along the lineTheo de Raadt
2010-04-24if there are no files to play in legacy mode, print the usage messageAlexandre Ratchov
2010-04-24don't increment mixer's ``idle'' counter before truncating theAlexandre Ratchov
amount of samples to commit to ``maxwrite''. Overwise uncommitted samples are accounted as idle, in turn causing the device to be stopped too early, possibly truncating few blocks at the end of streams being drained. subtle bug spotted and analysed by Thomas Pfaff, thanks
2010-04-24rename ibuflist/obuflist -> ins/outs to cut long linesAlexandre Ratchov
from Thomas Pfaff, thanks
2010-04-23refuse to generate keys longer than OPENSSL_[RD]SA_MAX_MODULUS_BITS,Damien Miller
since we would refuse to use them anyway. bz#1516; ok dtucker@
2010-04-23set stderr to /dev/null for subsystems rather than just closing it.Damien Miller
avoids hangs if a subsystem or shell initialisation writes to stderr. bz#1750; ok markus@
2010-04-23set "detach_close" flag when registering channel cleanup callbacks.Damien Miller
This causes the channel to close normally when its fds close and hangs when terminating a mux slave using ~. bz#1758; ok markus@
2010-04-23When converting A-Z into a control character, want to subtract 64 notNicholas Marriott
65... whoops.
2010-04-23mention hostname, prompted by lum@Otto Moerbeek
2010-04-23show hostname in header line; ok lum@ phessler@Otto Moerbeek
2010-04-23bz#1740: display a more helpful error message when $HOME isDamien Miller
inaccessible while trying to create .ssh directory. Based on patch from jchadima AT redhat.com; ok dtucker@
2010-04-23Handle literal tab characters both in literal context (.Bd -literal)Ingo Schwarze
and outside. In literal context, tab stops are at each eigth column; outside, they are at each fifth column. Use tabwidth = 5 as the default and temporarily switch to 8 in termp_bd_pre(). This requires to move the term_flushln() of the final line of a display from termp_bd_post() to termp_bd_pre(); the former still needs term_newln() to handle the final lines of non-literal displays. Handling inside term_flushln() is tricky because a tab collapses with inter-word spacing, but not with another tab. Missing feature reported independently by jmc@ and deraadt@.
2010-04-22Fix a segfault reported by nicm@, introduced in rev. 1.38.Ingo Schwarze
When finding a blank line, trying to parse it is a bad idea. Instead, after adding .Pp to the AST, just return from parsetext().
2010-04-22zap trailing whitespace;Jason McIntyre
2010-04-22Allow multiple users to share the same aucat server. If aucat isAlexandre Ratchov
run by root, it binds a shared address to the socket, cranks the process priority and drops privileges. sio_open(3) will try to connect to the private socket first (if any), then to the shared socket. Only one user may have connections to aucat at a given time. based on discussions with henning, pyr and others ok jacek, deraadt
2010-04-21Mark zombie windows as dead in choose-window list, from Romain Francoise.Nicholas Marriott
2010-04-21Rewrite key string conversions to be readable and to work properly forNicholas Marriott
multiple modifiers.
2010-04-21scale angle by 1000000 to permit min.sec accuracyTheo de Raadt
2010-04-21Handle a strdup failure.lum
ok otto@