HP3000-L Archives

July 1997, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Mon, 28 Jul 1997 11:45:36 PST8
Content-Type:
text/plain
Parts/Attachments:
text/plain (47 lines)
Thanks to all,

This list comes through again!!

Regards

Paul H. Christidis

______________________________ Reply Separator _________________________________
Subject: Re: [HP3000-L] TERMDSM in batch?
Author:  Jeff Kell <[log in to unmask]> at CCGATE
Date:    07/28/97 08:55 AM


[log in to unmask] wrote:
>
> Fellow listers,
>
> Has anyone figured out how to run TERMDSM in batch?  I'd like to reset
> some modem ports on a daily basis and I've had no luck trying to
> invoke TERMDSM in batch nor in session with a redirected $stdin.

Use something like this:

(MANAGER.SYS): print fixit.commands;page=0
parm ldev="0"
if "!ldev"="0" then
   echo "** No ldev specified"
   escape
   endif
setvar hpmsgfence 2
purge fix!ldev,temp
purge fix!ldev
setvar hpmsgfence 0
echo run termdsm > fix!ldev
echo reset >> fix!ldev
echo l !ldev >> fix!ldev
echo l !ldev >> fix!ldev
echo exit >> fix!ldev
echo exit >> fix!ldev
echo exit >> fix!ldev
save fix!ldev
run dui.diag.sys;xl="xl.diag.sys,nl.pub.sys";info="use fix!ldev"
purge fix!ldev

Jeff Kell <[log in to unmask]>

ATOM RSS1 RSS2