Thanks folks. You've given me some things to try. Someone also recommended doing a "TERM=unknown" before running the command.
...ds *** This information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material, the disclosure of which is governed by applicable law. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and destroy the materials contained in this message. *** > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Stevenson, Charles > Sent: Monday, November 06, 2006 5:58 PM > To: [email protected] > Subject: RE: [U2] [UV] Running UV command from Unix prompt > > You say you disabled the login paragraph, but remember that > UV will first execute UV.LOGIN in UV account for everyone. > You cannot disable that, but you can add some smarts to it. > > And then UV looks in the current account for a record whose > ID = [current users id]. > Then, if it didn't find that, UV looks for ID = [account name]. > Then, if it didn't find that, UV looks for ID = "LOGIN". > > Are you sure all those are disabled? > Or maybe you want to take advantage of id = [current user id] > > Could you pipe the output through unix's "strings" before > saving to /tmp/MYOUTPUT.txt > > I don't think it applies to the current case, but you could > also, within "MYCOMMAND" do > SET.TERM.TYPE PAPER > & maybe > TERM 32767,32767 > to get rid of control characters & page breaks the program > itself might generate. > > cds > > > > I am running a UV command from a Unix prompt (HPUX) and am > attempting > > to capture the output in a file. For instance, > > > > /u1/uv/bin/uv "MYCOMMAND" > /tmp/MYOUTPUT.txt > > > > The output file contains what appears to be terminal control > > characters > ------- > u2-users mailing list > [email protected] > To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
