summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2012-09-21Fix handling of filenames containing escaped globbing characters and escapeDarren Tucker
"#" and "*". Patch from Jean-Marc Robert via tech@, ok djm.
2012-09-21Fix improper handling of absolute paths when PWD is part of the completedDarren Tucker
path. Patch from Jean-Marc Robert via tech@, ok djm.
2012-09-21zap lint remainsMarc Espie
2012-09-21vax, found by fries@Marc Espie
2012-09-21major overhaul of the way make handle jobs, inspired by dpb:Marc Espie
instead of forking a "job" per target, and having that job further fork separate commands, have make maintain a list of jobs, indexed by pid of currently running commands, and handle process termination continuation-style. This has lots of benefits: - make is responsible for most printing, so we no longer need pipes nor job control: make -j jobs see the tty. - no more special-casing for jobs that don't really execute anything. - unify code for make -jn and make -B, including signal handlers and job waiting. So make -n, make -q, +cmd now run commands in the same way in all cases. - unified more accurate error-reporting, as make knows precisely which command failed. Commands are tagged with their lines, and we display failing commands in silent mode. - fine-grained "expensive" command handling (recursion limiter). Do it per-command instead of per-target. Moreover, signal response is now simpler, as we just block the signals in a small critical sections, test for events, and sigpause (thanks a lot to guenther@ and millert@), so running make is now almost always paused without any busy-waiting. Thanks to everyone who tested and gave input.
2012-09-20add more sensor types to sensor framework.Yojiro Uo
- Pressure (10^-3 Pa) - distance (10^-6 m) - acceleration (10^-6 m/s^2) ok deraadt@ reyk@
2012-09-19this command comes from V7; from simon gerratyJason McIntyre
confirmed by sobrado
2012-09-18The place name we visited was not "sake" but "Sakae".YASUOKA Masahiko
ok claudio henning
2012-09-18Add bounds check on sftp tab-completion. Part of a patch from from Jean-MarcDarren Tucker
Robert via tech@, ok djm
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.