+ /* Strip parentheses. We realize that this method will not work
+ * in all cases, but it seems to work with all currently available
+ * client software. Revisit later...
+ */
+ for (i=0; i<num_items; ++i) {
+ if (itemlist[i][0] == '(') {
+ strcpy(&itemlist[i][0], &itemlist[i][1]);
+ }
+ if (itemlist[i][strlen(itemlist[i])-1] == ')') {
+ itemlist[i][strlen(itemlist[i])-1] = 0;
+ }
+ }
+