summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2010-12-20Unify the way sessions are used by callbacks - store the address and useNicholas Marriott
the reference count, then check it is still on the global sessions list in the callback.
2010-12-19Don't nuke the index counter when a session group comes up.Nicholas Marriott
2010-12-19Add other-pane-height and other-pane-width options, allowing the widthNicholas Marriott
or height of the smaller panes in the main-horizontal and main-vertical layouts to be set. Mostly from David Goodlad.
2010-12-19Handle .Bk in -Thmtl the same way as in -Tascii.Ingo Schwarze
From kristaps@.
2010-12-19Handle .Bk the same way as groff 1.20.1:Ingo Schwarze
.Bk without arguments defaults to -words. .Bk with invalid arguments (including -lines) has no effect. ok kristaps@
2010-12-19Significant improvements to -Thtml by kristaps@:Ingo Schwarze
Use less <DIV>, use more <H1>, <H2>, <P>, <BR>, <PRE>, <UL>, <OL>, <DL> etc. Triggered by input from Will Backman. Remove CSS2 note in mandoc.1, which is no longer true.
2010-12-19Remove `i' and `r' macro handlers. These macros, originally part of theIngo Schwarze
me package, aren't recognised by "groff -mandoc" so we don't need to do so either. Besides, they are not used in base or Xenocara, and only at two or three places in one single port, which are probably typos. From kristaps@.
2010-12-15fix ControlMaster=ask regressionDamien Miller
reset SIGCHLD handler before fork (and restore it after) so we don't miss the the askpass child's exit status. Correct test for exit status/signal to account for waitpid() failure; with claudio@ ok claudio@ markus@
2010-12-14don't mention key type in key-changed-warning, since we also printMarkus Friedl
this warning if a new key type appears. ok djm@
2010-12-13Read ${X} environment variables in strings and $HOME from the globalNicholas Marriott
environment rather than getenv, this allows them to be updated during the configuration file.
2010-12-13Call setusercontext() with the LOGIN_SETENV flag for "su -l" to pick upTodd C. Miller
environment variables specified in login.conf. Based on a diff from robert@. OK robert@ otto@
2010-12-11Track the last session for a client and add a flag to switch-client andNicholas Marriott
a key binding (L) to move a client back to its last session.
2010-12-11Fix rectangle copy to behave like emacs - the cursor is not part of theNicholas Marriott
selection on the right edge but on the left it is.
2010-12-11Oops, these functions return a const char *, so make the local variableNicholas Marriott
const as well.
2010-12-11Make the prompt history global for all clients which is much more useful ↵Nicholas Marriott
than per-client history.
2010-12-11Make SYNOPSIS sections and code having .nr nS enabledIngo Schwarze
behave as if the whole code were wrapped in .Bk/.Ek, i.e. keeping input lines together on output lines. This is compatible with new groff behaviour and deviates from historical groff. Tweaked version of a patch sent by kristaps@ on July 16, 2010. ok kristaps@ jmc@ sobrado@ millert@
2010-12-10Rephrase a confusing sentence.Nicholas Marriott
2010-12-10stating that -f may be used by users is wrong, since that wouldMartynas Venckus
just execute su in login emulation mode. from MERIGHI Marcus. ok millert@, otto@, jmc@
2010-12-10- don't use memory from the session we've already cleaned in theMartynas Venckus
loop. fixes "login foo" and "su -L foo". ok millert@, otto@
2010-12-10It is user/root not user.root for kerberos 5.Todd C. Miller
2010-12-10Try to make this a little less kerberos-centric and remove a BUGSTodd C. Miller
entry now that we have the -s option. OK jmc@
2010-12-10- plug an fd leakJasper Lievisse Adriaanse
help/ok chl@ nicm@
2010-12-09Abort endless loops during roff macro and string expansion.Ingo Schwarze
For now, use the simplest conceivable approach, like groff does: Just a fixed, ugly input stack limit. Kristaps@ agrees.
2010-12-09.Bk/.Ek is required now to keep the output generated from each macroIgor Sobrado
input line together on one single output line. ok jmc@ and millert@, who also noticed the ugly break.
2010-12-09Allow quote macros (`Op', `Aq', `Bq', `Dq', `Pq', `Ql', `Qq', `Sq', andIngo Schwarze
`Brq') to have zero arguments without warning. This makes sense because the multi-line quote macros (`Oo/Oc' etc.) allow zero children anyway. Furthermore, the documentation doesn't state that they're required to have children. Reported by Alex Kozlov, patch from kristaps@.
2010-12-09Roff only interpolates \* strings when the leading backslash is not escaped.Ingo Schwarze
Kristaps@ agrees with the idea, even though he didn't review the final patch.
2010-12-09spacing, no functional change.Igor Sobrado
2010-12-09usage should fit on a 80-column displayIgor Sobrado
ok millert@
2010-12-09add -s to usageIgor Sobrado
2010-12-09Add support for "-s shell" to su(1). This can be used by the superuserTodd C. Miller
to run a different shell than what the password database contains. Based on a diff from robert@. OK robert@ deraadt@
2010-12-09scp.1: grammer fixJason McIntyre
scp.c: add -3 to usage()
2010-12-08add a new -3 option to scp: Copies between two remote hosts areMarkus Friedl
transferred through the local host. Without this option the data is copied directly between the two remote hosts. ok djm@ (bugzilla #1837)
2010-12-08In the built-in layouts, distribute the panes more evenly. Set theNicholas Marriott
default value of main-pane-width to 80, rather than 81. By Micah Cowan.
2010-12-08explain that IPQoS arguments are separated by whitespace; iirc requestedDamien Miller
by jmc@ a while back CVS ----------------------------------------------------------------------
2010-12-07Complete the merge of bsd.lv version 1.10.7:Ingo Schwarze
No more functional changes, just sync ordering, comments and white space.
2010-12-07Back out my .ft implementation for -Thtml.Ingo Schwarze
Kristaps says it is broken and cannot work, because HTML needs a block structure which .ft does not provide. Thus, let us just ignore .ft in HTML output.
2010-12-06Do not report the same problems multiple times,Ingo Schwarze
and do not bother checking the return values of calls that always return 1. From kristaps@.
2010-12-06add missing header needed by futimes()Charles Longeau
ok tobias@ xsa@ nicm@
2010-12-06Add an option to alert (monitor) for silence (lack of activity) in aNicholas Marriott
window. From Thomas Adam.
2010-12-06add missing header needed by futimes()Charles Longeau
ok tobias@ nicm@
2010-12-06add missing header to properly use SIG* definitionsCharles Longeau
ok tobias@ nicm@
2010-12-06Never print .P, .PP, and .LP header content.Ingo Schwarze
From kristaps@.
2010-12-06Do not follow .D1 and .Dl inside .Bd with a blank line.Ingo Schwarze
Kristaps@ came up with this improvement when he merged my patch introducing support for nested displays.
2010-12-04fix fd leak; spotted and ok dtucker@Damien Miller
2010-12-04add a protocol extension to support a hard link operation. It isDamien Miller
available through the "ln" command in the client. The old "ln" behaviour of creating a symlink is available using its "-s" option or through the preexisting "symlink" command; based on a patch from miklos AT szeredi.hu in bz#1555; ok markus@
2010-12-03move check for revoked keys to run earlier (in auth_rsa_key_allowed)Damien Miller
bz#1829; patch from ldv AT altlinux.org; ok markus@
2010-12-03check that g^x^q === 1 mod p; recommended by JPAKE author Feng HaoDamien Miller
(this code is still disabled, but apprently people are treating it as a reference implementation)
2010-12-03add missing header needed by futimes()Charles Longeau
ok stsp@
2010-12-02Track the parser status both per file (file_status), such thatIngo Schwarze
we can for example skip rendering on FATAL parsing errors, and globally (exit_status), such that we know what to return. Without this, following files produced no rendered output once a single file suffered from a FATAL error. Bug reported by kristaps@, fix by me.
2010-12-02Properly initialize the manual section to a default when .Dt is missing.Ingo Schwarze
Without this, we died on an assertion. Problem noted and patch provided by kristaps@.