aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/bc
Commit message (Collapse)AuthorAgeFilesLines
* Move most of the remaining USD/PSD/SMM papers into share/docUlrich Spörlein2010-12-041-1241/+0
| | | | Notes: svn path=/head/; revision=216178
* Fix some more warnings found by clang.Rebecca Cran2010-11-221-0/+1
| | | | Notes: svn path=/head/; revision=215704
* - Fix signal handling in bc/dc. Now Ctrl-C terminates the execution.Gabor Kovesdan2010-06-061-19/+0
| | | | | | | | Requested by: gk (via private mail) Approved by: delphij (mentor) Notes: svn path=/head/; revision=208868
* Fix a bug in previous revision.Xin LI2010-02-051-1/+1
| | | | | | | | | | | | | | | The bc(1) program may need to deal with files when it's being run in interactive mode, so we can not blindly use interactive mode (in turn use libedit) but need to check if the input source is really the standard input. This commit should fix a regression where 'bc -l' would not parse the mathlib. Reported by: trasz Notes: svn path=/head/; revision=203531
* Use libedit when interacting with tty, which provided historyXin LI2010-02-044-1/+65
| | | | | | | | | | | | | functionality, etc. as did by GNU bc. This also fixes an issue where BSDL bc can not handle very long line. Reported by: imp Reviewed by: imp Notes: svn path=/head/; revision=203498
* - style(9)Gabor Kovesdan2010-02-032-32/+41
| | | | | | | Approved by: delphij (mentor) Notes: svn path=/head/; revision=203443
* - style.Makefile(5)Gabor Kovesdan2010-02-031-5/+5
| | | | | | | | Submitted by: uqs Approved by: delphij (mentor) Notes: svn path=/head/; revision=203437
* - Remove --debug option and intentionally undocument -d, which is onlyXin LI2010-01-222-15/+10
| | | | | | | | | | | | kept for compatibility with 4.4BSD behavior. - Sync SYNOPSIS with usage(). - Use an alternative way to represent short and long options which have same semantics. Reviewed by: gabor Notes: svn path=/head/; revision=202845
* Move USD documents from /usr/share/doc/papers to to /usr/share/doc/usd.Xin LI2010-01-222-14/+0
| | | | | | | Reviewed by: gabor Notes: svn path=/head/; revision=202843
* Makefile cleanups:Xin LI2010-01-211-6/+1
| | | | | | | | | | | o Enable building of USD o Remove commented out targets o Remove WARNS?=6 lines since it's the default Reviewed by: gabor Notes: svn path=/head/; revision=202761
* Replace GNU bc/dc with BSDL versions ported from OpenBSD. They have a goodGabor Kovesdan2010-01-209-0/+3460
compatibility level with the GNU counterparts and have shown to be mature enough. For now, the GNU versions aren't removed from the tree, just detached from the build. Sponsored by: Google Summer of Code 2008 Portbuild run by: erwin Approved by: delphij Notes: svn path=/head/; revision=202719