summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2008-06-14- remove ports category after discussion w/ manyPeter Valchev
- sync architectures list with reality and fix a few names ok theo
2008-06-14unfuck CVS/Tag creation, karma sucks doesn't it.Joris Vink
2008-06-14Mention that scp follows symlinks during -r. bz #1466, from nectar at appleDarren Tucker
2008-06-14suppress the warning message from chdir(homedir) failuresDamien Miller
when chrooted (bz#1461); ok dtucker
2008-06-14ensure default umask disallows at least group and world write; ok djm@Darren Tucker
2008-06-14wrap long line at 80 charsDarren Tucker
2008-06-14We do not need a whole MODE for blinking one character.Kjell Wooding
both emacsen automatically blink, so mg should too. This can be overridden in your ~/.mg by adding, e.g. global-set-key ")" self-insert-command So, I've eliminated blink mode, and renamed "blink-matching-paren-hack" to "blink-and-insert". It's not just for parens anyway. While I'm here, set up an empty (rescan) target for backtab, so I can bind something convenient to it; e.g. global-set-key "\e[Z" backward-char Finally, remove all references to Scribd. Theo doesn't hate this, though I would hesitate to call it an ok.
2008-06-14Add compile (c-C c-P) to the c-mode keymap (export from grep.c)Kjell Wooding
Also, attempt to make indent an atomic undo operation.
2008-06-14unf*ck undo.Kjell Wooding
No seriously. Reposition the cursor to the start of the redo position, like emacs. This gets us halfway to being emacs-finger-friendly. For the rest, introduce a rptcount variable to count successive invocations of the same function. This means undo will abort properly on C-g, and other such interruptions. This is a lot of diff for a simple-seeming problem. Emacs undo is hard.
2008-06-14Conforming to RCS specification, it is possible but unlikely to encounterTobias Stoeckmann
an RCS file which has no head revision set. Some commands actually can work with them (log, status) so support these files. Fixes A LOT of possible segmentation faults. ok joris
2008-06-14Added support for sticky date set in CVS/Tag and CVS/Entries per directory.Tobias Stoeckmann
ok joris
2008-06-14don't always re-open the same CVS/Entries file, instead keep theJoris Vink
last opened CVS/Entries around to operate on and close it whenever we switch directory. gives us a small performance boost, obviously. while doing this, switch the way we write revisions to disk by using fwrite(3) so stuff can get written to disk in chunks instead of writing everything line by line, another win. with help from otto@ ok tobias@
2008-06-14Run cvs_remove_force only if -f has been specified.Tobias Stoeckmann
ok joris
2008-06-14No need to add \n at the end of format string for a fatal call.Tobias Stoeckmann
2008-06-14Don't trick user into believing that it's actually possible to add a fileTobias Stoeckmann
to repository which is even ready to be checked out. "probably right" joris
2008-06-14Fixed wrong function name in fatal call.Tobias Stoeckmann
2008-06-13Do not print a warning if /dev/pf can not be opened.Can Erkin Acar
2008-06-13Remove unused files. Noticed by sthen@Can Erkin Acar
2008-06-13Include some additional pointers, etc that I really need for debuggingClaudio Jeker
nasty routing table issues. Mainly the pointer to the previous node. OK henning@
2008-06-13Explain the use of SSH fpr visualization using random art, and cite theAlexander von Gernler
original scientific paper inspiring that technique. Much help with English and nroff by jmc@, thanks.
2008-06-13One more "//" instead of "/" case. Hidden in a getcwd.Kjell Wooding
Noted, ok otto@
2008-06-13phessler noted that c-mode ignored blinking braces.Kjell Wooding
Add "c-handle-special-brace" which does a blink and indent, rather than just a selfinsert and indent
2008-06-13Allow selfinsert to be called with FFRAND; i.e. from anotherKjell Wooding
function. While here, tighten whitespace.
2008-06-13Prevent -Wsign-compare warnings on LP64 systems. bz #1192, ok deraadt@Darren Tucker
2008-06-13Remove mail-mode. It was a buggy reimplementation of auto-fill-mode.Kjell Wooding
If you use this, change your habits (and .mg) to use the following commands instead: mail-mode => auto-fill-mode mail-set-margin => set-fill-column ok henning@. Will also "fix" debian bug #460189
2008-06-13Fix debian bug #432656Kjell Wooding
'Prints root directory as "//" instead of "/" for root files.' Issue was with dirname, which strips the trailing slash, except when given "/". Wrap it in a cover function to fix. Also helps with portability to data-munging dirname glibc.
2008-06-13Fix autoexec file handling.Kjell Wooding
Two issues: *scratch* did not inherit any modes set from ~/.mg, as it was created too early. Switch to using *init* buffer until after autoexec, then kill it and inherit correct *scratch*. Second, -f should force the mode. Not toggle it. ok phessler@
2008-06-13Fix size and age field printing. The fields will now be printed with unitsCan Erkin Acar
instead of getting truncated.
2008-06-13Friendlier error messages for mux fallback. ok djm@Darren Tucker
2008-06-13pass the complete path to cvs_file_get_cf() instead of reconstructingJoris Vink
it again in that function.
2008-06-13Include unistd.h for close(), prevents warnings in -portableDarren Tucker
2008-06-13Clear key options in the monitor on failed authentication, preventsDarren Tucker
applying additional restrictions to non-pubkey authentications in the case where pubkey fails but another method subsequently succeeds. bz #1472, found by Colin Watson, ok markus@ djm@
2008-06-13compile on older gcc; no decl after codeTheo de Raadt
2008-06-13compile on older gcc; no decl after codeTheo de Raadt
2008-06-13Use refresh interval for rate calculation instead of the broken elapsedCan Erkin Acar
time computation.
2008-06-13remove a rather silly comment.Claudio Jeker
2008-06-13Let the kvm output of netstat grok rt priorities like the "normal" show code.Claudio Jeker
2008-06-13refuse to read ~/.shosts or ~/.ssh/authorized_keys that are notDamien Miller
regular files; report from Solar Designer via Colin Watson in bz#1471 ok dtucker@ deraadt@
2008-06-13upcast uid to long with matching %ld, prevents warnings in portableDarren Tucker
2008-06-13Set 'naptime' which is used by the interface page in differential mode.Can Erkin Acar
Also remove a debugging message while there. reported by claudio@
2008-06-13Do not try to access ordering if it is not defined.Can Erkin Acar
2008-06-13upcast another size_t to u_long to match formatDarren Tucker
2008-06-13upcast size_t to u_long to match format arg; ok djm@Darren Tucker
2008-06-13fall back to creating a new TCP connection on most multiplexing errorsDamien Miller
(socket connect fail, invalid version, refused permittion, corrupted messages, etc.); bz #1329 ok dtucker@
2008-06-13replace __dead with __attribute__((noreturn)), makes things a little easierDarren Tucker
to port. Also, add it to sigdie(). ok djm@
2008-06-12tweak wording in message, ok deraadt@ jmc@Ian Darwin
2008-06-12tweak previous;Jason McIntyre
2008-06-12New display engine for systat, based on pftop. Adds new views for pfCan Erkin Acar
(status, state, rule, queue). While all displays work, some keyboard comands are not implemented yet. Other features include better handling of display resize and scrolling for long views. Committing now to fix the remaining issues in the tree. Testing and comments by otto@ and harding@, ok deraadt@
2008-06-12add my copyright, ok djm@Alexander von Gernler
2008-06-12incremental search isn't allowed in macros, so if your fingersKjell Wooding
automatically go there during a macro def, the macro recording is CANCELED. This sucks rocks. This fixes the incremental searches to automagically invoke the non-incremental varieties during macro recording and playback. ok art