LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-09-2009, 09:21 PM   #1
MaGicMaX
Member
 
Registered: Aug 2009
Location: Calgary, AB, Canada
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 15
RPN Programmable Calculator suggestions


Im looking for a Reverse Polish Notation (RPN) calculator program for Linux. Must be programmable, im not too picky on the exact syntax of the language, as long as there is adequate instruction on its use (man page). Preferably something in the Ubuntu Repositories (or has a .deb for it). Any suggestions welcome!
 
Old 11-09-2009, 11:57 PM   #2
eric.r.turner
Member
 
Registered: Aug 2003
Location: Planet Earth
Distribution: Linux Mint
Posts: 216

Rep: Reputation: 31
Fedora has orpie. Never used it, but it's the only thing that comes up on a "yum search rpn". Description:
Quote:
A fullscreen console-based RPN calculator
Edit: might be interesting to write your own, if you are so inclined.

Last edited by eric.r.turner; 11-09-2009 at 11:58 PM.
 
Old 11-10-2009, 04:33 AM   #3
wje_lq
Member
 
Registered: Sep 2007
Location: Mariposa
Distribution: FreeBSD,Debian wheezy
Posts: 811

Rep: Reputation: 179Reputation: 179
Quote:
Originally Posted by MaGicMaX View Post
Im looking for a Reverse Polish Notation (RPN) calculator program for Linux. Must be programmable, im not too picky on the exact syntax of the language, as long as there is adequate instruction on its use (man page).
You don't seem to require that it have a GUI, so sometimes the oldest is the best. It's called dc. It's beem part of the UNIX world longer than the C programming language has. These days, it's part of the bc package:

http://ftp.gnu.org/pub/gnu/bc/bc-1.06.tar.gz

It's so ancient and so classic that your distribution might already contain an executable for it. Try this at the command line:
Code:
which dc
man dc
Hope this helps.
 
Old 11-10-2009, 07:51 AM   #4
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
dc is great, but I sure wish it had the basic transcendental functions. It integrates quite well with scripts.
Kevin Barry
 
Old 11-10-2009, 12:24 PM   #5
MaGicMaX
Member
 
Registered: Aug 2009
Location: Calgary, AB, Canada
Distribution: Ubuntu
Posts: 51

Original Poster
Rep: Reputation: 15
Turns out i have dc already installed. Looked through the man pages and found a few things missing that i may require. Trigonometric functions being one of them. I will need to use exponents also. Possibly some basic matrices. Basically a fully functional engineering grade calculator. As far as the programming goes, i guess since it runs in the shell i would just need to write a script for automating arithmetic?

Edit: I also tried orpie, looks loaded with features, probably more than i need. Is it possible to write programs for it though?

Last edited by MaGicMaX; 11-10-2009 at 12:33 PM.
 
Old 11-10-2009, 12:32 PM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
I have actually written a basic command-line RPN calculator for fun in just about every language I learned!

As for GUI calculators, "Qalculate!" has a pretty good RPN mode.
 
Old 11-10-2009, 12:46 PM   #7
MaGicMaX
Member
 
Registered: Aug 2009
Location: Calgary, AB, Canada
Distribution: Ubuntu
Posts: 51

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by MTK358 View Post
I have actually written a basic command-line RPN calculator for fun in just about every language I learned!

As for GUI calculators, "Qalculate!" has a pretty good RPN mode.
I tried Qalculate, packed with features, quite impressive. Is it programmable?
 
Old 11-10-2009, 12:56 PM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
I actually don't know what a programmable calculator is.
 
Old 11-10-2009, 02:48 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
if you want there ARE the HP calc's for the desktop
http://freshmeat.net/projects/nonpareil/

i run a 11c on gnome
 
Old 11-10-2009, 02:48 PM   #10
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
You might look at some of these:
http://www.hpcalc.org/hp48/pc/emulators/

Kevin Barry
 
Old 07-03-2013, 09:27 AM   #11
frgomes
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Rep: Reputation: 0
Amazing, full featured WP-34S runs on Linux, Windoze and MacOS

WP-34S is possibly the best non-graphical calculator you can have.
See a picture of it here. An image tells more than a thousand words.
  • You can run the WP-34S emulator in Linux, Windoze and MacOS.
    Simply download the emulator and run it, for free. Amazing!
  • You can also buy the real thing and have it in your pocket
    You will receive an HP-30S modified with the WP-34S firmware.
  • If you are adventurous, you can also make your own RPN calculator
    There are flash tools for Linux, Windoze and MacOS here].

Documentation:
 
Old 07-03-2013, 10:16 AM   #12
mina86
Member
 
Registered: Aug 2008
Distribution: Debian
Posts: 517

Rep: Reputation: 229Reputation: 229Reputation: 229
If you are using Emacs, GNU Calc, i.e. M-x calc RET.
 
Old 07-03-2013, 03:51 PM   #13
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
frgomes
You do realize that this thread is from 2009 !!!
and it is 4 years old

also reported
everything is pointing to buying the hp product
 
Old 07-04-2013, 05:51 AM   #14
frgomes
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Rep: Reputation: 0
An old thread, but still relevant

Yes... despite the thread is very old this is [one of] the top hits Google delivers.
I've invested (or wasted?) a lot of time finding a good RPN calculator and I'd like to help people less lucky than me (or less stubborn than me) who failed to find this wonderful calculator.

No. The thread is not about buying a product. The thread is about downloading the emulator and running it on Linux, Windoze or MacOS.
I said you can also buy the product. I said you can also build a calculator yourself. These are informational statements.
These are additional options you have. I'm not pushing anyone to buy or build anything.
You are free to choose between running the emulator, buy the real thing or hacking with electronics.

-- Richard Gomes

Last edited by frgomes; 07-04-2013 at 06:07 AM.
 
Old 07-04-2013, 05:39 PM   #15
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by MaGicMaX View Post
Im looking for a Reverse Polish Notation (RPN) calculator program for Linux. Must be programmable, im not too picky on the exact syntax of the language, as long as there is adequate instruction on its use (man page). Preferably something in the Ubuntu Repositories (or has a .deb for it). Any suggestions welcome!
There is an android app, Droid48sx. You can probably get the sources for that. It is a full HP-48/SX programmable.

Bonne chance,
~~~ 0;-Dan
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Programmable Northgate OmniKey Keyboard Woodsman Linux - Hardware 17 08-29-2010 04:03 PM
what is a programmable I/O ? twelvenine Linux - Hardware 6 01-05-2009 11:45 PM
Is SMI plug programmable?? fuzzyash Programming 0 08-20-2006 03:30 AM
Programmable Interval Timers saintt Linux - General 0 10-19-2001 08:50 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration