summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2012-09-17clear old keys on rekeing; ok djmMarkus Friedl
2012-09-17an XXX for laterDamien Miller
2012-09-14remove unused variableMarkus Friedl
2012-09-14more accurate fix: don't mark '!' as a meta character, recognize "!" asMarc Espie
a shell reserved word. okay millert@
2012-09-14! is a meta character, this letsMarc Espie
test: ! pgrep process work, without trying to look for a '!' command (remember that not running a shell for each command is an optimization ?) bug fix prompted by eric@'s remark, okay millert@
2012-09-14There's no reason to unlink the destination if we can't even openTodd C. Miller
the source file. This fixes a problem with the databases/ruby-ldap port. Note that I changed the O_TRUNC to O_EXCL to avoid the race between unlink/rename and creat. OK naddy@ jeremy@
2012-09-13Fix comment line lengthDarren Tucker
2012-09-12Define empty CDIAGFLAGS for programs that use Werror.Christiano F. Haesbaert
Makes "make build" build with WARNINGS=Yes on amd64. ok espie
2012-09-10The gcc-sh-register-allocator bug may never be fixed. When we move toTheo de Raadt
PIE, the -O1 workarounds must be -O0. check out sort/tmp.c to see how incredibly bad the bug is. ok miod
2012-09-07Make C-r not screw up the line counter if the pattern ends up notlum
matching. More goodness from Florian Obser. (and a tweak by me)
2012-09-07when muxmaster is run with -N, make it shut down gracefully when a clientDarren Tucker
sends it "-O stop" rather than hanging around. ok djm@
2012-09-07Merge escape help text for ~v and ~V; ok djm@Darren Tucker
2012-09-07Print '^Z' instead of a raw ^Z when the sequence is not supported. ok djm@Darren Tucker
2012-09-06missing letter in previous;Jason McIntyre
2012-09-06Make the escape command help (~?) context sensitive so that only commandsDarren Tucker
that will work in the current session are shown. ok markus@
2012-09-06Put help text for ~v and ~V around the correct wayDarren Tucker
2012-09-06Add ~v and ~V escape sequences to raise and lower the logging levelDarren Tucker
respectively. Man page help from jmc, ok deraadt jmc
2012-09-05Handle empty list properly in choose-list, based on fix from Thomas Adam.Nicholas Marriott
2012-09-05We can't tell what the terminal has done with a DCS string, so reset theNicholas Marriott
cursor and attributes afterwards.
2012-09-04Trivial code simplification from Tim Ruehsen.Nicholas Marriott
2012-09-03Remove xterm CRA support - support is patchy and it will be done betterNicholas Marriott
using margins.
2012-09-03Use the right index when adding item in choose-tree, from Thomas Adam.Nicholas Marriott
2012-09-03When choosing a pane found by find-window, switch to that pane ratherNicholas Marriott
than just the window. Also use a helper function for the inner loop.
2012-09-03Rename variables to something a but more understandable.Nicholas Marriott
2012-09-03add cmd-choose-list to allow arbitrary options to be selected. FromNicholas Marriott
Thomas Adam.
2012-09-03Remove an unused variable.Nicholas Marriott
2012-09-03Send notifications to control clients. Also don't redraw client whenNicholas Marriott
suspended.
2012-09-03Change format of choose-tree arrows slightly, from Romain Francoise.Nicholas Marriott
2012-09-03If stdin in the client is enable immediately, tmux will eat anythingNicholas Marriott
sent to stdin before it is needed, which can be inconvenient (eg pasting commands). Instead, start with stdin disabled and reuse MSG_STDIN from server->client to mean that stdin should be enabled. Based on a diff from Chris Johnsen.
2012-09-03Can't call evtimer_pending on uninitialized events, callNicholas Marriott
evtimer_initialized first. Reported by Vladimir Lomov, fix from Thomas Adam slightly modified by me.
2012-09-02Oh, but only -O1 is needed. With -fpie, -O0 is currently needed. Bah.Theo de Raadt
2012-09-02Document (in this commit message, and an annotation in the Makefile)Theo de Raadt
that this sh-architecture gcc workaround is for the same bug that is found in sort/tmp.c
2012-09-01put back out-of-line version of function.Marc Espie
even with only-inline, won't compile with -O0, so debugging is very difficult... discussed with jsg@
2012-09-01update currency exchange rates;Jason McIntyre
2012-08-31Allow an error message for a filename that is too long to be seen andlum
let the error stop mg exiting when C-x C-c is called.
2012-08-30fix typo in last commitAlexander Hall
"obviously correct" guenther@
2012-08-30oops. need to reset errno. Otherwise we can't save a new file in alum
directory where permissions are ok.
2012-08-30Move pmdb to the attic.Mark Kettenis
It's unfinished. It will never be finished. It's unfinishable. deraadt@
2012-08-30Use (rate / 15) as block size in off-line mode to ensure theAlexandre Ratchov
block size stays below SHORT_MAX. Found by sthen@
2012-08-30Some line counter goodness from Florian Obser.lum
If you open an already open buffer via C-x C-f, odd things can happen with the cursor and line counter for that buffer. This diff stops that behaviour and no regressions viewable.
2012-08-30This diff allows the user to decide what to do with buffers thatlum
experience write errors during C-x C-c (exiting mg). Emacs stops the exiting process when it encounters problem buffers and lets the user decide what to do, currently mg continues exiting and the contents of these buffers are lost. This diff bring mg more into line with emacs. Review and observations from Sunil Nimmagadda.
2012-08-29Adjust for changes to "struct reg".Mark Kettenis
2012-08-29Test the exit status of the compiler by pulling it out the pipeline, soPhilip Guenthe
that mkdep can fail if the compiler does. Patch from Gerhard Roth (Gerhard_Roth at genua.de) ok halex@
2012-08-28Make mg behave more like emacs with regards to opening a new buffer:lum
1. If parent directory is read-only, make buffer read-only. 2. If parent doesn't exist; give user a message and create buffer as readable. Reviewed by Sunil Nimmagadda. ok jasper@
2012-08-27Change a log to fprintf that was missed last time around, from Tiago Cunha.Nicholas Marriott
2012-08-27Instead of requiring a prompt to enter all numbers >10, go back toNicholas Marriott
0-9a-z and add A-Z and enter the prompt when M-0 to M-9 are pressed (like in copy mode). Prompted by request from mcbride@, help from Thomas Adam.
2012-08-27a few libtool users are bogus, they confuse --export-symbols with theMarc Espie
real option -export-symbols. Instead of blindly passing that one to the linker, error out beforehand, so that people know the problem IS libtool usage and not our program. (as exemplified by Todd Fries on ldns).
2012-08-27vax does not get -rpath-link, but it also does not really need it.Marc Espie
as found out by sebastia@ and used during 5.2 vax package build... no ill side-effects so far, so do this as a stopgap measure (matthieu@ reports that our libtool is not yet very good for static-only arches).
2012-08-26oops, i added a stray character. spotted by jmcTed Unangst
2012-08-26Make a few ftp(1) usage/man page changes related to BasicLawrence Teo
authentication: - Combine the http and https usage formats into a single http[s] format to make it more concise. - In the AUTO-FETCHING FILES section of the ftp(1) man page, mention that specifying "user" and "password" with HTTP and HTTPS URLs will log in using Basic authentication (if http_proxy is not defined). - When compiled with -DSMALL, fix ftp(1) usage so that "[user:password@]" is not shown for http[s] since Basic authentication is not supported with -DSMALL. Done with a lot of discussion with and help from jmc@ (thank you!). ok deraadt haesbaert jmc