1. You can't other than by SET HOST/LOG.
2. Type the command CREATE file.txt. Use the mouse to select the lines
in the scrollback buffer you want to copy, then click on MB2, then
press ctrl-Z.
capturing arbitrary output...
As long as you don't need to see the output on the terminal, it is
possible to redirect the output of an arbitrary sequence of commands
into the same file. Use:
$ @TT/OUTPUT=filespec
_$ command1
_$ command2
...
_$ command-n
_$ EXIT
$
Note that during the redirection, your prompt gets a leading "_" and
you won't see any output.
It shouldn't be too hard to add a "capture output" menu command to
DECterm, I wonder if it's worth asking (does Eric Osman read this
conference?)
DECterm includes a print to file capability. It is located under the Options
pull down menu. Combined with the auto print mode and there ya go.
You can also write code based on SYS$EXAMPLES:LOGGER.C. It uses the
pseudo terminal driver and lets you do what you want with the data!