summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2010-07-06various tweaks to previous; ok ratchovJason McIntyre
2010-07-06Handle all streams the same way because there's no actualAlexandre Ratchov
difference between audio files and client connections. Clean up the way command line options are handled and clarify this in the manual page: stream parameters (-Ccehjmrtvx) must precede stream definitions (-ios) and per-device parameters (-abz) and stream definitions (-ios) must precede device definitions (-f). Since there's no ``server'' and ``non-server'' modes anymore, make the -l option just detach the process. ok and help from jakemsr and jmc
2010-07-06make kdump build after COMPAT_BSDOS removal.Owain Ainsworth
Bad tedu, no cookie.
2010-07-05Add prototype and remove unused variable.lum
ok canacar@
2010-07-03use SMALL_PROGRAM to knock out some codeTheo de Raadt
2010-07-03Rudimentary implementation of user-defined strings;Ingo Schwarze
no time for more refinement right now. In particular, fixes terminfo(3) and mdoc.samples(7). ok kristaps@, who will add the HTML frontend bits
2010-07-03put .Os in the right place;Jason McIntyre
2010-07-03Fix the naming of interfaces and variables for rdomains and rtablesPhilip Guenthe
and make it possible to bind sockets (including listening sockets!) to rtables and not just rdomains. This changes the name of the system calls, socket option, and ioctl. After building with this you should remove the files /usr/share/man/cat2/[gs]etrdomain.0. Since this removes the existing [gs]etrdomain() system calls, the libc major is bumped. Written by claudio@, criticized^Wcritiqued by me
2010-07-03When open() fails, warn using the device name, not the host name.Nicholas Marriott
2010-07-03Changed vinit to clear the values but forgot to move it before they are set byNicholas Marriott
command line parsing.
2010-07-03make lint happyAlexander Hall
ok phessler@
2010-07-02'wether' -> 'whether' typo in license text.Kenneth R Westerback
ok deraadt@
2010-07-02tags.c isn't needed at all, so exclude the entire object instead ofPhilip Guenthe
commenting it out top-to-bottom ok deraadt@
2010-07-02Remove the "fast" grep code if SMALL. This has the side effect of breakingTed Unangst
fgrep -w, but oh well. ok deraadt millert
2010-07-02#ifndef SMALL a few more things to save space on the ramdisksTheo de Raadt
2010-07-02Do not include mmap support with -DSMALL.Nicholas Marriott
ok millert
2010-07-02remove userland bits of compat_sunosTed Unangst
2010-07-02Not only for -tag lists, but for -hang, -ohang, -inset, -diag,Ingo Schwarze
and -item list as well, empty bodies are OK, they do not even warrant a warning, much less the error they were throwing. According to kristaps, joerg@ also brought this up some time ago. ok kristaps@ jmc@
2010-07-02Allow systat to print date and time when in rawmode.lum
ok canacar@ millert@
2010-07-02Rewrite how printing all variables works to avoid using a global variableNicholas Marriott
accessed by many functions - instead do it in one function.
2010-07-02Clear table and set defaults manually, also move table into value.c.Nicholas Marriott
2010-07-02Merge almost-empty pathnames.h into tip.h.Nicholas Marriott
2010-07-02Merge vassign and vtoken and make it much more strict on what it accepts.Nicholas Marriott
2010-07-02Bye-bye vstring, and add value type checking code to vgetstr/vsetstr/etc.Nicholas Marriott
2010-07-02Rewrite hunt() to put the "rotary action" into it rather than remote.c, and soNicholas Marriott
it isn't so stupid (returning a char * as a long which goes into an int to use as a flag, ugh).
2010-07-02unbreak strdelim() skipping past quoted strings, e.g.Damien Miller
AllowUsers "blah blah" blah was broken; report and fix in bz#1757 from bitman.zhou AT centrify.com ok dtucker;
2010-07-01Don't overwrite the device name with the fake cu%d host.Nicholas Marriott
2010-07-01In the mdoc(7) parser, inspect roff registers early such that all partsIngo Schwarze
of the parser can use the resulting cues. In particular, this allows to use .nr nS to force SYNOPSIS-style .Nm indentation outside the SYNOPSIS as needed by ifconfig(8). To actually make this useable, .Pp must rewind .Nm, or the rest of the section would end up indented. Implement a quick hack for now, a generic solution can be designed later. ok kristaps@ sobrado@
2010-07-01Nix some warnings.Nicholas Marriott
2010-07-01Split v_value into v_string/v_number, change macros to functions and lo letNicholas Marriott
there be type checking.
2010-07-01Change variable get/set macros to have better names and drop boolean/characterNicholas Marriott
ones.
2010-07-01Correct handling of trailing punctuation in MDOC_DELIM blk_full HEADs.Ingo Schwarze
The bug was uncovered by SYNOPSIS .Nm as this happened to be the first block with this particular combination of properties. Found the hard way by kristaps@ in NetBSD gcc-contrib(1), fix by me.
2010-07-01Kill a couple of macros, move a few bits around in header.Nicholas Marriott
2010-07-01remove unused variablesCharles Longeau
add missing headers needed for uu_unlock() ok nicm@
2010-07-01another day, another compat gets removed. today is ibcs2's turnTed Unangst
2010-07-01Follow POSIX (IEEE Std 1003.1, 2004 Edition) in the implementationChristian Weisgerber
of the y (translate) command. "If a backslash character is immediately followed by a backslash character in string1 or string2, the two backslash characters shall be counted as a single literal backslash character" From FreeBSD; ok millert@ halex@
2010-07-01Allow [ to be used as a delimiter.Christian Weisgerber
From FreeBSD; ok millert@ halex@
2010-07-01Improve .Nm indentation in the SYNOPSIS;Ingo Schwarze
kristaps@ will do the missing HTML part soon. "looks nicer" jmc@ "seems perfect to me" sobrado@ "slap it in" kristaps@
2010-07-01Fix a longstanding problem where if you suspend scp at theTodd C. Miller
password/passphrase prompt the terminal mode is not restored. OK djm@
2010-07-01Remove a long-dead skeleton found under the floorboards.Ian Darwin
"go for it" tedu@, "kill it" deraadt@
2010-07-01if you want usenet archives from 1985, you'll have to look elsewhereTed Unangst
2010-06-30remove compat_osf1. ok deraadt miodTed Unangst
2010-06-30improve error reporting:Ingo Schwarze
* avoid error exit code after mere warnings * add ERROR: and FATAL: to messages when appropriate * sort the code in mmsg() to make it easier on the eye * make the mandocerrs[] list easier to maintain * update a few comments in mandoc.h ok kristaps@
2010-06-30you keep saying LIST_END. I do not think it means what you think itOwain Ainsworth
means. If we hit an OOM condition, mg started to try and dump the older undo buffer entries in order to be able to continue. OTOH, it was grabbing this entry with LIST_END, which like all *_END() list macros evaluates to NULL. Do what we actually want and switch that list to a TAILQ and use TAILQ_LAST to grab the last entry. Wrote this a loooooong time ago after a mail from Matthew Dempsky on bugs@. ok kjell@, beck@ also looked at this months ago and thought it was alright.
2010-06-30tweak previous;Jason McIntyre
2010-06-30sort usage();Jason McIntyre
2010-06-30tweak previous;Jason McIntyre
2010-06-30Closing of full blocks (Bd Bf Bk Bl It Fo Nd Rs Sh Ss) may never beIngo Schwarze
delayed: It must either succeed right away or fail outright. As noticed by Kristaps, neglecting to fail properly when required could make invalid input screw up the syntax tree and ultimately trigger assertions in other, unrelated parts of the program. This fix tested by and OK by kristaps@. While here, comment the rather tricky function rew_dohalt(). This function will probably need more tweaks later on.
2010-06-30Make deprecated command line argument for extractinglum
name list work properly. ok deraadt@ millert@
2010-06-30Only two variables - HOME and SHELL - are from the environment, so just fillNicholas Marriott
them in explicitly and get rid of the ENVIRON flag.