DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T r

⟦782c66b6e⟧ TextFile

    Length: 596 (0x254)
    Types: TextFile
    Names: »reversevideo.c«

Derivation

└─⟦060c9c824⟧ Bits:30007080 DKUUG TeX 2/12/89
    └─⟦this⟧ »./DVIware/crt-viewers/dviapollo/reversevideo.c« 
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
    └─⟦af5ba6c8e⟧ »unix3.0/DVIWARE.tar.Z« 
        └─⟦ca79c7339⟧ 
            └─⟦this⟧ »DVIware/crt-viewers/dviapollo/reversevideo.c« 

TextFile

/* @(#)reversevideo.c	1.1 10/12/86
*/
#include <X/Xlib.h>
#include "boolean.h"
/* Taken from xgraphics.c. */
BOOLEAN reverse_video_p (programname)
     char *programname;
{
  char *revstr = XGetDefault (programname, "ReverseVideo");

  if (revstr == 0 || (strcmp (revstr, "off") == 0) ||
      (strcmp (revstr, "Off") == 0)) {
      return (FALSE);
    } else if ((strcmp (revstr, "On") == 0) ||
      (strcmp (revstr, "on") == 0)) {
      return (TRUE);
    } else {
      printf ("Default value for reverse video is %s, which is neither off nor on.\n", revstr);
      return (FALSE);
    };
}