Diff

Differences From Artifact [9763ef29db]:

To Artifact [4d63714a50]:


353
354
355
356
357
358
359
360

361
362
363


364
365
366
367
368
369


370
371
372


373
374

375
376
377
378
379
380
381
353
354
355
356
357
358
359

360
361


362
363
364
365
366
367


368
369
370


371
372
373

374
375
376
377
378
379
380
381







-
+

-
-
+
+




-
-
+
+

-
-
+
+

-
+







	    AppendMenu (p, MF_ENABLED, IDM_TEL_SUSP, "Suspend Process");
	    AppendMenu (p, MF_SEPARATOR, 0, 0);
	    AppendMenu (p, MF_ENABLED, IDM_TEL_EOR, "End Of Record");
	    AppendMenu (p, MF_ENABLED, IDM_TEL_EOF, "End Of File");
	    AppendMenu (m, MF_POPUP | MF_ENABLED, (UINT) p, "Telnet Command");
	    AppendMenu (m, MF_SEPARATOR, 0, 0);
	}
	AppendMenu (m, MF_ENABLED, IDM_SHOWLOG, "Event Log");
	AppendMenu (m, MF_ENABLED, IDM_SHOWLOG, "&Event Log");
	AppendMenu (m, MF_SEPARATOR, 0, 0);
	AppendMenu (m, MF_ENABLED, IDM_NEWSESS, "New Session");
	AppendMenu (m, MF_ENABLED, IDM_DUPSESS, "Duplicate Session");
	AppendMenu (m, MF_ENABLED, IDM_NEWSESS, "Ne&w Session");
	AppendMenu (m, MF_ENABLED, IDM_DUPSESS, "&Duplicate Session");
	s = CreateMenu();
	get_sesslist(TRUE);
	for (i = 1 ; i < ((nsessions < 256) ? nsessions : 256) ; i++)
	  AppendMenu (s, MF_ENABLED, IDM_SAVED_MIN + (16 * i) , sessions[i]);
	AppendMenu (m, MF_POPUP | MF_ENABLED, (UINT) s, "Saved Sessions");
	AppendMenu (m, MF_ENABLED, IDM_RECONF, "Change Settings");
	AppendMenu (m, MF_POPUP | MF_ENABLED, (UINT) s, "Sa&ved Sessions");
	AppendMenu (m, MF_ENABLED, IDM_RECONF, "Chan&ge Settings");
	AppendMenu (m, MF_SEPARATOR, 0, 0);
	AppendMenu (m, MF_ENABLED, IDM_CLRSB, "Clear Scrollback");
	AppendMenu (m, MF_ENABLED, IDM_RESET, "Reset Terminal");
	AppendMenu (m, MF_ENABLED, IDM_CLRSB, "C&lear Scrollback");
	AppendMenu (m, MF_ENABLED, IDM_RESET, "Rese&t Terminal");
	AppendMenu (m, MF_SEPARATOR, 0, 0);
	AppendMenu (m, MF_ENABLED, IDM_ABOUT, "About PuTTY");
	AppendMenu (m, MF_ENABLED, IDM_ABOUT, "&About PuTTY");
    }

    /*
     * Finally show the window!
     */
    ShowWindow (hwnd, show);