Find the answer to your Linux question:
Results 1 to 3 of 3
Hi I want to spawn a shell script by using -e option of the xterm. This shell script has an infinite loop. when i stop this script on the xterm ...
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    2

    need help regarding xterm

    Hi

    I want to spawn a shell script by using -e option of the xterm.

    This shell script has an infinite loop. when i stop this script on the xterm using control + C. The xterm gets killed in additon to script being closed.

    I want the xterm to hold and the command prompt is available.

    Thanks in advance

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    xterm(1): terminal emulator for X - Linux man page

    -hold

    Turn on the hold resource, i.e., xterm will not immediately destroy its window when the shell command completes. It will wait until you use the window manager to destroy/kill the window, or if you use the menu entries that send a signal, e.g., HUP or KILL.

  3. #3
    Just Joined!
    Join Date
    Dec 2009
    Posts
    2

    need help regarding xterm

    Thanks

    I have tried this option and its working but my requirement is different.

    when i use the window manager to destroy/kill the shell script. I want the shell script to kill and not the xterm.

    Thanks in advance

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...