.tcl Files, How To Open One?

free web hosting
Free Web Hosting > Computers & Tech > Operating Systems > Linux

.tcl Files, How To Open One?

warbird
Ok, after my first question about Linux here's already another one. I have some .TCL files that I have to open, do you know how to do that? I would realy appreciate any help.
-=jeroen=-

Reply

miCRoSCoPiC^eaRthLinG
TCL stands for Tool Command Language - another of the scripting languages commonly used on Linux based platforms. Since it's a scripting language - it needs a TCL interpreter running in the background, very similar to the way Perl and PHP operate.

You can obtain free distributions of TCL for both windows and linux at: http://www.activestate.com/Products/ActiveTcl/

As far as I remember, they offer a nice IDE for TCL too with syntax highlighting and code completion. To test your files, either you need to declare them executable and run them striaght off the shell - this option involves including the location of the interpreter in the first line of your script - similar to PERL.
E.g.: #!/usr/bin/tcl

Second option is to invoke TCL from the shell by typing tcl and then following it up with other commands to read the source file - or by passing the source file as an arguement to it.

You'd need the linux binaries to test your .tcl files on linux. Activestate also offers distributions of Perl & Python too.

Regards,
m^e

 

 

 


Reply

madcrow
Most distros already include TCL and its GUI component TK, by default. If the program should have graphics, be sure to use the tk command rather than the tcl command.

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Similar Topics

Keywords : tcl, files, open

  1. Linux And Windows Partitions
    Sharing files back and forth (2)
  2. Linux - Handy Tool If You Can't Unmount Due To Open Files
    (0)
    lsof The author of the article below says he uses lsof most for getting network connection
    related information from a system, but netstat is just as useful and made specifically for this
    particular purpose. lsof will do more than network connections, though. It will also tell you what
    files the program has open in addition to unix sockets and libraries. Of course you could also get
    all this from /proc but lsof makes it nice and easy. 'of' is actually for 'open
    files'. http://dmiessler.com/study/nix/commands/lsof/ or http://img231.imageshack.us/img2....
  3. Ubuntu Livecd
    Can't see all my files!!! (7)
    Hey, i got a Ubuntu LiveCD and it works perfectly. Seems like a good change from Windows from time
    to time. The only problem i am having is that i cant find some files that are on my C:/ drive (the
    Windows area) - although i can see them through windows no problem. Example is that when i go to the
    documents and settings folder on the C drive, no folders are there. When i go back to windows, its
    there! Can someone please tell me how can i see my files via ubuntu. I am quite a newbie to Ubuntu
    so please excuse me if this is a n00b question /tongue.gif" style="vertical-....
  4. File Rename Script, Sentence
    Large collection of files to rename! (7)
    Hello there, Today I've encoded lots of mp3's for my portable mp3 player (which only has
    128mb ... /blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" />),
    Anyway I encoded them with Lame using mlame script (for those don't know it handles more files
    then one). Now mlame appends "-new-converted-file" to the filename. And renaming every individual
    file with the hand is A LOT of work /mellow.gif" style="vertical-align:middle" emoid=":mellow:"
    border="0" alt="mellow.gif" />. I tried to write a script to remove that "-new-conv....
  5. Share Files With Samba
    (2)
    I've been asking along this week , how to set a authentication prompt on windows 2000
    professional , because i'm trying to create a secure file sharing cpu. Well... i remembered that
    linux is very great in stability and secure. I've downloaded and installed Mandriva 10.1 because
    he already brings Samba package, but i cant get him inside my workgroup, because he creates a
    defautl work group "mdkworkgroup" something like that. I'm not very expert in linux systems but
    i know that he can be configurated to Serv Files Sharing ( Only ). I know there are alots ....
  6. How To Remove The ^m In Cpp Files ?
    A^M at the end of each line in a source (5)
    My friend just sent me a program source file. It is a *.cpp file (C++ source). When I open with
    text editor (gedit), there is a ^M at the end of each line. Then I try vim and emacs. they just give
    me a same result. What is that ^M??? Why does it there??? How can I delete them all (not one by
    one)??? Thank you.....
  7. Play .avi Files In Redhat
    Need help in installing divX codecs... (6)
    The last few days have been spent in trying to get .avi files (Previously encoded using DivX codecs
    in Windows). I've a collection of movies that I've backed up as .avi files and I'm out
    of options trying one thing after another. So far: I have installed Helix player & Real Player; I
    have the DivX4Linux files but do not know how to install these (unlike configuring and 'make
    install' since there is no configure file and there are not instructions either). Also, Xine
    player (Xine-UI) which I've finally got working plays VCDs DVDs and Audio CD....
  8. Core.xxxx Files In /
    what are they?? (3)
    OS:red hat 9.0 There are thousands of core.xxxx files were found in the root directory (/)
    # ll |more total 3082181 drwxr-xr-x 2 root root 4096 May 30 23:45 bin drwxr-xr-x 4 root root 1024
    May 30 22:33 boot -rw------- 1 root root 442368 Jun 21 10:52 core.1002 -rw------- 1 root root 446464
    Jun 21 10:52 core.1003 -rw------- 1 root root 438272 Jun 21 10:52 core.1004 -rw------- 1 root root
    442368 Jun 21 10:52 core.1005 -rw------- 1 root root 446464 Jun 21 10:52 core.1007 -rw------- 1 root
    root 442368 Jun 21 10:52 core.1010 -rw------- 1 root root 446464 Jun 21 10:5....
  9. How Can I Hide Files And Processes In Linux?
    (3)
    Can any one tell me how to hide files and processes in Linux? for example, there is a *.exe file, I
    don;t want anybody to see it (just hide it), including use ls command. if I run this program, the
    process can be list by ps command. Is it possible to hide this process?? if yes, how to do that??
    Thank you.....

    1. Looking for tcl, files, open






*SIMILAR VIDEOS*
Searching Video's for tcl, files, open
advertisement




.tcl Files, How To Open One?



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE