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 18 Aug 2017, 12:34
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Engineering/Science/Simulation
funky.tcl: a small graph display program
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
muggins

Joined: 20 Jan 2006
Posts: 6728
Location: hobart

PostPosted: Sun 21 Oct 2007, 03:03    Post subject:  funky.tcl: a small graph display program  

this program displays a random selection of graphed functions. relevant to high school students studying maths, or people with calculi deposits in their brain. extract to /, then type funky to start. click ? to display next graph. if you're curious, open in a text editor to see tcl code.
funky.jpg
 Description   
 Filesize   13.18 KB
 Viewed   678 Time(s)

funky.jpg

funky.zip
Description 
zip

 Download 
Filename  funky.zip 
Filesize  1.82 KB 
Downloaded  470 Time(s) 
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 4622
Location: Republic of Novo Zelande

PostPosted: Fri 10 Apr 2015, 06:01    Post subject:  

I don't seem to have the 'wish' interpreter which this appears to need. Tried changing it to bash but no joy. Do any puppies have 'wish' preinstalled?
Back to top
View user's profile Send private message 
Semme


Joined: 07 Aug 2011
Posts: 7775
Location: World_Hub

PostPosted: Fri 10 Apr 2015, 06:27    Post subject:  

No, but you probably have cswish or some type of tclsh bin aboard. Wink

Depending on where it's looking, you need *wish* symlinks in /bin and /usr/bin back to one of those bins.

http://stackoverflow.com/questions/13213456/configure-file-name-for-tcl-tk
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 4622
Location: Republic of Novo Zelande

PostPosted: Fri 10 Apr 2015, 16:23    Post subject:  

Thanks Semme - turns out I dont have cswish but I do have tclsh. Seems that tclsh is a symlink to /usr/bin/jimsh so I tried creating a symlink to jimsh and called it "wish".

Now if I try to run funky in a terminal it says:
Code:
# funky
invalid command name "errorInfo"
#


Might be a no-go for me.
Back to top
View user's profile Send private message 
mister_electronico


Joined: 20 Jan 2008
Posts: 955
Location: Asturias_ España

PostPosted: Fri 10 Apr 2015, 16:50    Post subject: Maybe this pet are good.  

I made these pets and I work well with most programs:

The only change in all headers:

#!/usr/bin/wish

For

#!/usr/local/bin/wish8.5
#! /bin/env tclsh

I no know much about tcl - tk , But I would like some to open a topic about tcl-tk.

How interesting your program muggins.

This are the Pets.

http://www.mediafire.com/download/zu1iuyudkf6y78z/tcl8.5.17-i486.pet


http://www.mediafire.com/download/7t3osrhor7c680x/tk8.5.17-i486.pet


There is a very interesting web

http://wiki.tcl.tk/1291%20


Greetings

________________________________________________________________________
My Blog

https://misterelectronicoes.wordpress.com/trainer-board-homemade/
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger 
Semme


Joined: 07 Aug 2011
Posts: 7775
Location: World_Hub

PostPosted: Fri 10 Apr 2015, 17:11    Post subject:  

GG, my link and ME's both suggest the same as to the binaries name.

System search >> "wish"

Googling would have turned up the same site >> http://wiki.tcl.tk/

==

How peeps uncover this old sh_t I'll never know..

_________________
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 4622
Location: Republic of Novo Zelande

PostPosted: Sat 11 Apr 2015, 03:55    Post subject:  

Semme wrote:
How peeps uncover this old sh_t I'll never know..

Well, I stumbled across this thread while I was trying to find some program that would allow me to convert physical co-ordinates into a mathematical formula. My son has made a model of a new rotary motor that he has designed and we have made measurements of the housing and I have graphed the results (which show a compound sine or cos wave trend) but I want to know how to define that shape more exactly by converting those measurements into an exact mathematical formula.

I know that some CNC machines can do the required integration if provided with a sufficient number of co-ordinates, but it's expensive and I'm not totally convinced of the accuracy of our measurements yet. I really feel we won't be ready to pay for the expertise of CNC experts until we have successfully defined how the movement of the mechanical components (and variations of size of each component) translates into the shape of the housing.

So - here I am looking at any program that handles graphing capabilities....

Thanks for your help BTW - what exactly did you mean by "System search >> "wish""
Are you referring to a Pfind search? (I tried pfind but saw no trace of wish)
cheers!
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 4622
Location: Republic of Novo Zelande

PostPosted: Sat 11 Apr 2015, 05:03    Post subject: Re: Maybe this pet are good.  

mister_electronico wrote:
How interesting your program muggins.
This are the Pets.

Hi mr_electronico - thank you very much for the pets - they were successful to allow me to run Funky although I also had to make a symlink to "wish8.5" before it would run. I have now made a pet which includes the following:

- Funky grapher
- Tcl
- Tk
- missing symlink to "wish"

This pet worked for me on my Slacko 5.6 derivative but who knows it may be ok for some other pups too.

Download link:
http://www.mediafire.com/download/2ni0k3ceqzceb67/Funky_graph_plusdeps_gg-0.1.pet
Back to top
View user's profile Send private message 
Semme


Joined: 07 Aug 2011
Posts: 7775
Location: World_Hub

PostPosted: Sat 11 Apr 2015, 07:17    Post subject:  

Yes GG, Pfind. It's possible the wish binary wasn't yet system-side when you searched.
_________________
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 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.0779s ][ Queries: 15 (0.0064s) ][ GZIP on ]