Path: utzoo!censor!geac!jtsv16!uunet!cs.utexas.edu!usc!apple!bloom-beacon!EXPO.LCS.MIT.EDU!jim From: jim@EXPO.LCS.MIT.EDU (Jim Fulton) Newsgroups: comp.windows.x Subject: Re: XReadBitmapFile Message-ID: <8908021356.AA23833@expo.lcs.mit.edu> Date: 2 Aug 89 13:56:32 GMT References: <8908012202.AA23082@garnet.berkeley.edu> Organization: X Consortium, MIT Laboratory for Computer Science Lines: 11 Is there any way to make XReadBitmapFile read standard input? It's fairly simple to hack lib/Xmu/RdBitF.c to have a routine like the following and then make XmuReadBitmapDataFromFile call it: int XmuReadBitmapData (fstream, width, height, datap, x_hot, y_hot) FILE *fstream; /* handle on file */ unsigned int *width, *height; /* RETURNED */ unsigned char **datap; /* RETURNED */ int *x_hot, *y_hot; /* RETURNED */