summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2010-11-26Pass through ssh command-line flags and options when doing remote-remoteDamien Miller
transfers, e.g. to enable agent forwarding which is particularly useful in this case; bz#1837 ok dtucker@
2010-11-25Make .de1 a symnonym for .de, not .ig as it was before.Ingo Schwarze
The .de1 instructions is a GNU extension not found in traditional roff and not even in old groff, defined as "define a macro that will be executed with traditional roff compatibility mode switched off during macro execution". Since we ran into it in the wild, we have been parsing and ignoring it for a long time. Now that we have proper .de support, we can as well use the contents, even though we don't implement compatibility mode at all.
2010-11-25Support quoting of arguments passed to user-defined macros,Ingo Schwarze
such that arguments can contain blank characters. Also support escaping of quote characters by doubling them. For example, the argument "a""b c." resolves to: a"b c.
2010-11-25Implement the .de (define macro) roff instruction.Ingo Schwarze
This fixes various Xenocara manuals. Do not define your own macros in new manuals, though: this code exists purely to cope with existing and old stuff. Like in both traditional and GNU roff, the .de and .ds (define string) roff instructions share the same string table, so one can abuse strings as macros and vice versa. This implementation supports multi-line user-defined macros and user-defined macros taking up to 9 arguments. Project started near the end of p2k10, now mature for production, but there is still room for future improvements in various respects.
2010-11-25replace close() loop for fds 3->64 with closefrom();Damien Miller
ok markus deraadt dtucker
2010-11-24remove a debug() that pollutes stderr on client connecting to a serverDamien Miller
in debug mode (channel_close_fds is called transitively from the session code post-fork); bz#1719, ok dtucker
2010-11-23avoid NULL deref on receiving a channel request on an unknown or invalidDamien Miller
channel; report bz#1842 from jchadima AT redhat.com; ok dtucker@
2010-11-23use strict_modes already passed as function argument over referencingDamien Miller
global options.strict_modes
2010-11-22There is somewhere that WINDOW_HIDDEN is getting set when it shouldn'tNicholas Marriott
be and I can't find it, but the flag itself is a useless optimisation that only applies to automatic-resize windows, so just dispose of it entirely. Fixes problems reported by Nicholas Riley.
2010-11-21Refactor internals of private key loading and saving to work on memoryDamien Miller
buffers rather than directly on files. This will make a few things easier to do in the future; ok markus@
2010-11-21honour $TMPDIR for client xauth and ssh-agent temporary directories;Damien Miller
feedback and ok markus@
2010-11-20clean up cases of ;;Theo de Raadt
2010-11-19Make KERN_CPTIME return an avarage number of ticks across all CPUsMike Belopuhov
tedu agreed with an idea, tested by Luis Useche and me; ok deraadt
2010-11-18add IPQoS to the various -o lists, and zap some trailing whitespace;Jason McIntyre
2010-11-15NUL-terminate buffer in compiler_text() after realloc, not before.Todd C. Miller
Now that we have dynamically sized buffers there may not be room for the NUL until after realloc.
2010-11-15show more of the host, but be careful not to go over 80 cols; ok krw@Otto Moerbeek
2010-11-15libary -> library;Jason McIntyre
2010-11-15Show more window and pane flags in list-* output, and put layout on theNicholas Marriott
same line.
2010-11-14scandir() does not NULL-terminate the list of dirent structs so useTodd C. Miller
the returned count and set and end pointer instead. we no longer need to allocate a dummy array when diffing against a non-existent directory so eliminate slurpdir() and call scandir() directly. OK krw@
2010-11-14Terminate midi thru boxes trying to drain but that have noAlexandre Ratchov
outputs anymore, otherwise they can't be cleaned up by dev_close()
2010-11-14Update man page for update-environment.Nicholas Marriott
2010-11-14Don't allow last and active window to become the same - a very bad moveNicholas Marriott
when the active window is closed and freed. Reported by sthen@.
2010-11-13allow ssh and sshd to set arbitrary TOS/DSCP/QoS values instead ofDamien Miller
hardcoding lowdelay/throughput. bz#1733 patch from philipp AT redfish-solutions.com; ok markus@ deraadt@
2010-11-11Add XAUTHORITY to update-environment, requested by Andreas Kloeckner.Nicholas Marriott
2010-11-11Nuke dead assignments and a dead function, from Michael W BombardieriNicholas Marriott
using lint.
2010-11-11Flag to flush all key bindings from Rob Paisley.Nicholas Marriott
2010-11-11Declaration in header should be extern.Nicholas Marriott
2010-11-10use only libcrypto APIs that are retained with OPENSSL_NO_DEPRECATED.Damien Miller
these have been around for years by this time. ok markus
2010-11-08getdirentries(2) should be avoided outside of libc so use scandir(3)Todd C. Miller
instead. This makes slurpdir() just a thin wrapper around scandir(3). OK schwarze@
2010-11-07more EXIT STATUS bits; from Daniel DickmanJason McIntyre
2010-11-05Add experimental support for 24-bit arithmetic, meaning that fullAlexandre Ratchov
dynamic range of 24-bit hardware can be used. Offline processing like mixing and channel mapping is done with 24-bit precision too. Since most hardware and audio programs use 16-bit precision, 24-bit processing is a small waste of CPU time in many cases, so 24-bit processing is not desirable and this is disabled by default. Furthermore it's available on i386, amd64 and sparc64 only. To experiment with it: make COPTS="-DADATA_BITS=24"
2010-11-05unbreak compilation without DEBUG definedAlexandre Ratchov
2010-11-05Convert ulaw/alaw to native format (ie using ADATA_XXX defines) ratherAlexandre Ratchov
than s16 (using hardcoded constants). Currently s16 is the native format, so no behavior change.
2010-11-05Print relativ number of livelocks that happend between two systatClaudio Jeker
updates instead of showing absolut figures. Makes it easier to estimate the "livelockyness" of a system. OK dlg@
2010-11-05whitespace KNFDamien Miller
2010-11-04Replace ``short'' by a new ``adata_t'' typedef corresponding toAlexandre Ratchov
audio samples and cleanup ADATA_XXX macros. This allows easilly switching to 24 bit fixed point arithmetic by simply redefining the adata_t typedef to int and updating ADATA_XXX macros. No object change.
2010-11-04legacy.c is not used any longerAlexandre Ratchov
2010-11-04- fix a comma oopsieJason McIntyre
- Tn for "YACC" is silly - since ex(1) and vi(1) are the same page, let's not list them both in SEE ALSO
2010-11-04umask should be parsed as octal. reported by candland AT xmission.com;Damien Miller
ok markus@
2010-11-03POSIX specifies that ctags create tags for typedefs, structs, unions,Todd C. Miller
and enums by default. The -t flag becomes a no-op for backwards compat only. OK deraadt@
2010-11-02exit 1 (not -1) for -q; PR 6494Theo de Raadt
2010-11-02expose the kernels network livelock counterDavid Gwynne
2010-11-01Typo, from Rob Paisley.Nicholas Marriott
2010-10-31init was passing a writable file descriptor into rcs_open which was thenNicholas Marriott
failing to fdopen() it as readable. It doesn't need to pass in the fd at all, so just change it to pass -1 which makes cvs init work again. In fact, the fd should never need to be writable - it is only used for reading. RCS_WRITE triggers a rewrite on the file on rcs_close() but this is done by using a temporary and rename(2) (RCS_WRITE is a poor name for the flag). So while here, add a couple of comments to hopefully make it a little clearer. There is some confusion about how this is used in other places but checking those is a separate issue. with and ok tobias
2010-10-30Print socket structure internals when netstat -P pcbaddr is calledAlexander Bluhm
with -v. Also netstat -P supports more than TCP now. ok markus@ jmc@
2010-10-29We now send argv to the server after parsing it in the client to get theNicholas Marriott
command, so the client should not modify it. Instead, take a copy. Fixes parsing command lists, reported by mcbride@.
2010-10-29Nuke some unused variables and remove an unnecessary call to dirname().Nicholas Marriott
From Michael W Bombardieri via ray@.
2010-10-29soelim is no longger needed now that nroff/troff is not in baseTodd C. Miller
2010-10-29Remove colcrt and checknr. colcrt is only useful on very oldTodd C. Miller
terminals and checknr has been subsumed by "mandoc -Tlint". OK deraadt@ jmc@ schwarze@
2010-10-29some fixes from ingo regarding the recent groff removal;Jason McIntyre