Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. IllegalOperation38

    VTCL, has anyone ever used it?

    I finally solved this, in case anyone else ever has the same question. Options/bindings/main You can add whatever command in there below already whats existing and it will be on a global scope (and get evaluated before anything else)
  2. IllegalOperation38

    VTCL, has anyone ever used it?

    As I am trying to learn TCL/TK, I have found VTCL seems to be the most up to date GUI of the few I have played with so far, except it comes with zero documentation. (SpecTcl seems primitive?) I cannot seem for the world of me how to set a variable for my program outside of a procedure. I want...
  3. IllegalOperation38

    Curious setting variable problem

    Quote: after 5000 [list status_update $d] } Nice one Tobias, this set the bill perfectly and was a great learning curve as well.
  4. IllegalOperation38

    Curious setting variable problem

    Ken, I have been following your advice in this forum for a long time and have learned alot from you. Thanks for the clarification. Perhaps you can assist me in this continued request. I have written a piece of code that will show the status of my VSFTPD server, wether it is online or not...
  5. IllegalOperation38

    Curious setting variable problem

    This problem was solved by doing this set f [open "|/etc/rc.d/init.d/vsftpd status 2>/dev/null" r] set x [read $f] close $f Thanks for your time
  6. IllegalOperation38

    Curious setting variable problem

    Hmmmm this is an oddity. I am running the same exact specs. I have another computer with Redhat 9.0, I just moved to it and tried the same command. Here are the results step by step. Perhaps I am not doing something right? ______________________________________________________________...
  7. IllegalOperation38

    Curious setting variable problem

    I can do this Linux command from TCL set USER_NAME [exec id -nu] puts $USER_NAME IllegalOperation But when I do a set SERVER_STATUS [exec /etc/rc.d/init.d/vsftpd status] I get vsftpd is stopped child process exited abnormally The "vsftpd is stopped" is what I want, but the...
  8. IllegalOperation38

    How to do this

    Wow guys, that certainly seems like some good information. I shall put it to work this weekend on my first project (first ever!) and I will report back how well I suceeded. Indeed programming is difficult to learn over the internet! Kind regards
  9. IllegalOperation38

    How to do this

    Greetings. I would like to know if someone could be so kind as to show me how to do this one thing. Then I can study it and learn, and move on. I have a simple canvas with a button and a display window. When you click the button, it sends the command [df -k] which shows disk space usage in...

Part and Inventory Search

Back
Top