Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Best place to put `mesg n` into?



On Tue, Jun 22, 1999 at 11:55:33PM +0200, Roland Jesse wrote:
> 
> Stefan Monnier writes:
> 
>  > I might be hopelessly confused, but I seemed to remember that
>  > 
>  > 	xterm -e foo bar
>  > 
>  > does *not* use any shell whatsoever.
> 
> That's hard to believe.

~> xterm -e slrn &
~> pstree

[...]
     |-xterm---zsh-+-mozilla---mozilla
     |             |-pstree
     |             `-xterm---slrn
                     ^^^^^   ^^^^
                     No shell here
Still unbelievable? :-)

> But Bart's sollution (using xterm -ut) works great. 

good :-)

> Thank you much anyway. Your help is very much appreciated.

Another (more complicated) solution would use zsh :-)
xterm -e zsh -c "mesg n ; your_command"
Of course, this adds an extra zsh to the process table...

> 	Roland

CU,
Thomas

-- 
    Thomas Köhler    Email:     jean-luc@xxxxxxxxxxxxxxxxx
        <><           WWW:    http://home.pages.de/~jeanluc/
                      IRC:               jeanluc
      LCARS --- Linux for Computers on All Real Starships



Messages sorted by: Reverse Date, Date, Thread, Author