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 TouchToneTommy 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: *

  • Users: dans45
  • Content: Threads
  • Order by date
  1. dans45

    need to redirect to different interpreter

    Hi, I am trying to execute some existing ksh scripts in an environment where I have pdksh instead. Since the first line of each script is either /bin/ksh or /usr/bin/ksh instead of /bin/pdksh they all fail. Is there a way to set a link or substitution in the environment to allow these to run...
  2. dans45

    get return code when called program exits

    Hello I have one program that calls another via os.system(2nsprogram). Problem is that the 2nd program on error executes os.exit(1). The calling program stops running also. How can I get the exit code back to the calling program. Thanks
  3. dans45

    executing script from desktop

    Hello, In windows 2000 I've created a script that runs fine when I open it from explorer or from an open command window. When I put it on my desktop however it fails when I double click it. I put a statement in it to execute it from the directory where it usually runs from. I know it goes to...
  4. dans45

    FC 6 cannot rlogin to local host

    Hello, I've loaded all tools to allow rlogin and rsh and am able to rlogin from other machines but not from the local machine. Doesn't seem to make sense. I tried to rlogin to 127.0.0.1 loopback and to one of the enet ports on the machine but without success either way. Thanks for any help.
  5. dans45

    How to start rshd on fedora

    Hello, I've just downloaded and installed Fedora distribution and tried to install all of the network server options. I still cannot seem to start "rshd" which I need for my application. I don't even have a /etc/inetd.conf file to modify. Please help. What do I need to install to make this work?
  6. dans45

    how to erase files on floppy?

    Hi , Basic question. Created mount point /mnt/floppy Mounted floppy Copied files to another directory. Unmounted floppy Formatted floppy on another machine. Mounted floppy again. Same files still on floppy according to Linux. Cannot erase due to "read only". Cannot change permissions to...
  7. dans45

    expect script failing ...almost works

    Hello, I'm running this script on my linux machine. #!/bin/bash # \ exec expect -f "$0" ${1+"$@"} set password [lindex $argv 1] spawn passwd [lindex $argv 0] expect "assword:" send "$password\r" expect "assword:" send "$password\r" expect eof When I execute it on my linux machine...
  8. dans45

    possible time.sleep() problem...is there an alternative

    Hello, I'm running a python program Python 2.3.5 on the 9-25-05 knoppix CD . The machine boots up fine and runs find for a time but I've notice that the programs freeze up after a while. I've noticed that when I break out of the programs often the erring command was 'time.sleep(3.00)' or some...
  9. dans45

    how do I export PATH=$PATH:/newdir using script

    Hello I'm running as root on KNOPPIX cd. I want to run a shell script to append to the PATH. If I enter "export PATH=$PATH:/newdir" at the command line it works. If I try to execute in my script it fails. Is there a simple way to do this in my script? If I append to /etc/profile I have to...
  10. dans45

    problem with os.spawnv

    Hello, I'm trying to spawn another python program and have to pass it a few arguments... var1="12" var2="1" print "spawn prog" pid=os.spawnv(os.P_NOWAIT, '/user/bin/python', ('python, 'myprog.py', var1, var2)) print "prog spawned" When I execute this program all I see is: spawn prog prog...
  11. dans45

    what is mkdir $ROOTFS/isolinux doing?

    Hello, I'm trying to remaster the KNOPPIX CD and am having some newbie problems, even following the posted instructions. The last statement in the instructions is : mkisofs -r -J -b KNOPPIX/boot.img -c KNOPPIX/boot.cd -o myimage.iso NewCD The problem I have is that there is no boot.img file on...
  12. dans45

    can several instances of exec share same log file ?

    Hello, I've got a file that I start with a batch file in several W2K widows using the line: start cmd /c "c:\myfile.exe" 0 start cmd /c "c:\myfile.exe" 1 ... I'm opening up five instances currently. Each instance shares the same log file. The exec file has the shared log file open from start...
  13. dans45

    tkinter rpm will not install

    Hello, I'm trying to execute rpm-Uvh tkinter-2.2.3-26.i386.rpm on my linux station. The error I get is error: Failed dependencies: libtix8.1.8.3.so is needed by tkinter-2.2.3-26 libtk8.3.so is needed by tkinter-2.2.3-26 Well, problem is these files are on the machine at...
  14. dans45

    will all spawnv complete at wait() ?

    Hi, Under RHAT 9. I'm executing several groups of processes that must complete in the same sequence in which they are started. I'm using wait() to try to accomplish this... example... program1.py Print "Step 1" for x in list spawnv(..function1...x + x....) wait() #these must complete before...
  15. dans45

    boot from usb drive?

    I'm trying to find out if anyone has set up w2k to run off of a usb drive instead of an ide or scsi drive. I have an application where I would like to boot off of other than the ide or scsi devices. In particular I have a w2k application I want to run on a number of machines some of which don't...
  16. dans45

    sending a break through expect running under cygwin

    Hi, I'm running cygwin on my w2k workstation and am trying to send/receive over the com1 port. I'm able to receive data OK and in some cases to send data but to initialize communication I have to send a break of some sort to the program running on the other end of the serial interface. Under...
  17. dans45

    does expect/tcl distribution with cygwin support serial communication

    hello, I'm new to using tcl and expect and currently am running some rlogin expect scripts under cygwin. I would like to communicate over the serial port as well but the examples I've seen for using fconfigure are like this... fconfigure $com -mode 9600,n,8,1 -blocking 0 etc. When I execute my...
  18. dans45

    need image save/restore over MS network for Linux

    I've been using pqimgctr version 5.0 to save/restore windows 2k images over our windows network. Works great, but, now I'm trying to save/restore linux 9.0 images and pqimgctr does not recognize the file system. Is there a newer version of pqimgctr that will recognize linux file systems and what...
  19. dans45

    does 'format' command write 00s to the drive partition

    Hello, Does the native format command actually write 00s to the entire partion it supposedly formats? Is it possible to format without creating a partition first?...it doesn't seem so. I'm trying to erase any data that might be on the subject drive and I want to do it under windows...not DOS...
  20. dans45

    how to kill rlogin.exe without knowing its process id

    Hi, I'm running some expect scripts under w2k pro and sometimes afterwards the rlogin.exe does not always exit so my scripts hang. Is there a way to kill all instances of rlogin.exe under w2k either with expect/tcl or with another windows script command? If there is a way to get the process id...

Part and Inventory Search

Back
Top