summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2009-06-02we were erroneously setting fill-column, even when the inputKjell Wooding
to set-fill-column was garbage. (common, since they keystroke is so close to find-file). Fix!
2009-06-02Remove unused fields from struct filestatTodd C. Miller
2009-06-02Fix up some comments to match realityKjell Wooding
2009-06-02Fix the long-standing crash when >NXNAME characters were insertedKjell Wooding
into minibuffer. Found and fixed by Martynas. Cleaned up a bit so that error messages display properly in the status line. Fixes Debian bug #414846
2009-06-02remove unused flag; while here, make usage's output fit on 80-column displays.Igor Sobrado
2009-06-02sort options alphabetically.Igor Sobrado
2009-06-02spawn login shells by default, adapt manpage bits as well.Pierre-Yves Ritschard
ok nicm@
2009-06-02Don't access array[-1] if array is an empty string.Ray Lai
OK nicm@
2009-06-02Make code clearer:Ray Lai
- if (hdr->size > SIZE_MAX - 1) + if (hdr->size == SIZE_MAX) OK nicm@
2009-06-02Don't dereference NULL if buf winds up being empty. Can't happenRay Lai
right now according to NicM but better safe than sorry. OK nicm@
2009-06-02Don't leak memory if multiple -f flags are given.Ray Lai
OK nicm@
2009-06-02enable tmuxTheo de Raadt
2009-06-02If the read from the tty fails with EAGAIN, pop back up to the select.Todd C. Miller
Seems to happen occasionally even though select reported the fd is ready. OK ray@
2009-06-01Update the man page with some recent changes to the code:Nicholas Marriott
- SIGUSR1 recreates the socket; - guesswork to work out if the terminal supports UTF-8; - a paste key for the command prompt; - main-horizontal layout to match main-vertical, and options to configure the size of the large pane; - clear-history command; - select-layout command.
2009-06-01Whoops, didn't mean to add this.Nicholas Marriott
2009-06-01Import tmux, a terminal multiplexor allowing (among other things) a singleNicholas Marriott
terminal to be switched between several different windows and programs displayed on one terminal be detached from one terminal and moved to another. ok deraadt pirofti
2009-06-01We are done with sup, other sucky tools are better nowTheo de Raadt
2009-06-01RIP; ok millertTheo de Raadt
2009-05-31Don't define NFS before including kernel header files,Thordur I. Bjornsson
besides it being gnarly its useless since no magic is done if it is define. pointed out by deraadt@
2009-05-31There is no need to mask priority with RTP_MASK because it is already doneClaudio Jeker
by the kernel.
2009-05-29"input-file" is a required argument; while here, remove a few superfluousIgor Sobrado
spaces around the brackets and synchronize the argument names. ok jmc@
2009-05-28Keep track of number of bytes read and written. Needed for upcomingAndreas Gunnarsson
changes. Most code from Martin Forssen, maf at appgate dot com. ok markus@
2009-05-27Un-static ssh_exchange_identification(), part of a larger change fromAndreas Gunnarsson
Martin Forssen and needed for upcoming changes. ok markus@
2009-05-27Add packet_put_int64() and packet_get_int64(), part of a larger changeAndreas Gunnarsson
from Martin Forssen. ok markus@
2009-05-27Move the KEX_COOKIE_LEN define to kex.hAndreas Gunnarsson
ok markus@
2009-05-27Send SSH2_MSG_DISCONNECT when the client disconnects. From a largerAndreas Gunnarsson
change from Martin Forssen, maf at appgate dot com. ok markus@
2009-05-27Add clear_cached_addr(), needed for upcoming changes allowing the peerAndreas Gunnarsson
address to change. ok markus@
2009-05-25Put the globals in packet.c into a struct and don't access it directlyAndreas Gunnarsson
from other files. No functional changes. ok markus@ djm@
2009-05-23typoChris Cappuccio
2009-05-23missed rtm_hdrlen conversion in two placesChris Cappuccio
ok claudio@
2009-05-20"bgpctl ?" is invalid syntax; replace with "bgpctl help".Stuart Henderson
from Aivar Jaakson.
2009-05-16use the ``hello'' message a to set the device mode, and thus makeAlexandre Ratchov
it mandatory. Old legacy clients setting the mode with sio_setpar() are still working thanks to small hack.
2009-05-16add a new ``hello'' message to aucat protocol useful to work onAlexandre Ratchov
future aucat extentions. No functional changes.
2009-05-13fix loopvar debug prints. Issue reported by naddy@Marc Espie
2009-05-12zap double prototypeMarc Espie
2009-05-12fix obvious bug: .PHONY targets don't match files, so they're precious (weMarc Espie
don't even want to check for a matching file on the file system)
2009-05-10couple of fixes for fetch:Martynas Venckus
- don't spam ftp server with four anonftp logins; if ftp_login has already failed in setpeer we give up. also makes install script nicer; req'd by theo - fix autologin = no case which never really worked in fetch since it did not check for autologin before logging in... part 1: ok theo, krw@ part 2: "looks right" millert@, ok sthen@
2009-05-10show which username login failed for; ok martynasTheo de Raadt
2009-05-10simple check for cvs conflicts, avoids some "duh" moments (some people likeMarc Espie
it, other don't care, it's cheap enough). Slightly tweaked patch that also guards against empty arrays (though it's unlikely to happen, I don't feel like proving the array is not empty).
2009-05-10simplify job handling a great deal: we don't care when jobs getMarc Espie
stopped/continued, as we won't try to start new jobs when other stuff is stopped. Redo signal handling so that most stuff can be done directly in the handler. This requires blocking/unblocking signals while creating new jobs, and creating a small list that only contains job's pids. Switch to pgrps for jobs, since that works. Add a clamping heuristic that avoids starting new jobs while an expensive job is running (expensive meaning "very likely to be a recursive make run"). This idea is mostly from Theo, through the implementation is mine.
2009-05-09add #ifdef DEBUG blocks around functions only used when DEBUG is defined.Charles Longeau
from tobias@ ok millert@ tobias@
2009-05-09remove unused functionCharles Longeau
from tobias@ "just delete them" tedu@, ok millert@ tobias@
2009-05-09clarify what happens if no device is specified and/or noAlexandre Ratchov
sockets are specified, with help from jmc@
2009-05-08Sort variables in env_keep.Antoine Jacoutot
"sure" millert@
2009-05-07Make the kvm routing table code grok multiple routing tables and do notClaudio Jeker
default to table 0 by default. Makes debugging alternate tables possible. OK jsg@
2009-05-06add missing flags to the output of usage() and sort them as usualIgor Sobrado
in BSD operating systems; while here, indent source code in a way it fits on 80-column displays. ok jmc@
2009-05-06Use getttynam() from libc instead of the private version in tset.Todd C. Miller
2009-05-05make it clean removing the ifdef SMALL maze. separate cmds andMartynas Venckus
small stuff. make it a fetcher. shrinks quite a bit agreed by millert@, krw@ ok theo, sthen@
2009-05-03Hinge at the natural rollover point 9999x instead of 1024x when switching toDale Rahn
the next unit K->M->G. ok deraadt@
2009-05-01comment typo, no binary changeStuart Henderson