You are not logged in.
bcterm
starts or activates bc wcalc calculator in urxvt window in the middle of the screen.
https://raw.githubusercontent.com/bront … bin/bcterm
Can be linked to some button in wbar or openbox menu or from cli ...
p.s. This was decided to happen after testing about half dozen various GUI calculators out there.
changelog:
- wcalc (history, easier floating-point behavior) replaces bc
to test:
- apcalc (calc -d)
Last edited by brontosaurusrex (2016-11-14 11:28:09)
Online
Like it. Nice one.
I prefer qalc to bc. The one I use actually. Will borrow your script with a twist.
Offline
funny how you always end up with 42...
anyhow, i'm using xcalc.
Offline
Actually much more interesting than this script is the info on what you people are using. Keep them coming. A "why" would be great addition as well. p.s. about 42; big fan of Douglas Adams.
Last edited by brontosaurusrex (2016-11-13 11:41:08)
Online
Interesting idea. What options/alternatives are available with decimal justification, which was the standard for printing calculators?
Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009
Offline
Lots of options to explore here (answer 231)
http://unix.stackexchange.com/questions … frameworks
Online
I prefer to use the Korn shell's built-in let command and double-bracketed arimethic expansion, as per http://www.ibm.com/support/knowledgecen … h_eval.htm, mainly because I always have a shell open anyway.
For more complex operations, I prefer xcalc(1) -- death to toolkits! ]:D
Offline
HOAS, like:
echo $((3/2)) # ?
Online
^ Yes, exactly so.
Although I prefer:
print $((3/2))
The print built-in for ksh is much nicer than echo...
8)
Actually, this is a bad axample because ksh(1) doesn't do floating-point -- I have to use zsh for that:
Offline
I like wcalc more and more, the problem is it will always print "Enter an expression to evaluate, q to quit, or ? for help" when starting interactive session.
Last edited by brontosaurusrex (2016-11-13 17:10:32)
Online