Search Results

Search: Posts Made By: allenxiao7
7,235
Posted By allenxiao7
Thanks! I had done both stty configuration...
Thanks!

I had done both stty configuration and double check with minicom -s

The settings is correct, but what I am interested in is which serial port is going to open, on windows or linux, as...
7,235
Posted By allenxiao7
Tcl: How to communicate serial port remotely
Hi all:

i wanna automate a test written in Tcl, but stuck in serial communication.

I had 2 PC, one is my local Windows machine, the other one is my test Linux server. The Linux box...
2,355
Posted By allenxiao7
Thanks for replying! it did work for...
Thanks for replying!

it did work for absolute path.

I also try echo $PATH, and I got /usr/bin:/bin, which is not my actual environmental variable. what need I do, my actual command need the...
2,355
Posted By allenxiao7
How to use <crontab> in linux
Hi all:

I try to set up crontab to run my script at certain time. but I had a problem.

basically, my script is located in my home directory of my linux machine.

before I run my...
1,406
Posted By allenxiao7
How to neglect the rest of tests if crushing in the middle in Expect/Tcl
hi, everyone:

I am a newbie in Expect/Tcl. I wrote a Expect script to run some diagnostic tests in 2 OS. Basically, It is like:

OS1: test1, test2..........test 10 (script 1)
...
14,426
Posted By allenxiao7
how to save the output of command in tcl/expect
hi, everyone:

I just wonder how to save the output of command, I mean everything, save as a string into a variable.

another question is I try to ls the details of a directory, but it works...
1,652
Posted By allenxiao7
"\n" wasn't recognized in exp script
hi, I am new in Expect

I wanna write something into a file, but it didn't recognize \n in my string.

for example, a simple script like this:
#!/usr/local/bin/expect --

set logfile [open...
2,505
Posted By allenxiao7
what I meant is expect_out(buffer) stores...
what I meant is expect_out(buffer) stores everything up to expect reached; I wanna store some error message up to the timeout reached.

for example, I might have 100 test commands to send, only...
2,505
Posted By allenxiao7
Expect/Tcl help
hi, I am new in Expect.

I have a question about expect timeout.

suppose I have a structure of

expect { ".."{
send"............"}
timeout{
...............
}
}
...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 07:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy