From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Quality Quorum Cc: gdb@sourceware.cygnus.com Subject: Re: remote nits Date: Tue, 14 Dec 1999 07:35:00 -0000 Message-id: <38566371.ECAB7FA7@cygnus.com> References: X-SW-Source: 1999-q4/msg00503.html Quality Quorum wrote: > > > ???????? As far as I understand the document normal response to > Rcmd is a sequence of zero of more 'O' packets followed, by OK or 'ENN'. One of the specified return codes is: reply OUTPUT A command response with the hex encoded output string OUTPUT. and is separate to in intermediate O packet. > IMHO, the only use of Rcmd is to allow user to type some command > and see the response, in all other cases query should be defined and > used not a command, we have raw queries just for this purpose. Sorry you've lost me here. Andrew >From qqi@world.std.com Tue Dec 14 08:09:00 1999 From: Quality Quorum To: Andrew Cagney Cc: gdb@sourceware.cygnus.com Subject: Re: remote nits Date: Tue, 14 Dec 1999 08:09:00 -0000 Message-id: References: <38566371.ECAB7FA7@cygnus.com> X-SW-Source: 1999-q4/msg00504.html Content-length: 1043 On Wed, 15 Dec 1999, Andrew Cagney wrote: > Quality Quorum wrote: > > > > > > ???????? As far as I understand the document normal response to > > Rcmd is a sequence of zero of more 'O' packets followed, by OK or 'ENN'. > > One of the specified return codes is: > > reply OUTPUT > A command response with the hex encoded output string OUTPUT. This one should be outlawed before it is too late, it simply does not make any sense. > > and is separate to in intermediate O packet. > > > IMHO, the only use of Rcmd is to allow user to type some command > > and see the response, in all other cases query should be defined and > > used not a command, we have raw queries just for this purpose. > > Sorry you've lost me here. The question is who is going to issue a command and to interpret a command response ? If it is a user then proper response have to be in user-readable form ('O' packet). If it is machine, then command query should not be used (we have raw queries for the purpose). > > Andrew > Thanks, Aleksey