lsvirprt


 
Thread Tools Search this Thread
Operating Systems AIX lsvirprt
# 1  
Old 03-01-2010
lsvirprt

Hello

Thanks in advance for your time.

I am using lsvitprt in interactive mode to attempt to modify a virtual printer file for a queue to add a definition for a size 13 font.

After selecting the proper print queue, I am taken to the screen to edit the file. After selectinr ~v to edit, nothoing happens. Pressing ENTER to exit, nothing happens.

The command I used is:
Code:
 /usr/sbin/lsvirprt -i -q 'queuename' -d 'device name'

Can I just safely CTRL-C to get out of where I am?

Thanks
Mike

Last edited by pludi; 03-02-2010 at 01:49 AM.. Reason: added code tags
# 2  
Old 03-01-2010
What do you mean by 'safely'?

According to what I found, lsvirprt uses vi editor (found at http://www.redbooks.ibm.com/redbooks...tml/wwhelp.htm [I then searched for your lsvirprt command - found the following under the troubleshooting portion)

"To edit more complex attributes, such as ci, use the tilde operator to get a vi session for editing. "

If it is using vi, then you should probably try something like the ESC key to try to get back to where you need to be to hit Enter to exit. You may need to do a normal wq or q! - as far as control-C, it may or may not work.

(I don't claim to be an expert in AIX...heck, I haven't used it in over 10 years! But they always had pretty good documentation)
# 3  
Old 03-02-2010
Well, I do not want to much up a file. I only use this command very rarely, via smit, and just to do this one function. I remember an SA telling me to be careful as it may hose the printing subsystem.

THis is AIX 5.2, on a system soon to be out the door. But...

Where I am stuck is at the point between selecting the print queue and actually editing the file. I am at the prompt to list (*), edit (~v) or exit (ENTER). but when I input any of these, nothing at all happens.

Thanks
Mike
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question