summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-06-18Actually write all the data to stdout/stderr.Nicholas Marriott
2012-06-18Add a skeleton mode to tmux (called "control mode") that let's tmuxNicholas Marriott
commands be sent and output received on stdout. This can be used to integrate with other terminal emulators and should allow some other things to be made simpler later. More to come so doesn't do much yet and deliberately not documented.
2012-06-18Clarify description of -W. Noted by Steve.McClellan at radisys com, ok jmcDarren Tucker
2012-06-18document ports-readmes special-caseMarc Espie
2012-06-18Remove mention of 'three' key files since there are now four. FromDarren Tucker
Steve.McClellan at radisys com.
2012-06-18RSA instead of DSA twice. From Steve.McClellan at radisys comDarren Tucker
2012-06-18correct sizeof usage. patch from saw at online.de, ok deraadtDarren Tucker
2012-06-18Add ~/.mg.d to FILES. Reviewed by jmc@lum
2012-06-18Tidy up bell code, from Thomas Adam.Nicholas Marriott
2012-06-18fix potential use of uninitialized variable.Charles Longeau
found with valgrind on -portable. ok gilles@
2012-06-18Add a couple of NULL pointer checks to key binding functions, fromNicholas Marriott
jspenguin on SF bug 3535531.
2012-06-18When using M-> Place cursor at the bottom of the window (minus 3lum
lines) like emacs, instead of middle of page.
2012-06-18Do not crash when the current session has no window, fixes a bugNicholas Marriott
reported by Giorgio Lando. Fix from Thomas Adam.
2012-06-18Removing this 'if' statement allows dired buffers to not have theirlum
forward and backward line pointers pointing to the same line, causing mg to spin when asked to split the window. This happens if a directory is opened via the command line sequentially first, and other windows need to opened afterwards (for other files). Since the information within this 'if' statement is updated later for files and directories I can see no problem with removing this. No regressions viewable either. Problem reported by and diff tested by jasper@
2012-06-18Add -a for kill-session, from Thomas Adam.Nicholas Marriott
2012-06-18Add -a flag for detach-client, from Thomas Adam.Nicholas Marriott
2012-06-18Simplify references to alerts in the man page, from Thomas Adam.Nicholas Marriott
2012-06-18- add a pathnames.hJasper Lievisse Adriaanse
- some whitespace cleanup ok lum@
2012-06-18- explicitly use DOCMODE instead of NONBINMODEJasper Lievisse Adriaanse
ok lum@
2012-06-18Polish the rm -rP turd: if the fts_* routines have lstat()'ed thePhilip Guenthe
directory entry then use the struct stat from that instead of doing it again, and skip the rm_overwrite() call if fts_read() indicated that the entry couldn't be a regular file. ok millert@
2012-06-18Fix potential symlink race condition in "rm -P" by adding a checkTodd C. Miller
that the file we have opened is the one we expected. Also open in non-blocking mode to avoid a potential hang with FIFOs. Reported by Radoslaw A. Zarzynski. Fix adapted from NetBSD. OK guenther@
2012-06-17- introduce struct scheduler_info and the scheduler_info() function to fillGilles Chehade
a struct scheduler_info given a struct envelope - adapt the scheduler API and the scheduler_ramqueue backend to use the new struct scheduler_info instead of a struct envelope idea discussed with eric@ and chl@, mechanical diff, no functional change
2012-06-17No longer restrict alloc_contiguous_pages() to memory in the low 4GB.Miod Vallat
2012-06-17Using the LLAddr register to store our curcpu() pointer on R10k SMP kernelsMiod Vallat
was a nice trick, but this register is only 32-bit wide and will be sign-extended, which requires all cpu_info structs to be allocated within 2GB physical - something which may not be possible on some configurations. This diff changes IP30.MP kernels to no longer use LLAddr to store curcpu, but use unused fields of the MPConf structure in low memory, indexed with the physical processor id, which can be obtained from the Heart PRID register.
2012-06-17Remove leftover loongson or sgi references.Miod Vallat
2012-06-16fix bad grammar in a commentMiod Vallat
2012-06-16When the last user disconnects, make sure we display the status lineChristiano F. Haesbaert
one more time. ok sthen@
2012-06-16rename filter.c --> filter_api.c (to be consistent with upcoming changes)Charles Longeau
prompted by and ok gilles@
2012-06-16compat_linux: Don't hold the lock while pool_get'ing with WAITOK.Paul Irofti
Okay jasper@.
2012-06-16Protect against fd exhaustion when reopening database files. Only acceptJonathan Matthew
client or control connections when there are at least 8 fds available, and close a connection before calling imsg_read if it would be unable to accept an fd from the parent process. ok gilles@
2012-06-15update return values for ibuf_write and msgbuf_writeJonathan Matthew
ok gilles@
2012-06-15Add a regress test for ld.so's DF_1_NOOPEN support.Matthew Dempsky
2012-06-15Fixes a problem where if you try to open a file that doesn't exist and haslum
a name longer than LOGIN_NAME_MAX and also has a tilde at the front e.g: $ mg ~01234567890123456789012345678901 mg will give a "Login name too long" instead of opening a new buffer named ~01234567890123456789012345678901
2012-06-15Fix typos.Matthew Dempsky
ok pig(6)
2012-06-14- rename filter.h -> filter_api.h to be consistent with upcoming changesGilles Chehade
2012-06-14Add support for DF_1_NOOPEN. Based on an origional diff from matthew@.Mark Kettenis
ok matthew@
2012-06-14- make sockaddr_as_fqdn() endian-safeGilles Chehade
bug spotted by Jan Stary fix by eric@, committing this on his behalf, ok gilles@
2012-06-14Add support for UCD-DISKIO-MIB.Matthew Dempsky
ok sthen
2012-06-14Add paragraph about "non-standard" mg commands.lum
2012-06-14Allow mg to save backup files to a users home directory.lum
Suggestions from eric@ and Sunil Nimmagadda. Remarks deraadt@.
2012-06-14Remove uvm_km_kmem_grow printf.Ariane van der Steldt
It's no longer required, code is stable. ok kettenis@
2012-06-14whitespace cleanupJasper Lievisse Adriaanse
ok ariane@
2012-06-14tweak pkg_info -S to separate pkgnames with @ from libraries with nothing.Marc Espie
*this goes together with a bsd.port.mk change* !!! fixes some ambiguities in out-of-date, for instance. if you're parsing pkg_info -S output manually, this *WILL* change the way things work
2012-06-14fix typo in commentJasper Lievisse Adriaanse
ok ariane@
2012-06-13Expose reaperproc.Ariane van der Steldt
I need this for my diffs. ok guenther@
2012-06-13update to 1.2.1Robert Nagy
2012-06-13Remove duplicate description of FORK_TFORKPhilip Guenthe
ok jmc@
2012-06-12Fix loaded object sod matching: when we load libfoo.so.X.Y intoMatthew Dempsky
memory, we should be able to match other requests for libfoo.so.X.Z against that same object. ok kurt, kettenis
2012-06-12The router-dead-time is only a 16-bit value in ospf v3.Claudio Jeker
Found by robert at peichaer.org. OK henning@ jmc@
2012-06-12Explicitly check whether a BAR is big enough for a particular port insteadMark Kettenis
of relying on bus_space_subregion(9) to fail. Fixes double console attachment seen by otto@