Tag Info

Hot answers tagged

2

You can achieve this in any terminal emulator by the simple expedient of arranging for the program not to exit without user confirmation. Tell the terminal to run terminal_shell_wrapper which is a script containing something like #!/bin/sh if [ $# -eq 0 ]; then "${SHELL:-sh}"; else "$@"; fi echo "The command exited with status $?. Press Enter to close the ...


1

xterm -hold from $(man xterm): -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.



Only top voted, non community-wiki answers of a minimum length are eligible