add: if(c=='M') c='L'; if(c=='m') c='l';
context: static void write_config_rik(FILE *fp, const RCF_t * const rc){   char buf[40];   char *cp = Winstk[0]->rc.fieldscur;   int j = 0;   int tmp;   while (j < 36) {      int c = *cp++ & 0xff;      switch (c) {         case 1 ... ' ':         case '.':         case 'X':     // trying not to crash Rik's top (move COMMAND)         case 0x7f ... 0xff:            continue;  // throw away junk (some of it)         default:            c = jim_to_rik(c);            if(!c) continue;   // skip one we can't represent            break;         case '\0':            buf[j++] = 'X';  // trying not to crash Rik's top (move COMMAND)            break;      }      buf[j++] = c;      if (!c) break;   }   fprintf(fp, "%s\n", buf);   cp = buf;   tmp = (int)(rc->Delay_time + 0.5);   if (tmp < 2) tmp = 2;   if (tmp > 9) tmp = 9;   *cp++ = tmp + '0';   tmp = rc->win[0].winflags;   if ( rc->Secure_mode)   *cp++ = 's';   if ( tmp & Show_CTIMES) *cp++ = 'S';   if ( tmp & Show_CMDLIN) *cp++ = 'c';   if (~tmp & Show_IDLEPS) *cp++ = 'i';   //if () *cp++ = 'H';   if (~tmp & View_MEMORY) *cp++ = 'm';   if (~tmp & View_LOADAV) *cp++ = 'l';   if (~tmp & View_STATES) *cp++ = 't';   if (!rc->Mode_irixps)   *cp++ = 'I';   switch (rc->win[0].sortindx) {      case P_MEM:         *cp++ = 'M';         break;      case P_CPU:         *cp++ = 'P';         break;//    case P_???: sort by start_time//       *cp++ = 'A';//       break;      case P_TM2:         *cp++ = 'T';         break;      case P_PID:         *cp++ = 'N';         break;   }   *cp++ = '\n';   *cp++ = '\n';   *cp++ = '\n';   *cp++ = '\0';   fprintf(fp, "%s\n", buf);}