2009/5/8 hugo rivera <uai...@gmail.com>:
> Hello,
> sometimes, when I execute a few times some external commands on a
> directory with multiple files on it (an external command like tail +0f
> on different files that are constantly appended), it is nice to have
> the output of each command on its own window, and not having all
> outputs mixed in /whatever/dir/+Errors.

if i want to this, i tend to either a) start another win process
as others have said, or b) click New, and in the new window
type "<tail -f foo", Esc (to select that text) and middle click
it to execute it. the only down side of this is that it
doesn't automatically scroll to the bottom when new text arrives,
but that's not always what you want anyway.

it's a powerful technique e.g. a very quick way of getting a date
stamp into the current document: type "<date", Esc, middle click.


> I think the way to go is to write something (probably an script) that
> redirects the command's output to a single window by interacting with
> the files in /mnt/acme/new and /mnt/acme/ID. Nevertheless I am not
> quite sure on how to proceed with this, so any suggestions are
> welcome.
> Also, when I have just one tail command running, acme's Kill command
> is fine when I no longer need it, but when you have >3 tail commands
> running at the same time, Kill doesn't work so good anymore. Does acme
> keep the pids of the external commands it runs somewhere so I can know
> which ones I need to kill? in other words, say that I have 4 tail
> commands running on some dir, with each of them showing their outputs
> on its own window, how can I put the right argument to Kill on the
> window tag so I can get rid of the command when I saw enough of the
> file?
> Saludos y gracias
>
> --
> Hugo
>
>

Reply via email to