Stephen, Thanks!! LSARC,
With Gary's issues clarified can someone +1 this project? Thanks, John Stephen Browne wrote: > John, > > Sorry I didn't realise that further discussion with Gary was off list. > > I believe Gary's concerns have been addressed, His main > misunderstanding was in the term dialog. I was always referring to a > GUI dialog box and Gary appears to have thought I was taking about a CLI > dialogue between the system and the CLI user. > > I will summarise the responses below. > > On 09/08/09 18:11, John Fischer wrote: >> Stephen, >> >> Can you address Gary's issues? I have extended the timer to >> this Friday, September 11th. >> >> Thanks, >> >> John >> >> >> Gary Winiger wrote: >>>> I have placed the attached man page document in the case directory >>>> under >>>> the materials subdirectory. >>> >>> For the record from a private thread with the project team: >>> >>> My primary comment on the man page and case all together is that >>> it's unclear what the output of call to the CLI is. Is it a single >>> label, a dimming list (from the contracted project private >>> interfaces), >>> a construction of all labels between min and max, in which case what >>> does the default have to do with it. > > It is a single label. The default is specified to indicate the default > label selection should the user simply hit OK on the dialog box without > further interaction. > >>> >>> Also the man page doesn't say what context (global zone, >>> sys_trans_label, ...) is needed? > > Agreed to update manpage. > >>> >>>> txselectlabel - label selection dialog utility >>> >>> It's unclear to me how this utility presents a dialogue >>> with the user. > > This is the source of Gary's confusion. It is a GUI dialog box not a > CLI only conversation 'dialogue'. > >>> >>>> EXIT STATUS >>>> The following exit values are returned: >>>> >>>> 0 A label was successfully selected >>>> 1 Missing or ivalid command argument(s) >>>> >>>> 2 A label translation error occured >>> >>> Is there something more here? str_to_label gives a pointer >>> to what part of the string was in error. >>> Is something spit out to stderr? > > As stated in the proposal, appropriate error messages will printed to > stderr. > >>> >>>> 5 Dialog was canceled without selecting a label >>> >>> It's unclear what dialogue is taking place. More >>> information would be useful. > > more confusion. Gary now knows this is a GTK GUI dialog complete with a > cancel button. > >>> >>>> FILES >>>> The following files are used by this utility: >>>> >>>> /usr/bin/txselectlabel The command-line executable >>>> >>>> ATTRIBUTES >>>> See attributes(5) for description of the following attributes: >>>> _____________________________________________________________ >>>> | ATTRIBUTE TYPE | ATTRIBUTE VALUE | >>>> |_____________________________|_ ___________________________| >>>> | Availability | SUNWtgnome-tsol-libs | >>>> |_____________________________|_____________________________| >>>> | Interface stability | Uncommitted | >>>> |_____________________________|_____________________________| >>> >>> The output from the command should probably be "Not An Interface" > > Calling scripts will rely on both the printed string for the selected > label and the exit status so this very much needs to be an interface. > > Stephen. > >>> >>> Gary.. >