Re: Calculator with "tapes"

2018-07-23 Thread John Darrah
On Mon, Jul 16, 2018 at 09:59:10AM -0700, Ken Heard wrote: > Does Debian have a calculator package which has the equivalent of the tape > produced by mechanical machines to show the entire calculation. I find such > "tapes" essential when for example I am adding a long list of numbers and > need t

Re: Calculator with "tapes"

2018-07-23 Thread Stefan Krusche
Am Montag 23 Juli 2018 schrieb to...@tuxteam.de: > On Mon, Jul 23, 2018 at 01:19:44PM +0200, Stefan Krusche wrote: > > [...] > > > The problem is probably solved with Curt's and Greg's answers [...] > > ~/.bcrc is not a default config file for bc [...] and is only read > > if you have "BC_ENV_ARGS=

Re: Calculator with "tapes"

2018-07-23 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Jul 23, 2018 at 01:19:44PM +0200, Stefan Krusche wrote: [...] > The problem is probably solved with Curt's and Greg's answers [...] > ~/.bcrc is not a default config file for bc [...] and is only read > if you have "BC_ENV_ARGS=~/.bcrc" in yo

Re: Calculator with "tapes"

2018-07-23 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Jul 23, 2018 at 01:01:51PM +0200, Stefan Krusche wrote: [...] > > BUT, when I run bc, I get: > > > > $ bc > > bc 1.06.95 > > Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software > > Foundation, Inc. > > This is free software with A

Re: Calculator with "tapes"

2018-07-23 Thread Stefan Krusche
Am Montag 23 Juli 2018 schrieb Stefan Krusche: > Am Montag 23 Juli 2018 schrieb Zenaan Harkness: > > On Tue, Jul 17, 2018 at 03:04:41AM +0200, Stefan Krusche wrote: > > > Am Dienstag 17 Juli 2018 schrieb Zenaan Harkness: > > > > bc FTW - so quick, so handy > > > > > > > > First line I always run th

Re: Calculator with "tapes"

2018-07-23 Thread Stefan Krusche
Am Montag 23 Juli 2018 schrieb Zenaan Harkness: > On Tue, Jul 17, 2018 at 03:04:41AM +0200, Stefan Krusche wrote: > > Am Dienstag 17 Juli 2018 schrieb Zenaan Harkness: > > > bc FTW - so quick, so handy > > > > > > First line I always run though is: > > >  scale=9 > > > > When you don't want to type

Re: Calculator with "tapes"

2018-07-23 Thread Curt
On 2018-07-23, Zenaan Harkness wrote: > > BUT, when I run bc, I get: bc -l (like Greg said works here). curty@einstein:~$ bc -l bc 1.06.95 Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warra

Re: Calculator with "tapes"

2018-07-22 Thread Zenaan Harkness
On Tue, Jul 17, 2018 at 03:04:41AM +0200, Stefan Krusche wrote: > Am Dienstag 17 Juli 2018 schrieb Zenaan Harkness: > > bc FTW - so quick, so handy > > > > First line I always run though is: > >  scale=9 > > When you don't want to type this every time: > > $ cat ~/.bcrc > scale=3 OK, so I create

Re: Calculator with "tapes"

2018-07-17 Thread Greg Wooledge
People are talking about manually setting the "scale" variable in bc, and using small values like 3 for it. Please note that this the scale variable is NOT just used for rounding of final results for display. It's used for internal precision of storage of ALL intermediate results. Using a small

Re: Calculator with "tapes"

2018-07-17 Thread Curt
On 2018-07-17, Stefan Krusche wrote: > > Alright, thanks for explaining, now I get it. Yes, okay, 3/9 mismatch. I just > quickly wanted to point out, that it is possible to store scale= in a config > file.. Yes, of course, we all understood that you were showing the example of your own file--th

Re: Calculator with "tapes"

2018-07-17 Thread Stefan Krusche
Am Dienstag 17 Juli 2018 schrieb Curt: > On 2018-07-17, Stefan Krusche wrote: > > Am Dienstag 17 Juli 2018 schrieb Curt: > >> On 2018-07-17, Stefan Krusche wrote: > >> > Am Dienstag 17 Juli 2018 schrieb Zenaan Harkness: > >> >> bc FTW - so quick, so handy > >> >> > >> >> First line I always run t

Re: Calculator with "tapes"

2018-07-17 Thread Curt
On 2018-07-17, Stefan Krusche wrote: > Am Dienstag 17 Juli 2018 schrieb Curt: >> On 2018-07-17, Stefan Krusche wrote: >> > Am Dienstag 17 Juli 2018 schrieb Zenaan Harkness: >> >> bc FTW - so quick, so handy >> >> >> >> First line I always run though is: >> >>  scale=9 >> > >> > When you don't wan

Re: Calculator with "tapes"

2018-07-17 Thread Stefan Krusche
Am Dienstag 17 Juli 2018 schrieb Curt: > On 2018-07-17, Stefan Krusche wrote: > > Am Dienstag 17 Juli 2018 schrieb Zenaan Harkness: > >> bc FTW - so quick, so handy > >> > >> First line I always run though is: > >>  scale=9 > > > > When you don't want to type this every time: > > > > $ cat ~/.bcrc

Re: Calculator with "tapes"

2018-07-17 Thread Curt
On 2018-07-17, Stefan Krusche wrote: > Am Dienstag 17 Juli 2018 schrieb Zenaan Harkness: >> bc FTW - so quick, so handy >> >> First line I always run though is: >>  scale=9 > > When you don't want to type this every time: > > $ cat ~/.bcrc > scale=3 Nein? > Regards, > Stefan > > > -- The supe

Re: Calculator with "tapes"

2018-07-17 Thread Gian Uberto Lauri
> "P" == Piotr writes: P> On Mon, 16 Jul 2018 12:57:58 -0400 Ken Heard P> wrote: >> Does Debian have a calculator package which has the equivalent of >> the tape produced by mechanical machines to show the entire >> calculation. I find such "tapes" essential when for example I am >> addin

Re: Calculator with "tapes"

2018-07-16 Thread Piotr
On Mon, 16 Jul 2018 12:57:58 -0400 Ken Heard wrote: > Does Debian have a calculator package which has the equivalent of the > tape produced by mechanical machines to show the entire calculation. I > find such "tapes" essential when for example I am adding a long list of > numbers and need to

Re: Calculator with "tapes"

2018-07-16 Thread Stefan Krusche
Am Dienstag 17 Juli 2018 schrieb Zenaan Harkness: > bc FTW - so quick, so handy > > First line I always run though is: >  scale=9 When you don't want to type this every time: $ cat ~/.bcrc scale=3 Regards, Stefan

Re: Calculator with "tapes"

2018-07-16 Thread Zenaan Harkness
On Mon, Jul 16, 2018 at 12:57:58PM -0400, Ken Heard wrote: > Does Debian have a calculator package which has the equivalent of the tape > produced by mechanical machines to show the entire calculation. I find such > "tapes" essential when for example I am adding a long list of numbers and need > t

Re: Calculator with "tapes"

2018-07-16 Thread Ben Caradoc-Davies
On 17/07/18 04:57, Ken Heard wrote: Does Debian have a calculator package which has the equivalent of the tape produced by mechanical machines to show the entire calculation.  I find such "tapes" essential when for example I am adding a long list of numbers and need to check after the addition

Re: Calculator with "tapes"

2018-07-16 Thread Eric S Fraga
calc mode in emacs does this (and so much more). -- Eric S Fraga via Emacs 27.0.50 & org 9.1.13 on Debian 9.4

Calculator with "tapes"

2018-07-16 Thread Thomas Schmitt
Hi, if i had no other preferences, i'd use program "bc" in an xterm with enormous scroll buffer. Run in some shell window: xterm -fg black -bg wheat -sl 10 & and then in the newly emerged xterm shell window bc (My virtual paper is of eco-friendly color. I do not let xterm start bc dir

Re: Calculator with "tapes"

2018-07-16 Thread Joe Pfeiffer
Ken Heard writes: > Does Debian have a calculator package which has the equivalent of the > tape produced by mechanical machines to show the entire calculation. > I find such "tapes" essential when for example I am adding a long list > of numbers and need to check after the addition is done to ve

Re: Calculator with "tapes"

2018-07-16 Thread Jude DaShiell
On Mon, 16 Jul 2018, Joe wrote: > Date: Mon, 16 Jul 2018 13:06:13 > From: Joe > To: debian-user@lists.debian.org > Subject: Re: Calculator with "tapes" > Resent-Date: Mon, 16 Jul 2018 17:06:32 + (UTC) > Resent-From: debian-user@lists.debian.org > > On Mon

Re: Calculator with "tapes"

2018-07-16 Thread Nicholas Geovanis
galculator has a so-called "paper mode" on the "View" selection that likely does what you want. It's in the Debian 8 repository, written to GTK. On Mon, Jul 16, 2018 at 11:58 AM Ken Heard wrote: > > Does Debian have a calculator package which has the equivalent of the > tape produced by mechanical

Re: Calculator with "tapes"

2018-07-16 Thread Boyan Penkov
iPython too much overhead? On Mon, Jul 16, 2018, 12:58 Ken Heard wrote: > Does Debian have a calculator package which has the equivalent of the > tape produced by mechanical machines to show the entire calculation. I > find such "tapes" essential when for example I am adding a long list of > nu

Re: Calculator with "tapes"

2018-07-16 Thread Joe
On Mon, 16 Jul 2018 12:57:58 -0400 Ken Heard wrote: > Does Debian have a calculator package which has the equivalent of the > tape produced by mechanical machines to show the entire calculation. > I find such "tapes" essential when for example I am adding a long > list of numbers and need to che

Calculator with "tapes"

2018-07-16 Thread Ken Heard
Does Debian have a calculator package which has the equivalent of the tape produced by mechanical machines to show the entire calculation. I find such "tapes" essential when for example I am adding a long list of numbers and need to check after the addition is done to verify that all the numbe