Results 1 to 2 of 2
hi,
tried running the command cat < /dev/tty7
which caused the terminal to execute an inifinite loop. On closing the window and opeing the new one the infinite loop didn't ...
- 08-20-2008 #1Just Joined!
- Join Date
- May 2008
- Posts
- 16
virtual terminal
hi,
tried running the command cat < /dev/tty7
which caused the terminal to execute an inifinite loop. On closing the window and opeing the new one the infinite loop didn't terminate. it did only when i pressed ctrl+d.
Can anyone provide some logic behind this behaviour????
Thanks.
- 09-04-2008 #2Just Joined!
- Join Date
- Sep 2008
- Posts
- 25
Well I am not sure whether it is infinite loop maybe cat is just waiting to the end of file.
In UNIX an end-of-file indication can be sent from an interactive shell (console)
by typing Ctrl+D (conventional standard).
regards,
ndevel.


Reply With Quote
