Re: multi-gnome-terminal alternative
Kamaraju Kusumanchi <email@example.com> writes:
> That is pretty cool to know. Thanks. But this requires appending "&>
> /dev/pts/1" to each and every command. Can this be done in some
> configuration file so that it works for each and every command?
Can't you just do something like:
exec >& /dev/pts/XXX
in the parent shell?
that basically changes the _shell's_ stdout and stderr to go to
Warning: _all_ output will be redirected, including prompts and the
"output" from command-line editing when you enter commands. However it
doesn't redirect the built-in echoing when you're not in bash's
command-line editing mode (you can turn off command-line editing by
doing "set +o emacs" in bash).
Americans are broad-minded people. They'll accept the fact that a person can
be an alcoholic, a dope fiend, a wife beater, and even a newspaperman, but if a
man doesn't drive, there is something wrong with him. -- Art Buchwald