summaryrefslogtreecommitdiff
path: root/usr.bin/bc/scan.l
AgeCommit message (Expand)Author
2013-09-19separate termios.h out from scan.l, both have an ECHO define. Noted byOtto Moerbeek
2011-08-03save/restore tty state on SIGTSTP/SIGCONT. ok deraadt@ nicm@Otto Moerbeek
2011-06-03Make ^D behave: dont't echo it and make it work if the cursor is atOtto Moerbeek
2011-06-01- avoid YY_FLUSH_BUFFER: it is not signal safe and it does not work as intendedOtto Moerbeek
2011-03-07add editline support; from freebsd. ok deraadt@Otto Moerbeek
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2008-12-15turns out gcc is not smart enough to avoid the local array in constOtto Moerbeek
2006-03-18Interchange roles: bc becomes parent, dc child. This leads to sanerOtto Moerbeek
2006-01-24fclose file stream before opening a new one.Otto Moerbeek
2005-12-03ARGSUSED signal handlerTheo de Raadt
2005-04-13Always use lex in interactive mode. Makes bc running as a co-processOtto Moerbeek
2005-03-28mark potential signal race so we fix it later, ok ottoTheo de Raadt
2004-12-02Fix signal races for isatty(3) (calls ioctl(2)) and printf(3);Otto Moerbeek
2004-10-19Implement -e expression, for command line expression evaluation.Otto Moerbeek
2003-12-02o Introduce long variable names, a non-portable extension.Otto Moerbeek
2003-11-17Implement non-portable extensions:Otto Moerbeek
2003-11-11Some syntactic sugar (all non-portable extensions):Otto Moerbeek
2003-11-11Implement `print' statement, a non-portable extension.Otto Moerbeek
2003-11-09Introduce `last' as a synonym for `.' and document them.Otto Moerbeek
2003-10-18err(1, "cannot allocate mem") -> err(1, NULL)Otto Moerbeek
2003-10-18o Fix assignment operators (+=, -=, ... )Otto Moerbeek
2003-09-30Make sure strings and error messages sent to dc(1) properly escape [, ] and \.Otto Moerbeek
2003-09-29Implement (undocumented) dot shorthand, which was missing.Otto Moerbeek
2003-09-28Better error hanndling:Otto Moerbeek
2003-09-26spacingTheo de Raadt
2003-09-26spacingTheo de Raadt
2003-09-26spacingTheo de Raadt
2003-09-25A new, BSD licensed implementation of bc(1).Otto Moerbeek