summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2011-10-01tweak the currency aliases section a little;Jason McIntyre
2011-10-01- update the ISO 4217 section. i've removed currencies for which weJason McIntyre
(currently) have no exchange rate, and euro-pegged currencies - some cosmetic tweaks to make the currencies stuff more consistent
2011-10-01update exchange currencies for remaining currencies; i've usedJason McIntyre
The Economist rather than The Wall Street Journal, and have removed entries for which i have no data (i think this is better than providing data from 2002; in the future we can hopefully add them back in).
2011-10-01provide the exchange rate for those currencies listed in the federalJason McIntyre
reserve section (i'll get to the others sometime), as of 23.9.11. i've also updated the website link, and the date of the exchange rate. because the rates given on the federal reserve website are in currency units per US dollar, and units(1) needs US dollars per currency unit, there is an additional layer of conversion and rounding (and work) to perform. i have side stepped that by prefixing all the amounts by "1|" to let units(1) do the work. for whatever reason, four currencies are given in US dollars per currency unit and do not need this.
2011-10-01remove the exchange rate entries for "maltalira" and "slovakkoruna", nowJason McIntyre
that they are pegged to the euro;
2011-10-01Sort the lines on -l output and match the order on the column output.Christiano F. Haesbaert
Also make the -l output go to stdout as it's easier to grep with it, and set stdout to linebuf. ok djm@ "as long as you add a setlinebuf(stdout) :-)"
2011-09-30add cyprus pounds, maltese lira, slovakian koruna, and slovenian tolar;Jason McIntyre
2011-09-30fix inverted test that caused logspam; spotted by henning@Damien Miller
2011-09-30ISO 4217 updates for the currencies in the federal reserve section:Jason McIntyre
BRR -> BRL (brazilreal) MXP -> MXN (mexicopeso) add LKR (srilankarupee) and VEF (venezuelabolivar) use base unit name for CNY and GBP
2011-09-30alphabetically sort the list of currency aliases; because any oneJason McIntyre
currency may have more than one alias, i sorted it by base unit (column two), rather than alias name.
2011-09-30(in preparation for some currency updates)Jason McIntyre
sync the list from the federal reserve, to match exactly what they currently publish. to do that, i've changed the base currency for the UK from "britainpound" to "unitedkingdompound"; and for China from "chinarenminbi" to "chinayuan". to preserve those long existing terms, i've added aliases for "greatbritainpound", "britainpound", and "chinarenminbi". i've also sorted the federal reserve list to match the order currently published.
2011-09-30don't attempt privsep cleanup when not using privsep; ok markus@Darren Tucker
2011-09-30implement .Ap .Bd .Bo .Bq .D1 .Ic .Lp .Oo .Pf .Po .Ss .Sx .Sy .br .spIngo Schwarze
implement .Bl -bullet add more information to the .TH line escape dots at the beginnings of lines add trailing newline character at the end of the file do not misinterpret the ROOT block as .Ap
2011-09-29ssl.8: Certifying Authority -> Certificate AuthorityJason McIntyre
isakmpd.8: rsa:1024 -> rsa:2048 (ok markus) all: X509 -> X.509 from Lawrence Teo
2011-09-28Add -S option to refresh-client to redraw status line, from Marco Beck.Nicholas Marriott
2011-09-28Support symbols in .tbss and .tdata ELF sectionsUwe Stuehler
With this change nm(1) prints the expected symbol type ('B' or 'D') for variables in the .tbss and .tdata sections respectively, instead of '?'. This would be what binutils do for non-automatic variables that are marked as thread-local with the __thread attribute in GCC. help and ok miod@, guenther@
2011-09-28Update awk to Aug 10, 2011 version; naddy@ reports no ports problemsTodd C. Miller
from the update.
2011-09-27zap dead stuffMarc Espie
from Michael W. Bombardieri
2011-09-26use, as far as possible, the same notation for date strings as otherJason McIntyre
manual pages; whilst here, a little clean up for clarity ok millert
2011-09-26retain alphabetical order for the -Toutput list, and use a widthJason McIntyre
specifier that makes it look nicer; ok schwarze kristaps
2011-09-25Reject $SHELL if it is not a full path.Nicholas Marriott
2011-09-25tweak previous; ok jasperJason McIntyre
2011-09-25improve the AuthorizedPrincipalsFile debug log message to includeDamien Miller
file and line number
2011-09-23Tweaks to the format parts, from Tiago Cunha.Nicholas Marriott
2011-09-23Fix typo: ) -> }.Nicholas Marriott
2011-09-23unbreak remote portforwarding with dynamic allocated listen ports:Markus Friedl
1) send the actual listen port in the open message (instead of 0). this allows multiple forwardings with a dynamic listen port 2) update the matching permit-open entry, so we can identify where to connect to report: den at skbkontur.ru and P. Szczygielski feedback and ok djm@
2011-09-23Add wildcard support to PermitOpen, allowing things like "PermitOpenDarren Tucker
localhost:*". bz #1857, ok djm markus.
2011-09-22Make use of the filename argument to open_error(), pointed out byNicholas Marriott
Michael W Bombardieri. ok millert
2011-09-22Remove the rcsid which were intentionally skipped in the "purge of 2009"Theo de Raadt
because the -V command printed them... gut the -V (and -L, while there) to be silent. ok miod jsg
2011-09-22Revert r1.15. Now that the "C" locale is ASCII-only, this workaroundStefan Sperling
is no longer needed.
2011-09-22don't let remote_glob() implicitly sort its results in do_globbed_ls() -Damien Miller
in all likelihood, they will be resorted anyway
2011-09-21Fix mismerged copyright noticeTodd C. Miller
Use strlcpy() not snprintf() to copy a simple string. OK deraadt@
2011-09-21Use volatile sig_atomic_t, not int, for the sigs variable. AlsoTodd C. Miller
move the call to bell() out of u_interrupt() (a signal handler). OK and with help from deraadt@
2011-09-21Repair interrupted reads; fixes ^Z. OK deraadt@Todd C. Miller
2011-09-21remove rcsids which escaped the purge of 2009Jonathan Gray
2011-09-21As noticed by kristaps@, when breaking an overflowing line,Ingo Schwarze
forget about pending whitespace (vbl), or the next line would be misaligned and potentially too long; but i'm fixing this in a simpler way than he proposed. Also remove the kludges in .HP that compensated for this bug.
2011-09-20groff compatibility for the rendering of foreign manuals:Ingo Schwarze
support .Lb -libdwarf and update .Lb -libelf after Werner Lemberg committed a patch by Joseph Koshy
2011-09-20Major rewrite of the horizontal spacing of tablesIngo Schwarze
to work both with and without frames and rulers. Started during BSDCan 2011 in Ottawa, finished during s2k11 in Ljubljana. ok kristaps@
2011-09-20Don't include fcntl.h (not needed anymore) and use errx(3) instead ofAlexandre Ratchov
fprintf(3) and exit(3). from Michael W. Bombardieri <mwb at bom.nom.co>, thanks!
2011-09-20Using user-defined macros, surprisingly, it is possibleIngo Schwarze
to have *next*-line head arguments on the *same* input line. So .TP must not assume that a head argument with a matching input line number is a same-line argument (and access a NULL pointer). Bug found and fix tested by kristaps@ with groff_hdtbl(7).
2011-09-20add a blurb to caveats about variable expansions to multiple valuesJasper Lievisse Adriaanse
2011-09-20do not assign pointers to literal stringsIngo Schwarze
to variables that might be changed; from kristaps@
2011-09-20When advancing the left margin, .RS also needs to reset the right marginIngo Schwarze
to the default and check that the left does not outgrow the right one. Otherwise, the (rmargin >= offset) assertion fails in term_flushln(). Bug found and fix tested by kristaps@ with NetBSD slapo-retcode(5).
2011-09-20Lose unused variable cvs_msg, from Michael W Bombardieri.Nicholas Marriott
2011-09-20Sync print_mdoc_head to print_man_head;Ingo Schwarze
this was forgotten after man_term.c rev. 1.25 on March 2, 2010. The benefit is a sane page header line when .Dt is very long. Reminded by Thomas Klausner <wiz at NetBSD>, thanks.
2011-09-19Remove the terminal frontend flag TERMP_NOLPAD.Ingo Schwarze
In columnated contexts (.Bl -column, .Bl -tag, .IP, .TP, .HP etc.), do not pad after writing a column. Instead, always pad before writing content. In itself, this change avoids: - writing trailing whitespace in some situations - with .fi/.nf in .HP, breaking lines that were already padded It allows several bugfixes included in this patch: - Do not count backspace as a character with positive width. - Set up proper indentation when encountering .fi/.nf in .HP. - Adjust the .HP indentation width to what groff does. - Never unlimit the right margin unless in the final column. This reduces the groff/mandoc-differences in base by nearly 20%, from 89k to 72k lines of diffs. ok kristaps@
2011-09-19teach kdump about "siginfo-style" signal sub-codes, and the (currently)Theo de Raadt
limited subset of information the kernel supplies. ok miod pirofti
2011-09-19clean up buffer cache statistics somewhat toBob Beck
remove some now useless statistics, and add some relevant ones regarding kva usage in the cache. make systat io and show bcstats in ddb both show these counters. ok deraadt@ krw@
2011-09-19Breaking the line at a hyphen is only allowed if the hyphenIngo Schwarze
is both preceded and followed by an alphabetic character. This fixes about a dozen places in base.
2011-09-18Fix another regression introduced in 1.11.7:Ingo Schwarze
If a string is defined in terms of itself, the REPARSE_LIMIT in read.c used to break the cycle. This no longer works since all the work is now done in the function roff_res(), looping indefinitely. Make this loop finite by arbitrarily limiting the number of times one string may be expanded; when that limit is reached, leave the remaining string references unexpanded. This changes behaviour compared to 1.11.5, where the whole line would have been dropped. The new behaviour is better because it loses less information. We don't want to imitate groff-1.20.1 behaviour anyway because groff aborts parsing of the whole file.