Results 1 to 3 of 3
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-22-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????
why an infinite loop??
Thanks.
- 08-23-2008 #2
Most distros run their graphical desktop on /dev/tty7. So if you open a terminal on the desktop and then cat from /dev/tty7, I'm not surprised you get an infinite loop.
btw, when I tried to do this just now, I wasn't allowed to; only root has read access to this terminal. And when I tried doing it with gksu, I got a gtk error."I'm just a little old lady; don't try to dazzle me with jargon!"
- 08-24-2008 #3Just Joined!
- Join Date
- May 2008
- Posts
- 16
my confusion is not the infinite loop but its existence even after I close the terminal and open another one?


Reply With Quote