Re: supress the "more" prompt in dsmadmc
2003-10-10 02:35:16
On Thu, Oct 09, 2003 at 06:51:21PM +0200, Bleicher, Thomas wrote:
> > dsmadmc has two modes, "interactive" and "batch".
> >
> > You are running interactive, you will get the more prompt.
> >
> > If you run it in batch, you will not get the more prompt.
>
> I still geht the prompt, even when I execute commands in
> batch mode. But redirecting the output to a file or a pipe
> works. On Unix systems the following should do the trick:
>
> dsmadmc -id=me -password=mine q actlog | cat
You could try out ftp://cr.yp.to/ptyget-0.50.tar.gz. Unfortunately,
that package is a bit dated and needs updating to comfortably work on
modern unix variants.
--
Jurjen Oskam
PGP Key available at http://www.stupendous.org/
|
|
|