Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 29 Apr 2016, 08:07
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Engineering/Science/Simulation
grpn-1.4.0-1 gtk+2 scientific calculator
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
charlie6


Joined: 30 Jun 2008
Posts: 1126
Location: South of Belgium

PostPosted: Thu 19 Mar 2015, 10:23    Post subject:  grpn-1.4.0-1 gtk+2 scientific calculator  

Hi,
here is a tiny scientific calculator (binary = 95 K)
grpn-1.4.0-1 gtk+2 scientific calculator
http://lashwhip.com/grpn.html
(gtk+2 version updated from gtk+1.2 version 1.1.2)

Quote:
GRPN is a graphical reverse polish notation (RPN) calculator. GRPN is written in C and uses the GIMP Toolkit (GTK) on top of X11. GRPN was developed under Linux but has also been tested under SunOS and Solaris. It should work with almost any UNIX, though.
GRPN works with real numbers and complex numbers. Numbers can be displayed in 4 different radix modes, and complex numbers can be displayed in either Cartesian or polar form.
GRPN uses a stack and reverse polish notation to evaluate expressions. The stack in GRPN is infinite and limited only by available memory.


download source from
http://www.getreu.net/

the attached pet has been compiled on debian wheezy-3.5.2.5

enjoy Smile
charlie

last edited:
the display digits might be set this way when running from command line:
Code:
grpn -disp-fn "Liberation Mono Bold 16"

this could help to enhance visibility for poor eyesghted puppians (and so am I ... Sad )

I have tried the following command without success
Code:
grpn -btn-fn "Liberation Mono Bold 16"

to set buttons font.

see
Code:
grpn --help

for command line options.
grpn-1.4.0-1(1).jpg
 Description   setting display fonts
 Filesize   9.9 KB
 Viewed   218 Time(s)

grpn-1.4.0-1(1).jpg

grpn-1.4.0-1.jpg
 Description   
 Filesize   30.29 KB
 Viewed   222 Time(s)

grpn-1.4.0-1.jpg

grpn_1.4.0-1_i386.pet
Description 
pet

 Download 
Filename  grpn_1.4.0-1_i386.pet 
Filesize  42.53 KB 
Downloaded  143 Time(s) 
Back to top
View user's profile Send private message 
charlie6


Joined: 30 Jun 2008
Posts: 1126
Location: South of Belgium

PostPosted: Fri 20 Mar 2015, 06:26    Post subject: grpn-1.4.0-1 with default setting to DEGREE  

Hi,
in addition to the above ppost, here is
grpn-1.4.0-1 compiled with default setting to DEGREE
avoiding need setting to degree at each run ... Confused
therefore the DEG suffix is present in pets name.
Enjoy!
Charlie

ps: /usr/share/applications/grpn.desktop is set with:
Code:
...
Exec=grpn -disp-fn "Liberation Mono Bold 20"
...

which set the font and size for displayed datas
the value between "" may be set at each ones convenience Smile

buttons font may be set through Menu/Desktop/JWM configuration/Desktop/GTK theme and there by setting the desired font+size in the bellow-left "Font" field
grpn_1.4.0-1_DEG.jpg
 Description   
 Filesize   28.26 KB
 Viewed   129 Time(s)

grpn_1.4.0-1_DEG.jpg

grpn_1.4.0-1-DEG_i386.pet
Description 
pet

 Download 
Filename  grpn_1.4.0-1-DEG_i386.pet 
Filesize  41.51 KB 
Downloaded  133 Time(s) 
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Engineering/Science/Simulation
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0669s ][ Queries: 12 (0.0187s) ][ GZIP on ]