Fixed compile errors on FreeBSD related to cfmakeraw and friends on the

serial port side.  Also fixed problems with ioperm on the parallel port
side.

Added --waittime option to the server to specify how long the server
should leave a screen up before changing to the next screen.
This commit is contained in:
ppokorny
2001-07-18 22:30:12 +00:00
parent cc73d8e28a
commit e7316389e8
16 changed files with 191 additions and 83 deletions
+5 -2
View File
@@ -12,6 +12,9 @@
#include "screenlist.h"
#include "screen.h"
int default_priority = 128 ;
int default_duration = 64 ; // About 8 seconds
screen *
screen_create ()
{
@@ -25,8 +28,8 @@ screen_create ()
s->id = NULL;
s->name = NULL;
s->priority = 128; // Default priority
s->duration = 32; // Default duration (~ 8 seconds)
s->priority = default_priority ;
s->duration = default_duration ;
s->heartbeat = 1;
s->wid = lcd.wid;
s->hgt = lcd.hgt;