summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2012-05-26Do not handle vertical lines as additional tbl(7) columns,Ingo Schwarze
instead save their properties with the following column. This simplifies layout parsing and saves a lot of code related to column handling. At output time, print all white space and vertical lines separating columns before printing the following column, and none after printing the preceding column, considerably simplifying white space handling and width calculations. No functional change, but it saves 150 lines of code, and it allows the next patch to tbl_term.c, tbl_literal().
2012-05-25full-stops mainly.lum
2012-05-25Be consistent on how we describe key-strokes: UP-low (c-H -> C-h)lum
2012-05-25Move the windows section in the tutorial to a more sensible placelum
(next to buffers) and move the mg history into the README file which seems a more sensible place as well.
2012-05-25When paging down a buffer (C-v) stop earlier before having the lastlum
line as the top line in the window. This emulates emacs behaviour.
2012-05-25grr... another C99-only assignment.Marc Espie
2012-05-25Simplify logging and just fprintf(stderr, ...) for early errors.Nicholas Marriott
2012-05-25Allow searching (C-s or C-r) to wrap around the ends of a buffer.lum
Even if the search string is located at the beginning or end of a buffer.
2012-05-25Prepare mg buffers before startup file is parsed so multiple files canlum
be opened via the startup file. Having find-file, insert-file etc.. in the startup file now work as you would expect. Reviewed by Sunil Nimmagadda.
2012-05-25Remove static FILE pointer used for handling files in fileio.c. Passlum
by reference instead. This allows the mg startup file to open other files without unexpected things happening. Discussed with Sunil Nimmagadda.
2012-05-24Support -Ios='OpenBSD 5.1' to override uname(3) as the source of theIngo Schwarze
default value for the mdoc(7) .Os macro. Needed for man.cgi on the OpenBSD website. Problem with man.cgi first noticed by deraadt@; beck@ and deraadt@ agree with the way to solve the issue.
2012-05-23Make the "default" string a valid device name that has the same effectAlexandre Ratchov
as NULL has. This will (hopefully) simplify ports where the user passes the device string.
2012-05-23Use a predefined structure for not-space cells used to set attributes.Nicholas Marriott
2012-05-23Fix duplicate mixer knob namesAlexandre Ratchov
2012-05-23Fix wrong arithmetics in channel mapping causing crashes if all ofAlexandre Ratchov
the recorded or played channels don't exist. With help from Remco <remco at d-compu.dyndns.org>, thanks!
2012-05-23Change how mg handles files beginning with a '~'.lum
Bring behaviour more into line with emacs.
2012-05-23add support for RFC6594 SSHFP DNS records for ECDSA key types.Damien Miller
patch from bugzilla-m67 AT nulld.me in bz#1978; ok + tweak markus@
2012-05-22Store client in tty struct directly instead of using a callback functionNicholas Marriott
pointer.
2012-05-22Store mouse data in tty structure not on the stack.Nicholas Marriott
2012-05-22Strip trailing slashes from directory in splice() beforeTodd C. Miller
appending the file portion. OK krw@ matthew@
2012-05-22Switch all of the various choose- and list- commands over to the formatNicholas Marriott
infrastructure, from Thomas Adam.
2012-05-22Add a helper function to send ready message.Nicholas Marriott
2012-05-22Use tty_pane_full_width macro in some more places.Nicholas Marriott
2012-05-22If there are any terminals with insert mode but not ich1, they can goNicholas Marriott
through the slow path. Tidies code slightly.
2012-05-22Move some common code to repeat spaces into a function.Nicholas Marriott
2012-05-21Instead of passing stdin/stdout/stderr file descriptors over imsg andNicholas Marriott
handling them in the server, handle them in the client and pass buffers over imsg. This is much tidier for some upcoming changes and the performance hit isn't critical. The tty fd is still passed to the server as before. This bumps the tmux protocol version so new clients and old servers are incompatible.
2012-05-21fix put usageGleydson Soares
ok sthen@ henning@ dlg@ "looks right" deraadt@
2012-05-19Document PermitOpen none. bz#2001, patch from Loganaden VelvindronDarren Tucker
2012-05-19Reformat usage() to avoid the line wrap, and make it match the way itLawrence Teo
looks on the man page. ok haesbaert jmc henning
2012-05-18Allow no-tab-mode to compile. From James Turner.lum
note: no-tab-mode needs more work done before removing the NOTABs.
2012-05-17Ignore line continuation when escaped as \\, from Simon Nicolussi.Nicholas Marriott
2012-05-17Quit if write(2) returns -1 when writing to the tty, which canTodd C. Miller
happen if the tty is revoked. OK deraadt@
2012-05-16Add missing break between AF_INET and AF_INET6 in addr_matches_if_netmask()Todd C. Miller
Addresses CVE 2012-2337
2012-05-15Fix confusing patch(1) output on failure when using -C. FromTodd C. Miller
dragonflybsd via Loganaden Velvindron. OK mikeb@ and deraadt@
2012-05-13Use -t for move-window with -r rather than dying. Reported by BenNicholas Marriott
Boeckel and Thomas Adam.
2012-05-13Add "Match LocalAddress" and "Match LocalPort" to sshd and adjust testsDarren Tucker
to match. Feedback and ok djm@ markus@.
2012-05-10Allow throwaway buffers to be saved via C-c s. This difflum
does not change the behaviour with regards to mg not asking to save throwaway buffers when exiting. Reviewed by Sunil Nimmagadda.
2012-05-08Fix a bug in writeout() where the stats of the wrong filelum
were given to a buffer being written. Reviewed by Sunil Nimmagadda.
2012-05-08Fix double-free when -n is used with -b.Christiano F. Haesbaert
From Erik Lax, also tested by lteo.
2012-05-07Remove CVS tag. Makes tutorial look a bit neater.lum
ok sthen@ (thanks to kettenis@ for simpler solution)
2012-05-06Add a helper function to open the terminal for attach-/new-session.Nicholas Marriott
2012-05-05Only enter copy mode on scroll up, from Ailin Nemui.Nicholas Marriott
2012-05-05Tidy up by adding a macro for the pane being the full screen width, fromNicholas Marriott
Ailin Nemui.
2012-05-05Missing ()s in macros.Nicholas Marriott
2012-05-05Pull CRA out into a separate function and add ERA, from Ailin Nemui.Nicholas Marriott
2012-05-05Make unbind-key -a work with -t, based on a diff from Kazuhiko Sakaguchi.Nicholas Marriott
2012-05-02default-path has the same possibilities as new-window -c now.Nicholas Marriott
2012-05-02strncpy() -> strlcpy()Gleydson Soares
ok henning@
2012-05-01update currency exchange rates;Jason McIntyre
2012-05-01IPv6 support; mostly a sync with netbsd code done by itojun@Gleydson Soares
tweaks/OK henning@ sthen@ jmc@ jasper@ feedback/tests weerd@ brad@ (thanks)