--- ray/src/rt/devtable.c 1990/07/18 21:45:09 1.7 +++ ray/src/rt/devtable.c 2004/03/30 16:13:01 2.7 @@ -1,26 +1,24 @@ -/* Copyright (c) 1988 Regents of the University of California */ - #ifndef lint -static char SCCSid[] = "$SunId$ LBL"; +static const char RCSid[] = "$Id: devtable.c,v 2.7 2004/03/30 16:13:01 schorsch Exp $"; #endif - /* * devtable.c - device table for rview. - * - * 3/30/88 */ +#include "copyright.h" + +#include + +#include "color.h" #include "driver.h" -char dev_default[] = "X"; +char dev_default[] = "x11"; -extern struct driver *aed_init(), *x_init(), *nws_init(); +extern dr_initf_t x11_init; /* XXX this should be in a seperate header file */ struct device devtable[] = { /* supported devices */ - {"aed", "AED 512 color graphics terminal", aed_init}, - {"news", "NeWS color or greyscale display", nws_init}, - {"sundev", "SunView color or greyscale screen", comm_init}, - {"X", "X10 color or greyscale display", x_init}, - {"x11dev", "X11 color or greyscale display", comm_init}, + {"slave", "Slave driver", slave_init}, + {"x11", "X11 color or greyscale display", x11_init}, + {"x11d", "X11 display using stdin/stdout", x11_init}, {0} /* terminator */ };