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 wOOdy-Soft 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. rubberscissors

    Holiday Expect mystery

    This is expect-specific, and very weird. Basically, I've created a routine that telnets into certain devices, executes commands, expects a certain range of output depending on the command, then sets the output to a variable which is then searched for certain conditions. For example, it will...
  2. rubberscissors

    Picking multiple matches out of a single string

    This seems like it should be simple but for the life of me I can't seem to peg this; I'm using expect to telnet into a device and issue commands. What I want to do is then expect certain things in the output, and then execute other commands based on what it sees. The problem is, I need it to...
  3. rubberscissors

    Calling functions after telnet spawn

    I'm working on some test tools using expect, and I want to create a series of functions that each issue a series of commands to check and gather output. I'd like to be able to use these as part of a library which can be called from other scripts, but I'm running into the following problem...
  4. rubberscissors

    Problem inserting pause between text messages

    I've got a text widget that I've associated with a variable (x), and I'm trying to cause text messages to appear in the widget, with a pause in between each message. I tried the following: $x insert end "Message 1\n" after 300 $x insert end "Message 2\n" after 300 $x...
  5. rubberscissors

    Problems with Freewrap, Iwidgets, and itcl

    I've come up with a little Tcl script, and it runs fine if you have Tcl 8.3.4.2 installed on your machine...however, I'd like to use Freewrap to distribute it. When the wrapped program is used on a station which doesn't have Tcl installed, however, people get the error: Error: can't find...
  6. rubberscissors

    Anyone using freewrap with expect components in their script?

    I'm trying to use freewrap to convert my TCL script to an executable; it works, and the script launches ok, but it's choking on all my Expect commands (this tool is used for automation testing so I use expect a lot). Is there any way to make freewrap and expect play nicely together that anyone...
  7. rubberscissors

    Simple scrollbar question

    This is probably simple, but I can't seem to find the answer to this one; I'm building a tool that uses a lot of text widgets to display output, status messages, etc. and each widget uses a scrollbar. I've got the messages etc. directed to the text widget without any problems and it works well...
  8. rubberscissors

    Is there any way to pass a list to a proceedure?

    I'm calling a proceedure that needs to be passed a series of variables, and I want one of the variables passed to be a list. Basically, I have a while loop and for each iteration of the loop at one point it checks a series of radiobuttons and makes a list based on each one which has been...
  9. rubberscissors

    Variables within frame names

    Using Tk, I've created a series of buttons for a series of slots, and I've grouped the buttons into groups of 2. These buttons are packaged in frames as in the example below: frame .slot1and2 button .slot1and2.slot1board1 Later, I call up a proceedure to cycle through different board types...
  10. rubberscissors

    Tk Variable quandry

    I have an instance where I generate a series of radio buttons in a loop, which use the variable x$c (where c is the current iteration of the loop, so I get x1, x2, x3, etc)...later, I need to call this variable in an if statement if { $x$c == $y }...when I do this, I get an error 'can't read...

Part and Inventory Search

Back
Top