in reply to Controlling a terminal
Hm... I seem to remember being able to do something along the lines of
# echo "remember, root is watching you" > /dev/ptye4
(and, incidentally, cat /dev/ptye4), but I think you have to be root either way, and I don't remember it actually executing anything. What you're trying to do is have an external program (tcsh, or whatever your shell is) interpret some commands, and I don't think many shells will like that.
What is it you're trying to do? Perhaps there's some other way you can accomplish whatever it is.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Controlling a terminal
by naggiman (Novice) on Jan 21, 2003 at 17:20 UTC | |
by LAI (Hermit) on Jan 21, 2003 at 18:31 UTC | |
by naggiman (Novice) on Jan 22, 2003 at 12:41 UTC | |
by LAI (Hermit) on Jan 22, 2003 at 16:20 UTC | |
by yodabjorn (Monk) on Jan 22, 2003 at 02:28 UTC |