On startup on both Sun Solaris 2.x and DEC OSF/1 2.x, the message

Columbia MM, version 0.91.0(21)
Cannot restore tty attributes: error 9

arises from ccmd/ccmd.c

========================================================================

First call to mm_execute is successful"


(gdb) where
#0  mm_execute (file=0xab910 "emacs", argv=0xf2760) at exit.c:340
#1  0x23aa4 in gnuemacs_edit_outgoing (what=7) at edit.c:335
#2  0x235cc in edit_outgoing (p=-1) at edit.c:253
#3  0x22ddc in cmd_edit (n=21) at edit.c:81
#4  0x312b4 in top_level_parser () at mm.c:278
#5  0x30a70 in main (argc=3, argv=0xefffe914) at mm.c:145

========================================================================

Failing return on second and subsequent edit calls:

S>edit
 
Breakpoint 1, mm_execute (file=0xab910 "emacs", argv=0xf4560) at exit.c:340
340         cmtend ();
(gdb) c
Continuing.
 
Breakpoint 2, mm_execute (file=0xab910 "emacs", argv=0xf4560) at exit.c:364
364         return status;
$2 = -2
(gdb) where
#0  mm_execute (file=0xab910 "emacs", argv=0xf4560) at exit.c:364
#1  0x23aa4 in gnuemacs_edit_outgoing (what=7) at edit.c:335
#2  0x235cc in edit_outgoing (p=-1) at edit.c:253
#3  0x22ddc in cmd_edit (n=21) at edit.c:81
#4  0x312b4 in top_level_parser () at mm.c:278
#5  0x30a70 in main (argc=3, argv=0xefffe914) at mm.c:145
(gdb) quit
The program is running.  Quit anyway (and kill it)? (y or n) y
