[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proterm 3.1 macro help...



In article <Dqw0yK.5Do@mv.mv.com>, Jon Camp  <jac@silvercity.mv.com> wrote:

> Want a macro that after I have disconnected from the remote system
> (meaning that I have actually left the terminal mode) will select
> the entire contents of the scrollback buffer, sometimes called the
> "capture buffer", and save it to the current folder as a text file
> with the name "xxx".

Posting here so that perhaps others can add/learn from this:

* Executed automatically on disconnect from all systems. *
@@9
pr/oa-Z^M/ pr/1^M/ pr/ / pr/9/ pr/^MS/ pr/"xxx"^M^M^M/ pr/^[/
EXit

The "secret" here is that macro @9 is executed as each system is
dropped. I have not tried this macro, however, I'm sure it is
close. Also, he can probably put most, if not all of the stuff in one
or two pr commands.

Hope this helps,
-- 
	Joe Walters:  bird@mcs.com or J.L.Walters@genie.com
	The sound of your horn is far sweeter if blown by somebody else.