summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2010-06-27Fix a crash when the directory entry isn't complete.Peter Hessler
found by Alexander Schrijver OK halex@
2010-06-27minor .Bk fixes:Ingo Schwarze
* do not print invalid arguments verbatim (no groffs prints them, either) * do not trigger TERMP_PREKEEP twice * do not die from invlid arguments (groff won't die, either) * continue to ignore even valid arguments (just like groff) ok kristaps@ on the previous version, before removing my last bug ;)
2010-06-27Document .Bk/.Ek; reminded by kristaps@.Ingo Schwarze
2010-06-27Store the current working directory in the session, change the default-pathNicholas Marriott
option to default to empty and make that mean that the stored session CWD is used.
2010-06-27Basic implementation of .Bk/.Ek.Ingo Schwarze
OK and one stylistic tweak by kristaps@.
2010-06-27New option, detach-on-destroy, to set what happens to a client when the sessionNicholas Marriott
it is attached to is destroyed. If on (the default), it is detached; if off, it is switched to the most recently active session.
2010-06-26Use server_destroy_session() for kill-session.Nicholas Marriott
2010-06-26oops, forgot to #include <canohost.h>; spotted and patch from chl@Damien Miller
2010-06-26As a first step towards variable-width font support,Ingo Schwarze
move all width calculations in term_*.c, *_width(). From kristaps.
2010-06-26Setting the cmdlist pointer in the bind-key to NULL to prevent it being freedNicholas Marriott
after the command is executing is bogus because it may still be needed if the same command is going to be executed again (for example if you "bind-key a bind-key b ..."). Making a copy is hard, so instead add a reference count to the cmd_list. While here, also print bind-key -n and the rest of the flags properly. Fixes problem reported by mcbride@.
2010-06-26merge release 1.10.2Ingo Schwarze
* bug fixes: - interaction of ASCII_HYPH with special chars (found by Ulrich Spoerlein) - handling of roff conditionals (found by Ulrich Spoerlein) - .Bd -offset will no more default to 6n * maintenance: - more caching of .Bd and .Bl arguments for efficiency - deconstify man(7) validation routines - add FreeBSD library names (provided by Ulrich Spoerlein) * start PostScript font-switching
2010-06-26From the Loganaden Velvindron:Kjell Wooding
Make dired more sane (and emacslike): * Position cursor at first filename after .. * Don't reposition cursor on reopening * Check for permission before attempting to open directory I took forever to get this in. Thanks, Logan for being patient!
2010-06-26disable opencvs; maintainers went bye byeTheo de Raadt
2010-06-26tweak previous;Jason McIntyre
2010-06-25Add X11ForwardTimeout option to specify timeout for untrusted X11Damien Miller
authentication cookies to avoid fallback in X11 code to fully-trusted implicit authentication using SO_PEERCRED described at: http://lists.x.org/archives/xorg-devel/2010-May/008636.html After the X11ForwardTimeout has expired the client will now refuse incoming X11 channel opens. based on patch from Tavis Ormandy; "nice" markus@
2010-06-25log the hostname and address that we connected to at LogLevel=verboseDamien Miller
after authentication is successful to mitigate "phishing" attacks by servers with trusted keys that accept authentication silently and automatically before presenting fake password/passphrase prompts; "nice!" markus@
2010-06-25skip the initial check for access with an empty password whenDamien Miller
PermitEmptyPasswords=no;
2010-06-25don't attempt to drain devices after they are destroyed, whichAlexandre Ratchov
results in a use after free(). Catched by jakemsr@ with MALLOC_OPTIONS=J
2010-06-25bz#1750: fix requirement for /dev/null inside ChrootDirectory forDamien Miller
internal-sftp accidentally introduced in r1.253 by removing the code that opens and dup /dev/null to stderr and modifying the channels code to read stderr but discard it instead; ok markus@
2010-06-25bz#1327: remove hardcoded limit of 100 permitopen clauses and portDamien Miller
forwards per direction; ok markus@ stevesk@
2010-06-24this just had to be here...Jasper Lievisse Adriaanse
2010-06-23fix printing of extensions in v01 certificates that I broke in r1.190Damien Miller
2010-06-22include the user name on "subsystem request for ..." log messages;Damien Miller
bz#1571; ok dtucker@
2010-06-22replace verbose and overflow-prone Linebuf code with read_keyfile_line()Damien Miller
based on patch from joachim AT joachimschipper.nl; bz#1565; ok dtucker@
2010-06-22queue auth debug messages for bad ownership or permissions on the user'sDamien Miller
keyfiles. These messages will be sent after the user has successfully authenticated (where our client will display them with LogLevel=debug). bz#1554; ok dtucker@
2010-06-22standardise error messages when attempting to open private keyDamien Miller
files to include "progname: filename: error reason" bz#1783; ok dtucker@
2010-06-22expose some more sshd_config options inside Match blocks:Damien Miller
AuthorizedKeysFile AuthorizedPrincipalsFile HostbasedUsesNameFromPacketOnly PermitTunnel bz#1764; feedback from imorgan AT nas.nasa.gov; ok dtucker@
2010-06-21Add a choose-buffer command for easier use of the paste buffer stack.Nicholas Marriott
2010-06-21Extend the -t:+ and -t:- window targets for next and previous window toNicholas Marriott
accept an offset such as -t:+2. From Tiago Cunha.
2010-06-21Having a list of winlinks->alerts for each session is stupid, just storeNicholas Marriott
the alert flags directly in the winlink itself.
2010-06-21Rename activity->alert in a couple of functions for consistency.Nicholas Marriott
2010-06-21Give tmux sockets (but not the containing folder) groupNicholas Marriott
permissions. This allows hardlinks to the sockets to be used more easily.
2010-06-21Ensure we overwrite UTF-8 wide characters properly, and never overwriteNicholas Marriott
characters we weren't overlapping. Fixes "disappearing wide characters" glitch. From Micah Cowan.
2010-06-20fix midicat(1) device mode when only -i or only -o is used (ieAlexandre Ratchov
open the device input-only if -o is used, and output-only if -i is used).
2010-06-18fix memory leak in do_realpath() error path; bz#1771, patch fromDamien Miller
anicka AT suse.cz
2010-06-18Missing check for chroot_director == "none" (we already checked againstDamien Miller
NULL); bz#1564 from Jan.Pechanec AT Sun.COM
2010-06-18unbreak ls in working directories that contains globbing characters inDamien Miller
their pathnames. bz#1655 reported by vgiffin AT apple.com
2010-06-17Correct sizing of object to be allocated by calloc(), replacingDamien Miller
sizeof(state) with sizeof(*state). This worked by accident since the struct contained a single int at present, but could have broken in the future. patch from hyc AT symas.com
2010-06-14Last change erroneously used the target argument for looking up theNicholas Marriott
client which caused pipe-pane to fail when used from the command line. Instead pass NULL which should use the current client. Spotted by Tiago Cunha.
2010-06-14Add a missing command and some missing Ic, from Tiago Cunha.Nicholas Marriott
2010-06-13Update awk to May 23, 2010 version. OK miod@Todd C. Miller
2010-06-13Prevent a segmentation fault. It could occur when login_getclass fails andTobias Stoeckmann
the key "s/key" is entered with supplied -a or -p option. ok millert (with better error message)
2010-06-13remove obsolete ENVIRONMENT section; from Daniel DickmanJason McIntyre
ok millert
2010-06-11various fixes from Daniel Dickman:Jason McIntyre
- clarify sort's various modes of operation - -m is overridden by -C and -c - ordering options should not appear after -k - give -k it's own little section (aw!) discussed with, tweaked by, and ok sobrado millert otto
2010-06-10minimal initial -Tps support, from kristaps@ GSOCIngo Schwarze
so far, monospace without font decoration, but it already has page headers and footers
2010-06-08check length of value returned C_GetAttributValue for != 0Markus Friedl
from mdrtbugzilla@codefive.co.uk; bugzilla #1773; ok dtucker@
2010-06-08Merge more bits that will be going into 1.10.1:Ingo Schwarze
Clean up vertical spacing in the SYNOPSIS, making the code much more systematic; this doesn't solve all SYNOPSIS problems yet, in particular not those related to keeps, indentation and the low-level .nr roff instruction, but it's a nice step forward and i couldn't find relevant regressions. (from kristaps) Besides, * make the output width configurable (default: -Owidth=80) (kristaps) * use mmap with MAP_SHARED (from Joerg Sonnenberger)
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