summaryrefslogtreecommitdiffstats
path: root/door.c
diff options
context:
space:
mode:
Diffstat (limited to 'door.c')
-rw-r--r--door.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/door.c b/door.c
index 82a7538..4c6fc06 100644
--- a/door.c
+++ b/door.c
@@ -17,18 +17,10 @@ int bbs_door_start( term_screen *ts, const char *cmd )
int restore_mode=1;
- //struct termios orig_i;
- //struct termios orig_o;
-
term_clr_scr( ts );
- //if ( tcgetattr( ts->ifd, &orig_i ) == -1 ) restore_mode = 0;
- //if ( tcgetattr( ts->ofd, &orig_o ) == -1 ) restore_mode = 0;
-
tcsetattr( ts->ifd, TCSAFLUSH, &ts->orig_i );
- //tcsetattr( ts->ofd, TCSAFLUSH, &ts->orig_o );
- //term_clr_scr( ts );
if ( system( cmd ) == -1 )
{
bbs_log( "DOOR", "couldnt execute doorgame");
@@ -37,7 +29,6 @@ int bbs_door_start( term_screen *ts, const char *cmd )
if ( restore_mode )
{
tcsetattr( ts->ifd, TCSAFLUSH, &ts->raw_i );
- //tcsetattr( ts->ofd, TCSAFLUSH, &orig_o );
}