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 - download

⟦5f046247a⟧ TextFile

    Length: 370 (0x172)
    Types: TextFile
    Names: »input.c«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦526ad3590⟧ »EUUGD11/gnu-31mar87/X.V10.R4.tar.Z« 
        └─⟦2109abc41⟧ 
            └─ ⟦this⟧ »./X.V10R4/xperfmon/input.c« 

TextFile

#ifndef lint
static char *rcsid_input_c = "$Header: input.c,v 10.2 86/02/01 16:02:55 tony Rel $";
#endif	lint

/* input.c */

#include <X/Xlib.h>

extern KeyMapEntry StdMap[];

mapkey (keycode)
register int keycode;
{
	short c;

	c = StdMap[keycode & ValueMask][KeyState(keycode)];
	if ((keycode & ShiftLockMask) && c >= 'a' && c <= 'z')
		c += 'A' - 'a';
	return(c);
}