lock/protect terminal in non-GUI mode
In non-GUI mode, I want to execute a huge time-consuming program and protect the terminal(/dev/ttyX) during that time. What are the ways to achieve this. I think, it can be done by executing the program with nohup and then logout. But my program is not fully automated. So, is there something like "lock" which is there in GUI-mode ?
Note: I am running my testing server in non-gui mode (runlevel 3). My Program needs user interaction at some stages of the execution. I want to protect the terminal during the execution of my program, while I am away from my PC (for a short 10-15 min break).
-Mohan