dzrong Posted February 7, 2012 Share Posted February 7, 2012 There seems to be many option of the Gpascii,such as -i -2 ,is there a document telling how many options be there and how to use the options? Thanks Link to comment Share on other sites More sharing options...
Sina.Sattari Posted February 7, 2012 Share Posted February 7, 2012 This is the best explanation I could find: GPLinux Power PMAC ASCII File & STD I/O Syntax: gpascii [Options] Input Options: -iFILEIN -oFILEOUT -sSLEEP(usec) Output Options -i -o -e INP OUT ERR -s(useconds) Test Status ------ ------- ------- ------ -------- ------ --------- ------------- STDIN STDOUT STDERR NOT ACTIVE OK -iFILEIN FILEIN STDOUT STDERR ACTIVE (delays usec) OK -oFILEOUT -eERRFILE STDIN FILEOUT ERRFILE NOT ACTIVE OK ^C doesn't close file (use ESC\n) -iFILEIN -oFILEOUT -eERRFILE FILEIN FILEOUT ERRFILE ACTIVE (delays usec) OK I hope it is helpful. Link to comment Share on other sites More sharing options...
dzrong Posted February 8, 2012 Author Share Posted February 8, 2012 Thank you very much! Link to comment Share on other sites More sharing options...
AnthonyLH Posted July 26, 2013 Share Posted July 26, 2013 Dear all, I can't get gpascii -s option working : 172.23.1.169:/opt/ppmac# gpascii -s100 Error: Illegal input option Could someone help me on that, thank you. My goal: My C applications have time execution picks that seems to come from the "gpascii -i" i use to fill my rotary buffer. I would like to reduce thoses picks. Link to comment Share on other sites More sharing options...
bradp Posted July 29, 2013 Share Posted July 29, 2013 I do not know what gpascii -s100 should mean. If you enter gpascii --h you will get the list of options that I know about. Where did you get the information on a -s option? Link to comment Share on other sites More sharing options...
AnthonyLH Posted July 29, 2013 Share Posted July 29, 2013 I got this infos on this forum thread, just above : Input Options: -iFILEIN -oFILEOUT -sSLEEP(usec) -h not working: root@192.168.16.211 192.168.168.211:/opt/ppmac# gpascii --h Error: Illegal input option 192.168.168.211:/opt/ppmac# gpascii --help Error: Illegal input option root@192.168.16.211 192.168.168.211:/opt/ppmac# gpascii -h Error: Illegal input option Link to comment Share on other sites More sharing options...
bradp Posted July 29, 2013 Share Posted July 29, 2013 Works for me. root@192.168.0.200 192.168.100.94:/opt/ppmac# gpascii --h This program is the command line input/output to the Power PMAC Command Processor The input options are the following: -i followed by the input file name. Default is the STDIN -o followed by the output file name. Default is the STDOUT -e followed by the error output file name. Default is the STDOUT -v Sets the verbose mode where status messages are printed -2 Enables global & user defined name string replacement with Power PMAC commands To terminate the program send an ESC with a NEWLINE If you are using the "-i" input file option you must use a CNTRL C to terminate the program. root@192.168.0.200 192.168.100.94:/opt/ppmac# Try gpascii--h as I was told this was the syntax but it did not work for me, I needed one space. Link to comment Share on other sites More sharing options...
AnthonyLH Posted July 30, 2013 Share Posted July 30, 2013 Thank you Bradp, Do you see a reason why i can't get the -h option working? Link to comment Share on other sites More sharing options...
kenyourek Posted May 24, 2014 Share Posted May 24, 2014 Thank you Bradp, Do you see a reason why i can't get the -h option working? Looks like you need two dashes before "h". This worked for me: gpascii --h I also got a few more options than those that bradp posted. This program is the command line input/output to the Power PMAC Command Processor The input options are the following: -i followed by the input file name. Default is the STDIN -o followed by the output file name. Default is the STDOUT -e followed by the error output file name. Default is the STDOUT -v Sets the verbose mode where status messages are printed -2 Enables global & user defined name string replacement with Power PMAC commands -n Do not append to a PPMAC response. The default is to add the ACK Default is no flush. This option cannot be used along with the -i option. -f Automatically flush data to the terminal after PPMAC response on. To terminate the program send an ESC with a NEWLINE If you are using the "-i" input file option you must use a CNTRL C to terminate the program. Link to comment Share on other sites More sharing options...
Recommended Posts