X	    printf("\ninvalid first character in the title\n\n");
X	    printf("enter your title: ");
X	    ok_line = 0;
X	} else {
X	    for (p=(&title[1]); *p != '\0' && *p != '\n'; ++p) {
X		if (!isascii((int)*p) ||
X		    !(isalnum((int)*p) ||
X		      *p == '_' || *p == '=' || *p == '+' || *p == '-')) {
X		    printf("\ninvalid character in the title\n\n");
X		    printf("enter your title: ");
X		    ok_line = 0;
X		}
X	    }
X	}
X    } while (ok_line <= 0);
X    fprintf(output, "title:\t%s", title);
X    check_io(output, oname, EOF_NOT_OK);
X
X    /*
X     * write the entry number
X     */
X    printf("\nEach person may submit up to %d entries per year.\n\n",
X	MAX_ENTRY);
X    printf("enter an entry number from 0 to %d inclusive: ", MAX_ENTRY-1);
X    do {
X	/* get a valid input line */
X	fflush(stdout);
X	ret = fscanf(stdin, "%d[\n]", &entry);
X	check_io(stdin, "stdin", EOF_NOT_OK);
X	/* skip over input until newline is found */
X	do {
X	    skip = fgetc(stdin);
X	    check_io(stdin, "stdin", EOF_NOT_OK);
X	    if (skip != '\n') {
X		/* bad text in input, invalidate entry number */
X		entry = -1;
X	    }
X	} while (skip != '\n');
X
X	/* check if we have a number, and if it is in range */
X	if (ret != 1 || entry < 0 || entry > MAX_ENTRY-1) {
X	    printf(
X	      "\nThe entry number must be between 0 and %d inclusive\n\n",
X		MAX_ENTRY-1);
X	    printf("enter the entry number: ");
X	}
X    } while (ret != 1 || entry < 0 || entry > MAX_ENTRY-1);
X    fprintf(output, "entry:\t%d\n", entry);
X    check_io(output, oname, EOF_NOT_OK);
X
X    /*
X     * write the submission date
X     */
X    /* returns a newline */
X    epoch_sec = time(NULL);
X    fprintf(output, "date:\t%s", asctime(gmtime(&epoch_sec)));
X    check_io(output, oname, EOF_NOT_OK);
X
X    /*
X     * write the OS/machine host information
X     */
X    printf(
X      "\nEnter the machine(s) and OS(s) under which your entry was tested.\n");
X    output_till_dot(output, oname, "host:");
X}
X
X/*
X * output_remark - output the ---remark--- section
X *
X * Read the needed information form stdin, and write the entry section.
X */
Xvoid
Xoutput_remark(output, oname, remark, rname)
X    FILE *output;		/* entry's output file stream */
X    char *oname;		/* name of the output file */
X    FILE *remark;		/* stream to the file containing remark text */
X    char *rname;		/* name of the remark file */
X{
X    char buf[BUFSIZ+1];		/* input/output buffer */
X
X    /*
X     * write the start of the section
X     */
X    fprintf(output, "---remark---\n");
X    check_io(output, oname, EOF_NOT_OK);
X
X    /*
X     * copy the remark file to the section
X     */
X    while (fgets(buf, BUFSIZ, remark) != NULL) {
X	fputs(buf, output);
X	check_io(output, oname, EOF_NOT_OK);
X    }
X    check_io(remark, rname, EOF_OK);
X
X    /* be sure that the remark section ends with a newline */
X    if (buf[strlen(buf)-1] != '\n') {
X	fputc('\n', output);
X	check_io(output, oname, EOF_NOT_OK);
X    }
X}
X
X/*
X * output_author - output the ---author--- section
X *
X * Read the needed information from stdin, and write the author section.
X * If multiple authors exist, multiple author sections will be written.
X */
Xvoid
Xoutput_author(output, oname)
X    FILE *output;		/* entry's output file stream */
X    char *oname;		/* name of the output file */
X{
X    char buf[MAX_COL+1+1];	/* I/O buffer */
X    int more_auths;		/* TRUE => more authors to note */
X    int auth_cnt=0;		/* number of authors processed */
X
X    /*
X     * prompt the user for the author section
X     */
X    printf("\nEnter information about each author.  If your entry is after\n");
X    printf("%s and before the contest deadline, the judges\n", START_DATE);
X    printf("will attempt to Email back a confirmation to the first author\n");
X
X    /*
X     * place author information for each author in an individual section
X     */
X    do {
X
X	/* write the start of the section */
X	fprintf(output, "---author---\n");
X	check_io(output, oname, EOF_NOT_OK);
X
X	/* write the author */
X	printf("\nAuthor #%d name: ", ++auth_cnt);
X	while (get_line(buf, MAX_COL+1, MAX_COL-9) <= 0) {
X	    printf("\nname too long, please re-enter: ");
X	}
X	fprintf(output, "name:\t%s", buf);
X	check_io(output, oname, EOF_NOT_OK);
X
X	/* write the organization */
X	printf("\nEnter the School/Company/Organization of author #%d\n",
X	    auth_cnt);
X	printf("\nAuthor #%d org: ", auth_cnt);
X	while (get_line(buf, MAX_COL+1, MAX_COL-9) <= 0) {
X	    printf("\nline too long, please re-enter: ");
X	}
X	fprintf(output, "org:\t%s", buf);
X	check_io(output, oname, EOF_NOT_OK);
X
X	/* write the address */
X	printf(
X	    "\nEnter the postal address for author #%d.  Be sure to include\n",
X	    auth_cnt);
X	printf("your country and do not include your name.\n");
X	output_till_dot(output, oname, "addr:");
X
X	/* write the Email address */
X	printf(
X	    "\nEnter the Email address for author #%d.  Use an address from\n",
X	    auth_cnt);
X	printf(
X	    "a registered domain or well known site.  If you give several\n");
X	printf("forms, list them one per line.\n");
X	output_till_dot(output, oname, "email:");
X
X	/* write the anonymous status */
X	printf("\nShould author #%d remain anonymous (enter y or n)? ",
X	    auth_cnt);
X	while (get_line(buf, 1+1, 0) <= 0 || !(buf[0]=='y' || buf[0]=='n')) {
X	    printf("\nplease answer y or n: ");
X	}
X	fprintf(output, "anon:\t%s", buf);
X	check_io(output, oname, EOF_NOT_OK);
X
X	/* determine if there is another author */
X	printf("\nIs there another author (enter y or n)? ");
X	while (get_line(buf, 1+1, 0) <= 0 || !(buf[0]=='y' || buf[0]=='n')) {
X	    printf("\nplease answer y or n: ");
X	}
X	if (buf[0] == 'y') {
X	    more_auths = TRUE;
X	} else {
X	    more_auths = FALSE;
X	}
X    } while (more_auths == TRUE);
X    return;
X}
X
X/*
X * output_info - output the ---info--- section(s)
X *
X * Read the needed information from stdin, and write the info section.
X * If multiple info files exist, multiple info sections will be written.
X */
Xvoid
Xoutput_info(output, oname)
X    FILE *output;		/* entry's output file stream */
X    char *oname;		/* name of the output file */
X{
X    char infoname[MAX_FILE_LEN+1];	/* filename buffer */
X    char yorn[1+1];		/* y or n answer */
X    char *uuname;		/* name to uuencode as */
X    FILE *infile;		/* info file stream */
X
X    /*
X     * prompt the user for info information
X     */
X    printf("\nInfo files should be used only to supplement your entry.\n");
X    printf("For example, info files may provide sample input or detailed\n");
X    printf("information about your entry.  Because they are supplemental,\n");
X    printf("the entry should not require them to exist.\n\n");
X
X    /*
X     * while there is another info file to save, uuencode it
X     */
X    printf("Do you have a info file to include (enter y or n)? ");
X    while (get_line(yorn, 1+1, 0) <= 0 || !(yorn[0]=='y' || yorn[0]=='n')) {
X	printf("\nplease answer y or n: ");
X    }
X    while (yorn[0] == 'y') {
X
X	/* read the filename */
X	printf("\nEnter the info filename: ");
X	while (get_line(infoname, MAX_FILE_LEN+1, 0) <= 0) {
X	    printf("\nInfo filename too long, please re-enter: ");
X	}
X
X	/* compute the basename of the info filename */
X	/* remove the trailing newline */
X	uuname = &infoname[strlen(infoname)-1];
X	*uuname = '\0';
X	/* avoid rindex/shrrchr compat issues, do it by hand */
X	for (--uuname; uuname > infoname; --uuname) {
X	    if (*uuname == '/') {
X		++uuname;
X		break;
X	    }
X	}
X
X	/* attempt to open the info file */
X	infile = fopen(infoname, "r");
X	if (infile == NULL) {
X	    fprintf(stderr, "\n%s: cannot open info file: %s: ",
X		program, infoname);
X	    perror("");
X	    continue;
X	}
X
X	/*
X	 * write the start of the section
X	 */
X	fprintf(output, "---info---\n");
X	check_io(output, oname, EOF_NOT_OK);
X
X	/* uuencode the info file */
X	uuencode(output, oname, infile, infoname, UUINFO_MODE, uuname);
X
X	printf("\nDo you have another info file to include (enter y or n)? ");
X	while (get_line(yorn, 1+1, 0) <= 0 || !(yorn[0]=='y' || yorn[0]=='n')) {
X	    printf("\nplease answer y or n: ");
X	}
X    };
X    return;
X}
X
X/*
X * output_build - output the ---build--- section
X *
X * Read the needed information from stdin, and write the build section.
X */
Xvoid
Xoutput_build(output, oname, build, bname)
X    FILE *output;		/* entry's output file stream */
X    char *oname;		/* name of the output file */
X    FILE *build;		/* open build file stream */
X    char *bname;		/* name of the build file */
X{
X    /*
X     * write the start of the section
X     */
X    fprintf(output, "---build---\n");
X    check_io(output, oname, EOF_NOT_OK);
X
X    /*
X     * uuencode the program file
X     */
X    uuencode(output, oname, build, bname, UUBUILD_MODE, UUBUILD_NAME);
X    return;
X}
X
X/*
X * output_program - output the ---program--- section
X *
X * Read the needed information form stdin, and write the program section.
X */
Xvoid
Xoutput_program(output, oname, prog, pname)
X    FILE *output;		/* entry's output file stream */
X    char *oname;		/* name of the output file */
X    FILE *prog;			/* open program stream */
X    char *pname;		/* name of program file */
X{
X    /*
X     * write the start of the section
X     */
X    fprintf(output, "---program---\n");
X    check_io(output, oname, EOF_NOT_OK);
X
X    /*
X     * uuencode the program file
X     */
X    uuencode(output, oname, prog, pname, UUPROG_MODE, UUPROG_NAME);
X    return;
X}
X
X/*
X * output_end - output the ---end--- section
X *
X * Read the needed information form stdin, and write the 'end section'.
X */
Xvoid
Xoutput_end(output, oname)
X    FILE *output;		/* entry's output file stream */
X    char *oname;		/* name of the output file */
X{
X    /*
X     * write the final section terminator
X     */
X    fprintf(output, "---end---\n");
X    check_io(output, oname, EOF_NOT_OK);
X    return;
X}
X
X/*
X * get_line - get an answer from stdin
X *
X * This function will flush stdout, in case a prompt is pending, and
X * read in the answer.
X *
X * This function returns 0 if the line is too long, of the length of the
X * line (including the newline) of the line was ok.  This function does
X * not return if ERROR or EOF.
X */
Xint
Xget_line(buf, siz, maxcol)
X    char *buf;			/* input buffer */
X    int siz;			/* length of input, including the newline */
X    int maxcol;			/* max col allowed, 0 => disable check */
X{
X    int length;			/* the length of the input line */
X
X    /* flush terminal output */
X    fflush(stdout);
X
X    /* read the line */
X    if (fgets(buf, siz+1, stdin) == NULL) {
X	/* report the problem */
X	check_io(stdin, "stdin", EOF_NOT_OK);
X    }
X
X    /* look for the newline */
X    length = strlen(buf);
X    if (buf[length-1] != '\n') {
X	int eatchar;		/* the char being eaten */
X
X	/* no newline found, line must be too long, eat the rest of the line */
X	do {
X	    eatchar = fgetc(stdin);
X	} while (eatchar != EOF && eatchar != '\n');
X	check_io(stdin, "stdin", EOF_NOT_OK);
X
X	/* report the situation */
X	return 0;
X    }
X
X    /* watch for long lines, if needed */
X    if (maxcol > 0 && (length > maxcol || col_len(buf) > maxcol)) {
X	/* report the situation */
X	return 0;
X    }
X
X    /* return length */
X    return length;
X}
X
X/*
X * output_till_dot - output a set of lines until '.' by itself is read
X *
X * This routine will read a set of lines until (but not including)
X * a single line with '.' is read.  The format of the output is:
X *
X *	leader:\tfirst line
X *	\tnext line
X *	\tnext line
X *	   ...
X *
X * This routine will not return if I/O error or EOF.
X */
Xvoid
Xoutput_till_dot(output, oname, leader)
X    FILE *output;		/* entry's output file stream */
X    char *oname;		/* name of the output file */
X    char *leader;		/* the lead text for the first line */
X{
X    char buf[BUFSIZ+1];		/* input buffer */
X    int count;			/* lines read */
X    int done=FALSE;		/* TRUE => finished reading input */
X
X    /* instruct the user on how to input */
X    printf("\nTo end input, enter a line with a single period.\n");
X
X    /* read lines until '.' or EOF */
X    count = 0;
X    while (!done) {
X	/* issue the prompt */
X	printf("%s\t", (count>0) ? "" : leader);
X	fflush(stdout);
X
X	/* get the line */
X	if (get_line(buf, BUFSIZ, MAX_COL-9) <= 0) {
X	    printf("\nline too long, please re-enter:\n\t");
X	    continue;
X	}
X
X	/* note if '.' was read */
X	if (strcmp(buf, ".\n") == 0) {
X	    done = TRUE;
X	}
X
X	/* write line if we read something */
X	if (!done) {
X	    fprintf(output, "%s\t%s", (count++>0) ? "" : leader, buf);
X	    check_io(output, oname, EOF_NOT_OK);
X	}
X    }
X
X    /* if no lines read, at least output something */
X    if (count <= 0) {
X	fprintf(output, "%s\t.\n", leader);
X	check_io(output, oname, EOF_NOT_OK);
X    }
X    return;
X}
X
X/*
X * col_len - determine the highest that a string would reach
X *
X * Given a string, this routine returns that a string would reach
X * if the string were printed at column 1.  Tab stops are assumed
X * to start at 9, 17, 25, 33, ...
X */
Xint
Xcol_len(string)
X    char *string;		/* the string to examine */
X{
X    int col;	/* current column */
X    char *p;	/* current char */
X
X    /* scan the string */
X    for (col=0, p=string; *p != '\0' && *p != '\n'; ++p) {
X	/* note the column shift */
X	col = (*p=='\t') ? 1+((col+8)/8*8) : col+1;
X    }
X    if (*p == '\n') {
X	--col;
X    }
X
X    /* return the highest column */
X    return col;
X}
X
X/*
X * check_io - check for EOF or I/O error on a stream
X *
X * Does not return if EOF or I/O error.
X */
Xvoid
Xcheck_io(stream, name, eof_ok)
X    FILE *stream;		/* the stream to check */
X    char *name;			/* the name of this stream */
X    int eof_ok;			/* EOF_OK or EOF_NOT_OK */
X{
X    /* test for I/O error */
X    if (ferror(stream)) {
X	fprintf(stderr, "%s: error on %s: ", program, name);
X	perror("");
X	exit(1);
X
X    /* test for EOF */
X    } else if (eof_ok == EOF_NOT_OK && feof(stream)) {
X	fprintf(stderr, "%s: EOF on %s\n", program, name);
X	exit(1);
X    }
X    return;
X}
X
X/*
X * uuencode - uuencode a file
X *
X * Perform the uuencoding process identical to the process performed
X * by the uuencode(1) utility.
X *
X * This routine implements the algorithm described in the uuencode(5)
X * 4.3BSD Reno man page.
X */
Xvoid
Xuuencode(output, oname, infile, iname, umode, uname)
X    FILE *output;		/* output file stream */
X    char *oname;		/* output filename */
X    FILE *infile;		/* input file stream */
X    char *iname;		/* input filename */
X    int umode;			/* the mode to put on the uuencode file */
X    char *uname;		/* name to put on the uuencode file */
X{
X    char buf[UUENCODE_LEN+1];	/* the uuencode buffer */
X    int read_len;		/* actual number of chars read */
X    int val;			/* 6 bit chunk from buf */
X    char filler='\0';		/* filler uuencode pad text */
X    char *p;
X
X    /*
X     * output the initial uuencode header
X     */
X    fprintf(output, "begin %o %s\n", umode, uname);
X    check_io(output, oname, EOF_NOT_OK);
X
X    /*
X     * clear out the input buffer
X     */
X    for (p=buf; p < &buf[sizeof(buf)/sizeof(buf[0])]; ++p) {
X	*p = '\0';
X    }
X
X    /*
X     * We will process UUENCODE_LEN chars at a time, forming
X     * a single output line each time.
X     */
X    while ((read_len=fread(buf,sizeof(buf[0]),UUENCODE_LEN,infile)) > 0) {
X
X	/*
X	 * the first character is the length character
X	 */
X	fputc(UUENCODE(read_len), output);
X	check_io(output, oname, EOF_NOT_OK);
X
X	/*
X	 * We will convert 24 bits at a time.  Thus we will convert
X	 * 3 sets of 8 bits into 4 sets of uuencoded 6 bits.
X	 */
X	for (p=buf; read_len>0; read_len-=3, p+=3) {
X
X	    /* bits 0 to 5 */
X	    val = (p[0]>>2)&0x3f;
X	    fputc(UUENCODE(val), output);
X	    check_io(output, oname, EOF_NOT_OK);
X
X	    /* bits 6 to 11 */
X	    val = ((p[0]<<4)&0x30) | ((p[1]>>4)&0x0f);
X	    fputc(UUENCODE(val), output);
X	    check_io(output, oname, EOF_NOT_OK);
X
X	    /* bits 12 to 17 */
X	    val = ((p[1]<<2)&0x3c) | ((p[2]>>6)&0x03);
X	    fputc(UUENCODE(val), output);
X	    check_io(output, oname, EOF_NOT_OK);
X
X	    /* bits 18 to 23 */
X	    val = p[2]&0x3f;
X	    fputc(UUENCODE(val), output);
X	    check_io(output, oname, EOF_NOT_OK);
X	}
X
X	/* end of UUENCODE_LEN line */
X	fputc('\n', output);
X	check_io(output, oname, EOF_NOT_OK);
X
X	/*
X	 * clear out the input buffer  (don't depend on bzero() or memset())
X	 */
X	for (p=buf; p < &buf[sizeof(buf)/sizeof(buf[0])]; ++p) {
X	    *p = '\0';
X	}
X    }
X
X    /* check the last read on the input file */
X    check_io(infile, iname, EOF_OK);
X
X    /* write end of uuencode file */
X    fprintf(output, "%c\nend\n", UUENCODE(filler));
X    check_io(output, oname, EOF_NOT_OK);
X}
SHAR_EOF
chmod 0444 mkentry.c ||
echo "restore of mkentry.c failed"
set `wc -c mkentry.c`;Wc_c=$1
if test "$Wc_c" != "34482"; then
echo original size 34482, current size $Wc_c
fi
# ============= obfuscate.info ==============
echo "x - extracting obfuscate.info (Text)"
sed 's/^X//' << 'SHAR_EOF' > obfuscate.info &&
X1993 Obfuscated contest information
X
XCopyright (c) Landon Curt Noll & Larry Bassel, 1993.
XAll Rights Reserved.  Permission for personal, education or non-profit use is
Xgranted provided this this copyright and notice are included in its entirety
Xand remains unaltered.  All other uses must receive prior permission in writing
Xfrom both Landon Curt Noll and Larry Bassel.
X
XThe International Obfuscated C Code Contest (IOCCC), in the sprit of
Xco-operation, is willing mention other programming contents, as space
Xpermits.
X
XHow to have your contest included in this file:
X
X    If you wish the IOCCC judges to include your contest in this file,
X    send a request to:
X
X	judges@toad.com
X
X    We request that contest descriptions be limited to 50 lines and to
X    not exceed 2500 bytes.  We typically request that your contest
X    include a current description of the IOCCC.
X
X    In order to be included in this file for given year, we must
X    receive a current description no EARLIER than Jan 1 00:00:00 UTC and
X    no LATER than Feb 15 00:00:00 UTC.  Agreement to publish your
X    contest must also be obtained prior to Feb 15.  Annual contests
X    that fail to submit a new entry will be dropped from this file.
X
XOfficial Disclaimer:  (pardon the officialese)
X
X    The contents noted below, other than the IOCCC, are not affiliated
X    with the IOCCC, nor are they endorsed by the IOCCC.  We reserve the
X    right to refuse to print information about a given contest.
X
X    The information below was provided by the particular contest
X    organizer(s) and printed by permission.  Please contact the
X    contest organizer(s) directly regarding their contents.
X
XWith that official notice given, we present for your ENJOYMENT, the following
Xinformation about contents:
X
X---------------------------------------------------------------------------
X
X    10th International Obfuscated C Contest
X
X	"The original obfuscated contest"
X
X    Obfuscate:  tr.v.  -cated, -cating, -cates.  1. a.  To render obscure.
X                b.  To darken.  2. To confuse:  Their emotions obfuscated
X		their judgment.  [LLat. obfuscare, to darken : ob(intensive) +
X                Lat. fuscare, to darken < fuscus, dark.] -obfuscation n.
X                obfuscatory adj.
X
X    GOALS OF THE CONTEST:
X
X        * To write the most Obscure/Obfuscated C program under the rules below.
X        * To show the importance of programming style, in an ironic way.
X        * To stress C compilers with unusual code.
X        * To illustrate some of the subtleties of the C language.
X        * To provide a safe forum for poor C code.  :-)
X
X    The IOCCC is the grandfather of USENET programming contests.  Since
X    1984, this contest demonstrated that a program that simply works
X    correctly is not sufficient.  The IOCCC has also done much to add
X    the arcane word 'obfuscated' back into the English language.
X    (see "The New Hacker's Dictionary" by Eric Raymond)
X
X    You are strongly encouraged to read the new contest rules before
X    sending any entries.  The rules, and sometimes the contest Email
X    address itself, change over time.  A valid entry one year may
X    be rejected in a later year due to changes in the rules.  The typical
X    start date for contests is in early March.  Contest rules are normally not
X    finalized and posted until the beginning of the contest.  The typical
X    closing date for contests are in early May.
X
X    The rules and the guidelines may (and often do) change from year to
X    year.  You should be sure you have the current rules and guidelines
X    prior to submitting entries.  To obtain them, send Email to the address
X    above and use the subject 'send rules'.
X
X    One may obtain winners of previous contests (1984 to date), via ftp from:
X
X	host: ftp.uu.net	(192.48.96.9)
X	user: anonymous
X	pass: yourname@yourhost
X	dir:  ~/pub/ioccc
X
X    As a last resort, previous winners may be obtained by sending Email
X    to the above address.  Please use the subject 'send YEAR winners',
X    where YEAR is a single 4 digit year, a year range, or 'all'.
X
X---------------------------------------------------------------------------
X
X    0th International Obfuscated Perl Contest
X	By: Landon Noll & Larry Wall
X
X    This content is being planned.  Someday when Landon & Larry are not too
X    busy, they will actually get around to posting the first set of rules!
X
X    Landon says: "Yes, I know that I said we would have a contest in 1993,
X		  but other existing projects got in the way.  Hopefully
X		  something will be developed after Nov 1993."
X
X---------------------------------------------------------------------------
X
X                2nd International obFUsCaTeD POsTsCripT Contest
X                     Jonathan Monsarrat (jgm@cs.brown.edu)
X                         Alena Lacova (alena@nikhef.nl)
X
X    A  contest of  programming skills  and  knowledge, exclusively  for the
X    PostScript programming language. Its purpose:
X
X    * To spread knowledge of PostScript and its details.
X    * To applaud those with the best tricks.
X    * To prove  that humans can  beat those damnable  machine generators at
X      their own game by writing  the most obscure and mysterious PostScript
X      programs ever.
X
X    Winners will receive the fame and attention that goes with having their
X    program entry posted as a winner to programmers world-wide.
X
X    The 1993 contest rules and results are available by ftp as
X    ``wilma.cs.brown.edu:pub/postscript/obfuscated*.shar'', or individually
X    in the obfuscated directory. The judges will post the 1994 rules
X    in November to comp.lang.postscript on Usenet, and other places.
X    Send questions to jgm@cs.brown.edu.
X
X    Categories include: Best Obfuscated PostScript, Best Artwork,
X    Most Compact, Best Interactive Program, Most Useful, and
X    anything so unusual and creative that it deserves an award.
X
X    The judges will choose the winners of each category.
X
X    Alena Lacova  is a system  administrator at NIKHEF  (Institute for High
X    Energy and Nuclear  Physics) in the  Netherlands. She is  the author of
X    The PostScript Chaos  Programs, which draw  Julia sets, Mandelbrot sets
X    and other kinds of fractal functions.
X
X    Jonathan Monsarrat is a graduate  student from MIT and Brown University
X    in  the  U.S.A. He  is  the  FAQ maintainer  for  the  Usenet newsgroup
X    comp.lang.postscript and the author of The PostScript Zone and LameTeX.
X .
X
SHAR_EOF
chmod 0444 obfuscate.info ||
echo "restore of obfuscate.info failed"
set `wc -c obfuscate.info`;Wc_c=$1
if test "$Wc_c" != "6418"; then
echo original size 6418, current size $Wc_c
fi
exit 0
--
Sunnyvale residents: Vote Landon Noll for Sunnyvale City Council seat 1.
From: brown@ftms.UUCP (Vidiot)
Subject: Re: problem with xvertext package
Reply-To: brown@ftms.UUCP (Vidiot)
Organization: Vidiot's Other Hangout
Lines: 22
In article <1993Mar31.181357.28381@sierra.com> dkarr@sierra.com (David Karr) writes:
<I might have a need in the future to display rotated text.  I noticed the
<"xvertext" package on the net.  It looks very good, but it has one slight
<problem.  The API to it assumes you have a font name, not an already loaded
<font.  It shouldn't be too difficult to split up the function into two
<interface routines, one with a font name, and one with an XFontStruct, but
<I thought I would ask the author (Alan Richardson
<(mppa3@uk.ac.sussex.syma)) first in case he was planning this already.
<Unfortunately, his email address bounced.  Does Alan R. or the current
<maintainer of "xvertext" see this?
The e-mail address you mentioned above is for use with the U.K.  As you know,
the Brits do everything backwards :-)  So, the real address from the states is:
mppa3@syma.sussex.ac.uk
Give it a try.
--
harvard\
ucbvax!uwvax!astroatc!ftms!brown  or  uu2.psi.com!ftms!brown
rutgers/
INTERNET: brown@wi.extrel.com  or  ftms!brown%astroatc.UUCP@cs.wisc.edu
From: Bill.Kayser@delft.SGp.slb.COM (Bill Kayser)
Subject: Re: gadgets vs widgets
Article-I.D.: parsival.199304060609.AA00309
Organization: The Internet
Lines: 38
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
>
> > Motif managers take a very simplistic approach to the way they handle events
> > for gadgets: they track for all events(such as Motion Notify) wether or not
> > the gadget expresses interest in the events. As a result, gadgets typically
> > generate a great deal more network traffic.  Those with X terminals might find
> > a noticable network performance drop as a result.
> >
> > Really?  What's the point using Gadgets then?
>
> It is a case of memory vs. network performance tradeoff.  Gadgets
> save both client and server memory.  But memory is easily expandable while
> network performance is not, so if I were designing Motif I would
> at least make it *possible* to avoid using gadgets.  At present you
> really don't have a choice because Motif forces you to use gadgets
> in menus and in various other places.
>
> Adrian Nye
> O'Reilly and Associates, Inc.
I've been using the XmGraph widget that's been floating around and I
noticed the performance is significantly better using Gadgets, perhaps
even 100% faster.  I had heard in an old programming course that gadgets
were no longer any benefit to performance, and that it's just as well
to use widgets everywhere.  So why would ~50 pushbutton gadgets be a lot
quicker than 50 pushbuttons in the graph?  Should I start putting gadgets
back into my long pulldown menus?
XmGraph manages children connected by XmArc widgets in a directed network
type graph with automatic layout capability.
Bill
---------------------------------------------------------------------------
Schlumberger Geco-Prakla
Internet : kayser@delft.sgp.slb.com
From: casper@fwi.uva.nl (Casper H.S. Dik)
Subject: Re: Trouble compiling X11R5 on SunOS_4.1.3
Nntp-Posting-Host: adam.fwi.uva.nl
Organization: FWI, University of Amsterdam
Lines: 29
epstein@trwacs.fp.trw.com (Jeremy Epstein) writes:
>dmm@head-cfa.harvard.edu (David Meleedy) writes:
>[Description of compiling problems deleted.]
>>gcc -fpcc-struct-return -o bmtoa bmtoa.o -O2 -funroll-loops   -L../.././lib/Xmu
>>-lXmu -L../.././lib/Xt -L../.././extensions/lib -L../.././lib/X -L/afs/cfa/syste
>>m/sun4c_413/usr/head/lib/X11/X11R5
>>ld: Undefined symbol
>>   _XGetVisualInfo
>>   _XFree
>>   _XInternAtom
>[etc.]
>There's a bug in SunOS 4.1.3, which is alluded to in the FAQ (although
>there it's talking about X11R4 as being affected).  You need to force
>libXmu to be linked statically, rather than dynamically, which works
>around the linker error.  The simplest thing to do is edit each of
>the Makefiles where there's a failure and change the line which reads:
>	XMULIB = -L$(XMUSRC) -lXmu
>to:
>	XMULIB = -L$(XMUSRC) -Bstatic -lXmu -Bdynamic
No. This is only relevant for OpenWindows 3.x as shipped with SunOS.
It is not relevant for MIT R5. MIT R5 should compile without problems.
Casper
From: etxmesa@eos.ericsson.se (Michael Salmon)
Subject: Re: Help building X11R5 with gcc
Keywords: X11R5, gcc
Nntp-Posting-Host: eos6c02.ericsson.se
Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
Organization: Ericsson Telecom AB
Lines: 23
In article <1993Apr6.024257.8480@etrog.se.citri.edu.au>
tim@kimba.catt.citri.edu.au (Tim Liddelow) writes:
|> Can people please send me any hints on building X11R5 with gcc 2.3.3 ?  Is
|> there any pitfalls to be avoided ?  Any hints ?  I would appreciate hearing other
|> peoples' stories on this.
I have been building X11 with gcc since 2.1 and the only time I had
trouble was when the position independant code option broke (so I
couldn't use gcc to build Sun shared libraries). The important thing to
do is to follow the tips given in the gcc release. Gcc generates code
that requires libgcc2 and you should take that into account when
deciding which compiler to use for the libraries.
--
Michael Salmon
#include	<standard.disclaimer>
#include	<witty.saying>
#include	<fancy.pseudo.graphics>
Ericsson Telecom AB
Stockholm
From: cheong@solomon.technet.sg (SCSTECH admin)
Subject: Getting Pseudo TTY in X/Motif
Nntp-Posting-Host: solomon.technet.sg
Organization: TECHNET, Singapore
Lines: 16
Hi,
I am about to write an application in X/Motif that will require the
embedding of a pseudo tty. So, before I re-invent the wheel, has anyone
written/gotten a motif widget that does the job ? Otherwise, I would
appreciate any pointers to make such a beast.
My environment is X11R4/Motif 1.1 and X11R5/Motif 1.2 (if this helps).
Thanks in advance.
Arthur Lim
Email : arthur@mailhost.scs.com.sg
From: wilie.wilson@analog.com ( willie wilson )
Subject: Experiences of DESQview/X?
Reply-To: willie.wilson@analog.com
Organization: Analog Devices B.V., Limerick, IRELAND
Lines: 19
I need to have PCs and SPARCstations run the same application ( namely
MicroSoft Project ). The original system ran on the PC. Now it needs to
be expanded to allow UNIX users to work with the application. The
current proposal is to use DESQview/X as a display server for the
application.
I would like to know your experiences with using DESQview/X to run an
application on a PC and displaying on a SPARCstation. I've heard that
the network traffic is slow.
Replies only by e-mail please.
Thanks, in advance.
---
,__o
_-\_<,
...Willie   (*)/'(*)
willie.wilson@analog.com
From: Bill.Kayser@delft.SGp.slb.COM (Bill Kayser)
Subject: Re: TeleUse, UIM/X, and C++
Article-I.D.: parsival.199304060629.AA00339
Organization: The Internet
Lines: 25
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
Cc: Bill.Kayser@delft.sgp.slb.com
>
> Does anyone have any good ideas on how to integrate C++ code elegantly
> with TeleUse, UIM/X / Interface Architect generated code?
>
> Source would be great, but any suggestions are welcome.
It's my understanding that the next release of UIM/X, due out
last February :-) has full support for C++.
I use XDesigner which does not have the interpreter or UI meta languages
of these other tools but does fully support C++ code generation,
reusable templates via C++ classes which are generated, a variety of
other handy features for using C++ and layout functions in different
ways, and generates Motif 1.2 code (including drag 'n drop,
internationalization, etc.).  Fits in quite nicely with Doug Young's
paradigm for C++/Motif.
Available in the US from VI Corp, in Europe from Imperial Software,
London (see FAQ for details).
Bill
________________________________________________________________________
Schlumberger Geco Prakla
kayser@delft.sgp.slb.com
From: ware@oboe.cis.ohio-state.edu (Peter Ware)
Subject: Re: Private Colormaps & Widget creation
Organization: Ohio State Computer Science
Lines: 13
NNTP-Posting-Host: oboe.cis.ohio-state.edu
In-reply-to: nancie@neko.CSS.GOV's message of 2 Apr 1993 14:55:09 -0500
You are right in supposing that the problem is with the XmNcolormap
(XtNcolormap for truly literate beings) not being set.  What you want
to do is start your application with your new colormap.  This can be a
chicken and egg sort of problem, however.  If you look at the Xt FAQ
there is an example that should show how it can be done.  If not, let
me know and maybe I can improve the example.
--pete
--
Pete Ware					ware@cis.ohio-state.edu
CIS Dept, Ohio State University			w/ (614) 292-7318
228 Bolz Hall, 2036 Neil Ave.			h/ (614) 538-0965
Columbus, OH 43210
From: wilk@Informatik.TU-Muenchen.DE (Christian Wilk)
Subject: XtShellStrings,XtStrings?
Originator: wilk@kiss.informatik.tu-muenchen.de
Organization: Technische Universitaet Muenchen, Germany
Lines: 19
Hello,
does somebody know the functions  XtShellStrings and XtStrings?
I haven't found them in any librarys not Xm, Xt, nor X11, and I need
them to install a tool.
Any hints greatly appreciated! Please reply via e-mail.
Thanks in advance!
_______________________________________________________________________________
christian wilk			 I've seen things you people wouldn't believe.
technical university of munich	 Attack ships on fire off the shoulder of Orion.
munich, germany			 I watched C-beams glitter in the dark near the
Tannhauser gate. All those moments will be lost
wilk@informatik.tu-muenchen.de   in time - like tears in rain. Time to die.
-- Roy Batty
_______________________________________________________________________________
From: etxmesa@eos.ericsson.se (Michael Salmon)
Subject: Re: XtShellStrings,XtStrings?
Nntp-Posting-Host: eos6c02.ericsson.se
Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
Organization: Ericsson Telecom AB
Lines: 28
In article <1993Apr5.145635.16857@Informatik.TU-Muenchen.DE>
wilk@Informatik.TU-Muenchen.DE (Christian Wilk) writes:
|>
|> Hello,
|>
|> does somebody know the functions  XtShellStrings and XtStrings?
|> I haven't found them in any librarys not Xm, Xt, nor X11, and I need
|> them to install a tool.
|>
|> Any hints greatly appreciated! Please reply via e-mail.
They aren't functions, they are character arrays. The standard strings
are either defined as string constants or character pointers into
XtShellStrings and XtStrings determined by XTSTRINGDEFINES. Your
libraries were compiled with this defined and your application with it
undefined so simply recompile one or the other. It is probably worth
adding -DXTSTRINGDEFINES to your CFLAGS.
--
Michael Salmon
#include	<standard.disclaimer>
#include	<witty.saying>
#include	<fancy.pseudo.graphics>
Ericsson Telecom AB
Stockholm
From: rbw@jet.uk (Dr Richard B Wilkinson)
Subject: XBell
Organization: Joint European Torus
Lines: 8
I have a program produces a continuous tone by calling XBell
repeatedly at an interval equal to the duration of the bell. If it is
run more than once on a display, the tones are buffered in the X
server and the tone contunues after all occurrences of the program
have exited. Is there a convenient way of preventing this, e.g., by
emptying the X server bell buffer when each program exits?
- Disclaimer: Please note that the above is a personal view and should not
be construed as an official comment from the JET project.
From: michaelr@spider.co.uk (Michael S. A. Robb)
Subject: Re: Honors Degrees: Do they mean anything?
Organization: Spider Systems Limited, Edinburgh, UK.
Lines: 44
In article <TKLD.93Apr2123341@burns.cogsci.ed.ac.uk> tkld@cogsci.ed.ac.uk (Kevin Davidson) writes:
>
>>   In my opinion, a programming degree is still worth having.
>
> Yes, but a CS degree is *not* a programming degree. Does anybody know of
>a computing course where *programming* is taught ? Computer Science is
>a branch of maths (or the course I did was).
> I've also done a Software Engineering course - much more practical and likely
>to be the sort of thing an employer really wants, rather than what they think
>they want, but also did not teach programming. The ability to program was
>an entry requirement.
At Robert Gordon University, programming was the main (most time-consuming)
start of the course. The first two years consisted of five subjects:
Software Engineering (Pascal/C/UNIX), Computer Engineering (6502/6809/68000
assembler), Computer Theory (LISP/Prolog), Mathematics/Statistics and
Communication Skills (How to pass interviews/intelligence tests and group
discussions e.g. How to survive a helicopter crash in the North Sea).
The third year (Industrial placement) was spent working for a computer company
for a year. The company could be anywhere in Europe (there was a special
Travel Allowance Scheme to cover the visiting costs of professors).
The fourth year included Operating Systems(C/Modula-2), Software Engineering
(C/8086 assembler), Real Time Laboratory (C/68000 assembler) and Computing
Theory (LISP).  There were also Group Projects in 2nd and 4th Years, where
students worked in teams to select their own project or decide to work for an
outside company (the only disadvantage being that specifications would change
suddenly).
In the first four years, there was a 50%:50% weighting between courseworks and
exams for most subjects. However in the Honours year, this was reduced to a
30%:70% split between an Individual Project and final exams (no coursework
assessment) - are all Computer Science courses like this?
BTW - we started off with 22 students in our first year and were left with 8 by
Honours year. Also, every course is tutored separately. Not easy trying
to sleep when you are in 8 student class :-).
Cheers,
Michael
--
| Michael S. A. Robb     | Tel: +44 31 554 9424  | "..The problem with bolt-on
| Software Engineer      | Fax: +44 31 554 0649  |  software is making sure the
| Spider Systems Limited | E-mail:               |  bolts are the right size.."
| Edinburgh, EH6 5NG     | michaelr@spider.co.uk |             - Anonymous
From: dbl@visual.com (David B. Lewis)
Subject: comp.windows.x Frequently Asked Questions (FAQ) 4/5
Summary: useful information about the X Window System
Article-I.D.: visual.C52Ep6.97p
Expires: Sun, 2 May 1993 00:00:00 GMT
Reply-To: faq%craft@uunet.uu.net (X FAQ maintenance address)
Organization: VISUAL, Inc.
Lines: 968
Archive-name: x-faq/part4
Last-modified: 1993/04/04
----------------------------------------------------------------------
Subject:  80)! Where can I get an X-based plotting program?
These usually are available from uucp sites such as uunet or other sites as
marked; please consult the archie server to find more recent versions.
gnuplot	X (xplot), PostScript and a bunch of other drivers.
export.lcs.mit.edu [and elsewhere]:contrib/gnuplot3.1.tar.Z
gl_plot	X output only [?]
comp.sources.unix/volume18
graph+
yallara.cs.rmit.oz.au:/pub/graph+.tar.Z [131.170.24.42]
comp.sources.unix/volume8
pdraw,drawplot		2D and 3D X,PS
scam.berkeley.edu:/src/local/3dplot.tar.Z [128.32.138.1]
scam.berkeley.edu:/src/local/contour.tar.Z [128.32.138.1]
scam.berkeley.edu:/src/local/drawplot.tar.Z [128.32.138.1]
uunet:~ftp/contrib/drawplot.tar.Z
xgraph		plot, zoom. Outputs PS or HPGL.
shambhala.berkeley.edu:/pub/xgraph-11.tar.Z [128.32.132.54]
sun1.ruf.uni-freiburg.de:X11/contrib/xgraph-11.tar.Z [132.230.1.1]
nisc.jvnc.net:pub/xgraph-11.tar.Z [128.121.50.7]
comp.sources.x/volume3
or many other sites
ACE/gr (formerly xvgr and xmgr) XY plotting tools
ftp.ccalmr.ogi.edu [129.95.72.34]
XView version: /CCALMR/pub/acegr/xvgr-2.09.tar.Z
Motif version: /CCALMR/pub/acegr/xmgr-2.09.tar.Z
[mirrored on export in /contrib/acegr]
XGobi		An interactive dynamic scatter-plotting tool from Bellcore
lib.stat.cmu.edu: general/xgobi* [log in as statlib with your email
as the password; or send email to statlib@lib.stat.cmu.edu containing
the one-line message "send xgobi from general"]
Information from: Debby Swayne, dfs@bellcore.com.
Robot		a scientific XView-based graph plotting and data analysis tool
ftp.astro.psu.edu:pub/astrod/robotx0.46.tar.Z [128.118.147.28]
plotmtv	a multi-purpose 2D/3D plotter
tanqueray.berkeley.edu:/pub/Plotmtv1.3.1.tar.Z
[2/91. Thanks in part to: emv@ox.com (Ed Vielmetti); geoff@Veritas.COM
(Geoffrey Leach); Paul A. Scowen (uk1@spacsun.rice.edu); black@beno.CSS.GOV
(Mike Black)]
----------------------------------------------------------------------
Subject:  81)  Where can I get an X-based spreadsheet?
A version of "sc" for X and which supports Lotus files is available from
vernam.cs.uwm.edu in xspread2.0.tar.Z. It also includes graphing functions.
Information: soft-eng@cs.uwm.edu.
The GNU package OLEO is available in prep.ai.mit.edu:pub/gnu/oleo-1.2.2.tar.Z;
it can generate PostScript renditions of spreadsheets.
Also:
Several of the below are part of integrated office-productivity tools which may
also include word-processing, email, conferencing, image processing, and
drawing/painting, among other features.
Vendor                        Product    Contact Information
------                        -------    -------------------
Access Technology             20/20      508-655-9191
Informix                      WingZ      800-331-1763
Quality Software Products     Q-Calc/eXclaim    800-628-3999 (CA:213-410-0303)
Unipress                      Q-Calc     201-985-8000
Uniplex                       Uniplex    214-717-0068, 800-356-8063
Digital			      DECdecision   1-800-DIGITAL
Applix			      Aster*x	 508-870-0300, 1-800-8APPLIX.
AIS			      XESS	 919-942-7801, info@ais.com
BBN Software Products         BBN/Slate  617-873-5000 slate-offer@bbn.com
Elsid Software Systems	      Ripcam	 613-228-9468
SAS by the SAS Institute now has a spreadsheet module; the X version is
available on the current popular RISC platforms.
----------------------------------------------------------------------
Subject:  82)  Where can I get X-based project-management software?
Vendor                        	Product		Contact Information
------				-------		-------------------
Productivity Solutions		Ultra Planner	617-237-1600
Quality Software Products 	MasterPlan Version, 310-410-0303 sales@qsp.com
Digital Tools, Inc.		AutoPLAN	408-366-6920, 800-755-0065
NASA				COMPASS		404-542-3265,
service@cossack.cosmic.uga.edu
GEC-Marconi Software Systems	GECOMO Plus	703-648-1551
GEC-Marconi Software Systems	SIZE Plus	703-648-1551
TEI, Inc			VUE		408-985-7100
Mantix				Cascade		703-506-8833
Advanced Management Solutions	Schedule Publisher	800-397-6829
Auburn University		??		??
[thanks to Pete Phillips (pete@egh-qc.co.uk); 7/92]
[thanks to Atul Chhabra (atul@nynexst.com); 10/92]
----------------------------------------------------------------------
Subject:  83)  Where can I get an X-based PostScript previewer?
Ghostscript is distributed by the Free Software Foundation
(617-876-3296) and includes a PostScript interpreter and a library of graphics
primitives. Version 2.5.2 is now available; the major site is prep.ai.mit.edu.
[11/92]
GSPreview (by the Computing Laboratory of the University of Kent at
Canterbury) is an X user interface (WCL-based) to the Ghostscript 2.4[.1]
interpreter [5/92].  The source is available for anonymous ftp from
export.lcs.mit.edu as gspreview.2.0.tar.Z.
Ghostview (by Tim Theisen, tim@cs.wisc.edu) is full-function user
interface for GhostScript. Check ftp.cs.wisc.edu or prep.ai.mit.edu for
/pub/ghostview-1.4.1.tar.Z [1/93]. There are also several executables available
on ftp.cs.wisc.edu:/pub/X/ghostview-exe for various architectures.
Also:
ScriptWorks is Harlequin's software package for previewing and printing
PostScript(R) descriptions of text and graphics images; previewers for X are
available. For information call +44-223-872522 or send email to
scriptworks-request@harlqn.co.uk.
Image Network's Xps supports the full PostScript language and renders
in color, grayscale, or monochrome. Fonts displayed are anti-aliased. Info:
Image Network, +1 415 967 0542.
Digital's dxpsview runs on UWS 2.1 and 2.2.
Sun's pageview runs with the X11/NeWS server.
----------------------------------------------------------------------
Subject:  84)  Where can I get an X-based GKS package?
The latest freely-available XGKS can be obtained from
xgks-request@unidata.ucar.edu; this is a 2c implementation derived from the
X11R4 contrib XGKS from IBM and the University of Illinois. The release
is on unidata.ucar.edu [128.117.140.3] as pub/xgks.tar.Z. [12/90]
In addition, Grafpak-GKS is available from Advanced Technology Center
(714-583-9119).
GKSUL is available from gks@ulowell.edu (ULowell CS department). It is
a 2b implementation which includes drivers for a variety of devices. It can be
passed an X window ID to use. The package includes both C and Fortran bindings.
[11/90; from dsrand@mitre.org and from stew@hanauma.stanford.edu]
An XgksWidget is produced by Neil Bowers (neilb@leeds.dcs;
neilb@dcs.leeds.ac.uk); the latest [10/91] conforms with the new version of
XGKS (2.4). It is available on export in contrib/xgks-widget.tar.Z.
----------------------------------------------------------------------
Subject:  85)  Where can I get an X-based PEX package?
The first official release of PEX is with X11R5; fix-22 brings the
Sample Implementation server to version 5.1.
The final PEX 5.1 Protocol specification is now available via anonymous
ftp to export.lcs.mit.edu (18.24.0.12), in the directory /pub/DOCS/PEX/.
Changes made from the Public Review draft are listed in the file "5.1P_changes"
in that directory. [9/92]
The final PEXlib 5.1 document is on export in pub/DOCS/PEXlib. [11/92]
There is now available from the University of Illinois an
implementation of the PEX 4.0 specification called UIPEX. It contains a "near-
complete" implementation of PHiGS and PHiGS PLUS. The file
pub/uipex/uipex.tar.Z is on a.cs.uiuc.edu (128.174.252.1); the porting platform
was an RT running 4.3.  Questions and comments can to go uipex@cs.uiuc.edu.
In addition, the PEXt toolkit by Rich Thomson (rthomson@dsd.es.com) is
available on export as PEXt.tar.Z; it includes a PEX widget making it easier to
include PEX in Xt-based programs.
----------------------------------------------------------------------
Subject:  86)  Where can I get an X-based TeX or DVI previewer?
The xtex previewer for TeX files is available from a number of archive
sites, including uunet; the current version is usually on ftp.cs.colorado.edu
(128.138.204.31) in SeeTeX-2.18.5.tar.Z; pre-converted fonts are also on that
machine. The distribution all includes "mftobdf" which converts PK, GF, and PXL
fonts to BDF format, where they can then be compiled for use by your local X
server.
The xdvi dvi-previewer is fairly comprehensive and easy to use. It is
also available from a number of sites, including uunet and export.lcs.mit.edu;
current version is patchlevel 16 [12/92].
----------------------------------------------------------------------
Subject:  87)  Where can I get an X-based troff previewer?
X11R4 has two previewers for device-independent troff: the supported
client xditview, and the contributed-but-well-maintained xtroff. An earlier
version of xtroff also appeared on the R3 contributed source. xditview is also
in the R5 distribution.
In addition, the xman client can be used to preview troff documents
which use the -man macros (i.e. man pages).
If psroff is used its output can be viewed with a PostScript previewer.
In addition:
xproof, an X previewer for ditroff has been contributed by Marvin
Solomon (solomon@cs.wisc.edu); version 3.5 is available on export in
contrib/xproof*. 	[8/90]
Elan Computer Group (CA: 415-964-2200) produces eroff, a modified
troff implementation, and Elan/Express, an X11 eroff previewer.
SoftQuad (416-963-8337; USA only 800-387-2777, mail@sq.uu.net or
mail@sq.com) offers SoftQuad Publishing Software, including a substantially-
rewritten troff formatter, a better intermediate language with backwards
compatibility, and an X11[R3,R4] previewer. (This is the package adopted by
AT&T's own MIS department, and used in and re-sold by many parts of AT&T).
[information from Ian Darwin, SoftQuad (ian@sq.com) 3/90]
Image Network (1-800-TOXROFF; CA: 415-967-0542) offers the Xroff
package, which includes a fine modified troff implementation and a set of
X11-based page previewers. (This is the package OEM'ed by several hardware
vendors.)
[mostly courtesy moraes@cs.toronto.edu (Mark Moraes)] [2/90]
----------------------------------------------------------------------
Subject:  88)! Where can I get a WYSIWYG interface builder?
A new release of the DIRT interface builder by Richard Hesketh works
with X11R5 and includes some support for the Motif widget set. From the README:
This builder allows the interactive creation and rapid prototyping of X user
interfaces using the X Toolkit and a number of Widget Sets.  Dirt generates
"Wc - Widget Creation" resource files and this distribution also includes the
Widget Creation Library (version 1.06, with the exception of the demos and
Mri/Ari source code) with the kind permission of its author David E. Smyth.
Check dirt.README, dirt.A2.0.tar.Z, and dirt.PS.Z on export.lcs.mit.edu.
The InterViews 3.0.1 C++ toolkit contains a WYSIWIG interface builder
called ibuild. ibuild generates code for an InterViews application complete
with Imakefile and an X-resource file. Documentation is /pub/papers/ibuild.ps
on interviews.stanford.edu (36.22.0.175).
Quest Windows's (408-496-1900) ObjectViews C++ package includes an
interactive building tool.
Druid (Demonstrational Rapid User Interface Development) runs on SPARC
machines using OSF/Motif 1.0; it is intended eventually to be a full UIMS but
apparently now has only support for creating the presentation components, for
which it generates C/UIL code. Info: Singh G, Kok CH, Ngan TY, "Druid: A System
for Demonstrational Rapid User Interface Development". Proc. ACM SIGGRAPH Symp
on User Interface Software and Technology (UIST'90). ACM, NY, 1990, pp:167-177.
The BYO interface builder is implemented in tcl.
Also:
In addition, these commercial products (unsorted) are available in
final or prerelease form [the * following the product name indicates that the
product is known to allow the designer to specify for each widget whether a
particular resource is hard-coded or written to an application defaults file,
for at least one form of output]. Some are much more than user-interface tools;
some are full user interface management systems; information on most is not
up-to-date:
Product Name		Look/Feel	Code Output		Vendor
HP Interface		Motif 1.1	C(Xm)			HP/Visual Edge
Architect/ UIMX
OPEN LOOK Express	OPEN LOOK	C(Xol+ helper lib)	AT&T /
Visual Edge
UIMX 2.0 *		Motif 1.1	C(Xm + helper code)	Visual Edge
514-332-6430
& distributors
VUIT 2.0		Motif 1.1	C/UIL[r/w]		DEC
(1-800-DIGITAL)
X-Designer 1.1 *	Motif 1.1	C(Xm); C/UIL		Imperial
Software
Technology, Ltd
(+44 734 587055)
sales@ist.co.uk
XFaceMaker2 (XFM2) * 	Motif 1.0	C;C/script (C-like procedural
language);C/UIL
NSL
(33 1 43 36 77 50)
requests@nsl.fr
Builder Xcessory 2.0 *	Motif 1.1	C(Xm); C/UIL[r/w]	ICS
Ada			(617-621-0060)
info@ics.com
XBUILD 1.1 *		Motif 1.0	C(Xm); C/UIL 		Nixdorf
(617-864-0066)
xbuild@nixdorf.com
iXBUILD			Motif 1.1	C(Xm); C/UIL		iXOS Software
karl@ixos.uucp
089/461005-69
TeleUSE 2.1 *		Motif 1.1.5	C(Xm); C/UIL[r/w]
Telesoft
(619-457-2700)
gui_info@telesoft.com
ezX 3.2			Motif 1.1	C(Xm +helper lib);C/UIL;Ada
Sunrise
(401-847-7868)
info@sunrise.com
Snapix			Motif		C/Xm			ADNT
+33 1 3956 5333
OpenWindows Developers	OPEN LOOK 	GIL [-> C/XView]	Sun
Guide 3.0				GIL [-> C++/XView]
GIL [-> C/OLIT]
GIL [-> C/PostScript for TNT]
ExoCode/SXM		Motif		C(Xm)			Expert Object
ExoCode/Plus		OPEN LOOK	XView			708-676-5555
TAE+			Xw;Motif	C(Xw,Xm); C/TCL (TAE Control Language,
like UIL[needs helper library]);
VAX Fortran; Ada; C++
Nasa Goddard
(301) 286-6034
MOB, XSculptor			Motif; OpenLook	C/Xm,UIL; C/Xol		Kovi
408-982-3840
PSM			PM, MSW 3.0,	C/UIL			Lancorp
Motif 1.1.2,Mac				Pty Ltd.
+61 3 629 4833
Fax:  629 1296
(Australia)
MOTIFATION		Motif 1.0|1.1.2	C(Xm)			AKA EDV
+49 (0) 234/33397-0
+49 (0) 234/33397-40 fax
UIB			Open Look/Motif	C++(OI)			ParcPlace
+1 303-678-4626
Look for magazine reviews for more complete comparisons of meta-file formats,
documentation, real ease-of-use, etc; Unix World and Unix Review often carry
articles.
In addition, Neuron Data (1 415 321-4488) makes Open Interface, a
window-system-independent object toolkit which supports interfaces which are
or resemble (supersets of) Mac, Windows, and Motif and Open Look; the package
includes an interface builder.
In addition, the GRAMMI builder supports the development of Ada/X
applications using its own set of objects which are planned to have a Motif
look.  GRAMMI is written in Ada and generates Ada specs and stub bodies.
(1-800-GRAMMI-1).
In addition, these non-WYSIWYG but related products may help for goals
of rapid prototyping of the application interface:
WCL: the Widget Creation Library. Basically describes the widget
hierarchy and actions in a resources file; available from fine archive servers
everywhere, including devvax.jpl.nasa.gov (128.149.1.143) in pub/. Wcl provides
a very thin layer over Xt without any internal tweaking. Version 2.5 is current
[3/93].
WINTERP: an Xlisp-based Motif toolkit allows for interpretive
programming. The copy on the R4 tape is outdated; get a copy off export or
email to winterp-source%hplnpm@hplabs.hp.com.
The Serpent UIMS permits the building of user-interfaces without
specific knowledge of coding but with an understanding of attributes being set
on a particular [Motif] widget.  Beta Release 1.2 is available from
ftp.sei.cmu.edu (128.237.1.13) and can be found in /pub/serpent.  Serpent is
also available on export.lcs.mit.edu (18.24.0.11) in /contrib/serpent. Email
questions can go to serpent@sei.cmu.edu. A commercial version of Serpent is
available as "Agora" from ASET, 221 Woodhaven Drive, Pittsburgh, PA 15228.
Garnet is a Common Lisp-based GUI toolkit. Information is available
from garnet@cs.cmu.edu.
MetaCard is a hypertext/Rapid Application Development environment
similar to Apple/Claris Corporation's HyperCard (info@metacard.com). MetaCard
is available via anonymous FTP from ftp.metacard.com, csn.org, or
128.138.213.21.
----------------------------------------------------------------------
Subject:  89)  Where can I find X tools callable from shell scripts?
I want to have a shell script pop up menus and yes/no dialog boxes if the user
is running X.
Several tools in the R3 contrib/ area were developed to satisfy these
needs: yorn pops up a yes/no box, xmessage displays a string, etc. There are
several versions of these tools; few, if any, have made it to the R4 contrib/
area, though they may still be available on various archive sites.
In addition, Richard Hesketh (rlh2@ukc.ac.uk) has posted the xmenu
package to comp.sources.x ("v08i008: xmenu") for 1-of-n choices.  [7/90]
Two versions of XPrompt have been posted to comp.sources.x, the latter
being an unauthorized rewrite. [R. Forsman (thoth@reef.cis.ufl.edu), 1/91]
There is a version of XMenu available from comp.sources.x; it is
being worked on and will likely be re-released.
xp-1.1.tar.Z, xpick-1.0.tar.Z and xzap-1.0.tar.Z on export's contrib/
are tools by Gerry.Tomlinson@newcastle.ac.UK which act as X versions of the
simple display and choice-making tools in K&P. [4/92]
xtpanel lets the user build a panel containing interactive objects such
as buttons, sliders, text fields, etc., either from the command line or using a
simple scripting language. It is available for anonymous ftp from
hanauma.Stanford.EDU (36.51.0.16) as pub/X/xtpanel.tar.Z and may also be found
in the alt.sources archives.
----------------------------------------------------------------------
Subject:  90)  Where can I get an X-based debugger?
xdbx, an X interface to the dbx debugger, is available via ftp from
export. The current [1/91] version is 2.1 patchlevel 2.
An X interface to gdb called xxgdb is more like xdbx 2.1.2. It is part
of comp.sources.x volume 11 [2/91]; xxgdb-1.06.tar.Z is on export.
mxgdb is a Motif interface to gdb by Jim Tsillas
(jtsillas@bubba.ma30.bull.com); version 1.1.5 was released 1/93.
UPS is a source-level debugger which runs under the X11 and SunView
window systems on Sun and DEC platforms. It is available from export
(18.24.0.11) as contrib/ups-2.45.tar.Z (also ups-2.45-to-2.45.2.patch.Z)
and unix.hensa.ac.uk (129.12.21.7) in /pub/misc/unix/ups (or try mail to
archive@unix.hensa.ac.uk). [10/92] Unofficial fixes by Rod Armstrong
(rod@sj.ate.slb.com) are on unix.hensa.ac.uk in
/misc/unix/ups/contrib/rod@sj.ate.slb.com.
Also:
MIPS produces a highly-customizable (WCL-based) Visual Debugger.
You should be able to use Sun's dbxtool with its X11/NeWS server.
The CodeCenter (617-498-3000) source-level debugger, available on most
major platforms, includes an X-based interface.
AT&T offers the eXamine Graphical Interface, an X11 interface to dbx
and C++ dbx for Sun3 and Sun4 and sdb and sdb++ for 386 and 3B2 platforms. Call
1-508-960-1997 or contact examine@mvuxi.att.com for more information.
Solbourne (+1 303-678-4626) offers PDB, its X-based debugger for C, C++
and Fortran.  PDB uses the OI toolkit and runs in either Open Look or Motif
mode.
SCO (info@sco.com) offers dbXtra as part of several development
systems.
Lucid's Energize Programming System, a tightly integrated development
environment for C and C++ programs, incorporates a graphical user interface on
top of an extended version of gdb. Info:  lucid-info@lucid.com, or
(800) 223-9322.
----------------------------------------------------------------------
Subject:  91)! How can I "tee" an X program identically to several displays?
There are several protocol multiplexer tools which provide for the
simultaneous display of X clients on any number of machines.
XMX (an X Protocol Multiplexor) is available from wilma.cs.brown.edu
(128.148.33.66) as pub/xmx.tar.Z It works independently of the server and does
not affect the application being shared; it was developed for use in the
electronic classroom.
XTV is a conference program which can be used to duplicate the
"chalkboard" on several displays. Release 1 is available on the X11R5 contrib
tapes; a more recent version is on ftp.cs.odu.edu as pub/wahab/XTV.r2.tar.Z.
SHX from Michael Altenhofen of Digital Equipment GmbH CEC Karlsruhe
also does this; it is a "WYSIWIS" (What You See Is What I See) package in the
context of a computer-based learning/training tool to provide online help from
remote tutors but is also useful for general window sharing. Information:
shX@nestvx.enet.dec.com.  SHX can be found on export and
gatekeeper.dec.com:/pub/X11/contrib/shX.tar.Z,
crl.dec.com:/pub/X11/contrib/shX.tar.Z
Modifications to SHX for color mapping and private color allocation by
Mark J. Handley (M.Handley@cs.ucl.ac.uk) are on cs.ucl.ac.uk in
car/shX.car.tar.Z.
XTrap is implemented as a server/library extension and can be used
to record and then replay an x session. It is available as:
gatekeeper.dec.com      pub/X11/contrib/XTrap_v31.tar.Z
export.lcs.mit.edu      contrib/XTrap_v31.tar.Z
wscrawl can be used as a "multi-person paint program". It's available
on sax.stanford.edu as wscrawl.shar.Z.
Shdr implements a simple shared whiteboard, without a chalk-passing
mechanism. It's available on parcftp.xerox.com as pub/europarc/shdr.tar.Z.
SketchPad 1.0 (3/93) is a distributed interactive graphical editor
particularly designed for sketching. Sources have been posted to alt.sources
and are available from ftp.igd.fhg.de (192.44.32.1) in ~ftp/incoming/sketchpad.
The NESTOR project is described in "Upgrading A Window System For
Tutoring Functions", Michael Altenhofen et al., the proceedings of the EXUG
Conference 11/90.
Also of use:
Hewlett-Packard Co. has a commercial product, "HP SharedX" which works
under HP-UX currently on their 300, 400, and 700 series workstations and their
HP 700/RX X Stations.  Machines receiving shared windows can be any X server.
HP SharedX consists of a server extensions and a Motif based user interface
process.  Contact your local HP sales rep. for more information.
IBM offers a commercial product.
Sun offers multi-user confering software called ShowMe.
InSoft (Mechanicsburg, PA, USA) offers multi-user confering software
called Communique.
[Thanks in part to scott@spectra.com (Tim Scott), 5/91, and to Peter Cigehn
(peter@lulea.trab.se), 8/92 ]
----------------------------------------------------------------------
Subject:  92)  TOPIC: BUILDING THE X DISTRIBUTION [topic needs updating to R5]
----------------------------------------------------------------------
Subject:  93)  What's a good source of information on configuring the X build?
This FAQ includes information on a number of "gotchas" that can bite
you on particular system. However, the best source of general information on
building the X11 release is found in the Release Notes. The file is bundled
separately from the rest of the release, so if it's become separated from your
sources you can FTP another copy separately: the file RELNOTES.[ms,PS,TXT] at
the top of the distribution. The file RELNOTES is also available from the
xstuff mail server.
In addition, O'Reilly & Associates's Volume 8 on X Administration
includes information on configuring and building X.
----------------------------------------------------------------------
Subject:  94)  Why doesn't my Sun with a cg6 work with R5?
Apparently gcc is the problem; it seems to produce fine code for all
Sun displays except for the cgsix. The new sunGX.o distributed with fix-07
may fix the problem (note: not known to work on Solaris).
----------------------------------------------------------------------
Subject:  95)  Why doesn't my Sun with SunOS 4.1 know about _dlsym, etc.?
If you get errors with _dlsym _dlopen _dlclose undefined, link with
libdl.a.  Add "-ldl" to your and eventually your site.def.  You may want to
surround it with "-Bstatic -ldl -Bdynamic" if you add it to the EXTRA_LIBRARIES
variable, since "syslibs" get added after EXTRA_LIBRARIES on the eventual
compilation command; otherwise you may not have a shared libdl.  (Or compile
the stubs shared.)
[thanks to Joe Backo (joe.backo@East.Sun.COM), 12/91]
----------------------------------------------------------------------
Subject:  96)  What is this strange problem building X clients on SunOS 4.1.2?
In SunOS 4.1.2 Sun fixed a shared-library bug in ld which conflicts
with the way X11R4 builds the shared Xmu library, causing these symbols to be
undefined when building some X11 clients:
_get_wmShellWidgetClass
_get_applicationShellWidgetClass
Compiling "-Bstatic -lXmu -Bdynamic" appears to work.
To solve the problem if you are using OpenWindows 3.0 (X11R4-based Xt), please
contact your local Sun office and request the following patches:
Patch i.d.      Description
100512-02       4.1.x OpenWindows 3.0 libXt Jumbo patch
100573-03       4.1.x OpenWindows 3.0 undefined symbols when using
shared libXmu
[Greg Earle, earle@Sun.COM; 7/92]
A source patch for use with the MIT X11R4 libraries was developed by Conrad
Kimball (cek@sdc.boeing.com); it retrofits into R4 some fixes made in R5 to
get around this problem. The patch is on export in [1/93]
contrib/X11R4_sunos4.1.2_patch_version3.Z
----------------------------------------------------------------------
Subject:  97)  Why can't gcc compile X11R4 on my SPARC?
I used gcc to compile the whole distribution, but I get several segmentation
faults when running X.
Note first that gcc on RISC machines does not necessarily result in
any performance increase; it certainly is not as noticeable as it is on the
680x0 or VAX platforms.
Here is the problem: gcc and cc use incompatible methods of passing
structures as arguments and returning them as function values, so when
gcc-compiled parts of X are linked with Sun-supplied functions that pass or
return structs, run-time errors occur.  Affected programs include rgb and
the server.
This is from the GCC manual:
On the Sparc, GNU CC uses an incompatible calling convention for
structures.  It passes them by including their contents in the argument
list, whereas the standard compiler passes them effectively by
reference.
This really ought to be fixed, but such calling conventions are not yet
supported in GNU CC, so it isn't straightforward to fix it.
The convention for structure returning is also incompatible, and
`-fpcc-struct-return' does not help.
You can duck the problem either by using cc throughout or by using it for just
the routines which cause incompatibilities; the problem cannot be solved with
compilation flags.
Files which need to be compiled using cc include:
server/os/4.2bsd/oscolor.c
rgb/rgb.c
In addition, several of the "inet_" functions use structs as args or
return values:
clients/xhost/xhost.c
clients/xauth/gethost.c.
Calls to inet_addr in /lib/CLX/socket.c and lib/X/XConnDis.c are possibly
harmless as they don't involve structs.
[collected by bashford@scripps.edu (Don Bashford); 8/90]
----------------------------------------------------------------------
Subject:  98)  What are these I/O errors running X built with gcc?
When I try to run xinit or the Xsun server I get the error
"Getting interface configuration: Operation not supported on socket.
Fatal server bug! no screens found."
Running the gcc fixincludes script apparently didn't work. You can do
this simple test:
#include <sys/ioctl.h>
SIOCGIFCONF
Run that through cc -E and gcc -E.  The last line of output is the piece of
interest; it should be identical (modulo irrelevant differences like
whitespace).  If the gcc version has 'x' where the cc version has 'i', your
fixincludes run didn't work for some reason or other; go back to your gcc
sources and run `fixincludes`; then rebuild the X distribution. If they are
identical, try running a make clean in mit/server and rebuilding, just to make
sure everything gets compiled with the proper include files.
[courtesy der Mouse, mouse@LARRY.MCRCIM.MCGILL.EDU; 9/90]
----------------------------------------------------------------------
Subject:  99)  What are these problems compiling X11R4 on the older Sun3?
In mit/server/ddx/sun/sunCG3C.c, we have found "missing" defines for
CG3AC_MONOLEN, CG3BC_MONOLEN, CG3AC_ENBLEN, CG3BC_ENBLEN. What should these be?
The R4 Errata list distributed after X11R4 mentions that you can add
these lines to the file on older SunOS versions (e.g. 3.5) to compile:
#define CG3AC_MONOLEN (128*1024)
#define CG3AC_ENBLEN  CG3AC_MONOLEN
#define CG3BC_MONOLEN CG3AC_MONOLEN
#define CG3BC_ENBLEN  CG3AC_MONOLEN
However, the Sun3 should not actually ever have the CG3 device, and so
references to it can be removed from mit/server/ddx/sun/sunInit.c and the
Imakefile.  [11/90]
----------------------------------------------------------------------
Subject: 100)  What are these problems compiling the X server on SunOS 4.1.1?
The file <sundev/cg6reg.h> isn't being found.
Sun omitted <sundev/cg6reg.h> from SunOS 4.1.1. Remove the #include
from sunCG6C.c and replace it with the line
#define CG6_VADDR_COLOR   0x70016000
The file has changed from earlier versions of SunOS and should not be copied
from another distribution.
----------------------------------------------------------------------
Subject: 101)  What are these problems using R4 shared libraries on SunOS 4?
All of the executables that I try to run have the following results:
ld.so: libXmu.so.4: not found
or even:
ld.so: call to undefined procedure __GetHostname from 0xf776a96c
If you are building with shared libraries on a Sun, remember that you
need to run "ldconfig" as root after installing the shared libraries (if you've
installed X on a file-server, run it on the server's clients, too).  While
building and installing the distribution, you need to be careful to avoid
linking against any existing X shared libraries you might have (e.g. those
distributed with OpenWindows).  You should make sure you do not have
LD_LIBRARY_PATH set in your environment during the build or the installation.
If you are going to keep xterm and xload as setuid programs, please note that
the shared libraries must be installed in /usr/lib, /usr/local/lib, or
/usr/5lib for these programs to work (or else those programs must be linked
statically). [courtesy MIT X Consortium]
Note also that the program mkfontdir is run as part of the build; it
attempts, however, to use the shared libraries before they have been installed.
You can avoid the errors by building mkfontdir statically (pass -Bstatic to
most C compilers).
----------------------------------------------------------------------
Subject: 102)  Can OLIT programs run with R5 Xt? (_XtQString undefined)
This is a bug in the OLIT.  _XtQString was an external symbol that existed in
X11R4 (upon which OW 3.0's libXt is based).  It wasn't documented and was
removed in X11R5 (MIT's guarantee of upward compatibility between the R4 and R5
libraries only applied to the documented interface).
A workaround is to temporarily set your LD_LIBRARY_PATH to point to the X11R4
or OpenWindows Xt library that you linked the program against.
[10/92; from Barry Margolin (barmar@think.com); 3/93 from Jeff Francis
(jpf@heliocentric.com)]
----------------------------------------------------------------------
Subject: 103)  How do I get around the SunOS 4.1 security hole?
There is a security problem with certain R4 clients (xterm and xload)
running under SunOS 4.1 that have been installed setuid root and are using
shared libraries; to avoid the problem, do one of these:
1) make the program non-setuid. You should consult your system
administrator concerning protection of resources (e.g. ptys and /dev/kmem) used
by these programs, to make sure that you do not create additional security
problems at your site.
2) relink the programs statically (using -Bstatic).
3) install the libraries before linking and link with absolute paths
to the libraries.
[from rws@expo.lcs.mit.edu (Bob Scheifler), 12/90]
The R5 version of xterm does this automatically by rebuilding xterm against the
newly-installed libraries when xterm is being installed; this prevents an suid
program from being built with libraries specified relatively. Note that this
may cause an inconvenience when doing the installation from NFS-mounted disks.
Xload has been rewritten to avoid the problem.
----------------------------------------------------------------------
Subject: 104)  How do I get around the frame-buffer security hole?
On many systems the frame-buffer is unsecured by default; this permits
anyone who can log into your workstation to peek at your windowing session by
accessing the frame-buffer directly, or, as less of a privacy issue but perhaps
more annoying, to [accidentally] start up a second X session on your console
display. Check the man page for fbtab(5).
[Thanks to Art Mulder (art@cs.ualberta.ca); 2/93.]
----------------------------------------------------------------------
Subject: 105)  TOPIC: BUILDING X PROGRAMS
----------------------------------------------------------------------
Subject: 106)  What is Imake?
Imake is not a replacement for the make program; instead, it is a
makefile-generator that takes advantages of the include-file and macro-
processing capabilities of the C preprocessor cpp to generate makefiles
suitable for building software on a particular system. Although it is not
specific to X, the X release uses it to help solve a number of the
configuration issues that arise in making such a large system widely portable.
Imake has a fairly steep learning curve, in part because the process by
which the system-specific configuration files, system-independent configuration
files, and individual Imakefiles are melded to produce a Makefile is not
obvious.
There have been several different versions of imake; the R3, R4, and
R5 versions are different.
You can obtain information on imake from these sources:
- the R4 and R5 release notes and imake man page include information on
using Imake to build X
- the R4 and R5 file mit/config/README also contains useful information
- on the R4 tapes, contrib/doc/imake/imake.tex is Mark Moraes' R3/R4
guide to imake.
- the R5 mit/doc/config/usenixws/paper.ms contains a paper by Jim
Fulton on an early version of Imake
- Paul Dubois (dubois@primate.wisc.edu) has written a useful
explanation of how Imake works and how to use it in configuring X for non-
supported systems; the document is available from ftp.primate.wisc.edu
in the directory ~ftp/pub/imake-stuff; look for config-X11R4.ms (troff) and
config-X11R4.ps (PostScript). Some supplemental appendices are nearby.
[7/91: document version is now 1.06] These imake papers are available by email;
mail a message body of "send imake-stuff help" to almanac@primate.wisc.edu.
- see "System Administration - Imake: Friend of Foe?" by Dinah McNutt
in the November 1991 issue of SunExpert.
- German readers should expect in June 1992 an article "Das Meta-Make
/ I make, you make / Schwerelos" by Rainer Klute in "iX
Multiuser-Multitasking-Magazin", directed at application programmers needing to
write Imakefiles. An English-language derivative of this article is in The
X Journal, issue 2:1.
- The O'Reilly X Resource issue #2 contains Paul Davey's article on
demystifying Imake.
- Alain Brossard's working document full of tips on Imake is in
sasun1.epfl.ch:pub/imakefile.1.Z.
[1/91;12/91;5/92;8/92]
----------------------------------------------------------------------
Subject: 107)  Where can I get imake?
Versions are distributed with the R4 and R5 releases. An earlier
version is distributed with the X11R3 release; some third-party toolkits
redistribute versions of imake along with their own implementations of the
template and configuration files. There are no real standards for such
configuration files, although most *current* contributed software expects the
templates distributed with X11R5.
export contains the R5 distribution unpacked, so you can pick up imake
without picking up the entire distribution.
A stand-alone version of Imake, but one stemming from X11R5, is in
ftp.germany.eu.net:pub/X11/misc/imake/imake-pure.tar.Z (192.76.144.75).
----------------------------------------------------------------------
Subject: 108)  I have a program with an Imakefile but no Makefile. What to do?
If you have R4 or R5 installed on your system, run "xmkmf". This is a
script which runs imake for you with the correct arguments. The output is a
Makefile configured for your system and based on the Imakefile. Then run make,
which will use that new Makefile to compile the program.
----------------------------------------------------------------------
Subject: 109)  Why can't I link to the Xlib shape routines?
When I try to compile certain programs, I get the following link error:
Undefined:
_XShapeQueryExtension
_XShapeCombineMask
These routines are actually part of the Shape Extension to X (SHAPE)
which was introduced in the MIT X11R4 distribution and allows non-rectangular
windows.  Like the other sample server extensions, the shape extension will
only run on a server which supports it.  Pre-X11R4 servers, as well as many
vendor-supplied servers, do not support the shape extension, in which case
they will display rectangular windows anyway.
In order to use the shape extension, you must link to the library
libXext.a.  In the X11R4 distribution, this library and the associated includes
will be in the mit/extensions directory.  If you do not have these files, do
not despair:  many freeware programs which use the shape extension can also be
compiled without it by removing the -DSHAPE define from the Makefile; you can
probably do this and compile successfully against your older vendor-supplied X
libraries.
[from John B. Melby, melby%yk.fujitsu.co.jp@uunet.uu.net, 3/91]
----------------------------------------------------------------------
Subject: 110)  What are these problems with "_XtInherit not found" on the Sun?
When I run a X program that I wrote on a SunOS 4.0.3 or 4.1 machine I get the
error "ld.so: symbol not found _XtInherit".
What you are seeing is a side-effect of a kludge in the R4 libXt.a to
get Sun shared libraries working.  Apparently, you can't share a function that
is both called and compared, as _XtInherit is. This was handled by putting
_XtInherit in the same file as a function that is always used, thereby
guaranteeing that it would be loaded -- that is, in Initialize.c, where
XtToolkitInitialize() and XtInitialize() reside. These routines would normally
be called.
You are probably seeing this error because your program is not a normal
Xt-based program and does not call XtToolkitInitialize() anywhere.
1) it may be a program that uses Xt functions but never opens a
connection to the X server.  [OSF/Motif's 1.1.0 UIL had this problem; it called
XtMalloc() and other Xt functions.] The solution is to add the call to your
program; the function does not have to be executed, just linked in.
2) alternatively, your program doesn't need any Xt functions and is
correct in not calling XtToolkitInitialize() -- it may be an Xlib or XView
program. In this case, you can remove -lXt from your link command.
It should not be necessary to link the shared libraries statically,
although this will certainly solve the problem.
[from Jordan Hayes (now jordan@MooreNet.COM) and Danny Backx (db@sunbim.be);
11/90]
----------------------------------------------------------------------
Subject: 111)  Why can't I compile my R3 Xaw contrib programs under the new X?
I have a program that worked well under X11R3. When I try to link it under
the current version of X, I get this message:
Undefined:
_XtScrollBarSetThumb
_XtTextSetInsertionPoint
_XtTextReplace
There were several name changes in the Athena widget set (in addition
to the header files moving into <X11/Xaw/>); these are mentioned in the R4
release notes. In this case, these functions are not really Xt functions but
are part of the Xaw text widget and so have been renamed from Xt* to Xaw*.
[10/90]
----------------------------------------------------------------------
Subject: 112)  TOPIC: PROGRAMMING PROBLEMS AND PUZZLES
----------------------------------------------------------------------
Subject: 113)  Why doesn't my program get the keystrokes I select for (sic)?
The window manager controls how the input focus is transferred from one
window to another.  In order to get keystrokes, your program must ask the
window manager for the input focus.  To do this, you must set up what are
called "hints" for the window manager.  If your applications is Xlib-based, you
can use something like the following:
XWMHints wmhints;
...
wmhints.flags = InputHint;
wmhints.input = True;
XSetWMHints(dpy, window, &wmhints)
If your application is based on the Xt Intrinsics, you can set the XtNinput
resource to be True (as you probably want to in any case); if you don't have
source, you can start up the application with the resource '*input:True'.
Certain window managers, notably dxwm and olwm, are very picky about having
this done.
If you are using Sun's OpenWindows olwm, you can also add this resource
to your defaults file to use clients that aren't ICCCM-compliant.
OpenWindows.FocusLenience:       true
[mostly courtesy Dave Lemke of NCD and Stuart Marks of Sun]
----------------------------------------------------------------------
Subject: 114)  How do I figure out what window manager is running?
You can't reliably tell; whatever mechanism you could use could be
spoofed in any case.
For most cases, you shouldn't care which window manager is running, so
long as you do things in an ICCCM-conformant manner. There are some cases in
which particular window managers are known to do things wrong; checking for
particular hints placed on the window by the window manager so that you can
sidestep the problem may be appropriate in these cases. Alternatively, it may
be appropriate to determine which window manager is running in order to take
advantage of specific *added* features (such as olwm's push-pin menus) in order
to give your program *added* functionality. Beware of usurping the window
manager's functions by providing that functionality even when it is missing;
this surely leads to future compatibility problems.
----------------------------------------------------------------------
Subject: 115)  Is there a skeleton X program available?
There is no general framework such as the TransSkel program for the
Macintosh which handles lots of the odds and ends and overhead of development
under a window system and which can be used as a platform for additional
development. In X, the problem is typically solved by using an interactive
application builder tool or by using cut&paste on existing X applications. Good
applications which you might look to manipulate when you want to "test just
this one little thing" include contrib/clients/xskel, a simple R4 program that
puts up a window and allows sketching in it and offers a starting point for
quick hacks, the Xaw examples in the examples/ directory in the R3 and R4
distributions, and the Xlib "Hello World" example in the R3 doc/HelloWorld and
R4 doc/tutorials/HelloWorld; an updated version of this program which uses R4
Xlib calls and current ICCCM conventions was posted in 2/90 to comp.windows.x
by Glenn Widener of Tektronix. 	[3/90]
In addition, a sample Xt program (for Xaw or Xm) by Rainer Klute
showing how to open multiple displays and how to catch a broken display
connection is available on export.lcs.mit.edu in contrib/mdisp.tar.Z. [4/92]
----------------------------------------------------------------------
Subject: 116)  Why does XtGetValues not work for me (sic)?
The XtGetValues interface for retrieving resources from a widget is
sensitive to the type of variable. Your code may be doing something like this:
{
Arg args[3];
int i;
int sensitive;		/* oops; wrong data type */
i=0;
XtSetArg (args[i], XtNsensitive, &sensitive); i++;
XtGetValues(widget, args, i );
...
}
But XtNsensitive is a Boolean, which on most machines is a single byte;
declaring the variable "sensitive" as Boolean works properly. This problem
comes up often when using particular toolkits that redefine the Xt types
Dimension and Position; code that assumes they are int will have similar
problems if those types are actually short. In general: you are safe if you
use the actual type of the resource, as it appears in the widget's man page.
[11/90]
----------------------------------------------------------------------
Subject: 117)  Why don't XtConfigureWidget/XtResizeWidget/XtMoveWidget work?
You're probably trying to use these functions from application code.
They should be used only internally to widgets; these functions are for a
parent widget to change the geometry of its children. Other promising
functions, XtMakeGeometryRequest() and XtMakeResizeRequest(), are also for use
only by widgets, in this case by a child to request a change from its parent.
The only way for your application to request a geometry change for a
widget is to issue an XtSetValues call setting some of the geometry resources.
Although this will result in the widget-internal functions' being called, your
application code must use the standard XtSetValues interface or risk the
widgets' data becoming corrupted.
[The Xlib calls XMoveWindow() and XResizeWindow() should similarly be
avoided; they shouldn't be used to change XtNx, XtNy, XtNwidth, or XtNheight.]
----------------------------------------------------------------------
Subject: 118)  Why isn't there an XtReparentWidget call like XReparentWindow?
Although there are various details of the current implementation of
the Xt internals which make reparenting difficult, the major reason that no
such call exists is that it remains undefined what the set of resources for
the "new" widget should be. Resources are typically set based on the location
in the instance hierarchy; what resources should change if the instance moves?
What should happen to the widget's children? And by the time such semantics are
defined, there would probably be little advantage over destroying the old
widget and creating a new widget in the correct location with the desired
resources, as setting the resources correctly is the majority of work in
creating a new widget.
Note that reparenting is possible in the OI toolkit.
----------------------------------------------------------------------
David B. Lewis 					faq%craft@uunet.uu.net
"Just the FAQs, ma'am." -- Joe Friday
--
David B. Lewis		Temporarily at but not speaking for Visual, Inc.
day: dbl@visual.com	evening: david%craft@uunet.uu.net
From: queloz@bernina.ethz.ch (Ronald Queloz)
Subject: whole win on screen?
Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
Lines: 18
Window placement on screen
--------------------------
I would like to configure my system (a HP UNIX) to avoid that any corner
of a given window is displayed outside of the visible screen. The whole
window should be visible and it should be impossible to move any window
outside the visible aerea.
1. Can this be done by configuring the window manager's resources
2. Can this be done on applikation level
3. A hardcoded solution is possible, but is it possible to have a
upper limit of a given window size
Thank you for information and help
From: dbl@visual.com (David B. Lewis)
Subject: comp.windows.x Frequently Asked Questions (FAQ) 5/5
Summary: useful information about the X Window System
Article-I.D.: visual.C52Eqq.99A
Expires: Sun, 2 May 1993 00:00:00 GMT
Reply-To: faq%craft@uunet.uu.net (X FAQ maintenance address)
Organization: VISUAL, Inc.
Lines: 890
Archive-name: x-faq/part5
Last-modified: 1993/04/04
----------------------------------------------------------------------
Subject: 119)  I'm writing a widget and can't use a float as a resource value.
Float resources are not portable; the size of the value may be larger than
the size of an XtPointer. Try using a pointer to a float instead; the Xaw
Scrollbar float resources are handled in this way.
----------------------------------------------------------------------
Subject: 120)  Is this a memory leak in the X11R4 XtDestroyWidget()?!
Yes. This is the "unofficial" fix-19 for the X11R4 Destroy.c:
*** Destroy.c.1.37	Thu Jul 11 15:41:25 1991
--- lib/Xt/Destroy.c	Thu Jul 11 15:42:23 1991
***************
*** 1,4 ****
--- 1,5 ----
/* $XConsortium: Destroy.c,v 1.37 90/09/28 10:21:32 swick Exp $ */
+ /* Plus unofficial patches in revisions 1.40 and 1.41 */
/***********************************************************
Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
***************
*** 221,239 ****
*/
int i = 0;
!     DestroyRec* dr = app->destroy_list;
while (i < app->destroy_count) {
if (dr->dispatch_level >= dispatch_level)  {
Widget w = dr->widget;
if (--app->destroy_count)
bcopy( (char*)(dr+1), (char*)dr,
! 		       app->destroy_count*sizeof(DestroyRec)
);
XtPhase2Destroy(w);
}
else {
i++;
- 	    dr++;
}
}
}
--- 222,245 ----
*/
int i = 0;
!     DestroyRec* dr;
while (i < app->destroy_count) {
+
+ 	/* XtPhase2Destroy can result in calls to XtDestroyWidget,
+ 	 * and these could cause app->destroy_list to be reallocated.
+ 	 */
+
+ 	dr = app->destroy_list + i;
if (dr->dispatch_level >= dispatch_level)  {
Widget w = dr->widget;
if (--app->destroy_count)
bcopy( (char*)(dr+1), (char*)dr,
! 		       (app->destroy_count - i) * sizeof(DestroyRec)
);
XtPhase2Destroy(w);
}
else {
i++;
}
}
}
[from Donna Converse, converse@expo.lcs.mit.EDU]
----------------------------------------------------------------------
Subject: 121)  Are callbacks guaranteed to be called in the order registered?
Although some books demonstrate that the current implementation of Xt
happens to call callback procedures in the order in which they are registered,
the specification does not guarantee such a sequence, and supplemental
authoritative documents (i.e. the Asente/Swick volume) do say that the order is
undefined.  Because the callback list can be manipulated by both the widget and
the application, Xt cannot guarantee the order of execution.
In general, the callback procedures should be thought of as operating
independently of one another and should not depend on side-effects of other
callbacks operating; if a seqence is needed, then the single callback to be
registered can explicitly call other functions necessary.
[4/92; thanks to converse@expo.lcs.mit.edu]
----------------------------------------------------------------------
Subject: 122)  Why doesn't XtDestroyWidget() actually destroy the widget?
XtDestroyWidget() operates in two passes, in order to avoid leaving
dangling data structures; the function-call marks the widget, which is not
actually destroyed until your program returns to its event-loop.
----------------------------------------------------------------------
Subject: 123)  How do I query the user synchronously using Xt?
It is possible to have code which looks like this trivial callback,
which has a clear flow of control. The calls to AskUser() block until answer
is set to one of the valid values. If it is not a "yes" answer, the code drops
out of the callback and back to an event-processing loop:
void quit(Widget w, XtPointer client, XtPointer call)
{
int             answer;
answer = AskUser(w, "Really Quit?");
if (RET_YES == answer)
{
answer = AskUser(w, "Are You Really Positive?");
if (RET_YES == answer)
exit(0);
}
}
A more realistic example might ask whether to create a file or whether
to overwrite it.
This is accomplished by entering a second event-processing loop and
waiting until the user answers the question; the answer is returned to the
calling function. That function AskUser() looks something like this, where the
Motif can be replaced with widget-set-specific code to create some sort of
dialog-box displaying the question string and buttons for "OK", "Cancel" and
"Help" or equivalents:
int AskUser(w, string)
Widget          w;
char           *string;
{
int             answer=RET_NONE;	/* some not-used marker */
Widget          dialog;			/* could cache&carry, but ...*/
Arg             args[3];
int             n = 0;
XtAppContext    context;
n=0;
XtSetArg(args[n], XmNmessageString, XmStringCreateLtoR(string,
XmSTRING_DEFAULT_CHARSET)); n++;
XtSetArg(args[n], XmNdialogStyle, XmDIALOG_APPLICATION_MODAL); n++;
dialog = XmCreateQuestionDialog(XtParent(w), string, args, n);
XtAddCallback(dialog, XmNokCallback, response, &answer);
XtAddCallback(dialog, XmNcancelCallback, response, &answer);
XtAddCallback(dialog, XmNhelpCallback, response, &answer);
XtManageChild(dialog);
context = XtWidgetToApplicationContext (w);
while (answer == RET_NONE || XtAppPending(context)) {
XtAppProcessEvent (context, XtIMAll);
}
XtDestroyWidget(dialog);  /* blow away the dialog box and shell */
return answer;
}
The dialog supports three buttons, which are set to call the same
function when tickled by the user.  The variable answer is set when the user
finally selects one of those choices:
void response(w, client, call)
Widget          w;
XtPointer client;
XtPointer call;
{
int *answer = (int *) client;
XmAnyCallbackStruct *reason = (XmAnyCallbackStruct *) call;
switch (reason->reason) {
case XmCR_OK:
*answer = RET_YES;	/* some #define value */
break;
case XmCR_CANCEL:
*answer = RET_NO;
break;
case XmCR_HELP:
*answer = RET_HELP;
break;
default:
return;
}
}
and the code unwraps back to the point at which an answer was needed and
continues from there.
[Thanks to Dan Heller (argv@sun.com); further code is in Dan's R3/contrib
WidgetWrap library. 2/91]
----------------------------------------------------------------------
Subject: 124)  How do I determine the name of an existing widget?
I have a widget ID and need to know what the name of that widget is.
Users of R4 and later are best off using the XtName() function, which
will work on both widgets and non-widget objects.
If you are still using R3, you can use this simple bit of code to do
what you want. Note that it depends on the widget's internal data structures
and is not necessarily portable to future versions of Xt, including R4.
#include <X11/CoreP.h>
#include <X11/Xresource.h>
String XtName (widget)
Widget widget;	/* WILL work with non-widget objects */
{
return XrmNameToString(widget->core.xrm_name);
}
[7/90; modified with suggestion by Larry Rogers (larry@boris.webo.dg.com) 9/91]
----------------------------------------------------------------------
Subject: 125)  Why do I get a BadDrawable error drawing to XtWindow(widget)?
I'm doing this in order to get a window into which I can do Xlib graphics
within my Xt-based program:
> canvas = XtCreateManagedWidget ( ...,widgetClass,...) /* drawing area */
> ...
> window = XtWindow(canvas);	/* get the window associated with the widget */
> ...
> XDrawLine (...,window,...);	/* produces error */
The window associated with the widget is created as a part of the
realization of the widget.  Using a window id of NULL ("no window") could
create the error that you describe.  It is necessary to call XtRealizeWidget()
before attempting to use the window associated with a widget.
Note that the window will be created after the XtRealizeWidget() call,
but that the server may not have actually mapped it yet, so you should also
wait for an Expose event on the window before drawing into it.
----------------------------------------------------------------------
Subject: 126)  Why do I get a BadMatch error when calling XGetImage?
The BadMatch error can occur if the specified rectangle goes off the edge of
the screen. If you don't want to catch the error and deal with it, you can take
the following steps to avoid the error:
1) Make a pixmap the same size as the rectangle you want to capture.
2) Clear the pixmap to background using XFillRectangle.
3) Use XCopyArea to copy the window to the pixmap.
4) If you get a NoExpose event, the copy was clean. Use XGetImage to grab the
image from the pixmap.
5) If you get one or more GraphicsExpose events, the copy wasn't clean, and
the x/y/width/height members of the GraphicsExpose event structures tell you
the parts of the pixmap which aren't good.
6) Get rid of the pixmap; it probably takes a lot of memory.
[10/92; thanks to Oliver Jones (oj@pictel.com)]
----------------------------------------------------------------------
Subject: 127)  How can my application tell if it is being run under X?
A number of programs offer X modes but otherwise run in a straight
character-only mode. The easiest way for an application to determine that it is
running on an X display is to attempt to open a connection to the X server:
display = XOpenDisplay(display_name);
if (display)
{ do X stuff }
else
{ do curses or something else }
where display_name is either the string specified on the command-line following
-display, by convention, or otherwise is (char*)NULL [in which case
XOpenDisplay uses the value of $DISPLAY, if set].
This is superior to simply checking for the existence a -display command-line
argument or checking for $DISPLAY set in the environment, neither of which is
adequate. [5/91]
----------------------------------------------------------------------
Subject: 128)  How do I make a "busy cursor" while my application is computing?
Is it necessary to call XDefineCursor() for every window in my application?
The easiest thing to do is to create a single InputOnly window that is
as large as the largest possible screen; make it a child of your toplevel
window and it will be clipped to that window, so it won't affect any other
application. (It needs to be as big as the largest possible screen in case the
user enlarges the window while it is busy or moves elsewhere within a virtual
desktop.) Substitute "toplevel" with your top-most widget here (similar code
should work for Xlib-only applications; just use your top Window):
unsigned long valuemask;
XSetWindowAttributes attributes;
/* Ignore device events while the busy cursor is displayed. */
valuemask = CWDontPropagate | CWCursor;
attributes.do_not_propagate_mask =  (KeyPressMask | KeyReleaseMask |
ButtonPressMask | ButtonReleaseMask | PointerMotionMask);
attributes.cursor = XCreateFontCursor(XtDisplay(toplevel), XC_watch);
/* The window will be as big as the display screen, and clipped by
its own parent window, so we never have to worry about resizing */
XCreateWindow(XtDisplay(toplevel), XtWindow(toplevel), 0, 0,
65535, 65535, (unsigned int) 0, 0, InputOnly,
CopyFromParent, valuemask, &attributes);
where the maximum size above could be replaced by the real size of the screen,
particularly to avoid servers which have problems with windows larger than
32767.
When you want to use this busy cursor, map and raise this window; to go back to
normal, unmap it. This will automatically keep you from getting extra mouse
events; depending on precisely how the window manager works, it may or may not
have a similar effect on keystrokes as well.
In addition, note also that most of the Xaw widgets support an XtNcursor
resource which can be temporarily reset, should you merely wish to change the
cursor without blocking pointer events.
[thanks to Andrew Wason (aw@cellar.bae.bellcore.com), Dan Heller
(argv@sun.com), and mouse@larry.mcrcim.mcgill.edu; 11/90,5/91]
----------------------------------------------------------------------
Subject: 129)  How do I fork without hanging my parent X program?
An X-based application which spawns off other Unix processes which
continue to run after it is closed typically does not vanish until all of its
children are terminated; the children inherit from the parent the open X
connection to the display.
What you need to do is fork; then, immediately, in the child process,
close (ConnectionNumber(XtDisplay(widget)));
to close the file-descriptor in the display information. After this do your
exec. You will then be able to exit the parent.
Alternatively, before exec'ing make this call, which causes the file
descriptor to be closed on exec.
(void) fcntl(ConnectionNumber(XDisplay), F_SETFD, 1);
[Thanks to Janet Anstett (anstettj@tramp.Colorado.EDU), Gordon Freedman
(gjf00@duts.ccc.amdahl.com); 2/91. Greg Holmberg (holmberg@frame.com), 3/93.]
----------------------------------------------------------------------
Subject: 130)  Can I make Xt or Xlib calls from a signal handler?
No. Xlib and Xt have no mutual exclusion for protecting critical
sections. If your signal handler makes such a call at the wrong time (which
might be while the function you are calling is already executing), it can leave
the library in an inconsistent state. Note that the ANSI C standard points
out that behavior of a signal handler is undefined if the signal handler calls
any function other than signal() itself, so this is not a problem specific to
Xlib and Xt; the POSIX specification mentions other functions which may be
called safely but it may not be assumed that these functions are called by
Xlib or Xt functions.
You can work around the problem by setting a flag in the interrupt
handler and later checking it with a work procedure or a timer event which
has previously been added.
Note: the article in The X Journal 1:4 and the example in O'Reilly
Volume 6 are in error.
[Thanks to Pete Ware (ware@cis.ohio-state.edu) and Donna Converse
(converse@expo.lcs.mit.EDU), 5/92]
----------------------------------------------------------------------
Subject: 131)  What are these "Xlib sequence lost" errors?
You may see these errors if you issue Xlib requests from an Xlib error
handler, or, more likely, if you make calls which generate X requests to Xt or
Xlib from a signal handler, which you shouldn't be doing in any case.
----------------------------------------------------------------------
Subject: 132)  How can my Xt program handle socket, pipe, or file input?
It's very common to need to write an Xt program that can accept input
both from a user via the X connection and from some other file descriptor, but
which operates efficiently and without blocking on either the X connection or
the other file descriptor.
A solution is use XtAppAddInput(). After you open your file descriptor,
use XtAppAddInput() to register an input handler. The input handler will be
called every time there is something on the file descriptor requiring your
program's attention. Write the input handler like you would any other Xt
callback, so it does its work quickly and returns.  It is important to use only
non-blocking I/O system calls in your input handlers.
Most input handlers read the file descriptor, although you can have an
input handler write or handle exception conditions if you wish.
Be careful when you register an input handler to read from a disk file.
You will find that the function is called even when there isn't input pending.
XtAppAddInput() is actually working as it is supposed to. The input handler is
called whenever the file descriptor is READY to be read, not only when there is
new data to be read. A disk file (unlike a pipe or socket) is almost always
ready to be read, however, if only because you can spin back to the beginning
and read data you've read before.  The result is that your function will almost
always be called every time around XtAppMainLoop(). There is a way to get the
type of interaction you are expecting; add this line to the beginning of your
function to test whether there is new data:
if (ioctl(fd, FIONREAD, &n) == -1 || n == 0) return;
But, because this is called frequently, your application is effectively in a
busy-wait; you may be better off not using XtAppAddInput() and instead setting
a timer and in the timer procedure checking the file for input.
[courtesy Dan Heller (argv@ora.com), 8/90; mouse@larry.mcrcim.mcgill.edu 5/91;
Ollie Jones (oj@pictel.com) 6/92]
----------------------------------------------------------------------
Subject: 133)  How do I simulate a button press/release event for a widget?
You can do this using XSendEvent(); it's likely that you're not setting
the window field in the event, which Xt needs in order to match to the widget
which should receive the event.
If you're sending events to your own application, then you can use
XtDispatchEvent() instead. This is more efficient than XSendEvent() in that you
avoid a round-trip to the server.
Depending on how well the widget was written, you may be able to call
its action procedures in order to get the effects you want.
[courtesy Mark A. Horstman (mh2620@sarek.sbc.com), 11/90]
----------------------------------------------------------------------
Subject: 134)  Why doesn't anything appear when I run this simple program?
> ...
> the_window = XCreateSimpleWindow(the_display,
>      root_window,size_hints.x,size_hints.y,
>      size_hints.width,size_hints.height,BORDER_WIDTH,
>      BlackPixel(the_display,the_screen),
>      WhitePixel(the_display,the_screen));
> ...
> XSelectInput(the_display,the_window,ExposureMask|ButtonPressMask|
> 	ButtonReleaseMask);
> XMapWindow(the_display,the_window);
> ...
> XDrawLine(the_display,the_window,the_GC,5,5,100,100);
> ...
You are right to map the window before drawing into it. However, the
window is not ready to be drawn into until it actually appears on the screen --
until your application receives an Expose event. Drawing done before that will
generally not appear. You'll see code like this in many programs; this code
would appear after window was created and mapped:
while (!done)
{
XNextEvent(the_display,&the_event);
switch (the_event.type) {
case Expose:	 /* On expose events, redraw */
XDrawLine(the_display,the_window,the_GC,5,5,100,100);
break;
...
}
}
Note that there is a second problem: some Xlib implementations don't
set up the default graphics context to have correct foreground/background
colors, so this program could previously include this code:
...
the_GC_values.foreground=BlackPixel(the_display,the_screen);	/* e.g. */
the_GC_values.background=WhitePixel(the_display,the_screen);	/* e.g. */
the_GC = XCreateGC(the_display,the_window,
GCForeground|GCBackground,&the_GC_values);
...
Note: the code uses BlackPixel and WhitePixel to avoid assuming that 1 is
black and 0 is white or vice-versa.  The relationship between pixels 0 and 1
and the colors black and white is implementation-dependent.  They may be
reversed, or they may not even correspond to black and white at all.
Also note that actually using BlackPixel and WhitePixel is usually the wrong
thing to do in a finished program, as it ignores the user's preference for
foreground and background.
And also note that you can run into the same situation in an Xt-based program
if you draw into the XtWindow(w) right after it has been realized; it may
not yet have appeared.
----------------------------------------------------------------------
Subject: 135)  What is the difference between a Screen and a screen?
The 'Screen' is an Xlib structure which includes the information about
one of the monitors or virtual monitors which a single X display supports. A
server can support several independent screens. They are numbered unix:0.0,
unix:0.1, unix:0.2, etc; the 'screen' or 'screen_number' is the second digit --
the 0, 1, 2 which can be thought of as an index into the array of available
Screens on this particular Display connection.
The macros which you can use to obtain information about the particular
Screen on which your application is running typically have two forms -- one
which takes a Screen and one with takes both the Display and the screen_number.
In Xt-based programs, you typically use XtScreen(widget) to determine
the Screen on which your application is running, if it uses a single screen.
(Part of the confusion may arise from the fact that some of the macros
which return characteristics of the Screen have "Display" in the names --
XDisplayWidth, XDisplayHeight, etc.)
----------------------------------------------------------------------
Subject: 136)  Can I use C++ with X11? Motif? XView?
The X11R4/5 header files are compatible with C++. The Motif 1.1 header
files are usable as is inside extern "C" {...}. However, the definition of
String in Intrinsic.h can conflict with the libg++ or other String class and
needs to be worked around.
Some other projects which can help:
WWL, a set of C++ classes by Jean-Daniel Fekete to wrap X Toolkit
widgets, available via anonymous FTP from export.lcs.mit.edu as
contrib/WWL-1.2.tar.Z [7/92] or lri.lri.fr (129.175.15.1) as pub/WWL-1.2.tar.Z.
It works by building a set of C++ classes in parallel to the class tree of the
widgets.
The C++ InterViews toolkit is obtainable via anonymous FTP from
interviews.stanford.edu. InterViews uses a box/glue model similar to that of
TeX for constructing user interfaces and supports multiple looks on the user
interfaces. Some of its sample applications include a WYSIWIG document editor
(doc), a MacDraw-like drawing program (idraw) and an interface builder
(ibuild).
THINGS,  a class library written at the Rome Air Force Base by the
Strategic Air Command, available as freeware on archive sites.
Motif++ is a public-domain library that defines C++ class wrappers for
Motif 1.1; it adds an "application" class for, e.g., initializing X, and also
integrates WCL and the Xbae widget set. This work was developed by Ronald van
Loon <rvloon@cv.ruu.nl> based on X++, a set of bindings done by the University
of Lowell Graphics Research Laboratory. The current sources are available from
decuac.dec.com (192.5.214.1) as /pub/X11/motif++.21.jul.92.tar.Z.
The source code examples for Doug Young's "Object-Oriented Programming
with C++ and OSF/Motif" [ISBN 0-13-630252-1] do not include "widget wrappers"
but do include a set of classes that encapsulates higher-level facilities
commonly needed by Motif- or other Xt-based applications; check export in
~ftp/contrib/young.c++.tar.Z.
Rogue Wave offers "View.h++" for C++ programmers using Motif; info:
1-800-487-3217 or +1 503 754 2311.
A product called "Commonview" by Glockenspiel Ltd, Ireland (??)
apparently is a C++-based toolkit for multiple window systems, including PM,
Windows, and X/Motif.
Xv++ is sold by Qualix (415-572-0200; fax -1300); it implements an
interface from the GIL files that Sun's OpenWindows Developers Guide 3.0
produces to Xview wrapper classes in C++.
UIT is a set of C++ classes embedding the XView toolkit; it is intended
for use with Sun's OpenWindows Developers Guide 3.0 builder tool. Sources are
on export.mit.edu.au as UIT.tar.Z. Version 2 was released 5/28/92.
Also of likely use is ObjectCenter (Saber-C++). And a reasonable
alternative to all of the above is ParcPlace's (formerly Solbourne's) Object
Interface.
[Thanks to Douglas S. Rand (dsrand@mitre.org) and George Wu (gwu@tcs.com);2/91]
----------------------------------------------------------------------
Subject: 137)  Where can I obtain alternate language bindings to X?
Versions of the CLX Lisp bindings are part of the X11 core source
distributions. A version of CLX is on the R5 tape [10/91]; version 5.0.2 [9/92]
is on export.lcs.mit.edu in /contrib/CLX.R5.02.tar.Z.
The SAIC Ada-X11 bindings are through anonymous ftp in /pub from
stars.rosslyn.unisys.com (128.126.164.2).
There is an X/Ada study team sponsored by NASA JSC, which apparently is
working out bindings. Information: xada@ghg.hou.tx.us.
GNU SmallTalk has a beta native SmallTalk binding to X called STIX (by
Steven.Byrne@Eng.Sun.COM). It is still in its beginning stages, and
documentation is sparse outside the SmallTalk code itself. The sources are
available as /pub/gnu/smalltalk-1.1.1.tar.Z on prep.ai.mit.edu (18.71.0.38) or
ugle.unit.no (129.241.1.97).
Prolog bindings (called "XWIP") written by Ted Kim at UCLA while
supported in part by DARPA are available by anonymous FTP from
export.lcs.mit.edu:contrib/xwip.tar.Z or ftp.cs.ucla.edu:pub/xwip.tar.Z.
These prolog language bindings depend on having a Quintus-type foreign function
interface in your prolog. The developer has gotten it to work with Quintus and
SICStus prolog. Inquiries should go to xwip@cs.ucla.edu. [3/90]
Scheme bindings to Xlib, OSF/Motif, and Xaw are part of the Elk
distribution; version 1.5a on export obsoletes the version on the R5 contrib
tape.
x-scm, a bolt-on accessory for Aubrey Jaffer's "scm" Scheme interpreter
that provides an interface to Xlib, Motif, and OpenLook, is now available via
FTP from altdorf.ai.mit.edu:archive/scm/xscm1.05.tar.Z and
nexus.yorku.ca:pub/scheme/new/xscm1.05.tar.Z.
Ada bindings to Motif, explicitly, will eventually be made available by
the Jet Propulsion Laboratories, probably through the normal electronic
means.  Advance information can be obtained from dsouleles@dsfvax.jpl.nasa.gov,
who may respond as time permits.
AdaMotif is a complete binding to X and Motif for the Ada language, for
many common systems; it is based in part upon the SAIC/Unisys bindings and also
includes a UIL to Ada translator. Info: Systems Engineering Research
Corporation, 1-800-Ada-SERC (well!serc@apple.com).
Also: the MIT Consortium, although not involved in producing Ada
bindings for X, maintains a partial listing of people involved in X and Ada;
information is available from Donna Converse, converse@expo.lcs.mit.edu.
----------------------------------------------------------------------
Subject: 138)  Can XGetWindowAttributes get a window's background pixel/pixmap?
No.  Once set, the background pixel or pixmap of a window cannot be
re-read by clients.  The reason for this is that a client can create a pixmap,
set it to be the background pixmap of a window, and then free the pixmap. The
window keeps this background, but the pixmap itself is destroyed.  If you're
sure a window has a background pixel (not a pixmap), you can use XClearArea()
to clear a region to the background color and then use XGetImage() to read
back that pixel.  However, this action alters the contents of the window, and
it suffers from race conditions with exposures. [courtesy Dave Lemke of NCD
and Stuart Marks of Sun]
Note that the same applies to the border pixel/pixmap. This is a
(mis)feature of the protocol which allows the server is free to manipulate the
pixel/pixmap however it wants.  By not requiring the server to keep the
original pixel or pixmap, some (potentially a lot of) space can be saved.
[courtesy Jim Fulton, MIT X Consortium]
----------------------------------------------------------------------
Subject: 139)  How do I create a transparent window?
A completely transparent window is easy to get -- use an InputOnly
window. In order to create a window which is *mostly* transparent, you have
several choices:
- the SHAPE extension first released with X11R4 offers an easy way to
make non-rectangular windows, so you can set the shape of the window to fit the
areas where the window should be nontransparent; however, not all servers
support the extension.
- a machine-specific method of implementing transparent windows for
particular servers is to use an overlay plane supported by the hardware.  Note
that there is no X notion of a "transparent color index".
- a generally portable solution is to use a large number of tiny
windows, but this makes operating on the application as a unit difficult.
- a final answer is to consider whether you really need a transparent
window or if you would be satisfied with being able to overlay your application
window with information; if so, you can draw into separate bitplanes in colors
that will appear properly.
[thanks to der Mouse, mouse@lightning.McRCIM.McGill.EDU, 3/92; see also
The X Journal 1:4 for a more complete answer, including code samples for this
last option]
----------------------------------------------------------------------
Subject: 140)  Why doesn't GXxor produce mathematically-correct color values?
When using GXxor you may expect that drawing with a value of black on a
background of black, for example, should produce white. However, the drawing
operation does not work on RGB values but on colormap indices. The color that
the resulting colormap index actually points to is undefined and visually
random unless you have actually filled it in yourself. [On many X servers Black
and White often 0/1 or 1/0; programs taking advantage of this mathematical
coincidence will break.]
If you want to be combining colors with GXxor, then you should be
allocating a number of your own color cells and filling them with your chosen
pre-computed values.
If you want to use GXxor simply to switch between two colors, then you
can take the shortcut of setting the background color in the GC (graphics
context) to 0 and the foreground color to a value such that when it draws over
red, say, the result is blue, and when it draws over blue the result is red.
This foreground value is itself the XOR of the colormap indices of red and
blue.
[Thanks to Chris Flatters (cflatter@zia.aoc.nrao.EDU) and Ken Whaley
(whaley@spectre.pa.dec.com), 2/91]
----------------------------------------------------------------------
Subject: 141)  Why does every color I allocate show up as black?
Make sure you're using 16 bits and not 8.  The red, green, and blue
fields of an XColor structure are scaled so that 0 is nothing and 65535 is
full-blast. If you forget to scale (using, for example, 0-255 for each color)
the XAllocColor function will perform correctly but the resulting color is
usually black.
[Thanks to Paul Asente, asente@adobe.com, 7/91]
----------------------------------------------------------------------
Subject: 142)  Why can't my program get a standard colormap?
I have an image-processing program which uses XGetRGBColormap() to get the
standard colormap, but it doesn't work.
XGetRGBColormap() when used with the property XA_RGB_DEFAULT_MAP does
not create a standard colormap -- it just returns one if one already exists.
Use xstdcmap or do what it does in order to create the standard colormap first.
[1/91; from der Mouse (mouse@larry.mcrcim.mcgill.edu)]
----------------------------------------------------------------------
Subject: 143)  Why does the pixmap I copy to the screen show up as garbage?
The initial contents of pixmaps are undefined.  This means that most
servers will allocate the memory and leave around whatever happens to be there
-- which is usually garbage.  You probably want to clear the pixmap first using
XFillRectangle() with a function of GXcopy and a foreground pixel of whatever
color you want as your background (or 0L if you are using the pixmap as a
mask). [courtesy Dave Lemke of NCD and Stuart Marks of Sun]
----------------------------------------------------------------------
Subject: 144)  How do I check whether a window ID is valid?
My program has the ID of a window on a remote display. I want to check whether
the window exists before doing anything with it.
Because X is asynchronous, there isn't a guarantee that the window
would still exist between the time that you got the ID and the time you sent an
event to the window or otherwise manipulated it. What you should do is send the
event without checking, but install an error handler to catch any BadWindow
errors, which would indicate that the window no longer exists. This scheme will
work except on the [rare] occasion that the original window has been destroyed
and its ID reallocated to another window.
[courtesy Ken Lee (klee@synoptics.com), 4/90]
----------------------------------------------------------------------
Subject: 145)  Can I have two applications draw to the same window?
Yes. The X server assigns IDs to windows and other resources (actually,
the server assigns some bits, the client others), and any application that
knows the ID can manipulate the resource [almost any X server resource, except
for GCs and private color cells, can be shared].
The problem you face is how to disseminate the window ID to multiple
applications. A simple way to handle this (and which solves the problem of the
applications' running on different machines) is in the first application to
create a specially-named property on the root-window and put the window ID into
it. The second application then retrieves the property, whose name it also
knows, and then can draw whatever it wants into the window.
[Note: this scheme works iff there is only one instance of the first
application running, and the scheme is subject to the limitations mentioned
in the Question about using window IDs on remote displays.]
Note also that you will still need to coordinate any higher-level
cooperation among your applications.
Note also that two processes can share a window but should not try to
use the same server connection. If one process is a child of the other, it
should close down the connection to the server and open its own connection.
[mostly courtesy Phil Karlton (karlton@wpd.sgi.com) 6/90]
----------------------------------------------------------------------
Subject: 146)  Why can't my program work with tvtwm or swm?
A number of applications, including xwd, xwininfo, and xsetroot, do not
handle the virtual root window which tvtwm and swm use; they typically return
the wrong child of root. A general solution is to add this code or to use it in
your own application where you would normally use RootWindow(dpy,screen):
/* Function Name: GetVRoot
* Description: Gets the root window, even if it's a virtual root
* Arguments: the display and the screen
* Returns: the root window for the client
*/
#include <X11/Xatom.h>
Window GetVRoot(dpy, scr)
Display        *dpy;
int             scr;
{
Window          rootReturn, parentReturn, *children;
unsigned int    numChildren;
Window          root = RootWindow(dpy, scr);
Atom            __SWM_VROOT = None;
int             i;
__SWM_VROOT = XInternAtom(dpy, "__SWM_VROOT", False);
XQueryTree(dpy, root, &rootReturn, &parentReturn, &children, &numChildren);
for (i = 0; i < numChildren; i++) {
Atom            actual_type;
int             actual_format;
long            nitems, bytesafter;
Window         *newRoot = NULL;
if (XGetWindowProperty(dpy, children[i], __SWM_VROOT, 0, 1,
False, XA_WINDOW, &actual_type, &actual_format, &nitems,
&bytesafter, (unsigned char **) &newRoot) == Success && newRoot) {
root = *newRoot;
break;
}
}
return root;
}
[courtesy David Elliott (dce@smsc.sony.com). Similar code is in ssetroot, a
version of xsetroot distributed with tvtwm. 2/91]
A header file by Andreas Stolcke of ICSI on export.lcs.mit.edu:contrib/vroot.h
functions similarly by providing macros for RootWindow and DefaultRootWindow;
code can include this header file first to run properly in the presence of a
virtual desktop.
----------------------------------------------------------------------
Subject: 147)  How do I keep a window from being resized by the user?
Resizing the window is done through the window manager; window managers
can pay attention to the size hints your application places on the window, but
there is no guarantee that the window manager will listen. You can try setting
the minimum and maximum size hints to your target size and hope for the best.
[1/91]
----------------------------------------------------------------------
Subject: 148)  How do I keep a window in the foreground at all times?
It's rather antisocial for an application to constantly raise itself
[e.g. by tracking VisibilityNotify events] so that it isn't overlapped --
imagine the conflict between two such programs running.
The only sure way to have your window appear on the top of the stack
is to make the window override-redirect; this means that you are temporarily
assuming window-management duties while the window is up, so you want to do
this infrequently and then only for short periods of time (e.g. for popup
menus or other short parameter-setting windows).
[thanks to der Mouse (mouse@larry.mcrcim.mcgill.edu); 7/92]
----------------------------------------------------------------------
Subject: 149)  How do I make text and bitmaps blink in X?
There is no easy way.  Unless you're willing to depend on some sort of
extension (as yet non-existent), you have to arrange for the blinking yourself,
either by redrawing the contents periodically or, if possible, by playing games
with the colormap and changing the color of the contents.
[Thanks to mouse@larry.mcrcim.mcgill.edu (der Mouse), 7/91]
----------------------------------------------------------------------
Subject: 150)+ How do I get a double-click in Xlib?
Users of Xt have the support of the translation manager to help
get notification of double-clicking.
There is no good way to get only a double-click in Xlib, because the
protocol does not provide enough support to do double-clicks.  You have to do
client-side timeouts, unless the single-click action is such that you can defer
actually taking it until you next see an event from the server.  Thus, you
have to do timeouts, which means system-dependent code.  On most UNIXish
implementations, you can use XConnectionNumber to get the file descriptor of
the X connection and then use select() or something similar on that.
Note that many user-interface references suggest that a double-click
be used to extend the action indicated by a single-click; if this is the case
in your interface then you can execute the first action and as a compromise
check the timestamp on the second event to determine whether it, too, should
be the single-click action or the double-click action.
[Thanks to mouse@larry.mcrcim.mcgill.edu (der Mouse), 4/93]
----------------------------------------------------------------------
Subject: 151)! How do I render rotated text?
Xlib intentionally does not provide such sophisticated graphics
capabilities, leaving them up to server-extensions or clients-side graphics
libraries.
Your only choice, if you want to stay within the core X protocol, is to
render the text into a pixmap, read it back via XGetImage(), rotate it "by
hand" with whatever matrices you want, and put it back to the server via
XPutImage(); more specifically:
1) create a bitmap B and write your text to it.
2) create an XYBitmap image I from B (via XGetImage).
3) create an XYBitmap Image I2 big enough to handle the transformation.
4) for each x,y in I2, I2(x,y) = I(a,b) where
a = x * cos(theta) - y * sin(theta)
b = x * sin(theta) + y * cos(theta)
5) render I2
Note that you should be careful how you implement this not to lose
bits; an algorithm based on shear transformations may in fact be better.
The high-level server-extensions and graphics packages available for X
also permit rendering of rotated text: Display PostScript, PEX, PHiGS, and GKS,
although most are not capable of arbitrary rotation and probably do not use the
same fonts that would be found on a printer.
In addition, if you have enough access to the server to install a font
on it, you can create a font which consists of letters rotated at some
predefined angle. Your application can then itself figure out placement of each
glyph.
[courtesy der Mouse (mouse@larry.mcrcim.mcgill.edu), Eric Taylor
(etaylor@wilkins.bmc.tmc.edu), and Ken Lee (klee@synoptics.com), 11/90;
Liam Quin (lee@sq.com), 12/90]
InterViews (C++ UI toolkit, in the X contrib software) has support for
rendering rotated fonts in X.  It could be one source of example code.
[Brian R. Smith (brsmith@cs.umn.edu), 3/91]
Another possibility is to use the Hershey Fonts; they are
stroke-rendered and can be used by X by converting them into XDrawLine
requests. [eric@pencom.com, 10/91]
The xrotfont program by Alan Richardson (mppa3@syma.sussex.ac.uk)
(posted to comp.sources.x July 14 1992) paints a rotated font by implementing
the method above and by using an outline (Hershey) font.
The xvertext package by Alan Richardson (mppa3@syma.sussex.ac.uk) is a
set of functions to facilitate the writing of text at any angle.  Version 3.0
was recently released to alt.sources and comp.sources.misc [3/93]; it is also
on export as contrib/xvertext.3.0.shar.Z.
O'Reilly's X Resource Volume 3 includes information from HP about
modifications to the X fonts server which provide for rotated and scaled text.
----------------------------------------------------------------------
Subject: 152)  What is the X Registry? (How do I reserve names?)
There are places in the X Toolkit, in applications, and in the X
protocol that define and use string names. The context is such that conflicts
are possible if different components use the same name for different things.
The MIT X Consortium maintains a registry of names in these domains:
orgainization names, selection names, selection targets, resource types,
application classes, and class extension record types; and several others.
The list as of 7/91 is in the directory mit/doc/Registry on the R5
tape; it is also available by sending "send docs registry" to the xstuff mail
server.
To register names (first come, first served) or to ask questions send
to xregistry@expo.lcs.mit.edu; be sure to include a postal address for
confirmation.
[11/90; condensed from Asente/Swick Appendix H]
----------------------------------------------------------------------
David B. Lewis 					faq%craft@uunet.uu.net
"Just the FAQs, ma'am." -- Joe Friday
--
David B. Lewis		Temporarily at but not speaking for Visual, Inc.
day: dbl@visual.com	evening: david%craft@uunet.uu.net
From: guy@x.co.uk (Guy Singh)
Subject: Re: >>>>> MOUSE BUTTONS 1,2 & 3 <<<<<<<< urgent !
In-Reply-To: it4ik@dmu.ac.uk's message of 5 Apr 93 10:10:23 GMT
X-Disclaimer: This is not the view of IXI Ltd unless explicitly stated.
Lines: 29
Nntp-Posting-Host: yorks.x.co.uk
Organization: Not a lot
X-Copyright: The author asserts the right of paternity in this message.
>>>>> On 5 Apr 93 10:10:23 GMT, it4ik@dmu.ac.uk (I Kler) said:
IK> Nntp-Posting-Host: elm
IK> I know it sounds stupid, but....
IK> Does anyone know how to control individual mouse buttons.
IK> I am writing an application, which currently makes use of
IK> ButtonPressMask, however this is invoked by the pressing
IK> of any mouse button. I want to be able to restrict this
IK> to one of the 3 buttons. I tried Button1PressMask, but
IK> just get undefined errors. I know it can be done, and I
IK> am pretty sure theres an easy answer to it, but I just don't know
IK> what it is.
IK> "time is of the essence ..."
There is no event mask for a particular mouse button press. However in your
event handler you can use the event structure passed in and query it to find
which button was pressed i.e.
void
SomeEventHandler(Widget w, XtPointer data, XEvent *event)
{
/* Catch the button 1 (usually left button) */
if ( event->xbutton.button == Button1 ) {
/* do some action */
} else {
/* do nothing and exit from function */
}
}
--
-Guy Singh,                 IXI            Internet: guy@x.co.uk
Vision Park    UUCP:     guy@ixi.uucp
Cambridge      Bang:     ...!uunet!ixi!guy
CB4 4ZR, UK    Tel:      +44 223 236 555
From: ethan@cs.columbia.edu (Ethan Solomita)
Subject: Re: X protocol packet type
Article-I.D.: cs.C52I2q.IFJ
Organization: Columbia University Department of Computer Science
Lines: 7
In article <93091.144124DEP@SLACVM.SLAC.STANFORD.EDU> <DEP@SLACVM.SLAC.STANFORD.EDU> writes:
>Is there a way to identify an X-protocol packet under DECNET? Under
>TCP/IP?
>
The information in the packets isn't necessarily
distinctive -- you need to know that it is an X11 connection.
-- Ethan
From: beck@irzr17.inf.tu-dresden.de (Andre Beck)
Subject: Re: Drawing colour pixmaps - not rectangular
Organization: Dept. of Computer Science, TU Dresden, Germany.
Lines: 27
Distribution: world
Reply-To: Andre_Beck@IRS.Inf.TU-Dresden.DE
NNTP-Posting-Host: irzr17.inf.tu-dresden.de
In article <1993Mar31.022947.149@etrog.se.citri.edu.au>, jck@catt.citri.edu.au (Justin Kibell) writes:
|>   I am writing a program which needs to draw colour XPM pixmap files onto a background without having the borders show up. I cannot do xor as the colours all stuff up. I cannot use XCopyPlane() as that is for single planes only. I want to be able to specify a colour in the pixmap to be used as the opaque colour. Is this possible.
|>
|> Games such as xjewel have the same problem. How does the mouse pointer do it?
|>
|> Any help would be helpful? :-)
|>
You wanna do masking. Build a bitmap (pixmap of depth one) where all pixels
you name "opaque" are 1 (that get copied) and the others are 0. Use this
bitmap as the clip_mask in the gc used for XCopyArea(), and remember to
adjust the clip_origin coordinates to the XCopyArea() blit origin.
The Mouse pointer (besides from that it is driven using RAMDAC analog
mapping on most hardwares) uses a mask, too.
But be warned: blitting through a mask and especially moving around this mask
is annoying slow on most xservers... it flickers even at 40 MIPS...
--
+-o-+--------------------------------------------------------------+-o-+
| o |                \\\-  Brain Inside -///                       | o |
| o |                    ^^^^^^^^^^^^^^^                           | o |
| o | Andre' Beck (ABPSoft) mehl: Andre_Beck@IRS.Inf.TU-Dresden.de | o |
+-o-+--------------------------------------------------------------+-o-+
From: beck@irzr17.inf.tu-dresden.de (Andre Beck)
Subject: Re: Pixmaps, Masks, & Icons - Clues?
Organization: Dept. of Computer Science, TU Dresden, Germany.
Lines: 40
Distribution: world
Reply-To: Andre_Beck@IRS.Inf.TU-Dresden.DE
NNTP-Posting-Host: irzr17.inf.tu-dresden.de
In article <44975@sophia.inria.fr>, lehors@koala.inria.fr (Arnaud Le_Hors) writes:
|> In article <BUZZ.93Mar31093626@lion.bear.com>, buzz@bear.com (Buzz Moschetti)
|> writes:
|> > This is a simple X graphics question:
|> >
|> > Assume you have a valid Window w, an icon pixmap, and the background
|> > mask (also a pixmap) for that icon.  You wish to place the icon at (x,y)
|> > in w *without* the background.
|> >
|> > Question: What combination of XCopyArea() and GC functions are necessary?
|> > I think the idea is to "merge only those pixels of pixmap into w as
|> > indicated by the corresponding mask pixel value."  Specifically, the
|> > problem involves a pixmap and mask generated by the XPM libs.
|> >
|> > Any clues would be most appreciated.
|>
|>
|> Xpm provides you with symbolic color names which can be specified at load time.
|> So, for doing what you want I would suggest you to define a Background symbol
|> in your pixmap file which you'll set to whatever color is used by the widget or
|> the window on which you want to put your pixmap.
|> This would surely be the simplest and fastest way to do what you want.
No. As soon as you blit two of this icons once on top of the other with a
little dislocation, you see the rectangular blit crashes too much of the
icon first blitted, because it draws a full rectangle. The way to do it
is masking: Create a bitmap with all pixels to be merged are 1 and all
not to be merged are 0. Then, set the clip_mask of the gc to this
bitmap, set the clip_x_origin and clip_y_origin of the gc to the x/y
coordinates where you blit the icon to the destination drawable, use GXCopy,
and XCopyArea() the icon pixmap to the destination drawable using this gc.
--
+-o-+--------------------------------------------------------------+-o-+
| o |                \\\-  Brain Inside -///                       | o |
| o |                    ^^^^^^^^^^^^^^^                           | o |
| o | Andre' Beck (ABPSoft) mehl: Andre_Beck@IRS.Inf.TU-Dresden.de | o |
+-o-+--------------------------------------------------------------+-o-+
From: dbl@visual.com (David B. Lewis)
Subject: comp.windows.x Frequently Asked Questions (FAQ) 1/5
Summary: useful information about the X Window System
Reply-To: faq%craft@uunet.uu.net (X FAQ maintenance address)
Organization: VISUAL, Inc.
Expires: Sun, 2 May 1993 00:00:00 GMT
Lines: 938
Archive-name: x-faq/part1
Last-modified: 1993/04/04
This article and several following contain the answers to some Frequently Asked
Questions (FAQ) often seen in comp.windows.x. It is posted to help reduce
volume in this newsgroup and to provide hard-to-find information of general
interest.
Please redistribute this article!
This article includes answers to the following questions, which are loosely
grouped into categories. Questions marked with a + indicate questions new to
this issue; those with significant changes of content since the last issue are
marked by !:
0)  TOPIC: BASIC INFORMATION SOURCES AND DEFINITIONS
1)! What books and articles on X are good for beginners?
2)! What courses on X and various X toolkits are available?
3)! What conferences on X are coming up?
4)  What X-related public mailing lists are available?
5)  How can I meet other X developers?
6)  What related FAQs are available?
7)  How do I ask a net-question so as to maximize helpful responses?
8)  What publications discussing X are available?
9)  What are these common abbreviations/acronyms?
10)  What is the ICCCM? (How do I write X-friendly applications?)
11)  What is the X Consortium, and how do I join?
12)  Just what are OPEN LOOK and Motif?
13)  Just what is OpenWindows?
14)  Just what is DECWindows?
15)  What is PEX?
16)  What is "low-bandwidth X" (LBX)? XRemote? PPP? SLIP? CSLIP?
17)  TOPIC: USING X IN DAY-TO-DAY LIFE
18)! What are all these different window managers?
19)  Why does my X session exit when I kill my window manager (sic)?
20)  Can I save the state of my X session, like toolplaces does?
21)  How do I use another window manager with DEC's session manager?
22)  How do I change the keyboard auto-repeat rate?
23)  How do I remap the keys on my keyboard to produce a string?
24)! How do I make a screendump or print my application?
25)  How do I make a color PostScript screendump of the X display?
26)  How do I make a screendump including the X cursor?
27)  How do I convert/view Mac/TIFF/GIF/Sun/PICT/img/FAX images in X?
28)  How can I change the titlebar of my xterm window?
29)  Where can I find the xterm control sequences?
30)- Why does the R3 xterm, et al, fail against the R4 server?
31)  How can I use characters above ASCII 127 in xterm ?
32)  Why are my xterm menus so small?
33)  How can I print the current selection?
34)  How does Xt use environment variables in loading resources?
35)  How to I have the R4 xdm put a picture behind the log-in window?
36)  Why isn't my PATH set when xdm runs my .xsession file?
37)  How do I keep my $DISPLAY when I rlogin to another machine?
38)  How can I design my own font?
39)  Why does adding a font to the server not work (sic)?
40)  How do I convert a ".snf" font back to ".bdf" font?
41)  What is a general method of getting a font in usable format?
42)  How do I use DECwindows fonts on my non-DECwindows server?
43)  How do I add ".bdf" fonts to my DECwindows server?
44)! How can I set backgroundPixmap in a defaults file? (What is XPM?)
45)  Why can't I override translations? Only the first item works.
46)  How can I have xclock or oclock show different timezones?
47)  I have xmh, but it doesn't work. Where can I get MH?
48)  Why am I suddenly unable to connect to my Sun X server?
49)  Why don't the R5 PEX demos work on my mono screen?
50)! How do I get my Sun Type-[45] keyboard fully supported by Xsun?
51)  How do I report bugs in X?
52)  Why do I get "Warning: Widget class version mismatch"?
53)  Where can I find a dictionary server for xwebster?
54)  TOPIC: OBTAINING X AND RELATED SOFTWARE AND HARDWARE
55)  Is X public-domain software?
56)  How compatible are X11R3, R4, and R5? What changes are there?
57)! Where can I get X11R5 (source and/or binaries)?
58)! Where can I get patches to X11R5?
59)  What is the xstuff mail-archive?
60)! Where can I get X11R4 (source and binaries)?
61)  Where can I get OSF/Motif?
62)  Does Motif work with X11R4? X11R5?
63)  Where can I get toolkits implementing OPEN LOOK?
64)! Where can I get other X sources? (including R5 modifications)
65)! Where can I get interesting widgets?
66)  Where can I get a good file-selector widget?
67)  What widget is appropriate to use as a drawing canvas?
68)  What is the current state of the world in X terminals?
69)  Where can I get an X server with a touchscreen or lightpen?
70)  Where can I get an X server on a PC (DOS or Unix)?
71)  Where can I get an X server on a Macintosh running MacOS?
72)  Where can I get X for the Amiga?
73)  Where can I get a fast X server for a workstation?
74)! Where can I get a server for my high-end Sun graphics board?
75)  Where can I get an "X terminal" server for my low-end Sun 3/50?
76)  What terminal emulators other than xterm are available?
77)! Where can I get an X-based editor or word-processor?
78)  Where can I get an X-based mailer?
79)! Where can I get an X-based paint/draw program?
80)! Where can I get an X-based plotting program?
81)  Where can I get an X-based spreadsheet?
82)  Where can I get X-based project-management software?
83)  Where can I get an X-based PostScript previewer?
84)  Where can I get an X-based GKS package?
85)  Where can I get an X-based PEX package?
86)  Where can I get an X-based TeX or DVI previewer?
87)  Where can I get an X-based troff previewer?
88)! Where can I get a WYSIWYG interface builder?
89)  Where can I find X tools callable from shell scripts?
90)  Where can I get an X-based debugger?
91)! How can I "tee" an X program identically to several displays?
92)  TOPIC: BUILDING THE X DISTRIBUTION [topic needs updating to R5]
93)  What's a good source of information on configuring the X build?
94)  Why doesn't my Sun with a cg6 work with R5?
95)  Why doesn't my Sun with SunOS 4.1 know about _dlsym, etc.?
96)  What is this strange problem building X clients on SunOS 4.1.2?
97)  Why can't gcc compile X11R4 on my SPARC?
98)  What are these I/O errors running X built with gcc?
99)  What are these problems compiling X11R4 on the older Sun3?
100)  What are these problems compiling the X server on SunOS 4.1.1?
101)  What are these problems using R4 shared libraries on SunOS 4?
102)  Can OLIT programs run with R5 Xt? (_XtQString undefined)
103)  How do I get around the SunOS 4.1 security hole?
104)  How do I get around the frame-buffer security hole?
105)  TOPIC: BUILDING X PROGRAMS
106)  What is Imake?
107)  Where can I get imake?
108)  I have a program with an Imakefile but no Makefile. What to do?
109)  Why can't I link to the Xlib shape routines?
110)  What are these problems with "_XtInherit not found" on the Sun?
111)  Why can't I compile my R3 Xaw contrib programs under the new X?
112)  TOPIC: PROGRAMMING PROBLEMS AND PUZZLES
113)  Why doesn't my program get the keystrokes I select for (sic)?
114)  How do I figure out what window manager is running?
115)  Is there a skeleton X program available?
116)  Why does XtGetValues not work for me (sic)?
117)  Why don't XtConfigureWidget/XtResizeWidget/XtMoveWidget work?
118)  Why isn't there an XtReparentWidget call like XReparentWindow?
119)  I'm writing a widget and can't use a float as a resource value.
120)  Is this a memory leak in the X11R4 XtDestroyWidget()?!
121)  Are callbacks guaranteed to be called in the order registered?
122)  Why doesn't XtDestroyWidget() actually destroy the widget?
123)  How do I query the user synchronously using Xt?
124)  How do I determine the name of an existing widget?
125)  Why do I get a BadDrawable error drawing to XtWindow(widget)?
126)  Why do I get a BadMatch error when calling XGetImage?
127)  How can my application tell if it is being run under X?
128)  How do I make a "busy cursor" while my application is computing?
129)  How do I fork without hanging my parent X program?
130)  Can I make Xt or Xlib calls from a signal handler?
131)  What are these "Xlib sequence lost" errors?
132)  How can my Xt program handle socket, pipe, or file input?
133)  How do I simulate a button press/release event for a widget?
134)  Why doesn't anything appear when I run this simple program?
135)  What is the difference between a Screen and a screen?
136)  Can I use C++ with X11? Motif? XView?
137)  Where can I obtain alternate language bindings to X?
138)  Can XGetWindowAttributes get a window's background pixel/pixmap?
139)  How do I create a transparent window?
140)  Why doesn't GXxor produce mathematically-correct color values?
141)  Why does every color I allocate show up as black?
142)  Why can't my program get a standard colormap?
143)  Why does the pixmap I copy to the screen show up as garbage?
144)  How do I check whether a window ID is valid?
145)  Can I have two applications draw to the same window?
146)  Why can't my program work with tvtwm or swm?
147)  How do I keep a window from being resized by the user?
148)  How do I keep a window in the foreground at all times?
149)  How do I make text and bitmaps blink in X?
150)+ How do I get a double-click in Xlib?
151)! How do I render rotated text?
152)  What is the X Registry? (How do I reserve names?)
If you have suggestions or corrections for any of these answers or any
additional information, please send them directly to uunet!craft!faq;
the information will be included in the next revision (or possibly the one
after that; thanks for the many suggestions which haven't been incorporated
yet).
This version of the FAQ is in the process of having R3 information replaced
by R5 information.
This posting is intended to be distributed at approximately the beginning of
each month. New versions are archived on export.lcs.mit.edu and are also
available from mail-server@pit-manager.mit.edu and archive-server@nic.switch.ch
(send "help").
The information contained herein has been gathered from a variety of sources.
In many cases attribution has been lost; if you would like to claim
responsibility for a particular item, please let me know.
Conventions used below: telephone numbers tend to be Bell-system unless
otherwise noted; prices on items are not included; email addresses are those
that work from the US.
X Window System is a trademark of the Massachusetts Institute of Technology.
Other trademarks are the property of their respective owners.
(Note: a script by George Ferguson (ferguson@cs.rochester.edu) to pretty-print
this faq is available from ugle.unit.no:/pub/X11/contrib/xfaq2texinfo.)
----------------------------------------------------------------------
Subject:   0)  TOPIC: BASIC INFORMATION SOURCES AND DEFINITIONS
----------------------------------------------------------------------
Subject:   1)! What books and articles on X are good for beginners?
Ken Lee of SynOptics (klee@synoptics.com) regularly posts to
comp.windows.x and ba.windows.x a bibliography containing cites of all known
reference books and how-to manuals and also cites of selected technical
articles on X and X programming; it is ftp-able as
export.lcs.mit.edu:/contrib/Xbibliography and
gatekeeper.dec.com:/pub/X11/contrib/Xbibliography
Here is an unordered set of the reference books and tutorials most useful for
beginners; most appear on that list [comments are gathered from a variety of
places and are unattributable]:
Asente, Paul J., and Swick, Ralph R., "X Window System Toolkit, The Complete
Programmer's Guide and Specification", Digital Press, 1990.  The bible on Xt. A
treasury of information, excellent and invaluable.  Distributed by Digital
Press, ISBN 1-55558-051-3, order number EY-E757E-DP; and by Prentice-Hall,
ISBN 0-13-972191-6. Also available through DEC Direct at 1-800-DIGITAL.
[The examples are on export.lcs.mit.edu in contrib/ and on gatekeeper.dec.com
(16.1.0.2) in pub/X11/contrib as asente-swick.examples.tar.Z.  They were also
posted to comp.sources.x as xt-examples/part0[1-5].]
Jones, Oliver, Introduction to the X Window System, Prentice-Hall, 1988, 1989.
ISBN 0-13-499997-5. An excellent introduction to programming with Xlib.
Written with the programmer in mind, this book includes many practical tips
that are not found anywhere else. This book is not as broad as the O'Reilly
Xlib tutorial, but Jones is an experienced X programmer and this shows in the
quality and depth of the material in the book. Originally written for X11R1,
recent printings have included corrections and additions and current material.
Young, Doug. "The X Window System: Applications and Programming with Xt (Motif
Version)," Prentice Hall, 1989 (ISBN 0-13-497074-8). The excellent tutorial
"X Window System Programming and Applications with Xt," (ISBN 0-13-972167-3)
updated for Motif. [The examples are available on export; the ones from the
Motif version are in ~ftp/contrib/young.motif.tar.Z.]
Young, Doug and John Pew, "The X Window System: Programming and Applications
with Xt, OPEN LOOK Edition" (ISBN 0-13-982992-X). The tutorial rewritten for
OLIT, with new examples and drag/drop information. [Examples are on export in
youg.olit.tar.Z and in you OpenWindows 3 distribution in
$OPENWINHOME/share/src/olit/olitbook.]
Heller, Dan. "Motif Programmers Manual". The 6th Volume in the O'Reilly series
covers Motif application programming; it's full of good examples. With Motif
reference pages. (ISBN 0-9937175-70-6.)  [The examples are available on uunet
in comp.sources.x and nutshell archives.] [A Motif 1.2 will be out soon.]
Scheifler, Robert, and James Gettys, with Jim Flowers and David Rosenthal, "X
Window System: The Complete Reference to Xlib, X Protocol, ICCCM, XLFD, X
Version 11, Release 5, Third Edition," Digital Press, 1992. "The Bible" in its
latest revision, an enhanced version of X documentation by the authors of the
Xlib documentation. This is the most complete published description of the X
programming interface and X protocol. It is the primary reference work and is
not introductory tutorial documentation; additional tutorial works will usually
be needed by most new X programmers.  Digital Press order EY-J802E-DP, ISBN
0-13-971201-1.
Nye, Adrian, "Xlib Programming Manual, Volume 1" and "Xlib Reference Manual,
Volume 2," O'Reilly and Associates. A superset of the MIT X documentation; the
first volume is a tutorial with broad coverage of Xlib, and the second
contains reference pages for Xlib functions and many useful reference
appendices.  Both cover X11R5 (and R4). ISBN 0-937175-26-9 (volume 1) and ISBN
0-937175-27-7 (volume 2).
Nye, Adrian, and Tim O'Reilly, "X Toolkit Programming Manual, Volume 4,"
O'Reilly and Associates, 1989. The folks at O'Reilly give their comprehensive
treatment to programming with the MIT Intrinsics; R4 versions are now
available, as is a Motif 1.1 version (Volume 4M).
O'Reilly, Tim, ed.,  "X Toolkit Reference Manual, Volume 5," O'Reilly and
Associates. A professional reference manual for the MIT X11R4 and X11R5 Xt.
Mansfield, Niall. "The X Window System: A User's Guide," Addison-Wesley, 1989.
A tutorial introduction to using X, now upgraded for R4. ISBN 0-201-51341-2.
Quercia, Valerie and Tim O'Reilly. "X Window System User's Guide," O'Reilly and
Associates. A tutorial introduction to using X. ISBN 0-937175-36-6.
Also available in R4 and Motif flavors.
Mui, Linda and Eric Pearce. "X Window System Administrator's Guide for X11 R4
and R5" [ORA Volume 8]. Help for X users and administrators.
ISBN 0-937175-83-8.
(Prentice-Hall ordering is 201-767-5937. O'Reilly ordering is 800-998-9938.)
In addition, check the X11R4 and X11R5 core distribution in doc/tutorials for
some useful papers and tutorials, particularly the file answers.txt.  "Late
Night's Top Ten X11 Questions" by Dave Lemke (lemke@ncd.com) and Stuart Marks
(smarks@sun.com) answers other common questions and some of these here in more
detail.
New R5 versions of the O'Reilly references (not yet Volume 6) are now available
[8/92].  A single volume, "Programmer's Supplement for R5" by David Flanagan,
provides an overview of new R5 features; it includes man pages for Xlib, Xt,
and Xmu. [ISBN  0-937175-86-2]
----------------------------------------------------------------------
Subject:   2)! What courses on X and various X toolkits are available?
Advanced Computing Environments periodically offers at least a two-day
Introduction course. Contact Susie Karlson at 415-941-3399 for information.
AT&T offers training in Xlib and in the Xol set. Contact AT&T Corporate
Education & Training for more info; 1-800-TRAINER in the USA.
BIM Educational Services offers training in X administration and in
programming with Xt/Motif and Open Windows; the courses are given near
Brussels. Info: edu@sunbim.be, voice +32-(0)2-7595925, fax +32-(0)2-7599209.
Communica Software Consultants offers three-day hands-on courses in X
designed for the X Window System developer and programmer. Contact Chris
Clarkson, telephone 61 8 3732523, e-mail communica@communica.oz.au. [12/92]
Cora Computer Technologies (516-485-7343) offers several courses.
GHCT offers a one week lecture/lab course for programmmers designed by
Douglas Young based on his book "The X Window System: Programming and Applica-
tions with Xt, OSF/Motif Edition". Information: Brian Stell (415-966-8805 or
ghct!brian@sgi.com).
GHG offers a range of courses on X and Motif. Information: 713-488-8806
or training-info@ghg.hou.tx.us.
Hands On Learning has live training and self-paced video workshops on
topics such as using and/or programming X, Xlib, Xm, Xt, and widget-writing.
Information: 617-272-0088, 800-248-9133.
Hewlett-Packard (1-800-HPCLASS; or contact your local HP center) offers
a 2-day "Introduction to X", a 5-day Xlib course, a 1-day Xt and Motif 1.1
seminar, and a 5-day Motif lab course.
Integrated Computer Solutions, Inc., offers several multi-day, hands-on
courses on X, Xt, and the Xaw and Motif widget sets, in particular. Information
is available at 617-621-0060 and info@ics.com.
Intelligent Visual Computing teaches several lab courses on-site for
Motif and XView. IVC is at 1-800-776-2810 or +1 919-481-1353 or at
info@ivc.com.
Iris Computing Laboratories offers five-day Xlib and Xt courses.
Info: +1-505-988-2670 or info@spectro.com.
IXI Limited (+44 223 462 131) offers regular X training courses for
both programmers and non-technical managers. See also: Unipalm, below.
Learning Tree International offers a four-day course in X Window System
applications development, including Xlib and some information on Motif.  For
more info call 800-824-9155 (213-417-3484); 613-748-7741 in Canada. Courses are
offered in major North American cities; also in London, Stockholm, Tokyo, and
elsewhere.
Lurnix offers 4-day "type-along courses" on Xt; the course is being
ported from Xaw to Xm. Information is available at 800-433-9337 (in CA: -9338).
Mitch Trachtenberg and Associates offers regular 5-day lab courses on
programming with OSF/Motif, usually in but not limited to Cambridge, MA.
Info: +1 617-225-0440, info@mta.com.
Non Standard Logics (+33 (1) 43 36 77 50; requests@nsl.fr) offers
courses on programming with Xlib, Motif, and creating Motif widgets.
OSF Educational Services (617-621-8778) offers one-day seminars and
one-week Motif lab courses.
John A. Pew offers a 5-day course on OLIT, possibly based on his book
on that subject; 408-224-5739.
SCO (+44 923 816344, scol-info@sco.COM) offers training for its Open
Desktop (Motif) environment in the UK and Europe.
Software Pundits (617-270-0639) offers a range of courses.
Technology Exchange (617-944-3700) offers a 4-day Xlib/Xt/Motif course.
TeleSoft is now offering a 1-day plus 3-day seminar on X and Motif.
Information: Bruce Sherman (619-457-2700, bds@telesoft.com).
Unipalm XTech offers OSF's 5-day Motif course and a 1-day overview on
X.  Information: Unipalm Training at +44 952  211797, xtech@unipalm.co.uk.
The University of Edinburgh is developing a series of courses on X and
related topics primarily for non-profit-making training in academia but also
for commercial use. Information: Cliff Booth, Unipalm Ltd, phone +44 223
420002, fax +44 223 426868.
Various other vendors are also beginning to offer X training, usually
specific to a proprietary toolkit or to Xt and a proprietary widget set: DEC
is offering Xlib courses; Sun offers an XView course.
Various universities are offering short X courses or overviews: UCLA,
Dartmouth, University of Lowell, University of Canberra (within Australia:
062-522422) ...
UC Berkeley Extension will have a one week X/Motif class for
programmers in San Francisco starting on July 29.  The class will have a
hands-on lab. For more information contact UCBX at 415 323 8141.
Among the best places to find courses are at the various Unix
conferences -- Uniforum, Usenix, Unix Expo, Xhibition, the MIT X Technical
Conference, the ACM tutorial weeks, &c.
In addition, the X Consortium posts approximately quarterly a list of
unendorsed speakers and consultants who can provide talks on a variety of X
topics.
----------------------------------------------------------------------
Subject:   3)! What conferences on X are coming up?
The Xhibition 93 X trade show and conference, with tutorials, panels,
presentations, and vendor exhibits, will be held at the San Jose Convention
Center June 7-11, 1993.  Information: +1 617 621 0060, xhibit@ics.com.
The Tcl/Tk Workshop will be held at UCal Berkeley June 10-11, 1993.
Information: tcl93@cs.berkeley.edu.
The 1993 Andrew Technical Conference and Consortium Annual Meeting will
be held June 24-25, 1993, in Pittsburgh. Information:
Wilfred.Hansen@cs.cmu.EDU.
The European X User Group holds an annual conference which typically
includes includes paper presentations and a vendor exhibit. EXUG'93, "X in the
Real World and Multimedia" will be held 9/16-9/17 at the Imperial College of
Science and Technology, London. Information: exug@demon.co.uk, niall@uit.co.uk
or p.whitehead@cc.ic.ac.uk, +44 (0) 223 426534, fax +44 (0) 223 420251.
The Motif show is held in Washington to coincide with the FedUnix and
the Federal Open Systems Conference (usually December). Information:
motif@fedunix.org or paller@fedunix.org, 301-229-1062, fax 301-229-1063.
The MIT X Technical Conference is typically held in January in Boston.
Registration information is available from registration@expo.lcs.mit.edu.
The XWorld Conference and Exhibition includes tutorials, panels,
presentations and vendor exhibits. It is typically held in March in New York
City.  Information: SIGS Publication Group at 212-274-9135.
Other trade shows -- UnixExpo, Uniforum, Siggraph -- show an increasing
presence of X, including tutorials and exhibits.
----------------------------------------------------------------------
Subject:   4)  What X-related public mailing lists are available?
The xpert mailing list is the general, public mailing list on X
maintained by the X Consortium. The mailings are gatewayed, so xpert is almost
identical to the comp.windows.x Usenet newsgroup.
***	If you get comp.windows.x, you don't need to 	***
***	be added to the xpert mailing list. 		***
Otherwise, you can join the list to receive X information
electronically. It is best to find a local distribution; perhaps someone within
your company is already receiving the mailing. As a last resort, send mail to
xpert-request@expo.lcs.mit.edu with a valid return electronic address.
The xannounce mailing list carries major X announcements, such as new
releases (including public patches from MIT), public reviews, adoption of
standards by the MIT X Consortium, and conference announcements.  It does NOT
carry advertisements, source code, patches, or questions.  If you already
receive the Usenet news group comp.windows.x.announce or the xpert mailing
list, you don't need to be added to the xannounce mailing list.  Otherwise, to
subscribe, send a request to xannounce-request@expo.lcs.mit.edu. Note: Only
redistribution addresses will be accepted for this list -- i.e. no personal
addresses. If you wish to receive xannounce yourself, please contact your mail
administrator to set up a local redistribution list and to put you on it.
comp.windows.x.apps is not gatewayed to a mailing list.
In addition, the X Consortium sponsors these public lists:
bug-clx         CLX bug reports and discussions
x-ada           X and ada
x11-3d          people interested in X and 3d graphics
ximage          people interested in image processing and X
xvideo          discussion of video extensions for X
To subscribe to one of these lists, assuming no-one in your
organization already receives it, send mail to <list>-request@expo.lcs.mit.edu
with the Subject line including the name of the LIST in caps and the request
"addition request".  In the body of the message be sure to give an address for
your local distribution which is accessible from MIT (eddie.mit.edu).
A mailing list for topics related to OPEN LOOK is sponsored by Greg
Pasquariello of Unify corporation; send to openlook-request@unify.com (or
openlook-request%unify@uunet.uu.net) for information.
A mailing list for bugs in the publicly-available version of XView
source, in particular, is sponsored by Sun; send for information to
xviewbug-trackers-request@sun.com.
A mailing list for topics related to Motif is sponsored by Kee Hinckley
of Alfalfa Software, Inc.; send to motif-request@alfalfa.com for information.
(This group is gatewayed to comp.windows.x.motif.)
A mailing list for topics related to the XPM pixmap-format is sponsored
by Arnaud Le Hors of Group Bull; send to xpm-talk-request@sa.inria.fr for
information. [1/91]
A mailing list discussing InterViews can be subscribed to by sending to
interviews-request@interviews.stanford.edu.
A mailing list (amiga-x11@nic.funet.fi) for topics related to the port
of X11 to the Amiga can be subscribed by sending to mailserver@nic.funet.fi a
message containing
Subject: Adding myself to AMIGA-X11
SUBS AMIGA-X11 Your Real Name
A mailing list discussing ParcPlace's (formerly Solbourne's) OI (Object
Interface) toolkit can be subscribed to at oi-users-requests@bbn.com.
A mailing list discussing multi-threaded Xlib can be subscribed to at
mt-xlib-request@xsoft.xerox.com.
----------------------------------------------------------------------
Subject:   5)  How can I meet other X developers?
O'Reilly and Associates sponsors a mailing list for the use of X user
group organizers; subscribe by sending to listserv@ora.com the message
"subscribe xgroups your@internet.address".
Local area X user's groups are listed in Issue 4 of O'Reilly's X
Resource journal; a list may also be available from xug@ics.com.
The French X User Group is called AFUX and is based in Sophia Antipolis
by CERICS. Information can be obtained from Miss Vasseur or Miss Forest; BP
148; 157, rue Albert Einstein; 06561 Valbonne Cedex; Phone: +33 93 95 45 00 /
45 01; Fax: +33 93 95 48 57.  [10/90]
The European X User Group was formed in 1989 to represent X users in
Europe.  It holds technical conferences at regular intervals. The EXUG also
publishes a regular newsletter which is distributed free of charge to members.
The EXUG also runs a email mailing list for members which is frequently used to
address issues of European interest in X. The EXUG can be contacted at
P.Whitehead@cc.ic.ac.uk, +44 (071) 225 8754, fax +44 (071) 823 9497.
GXUGiV is the German X User's Group in Vorbereitung ("in preparation")
being formed for X programmers and users; it is associated with the EXUG. All
interested should contact Olaf Heimburger (+49 30 7 79 54 64; and at
mcvax!unido!tub!olaf).
----------------------------------------------------------------------
Subject:   6)  What related FAQs are available?
Liam R. E. Quin (lee@sq.sq.com) posts a FAQ on Open Look to
comp.windows.open-look.
Jan Newmarch (jan@pandonia.canberra.edu.au) posts a FAQ on Motif to
comp.windows.x.motif.
Peter Ware (ware@cis.ohio-state.edu) posts a FAQ for
comp.windows.x.intrinsics; it is on export in contrib/FAQ-Xt.
Art Mulder (art@cs.ualberta.ca) posts to comp.windows.x a FAQ on
maximizing the performance of X.
Steve Kotsopoulos (steve@ecf.toronto.edu) posts to comp.windows.x a FAQ
about using X on Intel-based Unix systems.
The FAQ in alt.binaries.pictures contains information on viewing images
with X and on massaging image formats.
The FAQ in comp.mail.mh (gatewayed to MH-users@ics.uci.edu) includes a
section on xmh.
The FAQ in comp.lang.lisp contains information on several interface
tools and toolkits.
There exists a PEX/PHiGS FAQ.
----------------------------------------------------------------------
Subject:   7)  How do I ask a net-question so as to maximize helpful responses?
When asking for help on the net or X mailing lists, be sure to include
all information about your setup and what you are doing.  The more specific you
are, the more likely someone will spot an error in what you are doing.  Without
all the details, people who want to help you often have to guess -- if they are
able to respond at all.
Always mention what version of X you are using and where you got it
from. If your server came from a different source as the rest of your X system,
give details of that, too.  Give the machine type, operating system, and O/S
version for both the client and server machine.  It may also be appropriate to
mention the window manager, compiler, and display hardware type you are using.
Then tell exactly what you are doing, exactly what happens, and what
you expected/wanted to happen.  If it is a command that fails, include the
exact transcript of your session in the message.  If a program you wrote
doesn't work the way you expect, include as little of the source necessary
(just a small test case, please!) for readers to reproduce the problem.
----------------------------------------------------------------------
Subject:   8)  What publications discussing X are available?
The trade magazines (Unix World, Unix Review, Computer Language, etc.)
are publishing more articles on X.  Two X-specific publications include:
- O'Reilly and Associates publishes "The X Resource: A Practical
Journal of the X Window System" (103 Morris St. #A, Sebastapol, CA 95472).
Editorial information: Adrian Nye, adrian@ora.com.
- The X Journal is started bi-monthly publication September 1991 on a
variety of X topics. Subscription information: The X Journal, Subscriber
Services, Dept XXX, P.O. Box 3000, Denville, NJ 07834, USA. Editorial
information: editors%topgun@uunet.uu.net.
----------------------------------------------------------------------
Subject:   9)  What are these common abbreviations/acronyms?
Xt: The X Toolkit Intrinsics is a library layered on Xlib which
provides the functionality from which the widget sets are built. An "Xt-based"
program is an application which uses one of those widget sets and which uses
Intrinsics mechanisms to manipulate the widgets.
Xmu: The Xmu library is a collection of Miscellaneous Utility functions
useful in building various applications and widgets.
Xaw: The Athena Widget Set is the MIT-implemented sample widget set
distributed with X11 source.
Xm: The OSF/Motif widget set from the Open Software Foundation; binary
kits are available from many hardware vendors.
Xhp (Xw): The Hewlett-Packard Widget Set was originally based on R2++,
but several sets of patches exist which bring it up to R3, as it is distributed
on the X11R4 tapes. Supplemental patches are available to use it with R4/R5.
CLX: The Common Lisp X Interface is a Common Lisp equivalent to Xlib.
XDMCP: The X Display Manager Protocol provides a uniform mechanism for
a display such as an X terminal to request login service from a remote host.
XLFD: The X Logical Font Description Conventions describes a standard
logical font description and conventions to be used by clients so that they
can query and access those resources.
RTFM: Common expert-speak meaning "please locate and consult the
relevant documentation -- Read the Forgotten Manual".
UTSL: A common expression meaning "take advantage of the fact that you
aren't limited by a binary license -- Use The Source, Luke".
API: Application-Programmer Interface. The function calls, etc., in
a programming library.
BDF: Bitmap Distribution Format; a human-readable format for uncompiled
X fonts.
GUI: graphical user interface.
UIL: the User Interface Language, part of OSF/Motif which lets
programmers specify a widget hierarchy in a simple "outline" form
WCL: the Widget Creation Language, a package which extends the
understanding of the Xt resource format such that a widget hierarchy and
actions on the widgets can be specified through the resources file
GIL: the file format put out by Sun's OpenWindows Developers Guide 3.0
UIMS: User Interface Management System
----------------------------------------------------------------------
Subject:  10)  What is the ICCCM? (How do I write X-friendly applications?)
The Inter-Client Communication Conventions Manual is one of the
official X Consortium standards documents that define the X environment. It
describes the conventions that clients must observe to coexist peacefully with
other clients sharing the same server.  If you are writing X clients, you need
to read and understand the ICCCM,  in particular the sections discussing the
selection mechanism and the interaction between your client and the window
manager.  Get it either:
- as part of the R4 distribution from MIT
- in the later editions of the Scheifler/Gettys "X Window System" book
- as an appendix in the new version of O'Reilly's Volume 0, "X Protocol
Reference Manual." A version in old copies of their Volume 1 is obsolete.
The version in the Digital Press book is much more readable, thanks to
the efforts of Digital Press's editors to improve the English and the
presentation.
[from David Rosenthal, 10/90]
- the ICCCM was updated for R5; updates are published in O'Reilly's
"Programmer's Supplement for Release 5". The complete document is on the R5
tapes.
Alternate definition: the ICCCM is generally the M in "RTFM" and is
the most-important of the least-read X documents.
----------------------------------------------------------------------
Subject:  11)  What is the X Consortium, and how do I join?
The MIT X Consortium was formed in January of 1988 to further the
development of the X Window System and has as its major goal the promotion of
cooperation within the computer industry in the creation of standard software
interfaces at all layers in the X Window System environment.
MIT's role is to provide the vendor-neutral architectural and
administrative leadership required to make this work. Membership in the
Consortium open to any organization.  There are two categories of membership,
Member (for large organizations) and Affiliate (for smaller organizations).
Most of the Consortium's activities take place via electronic mail,
with meetings when required.  As designs and specifications take shape,
interest groups are formed from experts in the participating organizations.
Typically a small multi-organization architecture team leads the design, with
others acting as close observers and reviewers.  Once a complete specification
is produced, it may be submitted for formal technical review by the Consortium
as a proposed standard.  The standards process typically includes public
review (outside the Consortium) and a demonstration of proof of concept.
Your involvement in the public review process or as a Member or
Affiliate of the Consortium is welcomed.
Write to: Bob Scheifler, MIT X Consortium, Laboratory for Computer
Science, 545 Technology Square, Cambridge, MA 02139.
[For complete information see the XCONSORTIUM man page from the X11R4
distribution, from which this information is adapted.] [2/90]
----------------------------------------------------------------------
Subject:  12)  Just what are OPEN LOOK and Motif?
OPEN LOOK and Motif are two graphical user interfaces (GUIs). OPEN LOOK
was developed by Sun with help from AT&T and many industry reviewers; Motif was
developed by the Open Software Foundation (OSF) with input from many OSF
members.
OPEN LOOK is primarily a user-interface specification and style-guide;
there are several toolkits which can be used to produce OPEN LOOK applications.
Motif includes an API specification; the only sanctioned Motif toolkit is the
one from OSF. However, there are other toolkits which can be used to produce
programs which look and behave like OSF/Motif; one of these, ParcPlace's
(formerly Solbourne's) OI, is a "virtual toolkit" which provides objects in the
style of OPEN LOOK and Motif, at the user's choice.
OPEN LOOK GUI is also the name of a product from AT&T, comprising
their OPEN LOOK Intrinsics Toolkit and a variety of applications.
[Thanks to Ian Darwin, ian@sq.com, 5/91]
----------------------------------------------------------------------
Subject:  13)  Just what is OpenWindows?
Open Windows (3.0) is a Sun product that encompasses: a window system
that combines a NeWS and X11-compliant server (X/NeWS); a user-interface
specification (OPEN LOOK) and a series of toolkits that implement it (including
the SunView-like XView and the Xt-based OLIT); Xlib and Xt implementations; and
a number of utilities (olwm window manager, filemgr, shelltool, etc.).
[thanks to Frank Greco (fgreco@govt.shearson.COM), 8/90; 4/92]
----------------------------------------------------------------------
Subject:  14)  Just what is DECWindows?
DECWindows is a DEC product that encompasses: an X11 server; the XUI
toolkit, including the Dwt widget set and UIL; Xlib and Xt implementations; a
session manager; and a number of utilities (dxwm window manager, dxcalendar,
dxpsview, etc.).
(At some point Motif flavors of the toolkit and applications will be shipped.)
[8/90]
----------------------------------------------------------------------
Subject:  15)  What is PEX?
PEX is the "PHiGS Extension to X".
PHiGS stands for "Programmer's Hierarchical Interactive Graphics
System" and is essentially a library of functions that simplifies the creation
and manipulation of 3D graphics. Many platforms are capable of performing in
hardware the computations involved in rendering 3D objects; the extension
allows the client (PHiGS in this case) to take advantage of the specialized
hardware for 3D graphics.
Sun Microsystems is currently contracted to develop a freely
redistributable (copyright similar to the current X copyright) sample
implementation.  Source and documentation are available in the R5 release.
Several vendors are currently selling independently-developed PEX servers for
their workstations and X terminals.
[last modified 10/91]
----------------------------------------------------------------------
Subject:  16)  What is "low-bandwidth X" (LBX)? XRemote? PPP? SLIP? CSLIP?
There are several options for using X over serial lines:
SLIP - Serial Line IP; this is both a mechanism and a protocol for sending IP
packets over point-to-point serial links. It has been around for several years,
and implementations are available for many of the major TCP/IP implementations.
Most X Terminal vendors supply this as a checkoff item, although nobody really
ever uses it since it is horribly slow.  The TCP/IP headers add 40 bytes per
packet and the TCP/IP encoding of the X protocol is rather verbose (rightfully
so; it is optimized for packing and unpacking over high-speed links).
CSLIP - Compressed header SLIP; this is a variant of SLIP that compresses the
40 bytes of TCP/IP headers down to about 5 or 6 bytes.  It still doesn't do
anything about reencoding the X protocol.  Modems that do compression can help,
but they increase packet latency (it takes time to dribble the uncompressed
data through typical serial interfaces, plus the compression assembly time).
PPP - Point-to-Point Protocol; this is an emerging standard for point-to-point
links over serial lines that has a more complete set of option negotiation than
SLIP.  A growing number of people see the combination of PPP for the serial
line management and CSLIP for the header compression as becoming common for
running normal TCP/IP protocols over serial lines.  Running raw X over the wire
still needs compression somewhere to make it usable.
XRemote - this is the name of both a protocol and set of products originally
developed by NCD for squeezing the X protocol over serial lines.  In addition
to using a low level transport mechanism similar to PPP/CSLIP, XRemote removes
redundancies in the X protocol by sending deltas against previous packets and
using LZW to compress the entire data stream.  This work is done by either a
pseudo-X server or "proxy" running on the host or in a terminal server.  There
are several advantages to doing compression outside the modem:
(1)	You don't *have* to have compressing modems in there if you wouldn't
otherwise be using them (e.g. if you were going to be directly
connected), and
(2)	It reduces the I/O overhead by cutting down on the number of bytes that
have to cross the serial interface, and
(3)	In addition to the effects of #2, it reduces the latency in delivering
packets by not requiring the modem to buffer up the data waiting for
blocks to compress.
LBX - Low Bandwidth X; this is an X Consortium project that is working on a
standard for this area.  It is being chaired by NCD and Xerox and is using
NCD's XRemote protocol as a stepping stone in developing the new protocol.  LBX
will go beyond XRemote by adding proxy caching of commonly-used information
(e.g. connection setup data, large window properties, font metrics, keymaps,
etc.) and a more efficient encoding of the X protocol. The hope is to have a
Standard ready for public review in the first half of next year and a sample
implementation available in R6.
Additional technical information about how XRemote works and a few notes on how
LBX might be different are available via anonymous ftp from export.lcs.mit.edu
in contrib/ in the following files:
XRemote-slides.ps               slides describing XRemote
XRemote-LBX-diffs.ps            more slides describing some of LBX
[information provided by Jim Fulton, jim@ncd.com; 7/92]
There is also a set of slides on export from Jim Fulton's talk at
the 7th MIT X Technical Conference.
----------------------------------------------------------------------
Subject:  17)  TOPIC: USING X IN DAY-TO-DAY LIFE
----------------------------------------------------------------------
Subject:  18)! What are all these different window managers?
The window manager in X is just another client -- it is not part of the
X window system, although it enjoys special privileges -- and so there is
no single window manager; instead, there are many which support different ways
for the user to interact with windows and different styles of window layout,
decoration, and keyboard and colormap focus. In approximate chronological order
(generally, the more recent ones are more conformant with the ICCCM):
wm: this simple title-bar window manager was phased out in R2 or R3
uwm: the Universal Window Manager is still popular for its speed,
although it is very outdated. Moved to contrib/ on the R4 tape.
twm (old): Tom's Window Manager was among the first non-MIT window
managers and offered the user a great deal of customization options in a
re-parenting window manager.
awm: the Ardent Window Manager remains a hotbed for hackers and offers
some features (dynamic menus) not found on more current window managers
cwm: cwm is part of the Andrew system.
rtl: Siemen's window manager tiles windows so that they don't overlap
and resizes the window with the focus to its preferred size.
dxwm: Digital's dxwm is part of the DECwindows offering
hpwm: HP's window manager offers a 3D look; it is a precursor of mwm
mwm: the Motif window manager is part of the OSF/Motif toolkit
tekwm: Tektronix's window manager offering
olwm (Sun): olwm implements the OPEN LOOK GUI and some of the Style
Guide functionality
olwm (AT&T): ditto
gwm: Bull's Generic Window Manager emulates others with a built-in
Lisp interpreter. Version 1.7h (10/91) is on the R5 contrib tape; 1.7n is on
avahi.inria.fr and export.lcs.mit.edu. [3/93]
m_swm: the Sigma window manager is on the R4 tape
pswm: Sun's PostScript-based pswm is part of the OpenWindows release
swm: Solbourne's swm is based on the OI toolkit and offers multiple
GUI support and also a panned virtual window; configuration information comes
from the resources file
twm (new): MIT's new Tab Window Manager from the R4 tape is a reworked
twm and is the basis for several derivatives, including the one on the R5 tape
vtwm: vtwm offers some of the virtual-desktop features of swm, with a
single-root window implementation; it is based on the R4 twm and is available
on archive servers. A new version, vtwm-5.0, is based on R5.9 and is available
from export. [3/92]
tvtwm: Tom's Virtual Tab Window Manager is also based on the R4 twm
and provides a virtual desktop modeled on the virtual-root window of swm. It is
available on archive servers
olvwm: the vtwm-style virtual-desktop added to Sun's olwm. It is
available on archive servers; version 3.3 [1/93] is on export.
mvwm: the vtwm-style virtual-desktop added to OSF's mwm. A beta version
is floating around (most recently from suresh@unipalm.co.uk) but requires a
source license to OSF/Motif 1.1.3 [3/92].
NCDwm: the window manager local to NCD terminals offers an mwm look
XDSwm: the window manager local to Visual Technology's terminals
ctwm: Claude Lecommandeur's (lecom@sic.epfl.ch) modification of the R5
twm offers 32 virtual screens in the fashion of HP vuewm; source is on export.
Version 2.2.2 [2/93] also offers the window overview used in vtwm and tvtwm.
vuewm: HP's MWM-based window manager offers configurable workspaces.
4Dwm: SGI's enhanced MWM
piewm: this version of tvtwm offers pie menus
----------------------------------------------------------------------
Subject:  19)  Why does my X session exit when I kill my window manager (sic)?
It needn't.  What is probably happening is that you are running your
window manager as the last job in your .xsession or .xinitrc file; your X
session runs only as long as the last job is running, and so killing your
window manager is equivalent to logging out. Instead, run the window manager in
the background, and as the last job instead invoke something safe like:
exec xterm -name Login -rv -iconic
or any special client of your devising which exits on some user action.
Your X session will continue until you explicitly logout of this window,
whether or not you kill or restart your window manager.
----------------------------------------------------------------------
Subject:  20)  Can I save the state of my X session, like toolplaces does?
Although no known window manager directly supports such a feature --
which may be equivalent to writing out a .xinitrc or .xsession file naming the
geometry and WM_COMMAND of each application (but olvwm may have something
close) -- there is a contributed application which does much of what you are
looking for, although it is not as complete as the SunView program toolplaces.
Look for the application "xplaces" on an archive-server near you. There are
several versions of this program floating around; look for a recent vintage.
[10/90]
Some new pseudo session-managers such as HP's vuewm provide for the
saving of sessions including information on the geometry of currently-running
applications and the resource database.
[Bjxrn Stabell (bjoerns@staff.cs.uit.no); 3/93.]
----------------------------------------------------------------------
Subject:  21)  How do I use another window manager with DEC's session manager?
DEC's session manager will start dxwm up by default. To override this,
add to your .Xdefaults file something like this line, naming the full pathname:
sm.windowManagerName:   /wherever/usr/bin/X11/your_favorite_wm
----------------------------------------------------------------------
Subject:  22)  How do I change the keyboard auto-repeat rate?
You can turn auto-repeat on or off by using "xset r on|off". The X
protocol, however, doesn't provide for varying the auto-repeat rate, which is
a capability not supported by all systems.
Some servers running on systems that support this, however, may provide
command-line flags to set the rate at start-up time. If you have control over
server start-up (see the man pages for xinit and xdm), you can invoke the
server with the chosen settings; for example, you can start the Xsun server
from MIT with the options "-ar1 350 -ar2 30" to reduce the sensitivity of the
keyboard.
----------------------------------------------------------------------
Subject:  23)  How do I remap the keys on my keyboard to produce a string?
There is no method of arranging for a particular string to be
produced when you press a particular key. The xmodmap client, which is useful
for moving your CTRL and ESC keys to useful places, just rearranges keys and
does not do "macro expansion."
Some (few) clients, including xterm and several X-based editors,
accept a translation resource such as:
xterm*VT100.Translations: #override \
<Key>F1: string("setenv DISPLAY unix:0")
which permits the shorthand F1 to be pressed to reset the display locally
within an xterm; it takes effect for new xterm clients. To include control
characters in the string, use \nnn, where nnn is the octal encoding of the
control character you want to include.
Window managers, which could provide this facility, do not yet; nor
has a special "remapper" client been made available.
----------------------------------------------------------------------
David B. Lewis 					faq%craft@uunet.uu.net
"Just the FAQs, ma'am." -- Joe Friday
--
David B. Lewis		Temporarily at but not speaking for Visual, Inc.
day: dbl@visual.com	evening: david%craft@uunet.uu.net
From: dbl@visual.com (David B. Lewis)
Subject: comp.windows.x Frequently Asked Questions (FAQ) 2/5
Summary: useful information about the X Window System
Reply-To: faq%craft@uunet.uu.net (X FAQ maintenance address)
Organization: VISUAL, Inc.
Expires: Sun, 2 May 1993 00:00:00 GMT
Lines: 929
Archive-name: x-faq/part2
Last-modified: 1993/04/04
----------------------------------------------------------------------
Subject:  24)! How do I make a screendump or print my application?
The xwd client in the X11 distributions can be used to select a window
or the background. It produces an XWD-format file of the image of that window.
The file can be post-processed into something useful or printed with the xpr
client and your local printing mechanism. You can use this command:
csh% sleep 10; xwd -root > output.xwd &
and then spend 10 seconds or so setting up your screen; the entire current
display will be saved into the file output.xwd. Note that xwd also has an
undocumented (before R5) -id flag for specifying the window id on the
command-line. [There are also unofficial patches on export to xwd for
specifying the delay and the portion of the screen to capture.]
Two publicly-available programs which allow interactive definition of
arbitrary portions of the display and built-in delays are asnap and xgrabsc.
There are several versions of xgrabsc; version 2.2, available on export [8/92]
is the most recent.
xsnap includes some asnap features and supersedes it; it also renders
XPM output [version unknown]. It is available on export or avahi.inria.fr;
see xsnap-pl2.tar.Z.
A screen-dump and merge/edit program combining features of xwd and xpr
is available from vernam.cs.uwm.edu as xdump1.0.tar.Z. Information:
soft-eng@cs.uwm.edu.
xprint, by Alberto Accomazzi (alberto@cfa.harvard.edu) is available
from cfa0 (128.103.40.1) in xprint.export-2.1.tar.Z.
To post-process the xwd output of some of these tools, you can use xpr,
which is part of the X11 distribution. Also on several archives are xwd2ps
and XtoPS, which produce Encapsulated PostScript with trimmings suitable for
use in presentations (see export.lcs.mit.edu:contrib/xwd2ps.tar.Z and
contrib/ImageMagick.tar.Z). Also useful is the PBMPLUS package on many archive
servers; and the Xim package contains Level 2 color PostScript output.
The XV program can grab a portion of the X display, manipulate it, and
save it in one of the available formats. ImageMagick has similar capabilities.
Also:
Bristol Technology (info@bristol.com, 203-438-6969) offers Xprinter
2.0, an Xlib API for PostScript and PCL printers; a demo is on ftp.uu.net
in vendor/Bristol/Xprinter.
ColorSoft 9619-459-8500) offers OPENprint package includes a screen-
capture facility, image-processing, and support for PostScript and
non-PostScript printers.
Some vendors' implementations of X (e.g. DECWindows and OpenWindows)
include session managers or other desktop programs which include "print portion
of screen" or "take a snapshot" options. Some platforms also have tools which
can be used to grab the frame-buffer directly; the Sun systems, for example,
have a 'screendump' program which produces a Sun raster file. Some X terminals
have local screen-dump utilities to write PostScript to a local serial printer.
Some vendors' implementations of lpr (e.g. Sony) include direct
support for printing xwd files, but you'll typically need some other package
to massage the output into a useful format which you can get to the printer.
----------------------------------------------------------------------
Subject:  25)  How do I make a color PostScript screendump of the X display?
If you need color PostScript in particular, you can
- grab the screen-image using a program which can produce color
PostScript, such as xgrabsc and xv
- grab the screen-image using xwd and post-process xwd into color PS.
You can do this using xwd2ps or the XtoPS program from the ImageMagick
distribution. The PBMPLUS package is also good for this, as is the Xim package.
----------------------------------------------------------------------
Subject:  26)  How do I make a screendump including the X cursor?
This can't be done unless the X server has been extended. Consider
instead a system-dependent mechanism for, e.g.,  capturing the frame-buffer.
----------------------------------------------------------------------
Subject:  27)  How do I convert/view Mac/TIFF/GIF/Sun/PICT/img/FAX images in X?
The likeliest program is an incarnation of Jef Poskanzer's useful++
Portable Bitmap Toolkit, which includes a number of programs for converting
among various image formats. It includes support for many types of bitmaps,
gray-scale images, and full-color images. PBMPLUS has been updated recently;
the most recent version [12/91] is on export in contrib/pbmplus10dec91.tar.Z.
Another tool is San Diego Supercomputing Center's IMtools ('imconv' in
particular), which packages the functionality of PBM into a single binary.
It's available anonymous ftp from sdsc.edu (132.249.20.22).
Useful for viewing some image-formats is Jim Frost's xloadimage, a
version of which is in the R4 directory contrib/clients/xloadimage; there are
later versions available, including contrib/xloadimage.3.03.tar.Z on export.
Graeme Gill's updates to an earlier version of xloadimage are also on export;
see xli.README and xli.tar.Z.uu; version 1.14 was released 2/93.
xv (X Image Viewer), written by bradley@cis.upenn.edu (John Bradley),
can read and display pictures in Sun Raster, PGM, PBM, PPM, X11 bitmap, TIFF,
GIF and JPEG. It can manipulate on the images: adjust, color, intensity,
contrast, aspect ratio, crop). It can save images in all of the aforementioned
formats plus PostScript. It can grab a portion of the X display, manipulate on
it, and save it in one of the available formats. The program was updated 5/92;
see the file contrib/xv-2.21.tar.Z on export.lcs.mit.edu.
The Fuzzy Pixmap Manipulation, by Michael Mauldin <mlm@nl.cs.cmu.edu>.
Conversion and manipulation package, similar to PBMPLUS.  Version 1.0 available
via FTP as nl.cs.cmu.edu:/usr/mlm/ftp/fbm.tar.Z, uunet.uu.net:pub/fbm.tar.Z,
and ucsd.edu:graphics/fbm.tar.Z.
The Img Software Set, by Paul Raveling <raveling@venera.isi.edu>, reads
and writes its own image format, displays on an X11 screen, and does some image
manipulations.  Version 1.3 is available via FTP on expo.lcs.mit.edu as
contrib/img_1.3.tar.Z, along with large collection of color images.
The Utah RLE Toolkit is a conversion and manipulation package similar
to PBMPLUS.  Available via FTP as cs.utah.edu:pub/urt-*,
weedeater.math.yale.edu:pub/urt-*, and freebie.engin.umich.edu:pub/urt-*.
Xim, The X Image Manipulator, by Philip Thompson, does essential
interactive displaying, editing, filtering, and converting of images. There is
a version in the X11R4 contrib area; but a more recent version (using R4 and
Motif 1.1) is available from gis.mit.edu (18.80.1.118). Xim reads/writes gif,
xwd, xbm, tiff, rle, xim, (writes level 2 eps) and other formats and also has a
library and command-line utilities for building your own applications.
ImageMagick [2.3; 2/93] by cristy@dupont.com can be retrieved from
export's contrib area. It is a collection of utilities to transform and display
images on any X server. The tool uses the MIFF format; filters to and from MIFF
from other popular formats (PPM, TIFF, GIF, SUN Raster, etc) are included.
xtiff is a tool for viewing a TIFF file in an X window.  It was written
to handle as many different kinds of TIFF files as possible while remaining
simple, portable and efficient.  xtiff illustrates some common problems
with building pixmaps and using different visual classes.  It is distributed
as part of Sam Leffler's libtiff package and it is also available on
export.lcs.mit.edu, uunet.uu.net and comp.sources.x. [dbs@decwrl.dec.com,10/90]
xtiff 2.0 was announced in 4/91; it includes Xlib and Xt versions.
A version of Lee Iverson's (leei@McRCIM.McGill.EDU) image-viewing tool
is available as contrib/vimage-0.9.3.tar.Z on export.lcs.mit.edu.  The package
also includes an ImageViewPort widget and a FileDialog widget. [12/91;5/92]
[some material from Larry Carroll (larryc@poe.jpl.nasa.gov), 5/91]
----------------------------------------------------------------------
Subject:  28)  How can I change the titlebar of my xterm window?
The solution involves sending an escape sequence to xterm which will
cause it to update the property which the window manager relies upon for the
string which appears in the window titlebar.
A solution is as easy as typing this in an xterm running a shell:
echo "ESC]2;TEXT^G"
where ESC is the escape key, TEXT is the string you wish to have displayed,
and ^G is a Control-G (the BEL character).
Here is a more complicated csh alias which changes the titlebar to
the current working directory when you change directories:
alias newcd 'cd \!*; echo -n ESC]2\;$cwd^G'
The digit '2' in these strings indicates to xterm that it should
change only the title of the window; to change both the title and the name
used in the icon, use the digit '0' instead, and use '1' to change only the
icon name.
Note: another way to do this, which prevents an incorrect display of
the local directory if a modified `cd` is used in a subshell, is to wrap the
escape sequences into the PS1 prompt itself.
Note: on an IBM RS/6000 is may be necessary to begin the sequence with
a ^V.
----------------------------------------------------------------------
Subject:  29)  Where can I find the xterm control sequences?
The best source of such information is in your R5 sources in the file
ctlseqs.ms; a PostScript version is in mit/hardcopy/clients/ctlseqs.PS.Z.
O'Reilly's Volume 3, the X User's Guide, includes an R5 version of the control
sequences; the standard volume will be available 3/93, and a Motif version of
the book is available now. The current (R4) guide includes an outdated version
of the control sequences. [1/93]
Other good sources of information include the R4 version of that document
and also the file in the R4 sources called mit/clients/xterm/ctlseq2.txt, a
compilation put together by Skip Montanaro (GE CR&D) listing the VT100
sequences. It dates from R3 but is fairly accurate.  A hardcopy version was
published in the December 1989 XNextEvent (the XUG newsletter).
In a pinch, a VT100 manual will do.
[last updated 10/91]
----------------------------------------------------------------------
Subject:  30)- Why does the R3 xterm, et al, fail against the R4 server?
----------------------------------------------------------------------
Subject:  31)  How can I use characters above ASCII 127 in xterm ?
In order to use special characters such as the o-umlaut, you need to
"stty pass8" but also to use a charcell ISO8859 font, such as
XTerm*font: 	-*-*-medium-r-normal-*-*-130-*-*-c-*-iso8859-1
XTerm*boldfont:	-*-*-bold-r-normal-*-*-130-*-*-c-*-iso8859-1
[The family is intentionally unspecified in this example.]
In addition, you may want to set this in your shell:
setenv LC_CTYPE iso_8859_1
For a given character above 127, you can determine the key to use with
the Alt modifier by finding the equivalent character below 127 (try using
`man ascii`). For example, o-umlaut (v) is Alt-v and the section character (')
is Alt-'.
[thanks to Greg Holmberg (greg%thirdi@uunet.uu.net) and Stephen Gildea
(gildea@expo.lcs.mit.edu); 6/92]
----------------------------------------------------------------------
Subject:  32)  Why are my xterm menus so small?
You are probably setting the geometry small accidentally. If you give
a resource specification like this:
xterm*geometry: 80x24
then you are asking for all widgets under xterm to have their geometry set to
80x24. For the main window, this is OK, as it uses characters for its size.
But its popup menus don't; they are in pixels and show up small. To set only
the terminal widget to have the specified geometry, name it explicitly:
xterm*VT100.geometry: 80x24
----------------------------------------------------------------------
Subject:  33)  How can I print the current selection?
You could paste it into an xterm after executing the lpr command.
However, a program by Richard Hesketh (rlh2@ukc.ac.uk) specifically for
manipulating the selection will help; e.g.
% xselection PRIMARY | lpr
finds the primary selection and prints it. This command can be placed in a
window-manager menu or in shell-scripts. xselection also permits the setting of
the selection and other properties. A version is on export.
Also available is ria.ccs.uwo.ca:pub/xget_selection.tar.Z, which can be
adapted to do this.
----------------------------------------------------------------------
Subject:  34)  How does Xt use environment variables in loading resources?
You can use several environment variables to control how resources are
loaded for your Xt-based programs -- XFILESEARCHPATH, XUSERFILESEARCHPATH, and
XAPPLRESDIR.  These environment variables control where Xt looks for
application-defaults files as an application is initializing.  Xt loads at most
one app-defaults file from the path defined in XFILESEARCHPATH and another from
the path defined in XUSERFILESEARCHPATH.
Set XFILESEARCHPATH if software is installed on your system in such a
way that app-defaults files appear in several different directory hierarchies.
Suppose, for example, that you are running Sun's Open Windows, and you also
have some R4 X applications installed in /usr/lib/X11/app-defaults. You could
set a value like this for XFILESEARCHPATH, and it would cause Xt to look up
app-defaults files in both /usr/lib/X11 and /usr/openwin/lib (or wherever your
OPENWINHOME is located):
setenv XFILESEARCHPATH /usr/lib/X11/%T/%N:$OPENWINHOME/lib/%T/%N
The value of this environment variable is a colon-separated list of pathnames.  The pathnames contain replacement characters as follows (see
XtResolvePathname()):
%N      The value of the filename parameter, or the
application's class name.
%T      The value of the file "type".  In this case, the
literal string "app-defaults"
%C      customization resource (R5 only)
%S      Suffix.  None for app-defaults.
%L      Language, locale, and codeset (e.g. "ja_JP.EUC")
%l      Language part of %L  (e.g. "ja")
%t      The territory part of the display's language string
%c      The codeset part of the display's language string
Let's take apart the example.  Suppose the application's class name is
"Myterm". Also, suppose Open Windows is installed in /usr/openwin. (Notice the
example omits locale-specific lookup.)
/usr/lib/X11/%T/%N        means /usr/lib/X11/app-defaults/Myterm
$OPENWINHOME/lib/%T/%N    means /usr/openwin/lib/app-defaults/Myterm
As the application initializes, Xt tries to open both of the above
app-defaults files, in the order shown.  As soon as it finds one, it reads it
and uses it, and stops looking for others.  The effect of this path is to
search first in /usr/lib/X11, then in /usr/openwin.
Let's consider another example. This time, let's set
XUSERFILESEARCHPATH so it looks for the file Myterm.ad in the current working
directory, then for Myterm in the directory ~/app-defaults.
setenv XUSERFILESEARCHPATH ./%N.ad:$HOME/app-defaults/%N
The first path in the list expands to ./Myterm.ad.  The second expands
to $HOME/app-defaults/Myterm.  This is a convenient setting for debugging
because it follows the Imake convention of naming the app-defaults file
Myterm.ad in the application's source directory, so you can run the application
from the directory in which you are working and still have the resources loaded
properly.  NOTE: when looking for app-default files with XUSERFILESEARCHPATH,
for some  bizarre reason, neither the type nor file suffix is defined so %T and
%S are useless.
With R5, there's another twist.  You may specify a customization
resource value.  For example, you might run the "myterm" application like this:
myterm -xrm "*customization: -color"
If one of your pathname specifications had the value
"/usr/lib/X11/%T/%N%C" then the expanded pathname would be
"/usr/lib/X11/app-defaults/Myterm-color" because the %C substitution character
takes on the value of the customization resource.
The default XFILESEARCHPATH, compiled into Xt, is:
/usr/lib/X11/%L/%T/%N%C:\  (R5)
/usr/lib/X11/%l/%T/%N%C:\  (R5)
/usr/lib/X11/%T/%N%C:\     (R5)
/usr/lib/X11/%L/%T/%N:\
/usr/lib/X11/%l/%T/%N:\
/usr/lib/X11/%T/%N
(Note: some sites replace /usr/lib/X11 with a ProjectRoot in
this batch of default settings.)
The default XUSERFILESEARCHPATH, also compiled into Xt, is
<root>/%L/%N%C:\  (R5)
<root>/%l/%N%C:\  (R5)
<root>/%N%C:\     (R5)
<root>/%L/%N:\
<root>/%l/%N:\
<root>/%N:
<root> is either the value of XAPPLRESDIR or the user's home directory
if XAPPLRESDIR is not set.  If you set XUSERFILESEARCHPATH to some value other
than the default, Xt ignores XAPPLRESDIR altogether.
Notice that the quick and dirty way of making your application find
your app-defaults file in your current working directory is to set XAPPLRESDIR
to ".", a single dot.  In R3, all this machinery worked differently; for R3
compatibilty, many people set their XAPPLRESDIR value to "./", a dot followed
by a slash.
[Thanks to Oliver Jones (oj@world.std.com); 2/93.]
----------------------------------------------------------------------
Subject:  35)  How to I have the R4 xdm put a picture behind the log-in window?
The answer lies in changing xdm's xrdb resource in the xdm-config file to run a
program to change the background before loading the resources; for example,
your /usr/lib/X11/xdm/xdm-config file may add the line
DisplayManager.0.authorize: false
to permit unrestricted access to the display before log-in (beware!) and also
DisplayManager*xrdb:	/usr/lib/X11/xdm/new.xrdb
where that file does something (for all connections) along the lines of:
#!/bin/sh
#comes in with arguments: -display :0 -load /usr/lib/X11/xdm/Xresources
/usr/bin/X11/xsetroot -display $2 -bitmap /usr/lib/X11/xdm/new.bitmap
/usr/bin/X11/xrdb $*
Substitute xloadimage or xv for xsetroot, to taste.  Note that this is a
general hack that can be used to invoke a console window or any other client.
[Thanks to Jay Bourland (jayb@cauchy.stanford.edu), 9/91]
----------------------------------------------------------------------
Subject:  36)  Why isn't my PATH set when xdm runs my .xsession file?
When xdm runs your .xsession it doesn't source your .cshrc or .login
files. You can set the path explicitly as you normally could for any SH script;
or you can place all environment-setting statements in a separate file and
source it from both the .xsession file and your shell configuration file; or,
if you set your PATH in your .cshrc file, the normal place, you can make your
.xsession have PATH set simply by making it a csh script, i.e. by starting
your .xsession file off with "#!/bin/csh".
If this doesn't work, also try starting off with:
#!/bin/sh
# Reset path:
PATH=`csh -c 'echo $PATH'` ; export PATH
----------------------------------------------------------------------
Subject:  37)  How do I keep my $DISPLAY when I rlogin to another machine?
There are several ways to avoid having to do a "setenv DISPLAY ..."
whenever you log in to another networked UNIX machine running X.
One solution is to use the clients/xrsh on the R5 contrib tape.  It
includes xrsh, a script to start an X application on remote machine, and
xrlogin, a script to start a local xterm running rlogin to a remote machine.
A more recent version is on export in xrsh-5.4.shar.
One solution is to use the xrlogin program from der Mouse
(mouse@larry.mcrcim.mcgill.edu). You can ftp caveat-emptor versions from
132.206.1.1, in X/xrlogin.c and X/xrlogind.c. The program packages up $TERM and
$DISPLAY into a single string, which is stuffed into $TERM.  rlogin then
propagates $TERM normally; your .cshrc on the remote machine should contain
eval `xrlogind`
where xrlogind is a program that checks $TERM and if it is of the special
format it recognizes, unpacks it and spits out setenv and unsetenv commands to
recreate the environment variables. [11/90]
In addition, if all you need to do is start a remote X process on
another host, and you find
rsh <HOST> -n /usr/bin/X11/xterm -display $DISPLAY
too simple (DISPLAY must have your real hostname), then this version of xrsh
can be used to start up remote X processes. The equivalent usage would be
xrsh <HOST> xterm
#! /bin/sh
# start an X11 process on another host
# Date: 8 Dec 88 06:29:34 GMT
# From: Chris Torek <chris@mimsy.umd.edu>
# rsh $host -n "setenv DISPLAY $DISPLAY; exec $@ </dev/null >&/dev/null"
#
# An improved version:
# rXcmd (suggested by John Robinson, jr@bbn.com)
#       (generalized for sh,ksh by Keith Boyer, keith@cis.ohio-state.edu)
#
# but they put the rcmd in ()'s which left zombies again.  This
# script combines the best of both.
case $# in
[01])  echo "Usage: $0 host x-cmd [args...]";;
*)
case $SHELL in
*csh*)  host="$1"; shift
xhost "$host" > /dev/null
rsh "$host" -n \
"setenv TERM xterm; setenv DISPLAY `hostname`:0; \
exec $* </dev/null >& /dev/null" &
;;
*sh)
host="$1"; shift
xhost "$host" > /dev/null
rsh "$host" -n \
"TERM=xterm export TERM; \
DISPLAY=`hostname`:0 export DISPLAY; \
LD_LIBRARY_PATH=/usr/X11/lib export LD_LIBRARY_PATH; \
PATH=\$PATH:/usr/X11/bin:/usr/bin/X11:/usr/local/bin; \
export PATH; \
exec $* < /dev/null > /dev/null 2>&1" &
;;
esac
;;
esac
----------------------------------------------------------------------
Subject:  38)  How can I design my own font?
One way is to use the "bitmap" client or some other bitmap-editor (e.g.
Sun's icon-editor tool, post-processed with pbmplus) to design the individual
characters and then to do some large amount of post-processing to concatenate
them into the BDF format. See Ollie Jones's article in the November 91 X
Journal for more information.
The R3 contrib/ area (in fonts/utils/ and in clients/xtroff) contained
a number of useful utilities, including some to convert between BDF font format
and a simple character format which can be edited with any text editor.
An easier way is to use the "xfed" client to modify an existing font; a
version is on the R4 or R5 X11R5 contrib tape in contrib/clients/xfed. Xfed is
available for anonymous ftp on ftp.Informatik.Uni-Dortmund.DE [129.217.64.63],
possibly as file /pub/windows/X/Diverse-X11-Sourcen/xfed.tar.Z. It can produce
BDF-format fonts which can be compiled for a variety of X servers.
The xfedor client from Group Bull permits creation of bitmaps, cursors,
XPM1 pixmaps, and fonts. Binaries for common machines are on avahi.inria.fr in
/pub; in addition, the sources (an old Xlib implementation) have been placed
[5/91] in export:/contrib.
If you are a MetaFont user you can use "mftobdf" from the SeeTeX
distribution to convert PK, GF, and PXL fonts to BDF format; the distribution
is on ftp.cs.colorado.edu and on export.lcs.mit.edu.
The GNU package fontutils-0.4.tar.Z on prep.ai.mit.edu includes xbfe,
a font editor, and a number of utilities for massaging font formats.
The O'Reilly X Resource issue #2 contains an article on using these
tools to modify a font.
Fonts can be resized with Hiroto Kagotani's bdfresize; a new version is
in ftp.cs.titech.ac.jp:/X11/contrib.
----------------------------------------------------------------------
Subject:  39)  Why does adding a font to the server not work (sic)?
After you have built the font using your system's font-compiler,
installed it in some directory, and run `mkfontdir` or your system's equivalent
(e.g. bldfamily for OpenWindows) in that directory, be sure to use `xset +fp
$dir` to add that full path-name to the server's font-path, *or* if the
directory is already in the path, use `xset fp rehash` so that the new fonts in
that directory are actually found; it is this last step that you're probably
leaving out. (You can also use `xset q` to make sure that that directory is in
the path.)
Sometimes your "xset +fp $dir" command fails with a BadValue error:
X Error of failed request:BadValue
(integer parameter out of range for operation)
Major opcode of failed request:  51 (X_SetFontPath)
This means the X server cannot find or read your font directory, or
that your directory does not look like a font directory to the server.  (The
mention of an "integer parameter" in the message is spurious.)
-- Is the font directory you're specifying readable from the SERVER's file
system?  Remember, it's the server, not the client, which interprets your
font directory.  Trouble in this area is especially likely when you issue an
xset command with shell metacharacters in it (e.g. "xset +fp ~/myfonts") and
the server is an X terminal or managed by xdm.
-- Is the directory really a font directory?  If you're running an MIT server
(or most varieties of vendor servers) look in the directory for the file
"fonts.dir".  If you can't find that file, run mkfontdir(1).  (If you're
running OpenWindows, look for the file "Families.list".  If you can't find
it, run bldfamily(1).)
-- If you're in a site where some people run X11Rn servers and others run a
proprietary server with nonstandard font formats (OpenWindows, for
example), make sure the font directory is right for the server you're using.
Hint: if the directory contains .pcf and/or .snf files, it won't work for
Open Windows.  If the directory contains .ff and/or .fb files, it won't work
for X11Rn.
[thanks to der Mouse (mouse@larry.mcrcim.mcgill.edu) and to Oliver Jones
(oj@pictel.com); 7/92 ]
----------------------------------------------------------------------
Subject:  40)  How do I convert a ".snf" font back to ".bdf" font?
A tool called "snftobdf 1.4" is part of the bdftools package, which is
available from export.lcs.mit.edu:contrib/bdftools.tar.Z and from
crl.nmsu.edu:pub/misc/bdftools.tar.Z.  [2/91]
----------------------------------------------------------------------
Subject:  41)  What is a general method of getting a font in usable format?
der Mouse's getbdf is one solution; it connects to a server and
produces a .BDF file for any font the server is willing to let it.  It can be
used as an anything-to-BDF converter, but requires access to a server that can
understand the font file, thus is both more and less powerful than other tools
such as snftobdf. getbdf is on 132.206.1.1 in X/getbdf.c or available via mail
from mouse@larry.McRCIM.McGill.EDU. [5/91]
In addition, the R5 program "fstobdf" can produce bdf for any font that
the R5 server has access to.
----------------------------------------------------------------------
Subject:  42)  How do I use DECwindows fonts on my non-DECwindows server?
The DECwindows fonts typically don't exist on a non-DEC installation,
but rewrite rules can be used to alias fonts used by DECwindows applications to
standard MIT fonts of similar characteristics and size. Pick up the file
contrib/DECwindows_on_X11R4_font.aliases from export.lcs.mit.edu; this file is
for a standard MIT R4 server.  It can also serve as a starting point for
creating a similar aliases file for the Open Windows server or other servers
which do not use the MIT font scheme.
----------------------------------------------------------------------
Subject:  43)  How do I add ".bdf" fonts to my DECwindows server?
The format of fonts preferred by DEC's X server is the ".pcf" format.
You can produce this compiled format from the .bdf format by using DEC's dxfc
font-compiler. Note that the DEC servers can also use raw .bdf fonts, with a
performance hit.
----------------------------------------------------------------------
Subject:  44)! How can I set backgroundPixmap in a defaults file? (What is XPM?)
I want to be able to do something like this:
xclock*backgroundPixmap:      /usr/include/X11/bitmaps/rootweave
You can't do this. The backgroundPixmap resource is a pixmap of the
same depth as the screen, not a bitmap (which is a pixmap of depth 1). Because
of this, writing a generic String to Pixmap converter is impossible, since
there is no accepted convention for a file format for pixmaps. Therefore,
neither the X Toolkit or the Athena widget set define a String to Pixmap
converter, because there is no converter you cannot specify this value as a
resource.  The Athena widget set does define a String to Bitmap converter for
use in many of its widgets, however.
[courtesy Chris D. Peterson (now kit@ics.com), 4/90]
However:
A specific converter which encapsulates much of the functionality of
the xloadimage package by Jim Frost was posted 12/90 by Sebastian Wangnick
(basti@unido.informatik.uni-dortmund.de); it permits loading of a number of
image formats as a pixmap.
The leading general-purpose format for pixmaps is the XPM format used
by Groupe Bull in several of its programs, including the GWM window manager, by
AT&T in its olpixmap editor, and by ICS in its interface builder. XPM
distribution, available on export as contrib/xpm.tar.Z, includes read/write
routines which can easily be adapted to converters by new widgets which want to
allow specification of pixmap resources in the above manner.  See information
on the xpm-talk mailing list above. XPM 3.0f was announced in 3/93 and is
available from export.lcs.mit.edu and avahi.inria.fr; an older version is on
the R5 contrib tape. [A set of XPM icons collected by Anthony Thyssen
(anthony@kurango.cit.gu.edu.au) is on export in contrib/AIcons.]
----------------------------------------------------------------------
Subject:  45)  Why can't I override translations? Only the first item works.
You probably have an extra space after the specification of the first
item, like this:
basic*text.translations:  #override \
Ctrl<Key>a:    beginning-of-line() \n\
Ctrl<Key>e:    end-of-line()
^ extra space
The newline after that space is ending the translation definition.
[Thanks to Timothy J. Horton, 5/91]
----------------------------------------------------------------------
Subject:  46)  How can I have xclock or oclock show different timezones?
One solution is xchron, in Volume 6 of comp.sources.x, which can show
the time for timezones other than the local one.
Alternatively, you can probably set the timezone in the shell from
which you invoke the xclock or oclock, or use a script similar to this:
#!/bin/sh
TZ=PST8PDT xclock -name "San_Luis_Obispo_CA" 2> /dev/null &
TZ=EST5EDT xclock -name "King_Of_Prussia_PA" 2> /dev/null &
----------------------------------------------------------------------
Subject:  47)  I have xmh, but it doesn't work. Where can I get MH?
The xmh mail-reader requires the Rand MH mail/message handling system,
which is not part of the UNIX software distribution for many machines. A list
of various ftp, uucp, e-mail and US-mail sites for both xmh and MH is given in
the monthly MH FAQ; one source is ics.uci.edu in the file pub/mh/mh-6.7.tar.Z.
If you do not receive the comp.mail.mh newsgroup or the MH-users mailing list,
you can request a copy of the FAQ, which also includes a section on xmh,
by sending mail to mail-server@pit-manager.mit.edu containing the request
"send usenet/news.answers/mh-faq".
----------------------------------------------------------------------
Subject:  48)  Why am I suddenly unable to connect to my Sun X server?
After a seemingly random amount of time after the X server has been started, no
other clients are able to connect to it.
The default cron cleanup jobs supplied by Sun (for 4.0.3, at least)
delete "old" (unreferenced) files from /tmp -- including /tmp/.X11-unix, which
contains the socket descriptor used by X. The solution is to add "! -type s" to
the find exclusion in the cron job.
[10/90]
----------------------------------------------------------------------
Subject:  49)  Why don't the R5 PEX demos work on my mono screen?
The R5 sample server implementation works only on color screens, sorry.
----------------------------------------------------------------------
Subject:  50)! How do I get my Sun Type-[45] keyboard fully supported by Xsun?
Many users wants the Num Lock key to light the Num Lock LED and have the
appropriate effect on the numeric keypad. The Xsun server as distributed by MIT
doesn't do this but there are two different patches available.
The first patch is written by Jonathan Lemon and fixes the Num Lock related
problems. It is available from export.lcs.mit.edu in the file
contrib/Xsun-R5.numlock_patch.Z .
The second is written by Martin Forssen and fixes the Num Lock and Compose keys
and adds support for the different national keyboard layouts for Type-4 and
Type-5 keyboards. This patch is available from export.lcs.mit.edu in
contrib/sunkbd1216-0314.tar.Z or via email from maf@dtek.chalmers.se.
[thanks to Martin Forssen (maf@dtek.chalmers.se or maf@math.chalmers.se), 8/92]
A set of patches by William Bailey (dbgwab@arco.com) was posted to newsgroups
11/92 to provide support for the Type-5 keyboard.
----------------------------------------------------------------------
Subject:  51)  How do I report bugs in X?
Generally, report bugs you find to the organization that supplied you
with the X Window System. If you received the R5 source distribution directly
from MIT, please read the file mit/bug-report for instructions. [Look in
mit/doc/bugs/bug-report in R4.]
[Thanks to Stephen Gildea <gildea@expo.lcs.mit.edu>, 5/91; 12/91]
----------------------------------------------------------------------
Subject:  52)  Why do I get "Warning: Widget class version mismatch"?
This error, which typically goes on to say, "widget 11004 vs.
intrinsics 11003" indicates that the header files you included when building
your program didn't match the header files that the Xt library you're linking
against was built with; check your -I include path and -L link-path to be sure.
However, the problem also occurs when linking against a version of the
X11R4 Xt library before patch 10; the version number was wrong. Some Sun OW
systems, in particular, were shipped with the flawed version of the library,
and applications which link against the library typically give the warnings you
have seen.
----------------------------------------------------------------------
Subject:  53)  Where can I find a dictionary server for xwebster?
Webster's still owns the copyright to the on-line copies of Webster's
Dictionary which are found at various (university) sites. After it became aware
that these sites were then acting as servers for other sites running xwebster
and gnuemacs-webster, it asked that server sites close off external access.
[The NeXT machine apparently is also licensed to have the dictionary. A
Webster daemon for NeXT machines is available from iuvax.cs.indiana.edu
(129.79.254.192) in "pub/webster/NeXT-2.0".]
Unless you want to get a legal on-line copy yourself or can find a site
which can grant you access, you are probably out of luck.
However, if you are a legitimate site, you'll want to pick up the
latest xwebster, as-is on export:contrib/xwebster.tar.Z [10/91]; the file
xwebster.README includes discussions of the availability, illegality, and
non-availability of dictionary servers.
[courtesy steve@UMIACS.UMD.EDU (Steve Miller) and mayer@hplabs.hp.com (Niels
Mayer) 11/90]
----------------------------------------------------------------------
Subject:  54)  TOPIC: OBTAINING X AND RELATED SOFTWARE AND HARDWARE
----------------------------------------------------------------------
Subject:  55)  Is X public-domain software?
No. The X software is copyrighted by various institutions and is not
"public domain", which has a specific legal meaning. However, the X
distribution is available for free and can be redistributed without fee.
Contributed software, though, may be placed in the public domain by
individual authors.
----------------------------------------------------------------------
Subject:  56)  How compatible are X11R3, R4, and R5? What changes are there?
The Release Notes for each MIT release of X11 specify the changes from the
previous release.  The X Consortium tries very hard to maintain compatibility
across releases.  In the few places where incompatible changes were necessary,
details are given in the Release Notes.  Each X11 distribution site on the
network also offers the Release Notes that go with the release they offer; the
file typically can be found at the top of the distribution tree.
[Stephen Gildea, 1/92]
The comp.windows.x.intrinsics FAQ-Xt lists Xt differences among these versions.
----------------------------------------------------------------------
Subject:  57)! Where can I get X11R5 (source and/or binaries)?
Information about MIT's distribution of the sources on 6250bpi and QIC-24 tape
and its distribution of hardcopy of the documents is available from
Software Center, Technology Licensing Office, Massachusetts Institute of
Technology, 28 Carleton Street, Room E32-300, Cambridge MA 02142-1324,
phone: 617-258-8330.
You will need about 100Mb of disk space to hold all of Core and 140MB to hold
the Contrib software donated by individuals and companies.
PLEASE use a site that is close to you in the network.
Note that the RELEASE notes are generally available separately in the same
directory; the notes list changes from previous versions of X and offer a
guide to the distribution.
North America anonymous FTP:
California	gatekeeper.dec.com		pub/X11/R5
16.1.0.2
California	soda.berkeley.edu		pub/X11R5
128.32.131.179
Indiana		mordred.cs.purdue.edu		pub/X11/R5
128.10.2.2
Maryland	ftp.brl.mil			pub/X11R5
128.63.16.158
(good for MILNET sites)
Massachusetts	crl.dec.com			pub/X11/R5
192.58.206.2
Massachusetts	export.lcs.mit.edu		pub/R5
18.24.0.12
(crl.dec.com is better)
Michigan	merit.edu			pub/X11R5
35.1.1.42
Missouri	wuarchive.wustl.edu		packages/X11R5
128.252.135.4
Montana		ftp.cs.montana.edu		pub/X.V11R5
192.31.215.202
New Mexico	pprg.eece.unm.edu		pub/dist/X11R5
129.24.24.10
New York	azure.acsu.buffalo.edu		pub/X11R5
128.205.7.6
North Carolina	cs.duke.edu			dist/sources/X11R5
128.109.140.1
Ohio		ftp.cis.ohio-state.edu		pub/X.V11R5
128.146.8.52
Ontario		ftp.cs.utoronto.ca		pub/X11R5
128.100.1.105
Washington DC	x11r5-a.uu.net			X/R5
192.48.96.12
Washington DC	x11r5-b.uu.net			X/R5
137.39.1.12
Europe/Middle East/Australia anonymous FTP:
Australia	munnari.oz.au			X.V11/R5
128.250.1.21
Denmark		freja.diku.dk			pub/X11R5
129.142.96.1
United Kingdom	src.doc.ic.ac.uk		graphics/X.V11R5
146.169.3.7
hpb.mcc.ac.uk			pub/X11r5
130.88.200.7
Finland		nic.funet.fi			pub/X11/R5
128.214.6.100
France		nuri.inria.fr			X/X11R5
128.93.1.26
Germany		ftp.germany.eu.net		pub/X11/X11R5
192.76.144.129
Israel		cs.huji.ac.il			pub/X11R5
132.65.6.5
Italy		ghost.sm.dsi.unimi.it		pub/X11R5
149.132.2.1
Netherlands	archive.eu.net			windows/X/R5
192.16.202.1
Norway		ugle.unit.no			pub/X11R5
129.241.1.97
Norway		nac.no				pub/X11R5
129.240.2.40
Switzerland	nic.switch.ch			software/X11R5
130.59.1.40
Japan anonymous FTP:
Kanagawa	sh.wide.ad.jp			X11R5
133.4.11.11
Kwansai		ftp.ics.osaka-u.ac.jp		X11R5
133.1.12.30
Kyushu		wnoc-fuk.wide.ad.jp		X11R5
133.4.14.3
TISN		utsun.s.u-tokyo.ac.jp		X11R5
133.11.11.11
Tokyo		kerr.iwanami.co.jp		X11R5
133.235.128.1
Tokyo		scslwide.sony.co.jp		pub/X11R5
133.138.199.1
UUCP:
uunet		for UUNET customers		~/X/R5
decwrl		existing neighbors only		~/pub/X11/R5
osu-cis						~/X.V11R5
(not online until ~ 9 Sept)
utai		existing neighbors only		~/ftp/pub/X11R5
hp4nl		Netherlands only		~uucp/pub/windows/X/R5
NFS:
Missouri	wuarchive.wustl.edu		/archive/packages/X11R5
128.252.135.4			mount point: /archive
AFS:
Pennsylvania	/afs/grand.central.org/pub/X11R5
NIFTP (hhcp, cpf, fcp, ...):
United Kingdom	uk.ac.ic.doc.src		<X.V11R5>
00000510200001
user "guest"
anon FTAM:
United Kingdom	000005102000 (Janet)		X.V11R5
146.169.3.7 (Internet)
204334504108 (IXI)
ACSNet:
Australia	munnari.oz (fetchfile)		X.V11/R5
Please fetch only one file
at a time, after checking
that a copy is not available
at a closer site.
[9/2/91; updated for contrib 10/91]
Anyone in Europe can get a copy of the MIT X.V11R5 distribution, including
the core and contributed software and all official patches, free of charge.
The only requirement is to agree to return the tapes, or equivalent new tapes.
Only QIC and TK format cartridges can be provided.  Contact: Jamie Watson,
Adasoft AG, Nesslerenweg 104, 3084 Wabern, Switzerland.
Tel: +41 31 961.35.70 or +41 62 61.41.21; Fax: +41 62 61.41.30; jw@adasoft.ch.
UK sites can obtain X11 through the UKUUG Software Distribution Service, from
the Department of Computing, Imperial College, London, in several tape formats.
You may also obtain the source via Janet (and therefore PSS) using Niftp (Host:
uk.ac.ic.doc.src Name: guest Password: your_email_address).  Queries should be
directed to Lee McLoughlin, 071-589-5111#5037, or to info-server@doc.ic.ac.uk
or ukuug-soft@uk.ac.ic.doc (send a Subject line of "wanted". Also offered are
copies of comp.sources.x, the export.lcs.mit.edu contrib and doc areas and most
other announced freely distributable packages.
X11R5 and X11R4 source along with X11R5 contrib code, prebuilt X binaries for
major platforms, and source code examples from O'Reilly's books is available on
an ISO-9660-format CD-ROM from O'Reilly & Associates. [as of 3/92].
X11R5 source is available on ISO-9660-format CD-ROM for members of the Japan
Unix Society from Hiroaki Obata, obata@jrd.dec.com.
X11R5 source along with GNU source, the comp.sources.x archives, and SPARC
binaries is available on an ISO-9660-format CD-ROM from PDQ Software,
510-947-5996 (or Robert A. Bruce, rab@sprite.Berkeley.EDU).
X11R5 source is available from Automata Design Associates, +1 215-646-4894.
Various users' groups (e.g. SUG) offer X sources cheaply, typically on CD-ROM.
Source for the Andrew User Interface System 5.1 and binaries for common systems
are available on CD-ROM. Information: info-andrew-requests@andrew.cmu.edu,
412-268-6710, fax 412-621-8081.
Binaries for X11R5, with shared libX11 and libXmu, for A/UX 2.0.1 are now
available from wuarchive.wustl.edu:/archive/systems/aux/X11R5.  Patches for
X11R5 compiled with gcc (but not shared libraries) are also available.
[John L. Coolidge (coolidge@cs.uiuc.edu, 10/91)]
Binaries by Rich Kaul (kaul@ee.eng.ohio-state.edu) for the Sun386i running
SunOS 4.0.2 are available on dsinc.dsi.com (please only after-hours USA EST).
Binaries for the Sun386i are available from compaq.com (131.168.249.254) in
pub/sun-386i/sources and from vernam.cs.uwm.edu (129.89.9.117).
A binary tree for the Next by Douglas Scott (doug@foxtrot.ccmrc.ucsb.edu) is on
foxtrot.ccmrc.ucsb.edu; it is missing the server, though.
Binaries for the Sun386i are in vernam.cs.uwm.edu:/sun386i.
Binaries for the HP-PA are on hpcvaaz.cv.hp.com (15.255.72.15).
Source and binaries for HP-UX 8.*/9.0(S300/400/700/800) and Domain 10.4 (68K,
DN 10K) are available through the Interworks Users Group; contact Carol Relph
at 508-436-5046, fax 508-256-7169, or relph_c@apollo.hp.com.
Patches to X11R5 for Solaris 2.1 by Casper H.S. Dik (casper@fwi.uva.nl) et al
are on export in contrib/{R5.SunOS5.patch.tar.Z,R5.SunOS5.patch.README}.
Patches to X11R5 for the Sun Type 5 keyboard and the keyboard NumLock are
available from William Bailey (dbgwab@arco.com).
Also:
Binaries are available from Unipalm (+44 954 211797, xtech@unipalm.co.uk),
probably for the Sun platforms.
----------------------------------------------------------------------
David B. Lewis 					faq%craft@uunet.uu.net
"Just the FAQs, ma'am." -- Joe Friday
--
David B. Lewis		Temporarily at but not speaking for Visual, Inc.
day: dbl@visual.com	evening: david%craft@uunet.uu.net
From: duvvuri@flashflood.cs.odu.edu (D.V.Prakash)
Subject: Pointer/Cursor
Article-I.D.: cs.1993Apr6.151347.2339
Organization: Old Dominion University, Norfolk, Va
Lines: 25
Nntp-Posting-Host: flashflood.cs.odu.edu
Hi
I am trying to implement a pointer feature in Xlib
I have multiple windows and all can take input and
show output simultaneously on all other displays
I want to implement a pointer feature
I would like to get the pointer to come up on all windows once
I choose pointer in the menu and every one should be able
to see it
Can you give me some hints as to how I should proceed
I am new to Xlib
replies will be greatly appreciated
Thank you
Prakash
< duvvuri@cs.odu.edu >
From: karenb@westford.ccur.com (Karen Bircsak)
Subject: lost in (TekHVC color) space
Article-I.D.: westford.1993Apr6.160748.3794
Organization: Concurrent Computer Corp.  Westford, MA
Lines: 33
(please respond via email!)
Has anybody actually seen the Tek color space stuff working?  I'm not
having any luck with either the xtici editor from export.lcs.mit.edu or with
O'Reilly's ftp-able example xcms from ftp.uu.net.
The O'Reilly example fails for almost every set of inputs because
XcmsTekHVCQueryMaxV returns a smaller value than XcmsTekHVCQueryMinV does
(which makes no sense to me).
The xtici editor fails in XcmsStoreColors, apparently because the
mathematical manipulations of the color specs results in invalid values.  So
you can't actually edit any colors.
We have X11 R5 patch level 22; 8-bit pseudoColor visual.  I've poked around
in the xcms code in Xlib, but without some understanding of the theory I have
no idea what's going wrong.  Can somebody confirm if either of the
above-mentioned programs work on their systems, or let me know if they fail
for you too?  Please include what hardware/software/patch levels you have.
Any hints?
Please respond with email as I don't regularly read this group.
Thanks,
Karen
-------------------------------------------------------------------------
Karen Bircsak
Concurrent Computer Corporation
karenb@westford.ccur.com
-------------------------------------------------------------------------
From: dbl@visual.com (David B. Lewis)
Subject: comp.windows.x Frequently Asked Questions (FAQ) 3/5
Summary: useful information about the X Window System
Reply-To: faq%craft@uunet.uu.net (X FAQ maintenance address)
Organization: VISUAL, Inc.
Expires: Sun, 2 May 1993 00:00:00 GMT
Lines: 998
Archive-name: x-faq/part3
Last-modified: 1993/04/04
----------------------------------------------------------------------
Subject:  58)! Where can I get patches to X11R5?
The release of new public patches by the MIT X Consortium is announced
in the comp.windows.x.announce newsgroup.
Patches themselves are available via ftp from export and from other
sites from which X11 is available. They are now also distributed through the
newsgroup comp.sources.x. Some source re-sellers may be including patches in
their source distributions of X11.
People without ftp access can use the xstuff mail server. It now has
23 patches for X11R5 [3/93].  Send to xstuff@expo.lcs.mit.edu the Subject line
send fixes #
where # is the name of the patch and is usually just the number of the patch.
Here are a few complications:
1) fix 5 is in four parts; you need to request "5a", "5b", "5c" and
"5d" separately
2) the file sunGX.uu, which was part of an earlier patch, was
re-released with patch 7 [note: the file doesn't work with Solaris]
3) fix 8 is in two parts: "8a" and "8b"
4) fix 13 is in three parts: "13a", "13b", and "13c"
5) fix 16 is in two parts: "16a" and "16b"
6) fix 18 replaces the R5fix-test1 for the X Test Suite, which
previously was optional
7) fix 19 also needs PEXlib.tar.Z, which you can obtain from xstuff
by asking for "PEXlib.uu.[1234]".
8) fix 22 is in 9 parts, "22a" through "22i"
----------------------------------------------------------------------
Subject:  59)  What is the xstuff mail-archive?
The xstuff server is a mail-response program. That means that you mail
it a request, and it mails back the response.
Any of the four possible commands must be the first word on a line. The
xstuff server reads your entire message before it does anything, so you can
have several different commands in a single message (unless you ask for help).
The xstuff server treats the "Subject:" header line just like any other line
of the message.
The archives are organized into a series of directories and
subdirectories.  Each directory has an index, and each subdirectory has an
index. The top-level index gives you an overview of what is in the
subdirectories, and the index for each subdirectory tells you what is in it.
1) The command "help" or "send help" causes the server to send you a
more detailed version of this help file.
2) if your message contains a line whose first word is "index", then
the server will send you the top-level index of the contents of the archive. If
there are other words on that line that match the name of subdirectories, then
the indexes for those subdirectories are sent instead of the top-level index.
For example, you can say "send index fixes" (or "index fixes"). A message that
requests an index cannot request data.
3) if your message contains a line whose first word is "send", then the
xstuff server will send you the item(s) named on the rest of the line. To name
an item, you give its directory and its name. For example
send fixes 1 4 8a 8b 9
You may issue multiple send requests. The xstuff server contains many
safeguards to ensure that it is not monopolized by people asking for large
amounts of data. The mailer is set up so that it will send no more than a fixed
amount of data each day. If the work queue contains more requests than the
day's quota, then the unsent files will not be processed until the next day.
Whenever the mailer is run to send its day's quota, it sends the requests out
shortest-first.
4) Some mailers produce mail headers that are unusable for extracting
return addresses.  If you use such a mailer, you won't get any response.  If
you happen to know an explicit path, you can include a line like
path foo%bar.bitnet@mitvma.mit.edu
or
path bar!foo!frotz
in the body of your message, and the daemon will use it.
The xstuff server itself can be reached at xstuff@expo.lcs.mit.edu. If
your mailer deals in "!" notation, try sending to
{someplace}!mit-eddie!expo.lcs.mit.edu!xstuff.
[based on information from the MIT X Consortium, 8/89, 4/90.]
----------------------------------------------------------------------
Subject:  60)! Where can I get X11R4 (source and binaries)?
Integrated Computer Solutions, Inc., ships X11R4 on half-inch,
quarter-inch, and TK50 formats. Call 617-621-0060 for ordering information.
The Free Software Foundation (617-876-3296) sells X11R4 on half-inch
tapes and on QIC-24 cartridges.
Yaser Doleh (doleh@math-cs.kent.EDU; P.O. Box 1301, Kent, OH 44240) is
making X11R4 available on HP format tapes, 16 track, and Sun cartridges. [2/90]
European sites can obtain a free X11R4 distribution from Jamie Watson,
who may be reached at chx400!pan!jw or jw@pan.uu.ch. [10/90]
Non Standard Logics (+33 (1) 43 36 77 50; requests@nsl.fr) makes source
available.
IXI Limited (+44 223 462 131) is selling X11R4 source on quarter-inch
cartridge formats and on 5.25" and 3.5" floppy, with other formats available on
request. [IXI, 2/90]
Virtual Technologies (703-430-9247) provides the entire X11R4
compressed source release on a single QIC-24 quarter-inch cartridge and also on
1.2meg or 1.44 meg floppies upon request. [Conor Cahill
(cpcahil@virtech.uu.net) 2/90]
Young Minds (714-335-1350) makes the R4 and GNU distributions available
on a full-text-indexed CD-ROM.
[Note that some distributions are media-only and do not include docs.]
X11R4 is ftp-able from export.lcs.mit.edu; these sites are preferable,
though, and are more direct:
Machine                  Internet      FTP
Location            Name                     Address       Directory
--------            -------                  --------      -------------
(1) West USA            gatekeeper.dec.com       16.1.0.2      pub/X11/R4
Central USA         mordred.cs.purdue.edu    128.10.2.2    pub/X11/R4
(2) Central USA         giza.cis.ohio-state.edu  128.146.8.61  pub/X.V11R4
Southeast USA       uunet.uu.net             192.48.96.2   X/R4
(3) Northeast USA       crl.dec.com              192.58.206.2  pub/X11/R4
(4) UK Janet            src.doc.ic.ac.uk         129.31.81.36  X.V11R4
UK niftp            uk.ac.ic.doc.src                       <XV11R4>
(5) Australia           munnari.oz.au            128.250.1.21  X.V11/R4
The giza.cis.ohio-state.edu site, in particular, is known to have much of the
contrib stuff that can be found on export.
The release is available to DEC Easynet sites as CRL::"/pub/X11/R4".
Sites in Australia may contact this address: ftp.Adelaide.EDU.AU [129.127.40.3]
and check the directory pub/X/R4. The machine shadows export and archives
comp.sources.x. (Mark Prior, mrp@ucs.adelaide.edu.au, 5/90)
Note: a much more complete list is distributed as part of the introductory
postings to comp.sources.x.
A set of X11R4 binaries built by Tom Roell (roell@informatik.tu-muenchen.de)
for the 386/ix will available from export.lcs.mit.edu in /contrib and in
/pub/i386/X11R4 from 131.159.8.35 in Europe. Stephen Hite
(shite@sinkhole.unf.edu) can also distribute to folks without ftp facilities
via disks sent SASE; contact him for USmail and shipping details. [12/90] In
addition, the binaries are available via uucp from szebra [1-408-739-1520, TB+
(PEP); ogin:nuucp sword:nuucp] in /usr2/xbbs/bbs/x.  In addition, the source is
on zok in /usrX/i386.R4server/. [2/91] In addition, if you are in the US, the
latest SVR4 binary (April 15), patches, and fonts are available on
piggy.ucsb.edu (128.111.72.50) in the directory /pub/X386, same filenames as
above. (Please use after 6pm Pacific, as these are large files.) [5/91]
A set of HP 9000/800 binaries is available on hpcvaaz.cv.hp.com (15.255.72.15)
as ~ftp/pub/MitX11R4/libs.x800.Z. [2/91]
A set of X11R4 binaries for the NeXT 2.x have been made available by Howie Kaye
on cunixf.cc.columbia.edu
A set of binaries by John Coolidge (coolidge@cs.uiuc.edu) for the Mac running
A/UX 2.0 is available from wuarchive.wustl.edu in the file
(/archive/systems/aux/X11R4/Xupdate2.tar.Z). Also in X11R4/diffs is a set of
patches for making X11R4 with shared libraries with mkshlib.
A complete distribution of SCO X11R4 binaries by Baruch Cochavy
(blue@techunix.technion.ac.il) can be found on uunet. The server is Roell's
X386 1.1b, compiled for ET4000 based SVGA boards.
----------------------------------------------------------------------
Subject:  61)  Where can I get OSF/Motif?
You can obtain either OSF/Motif source or binaries from a number of
vendors.
Motif 1.2.2 source is now available; it is based on X11R5.
Motif 1.1 is based on the R4.18 Intrinsics and is currently [7/92] at
1.1.5.
An OSF/Motif source license must be obtained from OSF before source can
be obtained from the Open Software Foundation or any value-added vendor for
any version. Call the Direct Channels Desk at OSF at 617-621-7300 for ordering
information.
Various hardware vendors produce developer's toolkits of binaries,
header files, and documentation; check your hardware vendor, particularly if
that vendor is an OSF member.
In addition, independent binary vendors produce Motif toolkits for
machines for which Motif is not supported by a vendor; the kits include varied
levels of bug-fixing and support for shared libraries and are based on widely
divergent version of Motif:
Quest (408-988-8880) sells kits for Suns, as well;
IXI (+44 223 462 131) offers kits for Sun3 and Sun4.
NSL (+33 (1) 43 36 77 50; requests@nsl.fr) offers kits for the Sun 3
and Sun 4.
Bluestone Consulting makes a kit for Sun systems.
ICS (617-62-0060) makes several binary kits, notably for Sun, DEC.
HP and DEC have announced support for Motif on Sun systems.
Unipalm (+44-954-211-797) currently offers for Sun systems a Motif
Development Kit including X11R4 and based on Motif 1.1.2. The US distributor is
Expert Object Corp (708-926-8500).
BIM ships Motif 1.1 binaries for Suns. Shared library support is
included. Contact Alain Vermeiren (av@sunbim.be) or Danny Backx (db@sunbim.be)
at +32(2)759.59.25 (Fax : +32(2)759.47.95) (Belgium).
SILOGIC (+33 61.57.95.95) ships Motif 1.2 and Motif 1.1 on Sun
machines.
S.I. Systems offers Motif 1.2 for Solaris 2.1; info: 1-800-755-8649 in
USA and Canada.
Metro Link Inc. (305-970-7353, sales@metrolink.com; in Europe contact
ADNT, (33 1) 3956 5333, UniVision (UK) Ltd. (44) 628 82 22 81) ships an
implementation of X11R4 and Motif 1.1.2 (including a shared-library
implementation of libXm.a) for the 386/486 Unix market.  Motif 1.1.2 is
also available for Sun Sparc based workstations. It has also announced
Motif 1.2 for Solaris systems.
----------------------------------------------------------------------
Subject:  62)  Does Motif work with X11R4? X11R5?
Motif 1.2 is based on X11R5.
Motif 1.1, available in source form from OSF as of August 1990, uses
the "vanilla" X11R4 Intrinsics, where "vanilla" means "with just a few
patches"; the file fix-osf which OSF distributes is obsoleted by MIT's patches
15-17.  The file fix-osf-1.1.1 distributed with the 1.1.1 version or its
subsequent modification needs to be applied after MIT fix-18, though.
Motif 1.1.1 to 1.1.3 will work with X11R5 if X11R5 is compiled with
-DMOTIFBC; 1.1.4 and later should work with the vanilla R5, although there are
some known new geometry-management problems.
----------------------------------------------------------------------
Subject:  63)  Where can I get toolkits implementing OPEN LOOK?
Sun's XView has a SunView-style API. A version is on the X11R4 tape;
the latest [2/92] 3.0 sources are on export in contrib/xview3/.
XView and X binaries for the Sun 386i ("roadrunner") are available for
ftp from svin01.win.tue.nl (131.155.70.70), directory pub/X11R4_386i.
Supported binaries of XView 2.0 or 3.0 include:
XView for non-Sun Platforms  (domestic and selected international vendors).
Several are also available from Sun; contact your local sales office.
Amiga		GfxBase, Inc.		1881 Ellwell Drive
(AmigaDOS)	(408) 262-1469		Milpitas, CA 95035
Fax: (408) 262-8276
SGI
Sony (NEWS-OS)
IBM RS/6000
HP 9000
DECstation	UniPress Software	2025 Lincoln Highway
(Ultrix)	(908) 985-8000		Edison, NJ 08817
Fax: (908) 287-4929
UniPress Software, Ltd.		PO Box 70
44-624-661-8850			Viking House
Fax: 44-624-663-453		Nelson Street
Douglas, Isle of Man
United Kingdom
DEC VAXstation	TGV			603 Mission Street
(VMS)		(800) TGV-3440		Santa Cruz, CA 95060
(408) 427-4366
Fax: (408) 427-4365
Unipalm Ltd.			145-147 St. Neots Road
44-0954-211797			Hardwick
Fax: 44-0954-211244		Cambridge CB3 7QJ
England
Intel 386	Quarterdeck Office	150 Pico Boulevard
(DOS)		Systems			Santa Monica, CA 90405
(213) 392-9851
Fax: (213) 399-3802
Intel 386	SunSoft Corporation	6601 Center Drive West
(Interactive	310-348-8649		Suite 700
UNIX and				Los Angeles, CA  90045
SCO UNIX)
Stardent	Scripps Institute	Clinic MB-5
(Stellix OS	Fax: (619) 554-4485	10666 N. Torrey Pines Road
and Titan OS)	Include mailstop MB-5	La Jolla, CA 92057
By ftp: 192.42.82.8 in pub/binary/{Xview.README,XView.tar.Z}
AT&T's OPEN LOOK GUI 3.0 Xt-based toolkit is now generally available
[2/92]; contact 1-800-828-UNIX#544 for information. Binaries are produced
for SPARC systems by International Quest Corporation (408-988-8289). A version
of the toolkit is also produced under the name OLIT by Sun.
More recent versions of OLIT have been ported to IBM 6000 and DEC MIPS
by both UniPress and ICS. OLIT is also available for HP from Melillo Consulting
(908-873-0075). MJM (Somerset, NJ) makes OLIT 4.0 for HP 7xx series running
HPUX 8.0, DECstations, and RS/6000s [thanks to Joanne Newbauer,
jo@attunix.att.com, 908-522-6677.]
Sun is shipping OpenWindows 3.0; contact your local sales
representative for more details; the package includes toolkit binaries and
header files.
ParcPlace's (formerly Solbourne's) extensible C++-based Object
Interface Library, which supports run-time selection between Open Look or
Motif, is available from 303-678-4626. [5/92]
----------------------------------------------------------------------
Subject:  64)! Where can I get other X sources? (including R5 modifications)
The MIT Software Center ships the X Test Suite on tape.
A multi-threaded version of Xlib based on X11R5 patch 12 is now
available for anonymous FTP from (new version 1/93):
DEC on gatekeeper.dec.com (16.1.0.2) in /pub/X11/contrib/mt-xlib-1.1
MIT on export.lcs.mit.edu (18.24.0.12) in /contrib/mt-xlib-1.1
HP has made available drivers to permit the building of the X11R5
sample server on the HP 9000 Series 700 workstations; the files are on
export.lcs.mit.edu in ~ftp/contrib/R5.HP.SRV. [8/92]
User-contributed software is distributed through the newsgroup
comp.sources.x, moderated by Chris Olson (chris@imd.sterling.com); also check
that group for posting information.
Richard Hesketh (rlh2@ukc.ac.uk) has been creating a list of freely-
available X sources.  The list is stored on export.lcs.mit.edu in contrib as
x-source-list.Z. It lists the main storage locations for the program and
international sites from which it may be ftp'ed.
The machine export.lcs.mit.edu has a great deal of user-contributed
software in the contrib/ directory; a good deal of it is present in current or
earlier versions on the X11R3, X11R4, and X11R5 contrib tapes. There are also
directories for fixes to contrib software.  The file on export in
contrib/00-index.txt is a quick overall index of the software in that area,
provided by Daniel Lewart (d-lewart@uiuc.edu).
These sites used to and may still mirror export and are of particular
use for Australasia: Anonymous ftp: ftp.Adelaide.EDU.AU; ACSnet Fetchfile:
sirius.ua.oz.
The material on giza.cis.ohio-state.edu, which tends to duplicate
the export archives, is also available via anonymous UUCP from osu-cis, at TB+
and V.32 speeds.  Write to uucp@cis.ohio-state.edu (same as osu-cis!uucp) for
instructions. [the archive is now maintained by Karl Kleinpaste]
A new west-coast UUCP X11 Archive is administered by Mark Snitily
(mark@zok.uucp) and contains the full X11 distribution, the XTEST
distribution, an entire archive of comp.sources.x and other goodies.
The machine zok has a TB+ modem which will connect to 19.2K, 2400,
1200 baud (in that order).  The anonymous UUCP account is UXarch with password
Xgoodies.  The modem's phone number is 408-996-8285.
A sample Systems (or L.sys) entry might be:
zok Any ACU 19200 4089968285 in:--in: UXarch word: Xgoodies
To get a current listing of the files that are available, download
the file "/usrX/ls-lR.Z".
A full subject index of the comp.sources.x files is available in the
file "/usrX/comp.sources.x/INDEX".
The machine has just the one modem, so please do not fetch large
amounts of data at one sitting.
[courtesy Mark Snitily, 2/90]
In addition, UUNET Source Archives (703-876-5050) tracks comp.sources.x and
provides 800MB+ of compressed programs on 6250 bpi tapes or 1/4" tapes.  It
also mirrors export/contrib in its packages/X directory.
----------------------------------------------------------------------
Subject:  65)! Where can I get interesting widgets?
The Free Widget Foundation (FWF) library sponsored by Brian Totty
(totty@cs.uiuc.edu) is now [2/93] available on a.cs.uiuc.edu (128.174.252.1)
in pub/fwf-v3.41.shar.Z. The set of widgets there is intended to form the basis
for future contributions. To be added to the discussion list, send to
listserv@cs.uiuc.edu a message saying "subscribe <listname> <your-full-name>"
where <listname> is one of free-widgets-announce, free-widgets-development, or
free-widgets-bugs.  Version 3.4 is current; look for 4.0 in 4/93.
The Xew widget set contains widgets for data representation.  Version
1.2 [4/93] is on export contrib/Xew-1.2.tar.Z.
Peter Ware's Xo "Open Widget" set, which has Motif-like functionality,
is on archive.cis.ohio-state.edu as pub/Xo/Xo-2.1.tar.Z [8/92].
The AthenaTools Plotter Widget Set Version 6-beta [7/92] maintained by
Peter Klingebiel (klin@iat.uni-paderborn.de) includes many graph and plotting
widgets; a copy is on export in plotter.v6b.tar.Z, plotter.doc.tar.Z,
plotter.afm.tar.Z, and plotter.README. The latest versions may in fact be on
ftp@uni-paderborn.de (131.234.2.32) in /unix/tools.
An advance version of Marc Quinton's Motif port of the FWF MultiList
widget is in ftp.stna7.stna.dgac.fr:pub/MultiList.tar.Z [143.196.9.31].
Additional widgets are available on the contrib/ portion of the X11R4
tapes; these include the Xcu set.
Paul Johnston's (johnston@spc5.jpl.nasa.gov) X Control Panel widget set
emulates hardware counterparts; sources are on export.lcs.mit.edu in
Xc-1.3.tar.Z.
O'Reilly Volume 4, Doug Young's book, the Asente/Swick book, and Jerry
Smith's "Object-oriented Programming with the X Window System Toolkits" all
include details on writing widgets and include several useful widgets; sources
are typically on export and/or UUNET.
The Dirt interface builder includes the libXukc widet set which extends
the functionality of Xaw.
A graph widget and other 2D-plot and 3D-contour widgets by Sundar
Narasimhan (sundar@ai.mit.edu) are available from ftp.ai.mit.edu as
/com/ftp/pub/users/sundar/graph.tar.Z. The graph widget has been updated [3/91]
with documentation and histogram capabilities.
A graph widget is available from ftp.stna7.stna.dgac.fr in
pub/Graph.tar.Z; it uses a segment list for drawing and hence supports a zoom
operation.
Ken Lee's Xm widget (demo) that uses Display PostScript to draw labels
at a non-horizontal angle is on export in contrib/dpslabel.tar.Z.
The Table widget (works like troff TBL tables) is available in several
flavors, one of which is with the Widget Creation Library release.
Bell Communications Research has developed a Matrix widget for complex
application layouts; it's on export in contrib/Xbae-widgets-3.8.tar.Z [2/93.
The distribution also includes a "caption" widget to associate labels with
particular GUI components. (7/92)
Dan Connolly's (connolly@convex.COM) XcRichText interprets RTF data;
it's on export as contrib/XcRichText-1.1.tar.Z.
The XmGraph Motif-based graphing widget is on iworks.ecn.uiowa.edu in
/comp.hp/GUI_classic/XmGraph.tar.Z although it may not be stable.
A TeX-style Layout widget by Keith Packard is described in the
proceedings of the 7th MIT Technical Conference (O'Reilly X Resource volume 5);
source is available on export contrib/Layout.tar.Z.
A version of Lee Iverson's (leei@McRCIM.McGill.EDU) image-viewing tool
is available as contrib/vimage-0.9.3.tar.Z on export.lcs.mit.edu.  The package
also includes an ImageViewPort widget and a FileDialog widget. [12/91;5/92]
In addition, the PEXt toolkit by Rich Thomson (rthomson@dsd.es.com) is
available on export as PEXt.tar.Z; it includes a PEX widget making it easier to
use PEX in Xt-based programs.
A Motif port of the Xaw clock widget is in ftp.stna7.stna.dgac.fr
in pub/Clock.tar.Z.
A modification of the Xaw ScrollBar widget which supports the arrowhead
style of other toolkits is on export in contrib/Xaw.Scrollbar.mta.Z.
A beta 0.3 (11/92) release of the R5 Xaw widgets with a 3D visual
appearance by Kaleb Keithley (kaleb@thyme.jpl.nasa.gov) is available on export
in contrib/Xaw3d/R5/Xaw3d-0.3.tar.Z. The library, which is binary-compatible
with the MIT Xaw, implements a 3D subclass which handles the extra drawing.
Also:
The Xmt "Motif Tools", Dovetail Systems's shareware library of 9
widgets and many convenience functions, is available from
export.lcs.mit.edu:contrib and ftp.ora.com:/pub/xbook/Xmt in xmt-README and
xmt-1.0.tar.Z.
The Xtra XWidgets set includes widgets for pie and bar charts, XY
plots, Help, spreadsheets, data entry forms, and line and bar graphs.  Contact
Graphical Software Technology at 310-328-9338 (info@gst.com) for information.
The XRT/graph widget, available for Motif, XView and OLIT, displays
X-Y plots, bar and pie charts, and supports user-feedback, fast updates and
PostScript output. Contact KL Group Inc. at 416-594-1026 (info@klg.com).
A set of data-entry widgets for Motif is available from Marlan
Software, 713-467-1458 (gwg@world.std.com).
A set of graph widgets is available from Expert Database Systems
(212-370-6700).
A set of OSF/Motif compound widgets and support routines for 2D
visualization is available from Ms Quek Lee Hian, National Computer Board,
Republic of Singapore; Tel : (65)7720435; Fax : (65)7795966;
leehian@iti.gov.sg, leehian@itivax.bitnet.
The ICS Widget Databook includes a variety of control widgets and
special-purpose widgets, available on a variety of platforms.  Information:
617-621-0060, info@ics.com.
Information on graphing tools may be obtained from info@TomSawyer.com
(+1-510-848-0853, fax: +1-510-848-0854).
----------------------------------------------------------------------
Subject:  66)  Where can I get a good file-selector widget?
The Free Widget Foundation set offers a FileSelector widget, with
separate directory path and file listing windows, and the FileComplete, which
has emacs-style file completion and ~ expansion.
Other available file-requestor widgets include the XiFileSelector from
Iris Software's book, the xdbx file-selector extracted by David Nedde
(daven@wpi.wpi.edu), and the FileNominator from the aXe distribution.
The GhostView, Xfig, and vimage packages also include file-selector
widgets.
----------------------------------------------------------------------
Subject:  67)  What widget is appropriate to use as a drawing canvas?
Some widget sets have a widget particularly for this purpose -- a
WorkSpace or DrawingArea which doesn't display anything but lets your Xt
application know when it has been re-exposed, resized, and when it has received
user key and mouse input.
The best thing to do for other widget sets -- including the Athena set
-- is to create or obtain such a widget; this is preferable to drawing into a
core widget and grabbing events with XtAddEventHandler(), which loses a number
of benefits of Xt and encapsulation of the functionality .
At least one version has been posted to comp.sources.x (name???).
The publicly-available programs xball and xpic include other versions.
The Athena Widget manual (mit/doc/Xaw/Template in the R5 distribution)
includes a tutorial and source code to a simple widget which is suitable for
use.
The Free Widget Foundation set contains a Canvas widget.
----------------------------------------------------------------------
Subject:  68)  What is the current state of the world in X terminals?
Jim Morton (jim@applix.com) posts quarterly to comp.windows.x a list of
manufacturers and terminals; it includes pricing information.
Notable buyers-guide surveys include:
- the September 1991 issue of Systems Integration
----------------------------------------------------------------------
Subject:  69)  Where can I get an X server with a touchscreen or lightpen?
Labtam (+61 3 587 1444, fax +61 3 580 5581) offers a 19" Surface
Acoustic Wave touch-screen option on its Xengine terminals.
Tektronix (1-800-225-5434) provides an X terminal with the Xtouch
touch-screen. This terminal may also be resold through Trident Systems
(703-273-1012).
Metro Link (305-970-7353) supports the EloGraphics Serial Touch Screen
Controllers.
----------------------------------------------------------------------
Subject:  70)  Where can I get an X server on a PC (DOS or Unix)?
MIT X11R5 already provides a server to many 386/486 *Unixes* with
support for many of the popular video graphics adapters; and for other
non-MSDOS PCs you can obtain a server from these sources:
XFree86 (formerly X386 1.2E) is an enhanced version of X386 1.2, which
was distributed with X11R5; it includes many bug fixes, speed improvements, and
other enhancements. Source for version 1.2 [2/93] is on export.lcs.mit.edu in
pub/contrib, ftp.physics.su.oz.au in /X386, and ftp.win.tue.nl in /pub/X386. In
addition, binaries are on ftp.physics.su.oz.au, and ftp.win.tue.nl among other
systems. Info: x386@physics.su.oz.au.
Note: this package obsoletes Glenn Lai's Speedup patches for an
enhanced X11R5 server for 386 UNIXes with ET4000 boards (SpeedUp.tar.Z on
export).
Metro Link Inc. (305-970-7353, sales@metrolink.com; in Europe contact
ADNT, (33 1) 3956 5333) ships an implementation of X11R4 for the 386/486 Unix
market.
SGCS offers X386 Version 1.3, based on Thomas Roell's X11R5 two-headed
server, in binary and source form. Information: 408-255-9665, info@sgcs.com.
ISC, SCO, UHC, and other well-known operating-system vendors typically
offer X servers.
For MSDOS PCs:
Daniel J. McCoy (mccoy@gothamcity.jsc.nasa.gov) has started posting monthly a
list of non-UNIX servers for PCs, Macs, and Amigas; it includes pricing
information. The current copy is kept on export in contrib as
XServers-NonUNIX.txt.Z.
An article on PC X servers appears in the March 2, 1992 Open Systems Today.
Also of possible use:
Net-I from Programit (212-809-1707) enables communication among
DOS, OS/2 and Unix machines and can be used to display PC sessions on your
Unix X display.
----------------------------------------------------------------------
Subject:  71)  Where can I get an X server on a Macintosh running MacOS?
eXodus from White Pine Software (603-886-9050) runs on any Mac with
at least 1MB of memory and runs the X server within a standard Macintosh
window.  Version 3.0 [6/91] supports intermixing of X and Mac windows and
the ADSP protocol. The version supports the SHAPE extension and includes
DECwindows support.
Apple's MacX runs on MacPlus or newer machines with >= 2MB of memory
and system software 6.0.4 or later. Version 1.1 is fully X11R4-based.  It
supports full ICCCM-compatible cut and paste of text AND graphics between the
Macintosh and X11 worlds, the SHAPE extension (including SHAPEd windows on the
Macintosh desktop), an optional built-in ICCCM-compliant window manager, X11R4
fonts and colors, a built-in BDF font compiler, and built-in standard
colormaps. Upgrades to MacX are available by ftp from aux.support.apple.com.
Info: 408-996-1010.
[Note: MacX is also the name of a vax-mac xmodem transfer utility.]
Also:
Liken (1-800-245-UNIX or info@qualix.com) software enables monochrome
68000 Mac applications to run on a SPARC system running X.
Xport (1-800-245-UNIX (415-572-0200) or xport@qualix.com) enables Mac
applications to display on an X-based workstation by turning the Mac into an X
client.
Intercon has a product called Planet-X which enables Mac applications
to display on an X server.
----------------------------------------------------------------------
Subject:  72)  Where can I get X for the Amiga?
The new Amiga 3000 machines offer an X server and OPEN LOOK tools and
libraries on a full SVR4 implementation.
GfxBase, Inc. provides "X11 R4.1" for the AmigaDos computer; it
contains X11R4 clients, fonts, etc., and a Release 4 color server. An optional
programmer's toolkit includes the header files, libraries, and sample programs.
Info from GfxBase, 408-262-1469. [Dale Luck
(uunet!{cbmvax|pyramid}!boing!dale); 2/91]
----------------------------------------------------------------------
Subject:  73)  Where can I get a fast X server for a workstation?
The R5 server should be among the fastest available for most machines.
Sun sells a "Direct Xlib" product which improves rendering for
applications running on the same machine as the X server; the replacement Xlib
library accesses graphics hardware directly using Sun's Direct Graphics Access
(DGA) technology.
International Quest Corporation (408-988-8289) has an optimized R4
server for Sun3/4 under SunOS 4.0.
Unipalm have R4 Servers for Sun3 and Sparc platforms. These are
optimised to use graphics hardware and will run with Sunview. Information:
+44 954 211797 or xtech@unipalm.co.uk.
Xgraph's Xtool (408-492-9031) is an X server implemented in SunView
which boasts impressive results on Sun 3 and SPARC systems. [6/90]
Several companies are making hardware accellerator boards:
Dupont Pixel Systems (302-992-6911), for Sun.
Megatek's (619-455-5590) X-cellerator board for the Sun 3 and Sun 4 is
based on the TI 34020; the company claims performance improvements of 5x to
10x over the sample X11R3 server.
----------------------------------------------------------------------
Subject:  74)! Where can I get a server for my high-end Sun graphics board?
Takahashi Naoto (Electrotechnical Laboratory, ntakahas@etl.go.jp) has
modified the MIT X11R5 server to support the Sun CG8, CG9, and CG12 boards.
The files are on export in contrib/Xsun24-3.[01].tar.Z.  Note that both files
are necessary to build Xsun24-3.1.
The JPL R5 Xsun Multi-screen server is a general purpose replacement
for the MIT server/ddx/sun layer; it provides for the screen to be split among
several monitors and implements several other features above the MIT
implementation. Available on export.lcs.mit.edu in the file
contrib/R5.Xsun.multi-screen.tar.Z. [Kaleb Keithley, kaleb@thyme.jpl.nasa.gov,
12/91; the file was updated 24 Mar 1993.]
----------------------------------------------------------------------
Subject:  75)  Where can I get an "X terminal" server for my low-end Sun 3/50?
Seth Robertson (seth@ctr.columbia.edu) has written Xkernel; the current
version [1.4 as of 8/91, 2.0 expected RSN] is on sol.ctr.columbia.edu
[128.59.64.40] in /pub/Xkernel.gamma. It turns a Sun 3/50 into a pseudo- X
terminal; most of the overhead of the operating system is side-stepped, so it
is fairly fast and needs little disk space.
A similar approach is to run the regular X server by making /etc/init
a shell script which does the minimal setup and then invokes Xsun, like this
example script from mouse@larry.mcrcim.mcgill.EDU:
#! /bin/sh
exec >/dev/console 2>&1
/etc/fsck -p /dev/nd0
case $? in
0)	;;
4)	/etc/reboot -q -n
;;
8)	echo ND fsck failed - get help
/etc/halt
;;
12)	echo Interrupted
/etc/reboot
;;
*)	echo Unknown error in reboot fsck - get help
/etc/halt
;;
esac
/bin/dd if=/tmp-fs of=/dev/nd2 bs=512 count=128 >/dev/null 2>&1
/etc/mount /dev/nd2 /tmp
/etc/ifconfig le0 netmask 255.255.255.0 broadcast 132.206.41.255
/etc/mount -o ro apollo:/u2/x11/lib /local/lib/X11
/etc/route add default 132.206.41.1 1 >/dev/null
set `/etc/ifconfig le0`
exec /Xsun -once -multidisp -mux -query \
`(sh -vn </local/lib/X11/xdm-servers/$2 2>&1)`
----------------------------------------------------------------------
Subject:  76)  What terminal emulators other than xterm are available?
PCS has rewritten xterm from scratch using a multi-widget approach that
can be used by applications. A version is on the R5 contrib tape and on
export in contrib/emu.tar.Z [10/91]. For more information, contact
me@dude.pcs.com.
mxterm, a Motif-based xterm is available from the Paderborner
ftp-Server ftp@uni-paderborn.de (131.234.2.32), file
/unix/X11/more_contrib/mxterm.tar.Z.
The Color Terminal Widget provides ANSI-terminal emulation compatible
with the VTx00 series; a version is on export in contrib/CTW-1.1.tar.Z. A
Motif version is on ftp.stna7.stna.dgac.fr in pub/Term-1.0.tar.Z.
kterm 4.1.2 is an X11R4-based vt100/vt102 (and Tektronix 4014) terminal
emulator that supports display of Chinese, Japanese, and Korean text (in VT
mode).  Also supported are: ANSI color sequences, multi-byte word selection,
limited Compound Text support, and tab and newline preservation in selections.
kterm 4.1.2 is also available from these anonymous ftp sites:
clr.nmsu.edu:pub/misc/kterm-4.1.2.tar.Z  [128.123.1.14]
export.lcs.mit.edu:contrib/kterm-4.1.2.tar.Z  [18.24.0.12]
kum.kaist.ac.kr:pub/unix/Xstuffs/kterm-4.1.2.tar.Z  [137.68.1.65]
[courtesy of Mark Leisher <mleisher@nmsu.edu> ]
kterm-5.1.1.tar.Z is now on export [12/92].
mterm, by mouse@larry.McRCIM.McGill.EDU, is an X terminal emulator
which includes ANSI X3.64 and DEC emulation modes.  mterm can be had by ftp to
larry.mcrcim.mcgill.edu (132.206.1.1), in X/mterm.src/mterm.ball-o-wax.
Cxterm is a Chinese xterm, which supports both GB2312-1980 and the
so-called Big-5 encoding.  Hanzi input conversion mechanism is builtin in
cxterm.  Most input methods are stored in external files that are loaded at run
time.  Users can redefine any existing input methods or create their own ones.
The X11R5 cxterm is the rewritten of cxterm (version 11.5.1) based on X11R5
xterm; it is in the R5 contrib software.  [thanks to Zhou Ning
<zhou@tele.unit.no> and Steinar Bang <uunet!idt.unit.no!steinarb>.]
XVT is available on export's contrib in xvt-1.0.tar.Z and
xvt-1.0.README. It is designed to offer xterm's functionality with lower swap
space and may be of particular use on systems driving many X terminals.
x3270 is in X11R5 contrib/.
Also:
IBM sells a 3270 emulator for the RS/6000 (part #5765-011); it's based
on Motif.
Century Software (801-268-3088) sells a VT220 terminal emulator for X.
VT102, Wyse 50 and SCO Color Console emulation are also available.
Grafpoint's TGRAF-X provides emulation of Tektronix 4107, 4125, and
42xx graphics terminals; it's available for most major platforms. Information
(inc. free demo copies): 800-426-2230; Fax. 408-446-0666; uunet!grafpnt!sales.
IXI's X.deskterm, a package for integrating character-based
applications into an X environment, includes a number of terminal-emulation
modules. Information: +44 (0223) 462131. [5/90]
Pericom produces Teem-X, a set of several emulation packages for a
number of Tek, DEC, Westward, and Data General terminals. The software runs on
Sun 3, Sun 4, Apollo, DEC, ISC, IBM/AIX. Information: US: 609-895-0404,
UK: +44 (0908) 560022. [5/90]
SCO's SCOterm (info@sco.COM), part of its Open Desktop environment, is
a Motif-compliant SCO ANSI color console emulator.
----------------------------------------------------------------------
Subject:  77)! Where can I get an X-based editor or word-processor?
You can ftp a version of GNU Emacs, the extensible, customizable,
self-documenting, real-time display editor, including X11 support, from
prep.ai.mit.edu [18.71.0.38]:/pub/gnu/emacs-18.59.tar.Z or
informatik.tu-muenchen.de:/pub/GNU/emacs/emacs-18.59.tar.Z.
Epoch is a modified version of Gnu Emacs (18) with additional
facilities useful in an X environment. Current sources are on cs.uiuc.edu
(128.174.252.1) in ~ftp/pub/epoch-files/epoch; the current [3/92] version is
4.0. [In Europe, try unido.informatik.uni-dortmund.de].  There are two
subdirectories:  epoch contains the epoch source, and gwm contains the source
to the programmable window manager GWM, with which epoch works well.]
You can get on the Epoch mailing list by sending a request to
epoch-request@cs.uiuc.edu.
Lucid Emacs is a version of GNU Emacs derived from an early version of
Emacs version 19.  It currently requires X Windows to run;  X support is
greatly enhanced over GNU Emacs version 18, including support for multiple X
windows, input and display of all ISO-8859-1 (Latin1) characters, Zmacs/Lispm
style region highlighting, a customizable Motif-like menubar, more powerful
keymap support, flexible text attributes, support on regional and screen-local
basis through X resources and/or lisp, and support for the X11 selection
mechanism. Lucid Emacs is free; the latest version (2/93) is 19.4, and is
available from labrea.stanford.edu in the pub/gnu/lucid/ directory.
The Andrew system on the X11 contrib tapes has been described as one of
the best word-processing packages available. It supports word processing with
multi-media embedded objects: rasters, tables/spread sheets, drawings, style
editor, application builder, embedded programming language, &c. Release 5.1
became available 2 June 92.  [Fred Hansen (wjh+@ANDREW.CMU.EDU)]
You may be able to use the Remote Andrew Demo service to try this
software; try "finger help@atk.itc.cmu.edu" for help.
The InterViews C++ toolkit contains a WYSIWIG editor called Doc; it
saves and loads files in a LaTeX-*like* format (not quite LaTeX).  The package
can also import idraw-PostScript drawings.
A simple editor aXe (by J.K.Wight@newcastle.ac.uk) is available on
export and arjuna.newcastle.ac.uk (128.240.150.1) as aXe-4.1.tar.Z [3/93]. It
is based around the Xaw Text widget.
TED is a simple Motif-based text editor; it is a wrapper around the
Motif text widget which offers search/replace, paragraph formatting, and
navigation features. TED is available from ftp.eos.ncsu.edu (152.1.9.25) as
/pub/bill.tar.Z; here are also executables there.
Point, by crowley@unmvax.cs.unm.edu (Charlie Crowley), is Tcl/Tk-based
and offers dyanimic configuration and programming in the Tcl macro language.
The editor is available from unmvax.cs.unm.edu (129.24.16.1) as
pub/Point/point1.1-tar.Z.
asedit, by Andrzej Stochniol (astoch@ic.ac.uk) is on export in
contrib/asedit.tar.Z. It is a simple text editor built around the Motif Text
widget. Version 1.11 was released 1/93.
Also:
Elan Computer Group (Mountain View, CA; 415-964-2200) has announced the
Avalon Publisher 2.0, an X11/OPEN LOOK WYSIWYG electronic publishing system.
FrameMaker and FrameWriter are available as X-based binary products for
several machines. Frame is at 800-843-7263 (CA: 408-433-3311).
WX2 (formerly InDepthEdit) is available from Non Standard Logics
(+33 (1) 43 36 77 50; requests@nsl.fr).
Buzzwords International Inc. has an editor called 'Professional Edit'
that runs under X/Motif for various platforms.  Info: +1-314-334-6317.
DECwrite is available from DEC for some DEC hardware and SunWrite is
available from Sun.
IslandWrite will soon be available from Island Graphics (415-491-1000)
(info@island.com) for some HP & Apollo platforms.
Interleaf is currently available from Interleaf (800-241-7700,
MA: 617-577-9800) on all Sun and DEC platforms; others are under development.
The Aster*x office integration tools from Applix (1-800-8APPLIX,
MA: 508-870-0300) include a multi-font WYSIWG document composer; for several
systems.
ArborText, Inc. provides an X11 version of its Electronic Publishing
program called "The Publisher". The Publisher is available on Sun, HP and
Apollo workstations. Contact Arbortext at 313-996-3566. [5/90]
Iris Computing Laboratories offers the "ie" editor. Info:
+1-505-988-2670 or info@spectro.com.
BBN/Slate from BBN Software Products includes a menu-driven word
processor with multiple fonts and style sheets.  It supports X on
multiple platforms. (617-873-5000 or slate-offer@bbn.com) [11/90]
The powerful "sam" editor by Rob Pike is split into a host portion and
a front-end graphics portion, which now has an X implementation.  sam is now
available by anonymous ftp from research.att.com, in dist/sam/bundle.Z.  Watch
that space for updated versions.  There is a mailing list for sam users;
requests to <sam-fans-request@hawkwind.utcs.toronto.edu>. A set of extensions
which augment the mouse activity with the keyboard is available from
uxc.cso.uiuc.edu in pub/sam/samx1.0.shar.
Innovative Solutions (505-883-4252; or Brian Zimbelman,
is!brian@bbx.basis.com) publishes the user-configurable Motif-based Xamine
editor.
Qualix offers a product. Information: info@qualix.com or 800-245-UNIX
(415-572-0200).
Typex is a Motif-based editor available for several systems.
Information: Amcad Research, 408-867-5705, fax -6209.
WordPerfect offers an X-based version of WordPerfect 5.1 for several
workstations. Information: 801-222-5300 or 800-451-5151.
----------------------------------------------------------------------
Subject:  78)  Where can I get an X-based mailer?
xmh, an X interface to mh, is distributed with the X11 release.
Xmail is an X-based window interface to Berkeley-style mail handlers;
it is styled primarily after the Sunview mailtool application and builds on
most Unix systems. The current release [1/92] is 1.4, available in the MIT
X11R5 contrib tape and from export and uunet. Info: Jeff Markham,
markham@cadence.com.
MMH (My Mail Handler), a motif interface to the MH mail handler, is
available from ftp.eos.ncsu.edu (152.1.9.25) in pub/bill.tar.Z; it is bundled
with the TED editor, which it uses for composing messages. Motif 1.1 is
required; if you don't have it, look for DEC and SPARC executables in the same
place.  Information and problems to: Erik Scott, escott@eos.ncsu.edu. [1/92]
The Andrew Toolkit supports the Andrew Message System; it is available
from export and many other X archives and from emsworth.andrew.cmu.edu
(128.2.30.62), or send email to susan+@andrew.cmu.edu. Release 5.1 became
available 2 June 92.
You may be able to use the Remote Andrew Demo service to try this
software; try "finger help@atk.itc.cmu.edu" for help.
XMailTool is an Xaw-based interface to a BSD-style mail reader; version
2.0 was released 9/92. Information: Bob Kierski, bobo@cray.com or 612-683-5874.
Cem is a Motif-based mailer using standard mailbox formats; it is on
nelson.tx.ncsu.edu in pub/Cem. Information: Sam Moore (Sam_Moore@ncsu.edu).
Also:
Alfalfa Software offers Poste, a UNIX-based mailer that has Motif- and
command-based interfaces.  It includes support for multimedia enclosures, and
supports both the Internet and X.400 mail standards.  Information:
info@alfalfa.com, +1 617-497-2922.
Z-Code Software offers Z-Mail for most Unix systems; binaries support
both tty and Motif interfaces. The mailer includes a csh-like scripting
language for customizing and extending mail capabilities.  Information:
info@z-code.com, +1 415 499-8649.
Several vendors' systems include X-based mailers. DEC offers dxmail;
Sun offers an X-based mailtool; SCO (info@sco.com) includes SCOmail in its Open
Desktop product.
Several integrated office-productivity tools include mailers:
The Aster*x office integration tools from Applix (1-800-8APPLIX,
MA: 508-870-0300) include a mailer.
----------------------------------------------------------------------
Subject:  79)! Where can I get an X-based paint/draw program?
xpic is an object-oriented drawing program. It supports multiple font
styles and sizes and variable line widths; there are no rotations or zooms.
xpic is quite suitable as an interactive front-end to pic, though the
xpic-format produced can be converted into PostScript. (The latest version is
on the R4 contrib tape in clients/xpic.)
xfig (by Brian V. Smith (bvsmith@lbl.gov)) is an object-oriented
drawing program supporting compound objects.  The xfig format can be converted
to PostScript or other formats. Recent versions are on the R5 contrib tape or
on export in /contrib/R5fixes (version 2.1.6 [11/92]).
idraw supports numerous fonts and various line styles and arbitrary
rotations. It supports zoom and scroll and color draws and fills. The file
format is a PostScript dialect. It can import TIFF files. Distributed as a part
of the InterViews C++ toolkit (current release 3.1, from
interviews.stanford.edu) .
A version of Robert Forsman's (thoth@lightning.cis.ufl.edu) xscribble,
an 8-bit paint program for X, is now on ftp.cis.ufl.edu in pub/thoth/. [2/93]
xpaint is available from ftp.ee.lbl.gov as xpaint.tar.Z.
A rewrite, Xpaint 2.0, by David Koblas (koblas@netcom.com) was released
2/93 as xpaint2pl3.tar.Z. xpaint is a bitmap/pixmap editing tool.
A new OpenWindows PostScript-based graphical editor named 'ice' is now
[2/91] available for anonymous ftp from Internet host lamont.ldgo.columbia.edu
(129.236.10.30).  ice (Image Composition Environment) is an imaging tool that
allows raster images to be combined with a wide variety of PostScript
annotations in WYSIWYG fashion via X11 imaging routines and NeWS PostScript
rasterizing. (It may require OpenWindows and Sun C++ 2.0.)
tgif by William Cheng (william@oahu.cs.ucla.edu) is available from most
uucp sites and also from export and from cs.ucla.edu. It is frequently updated;
version 2.12-patch18 was released 3/93.
The "pixmap" program (info: colas@sa.inria.fr) for creating pixmaps is
on the R5 contrib tape; it resembles the bitmap client. Version 2.1 is now
available. [11/92]
Although MetaCard is not generally classified as a paint program, a
full 24-bit color image editor is built into the program, which can be used for
light image editing and for producing color icons (info@metacard.com). MetaCard
is available via anonymous FTP from ftp.metacard.com, csn.org, or
128.138.213.21.
pixt by J. Michael Flanery produces XPM output.
Also:
dxpaint is a bitmap-oriented drawing program most like MacPaint; it's
good for use by artists but commonly held to be bad for drawing figures or
drafting. dxpaint is part of DEC's Ultrix release.
FrameMaker has some draw capabilities. [4/90]
BBN/Slate from BBN Software Products includes a full-featured draw and
paint program with object grouping and multiple patterns; multiple X platforms.
(617-873-5000 or slate-offer@bbn.com). [11/90]
Dux Ta-Dah!, 1-800-543-4999
IslandGraphics offers IslandDraw, IslandPaint, IslandPresent.
Info: 415-491-1000.
Corel Draw, 613-728-8200; ported to X by Prior Data Sciences
800-267-2626
Arts&Letters Composer, 214-661-8960
Ficor AutoGraph, 513-771-4466
OpenWindows includes the olpixmap editor.
SCO ODT includes the SCOpaint editor.
HP VUE includes the vueicon editor.
Several integrated office-productivity tools include draw/paint capabilities:
The Aster*x office integration tools from Applix (1-800-8APPLIX,
MA: 508-870-0300) include draw/paint capabilities.
[thanks in part to Stephen J. Byers (af997@cobcs1.cummins.com) and to
J. Daniel Smith (dsmith@ann-arbor.applicon.slb.com)]
----------------------------------------------------------------------
David B. Lewis 					faq%craft@uunet.uu.net
"Just the FAQs, ma'am." -- Joe Friday
--
David B. Lewis		Temporarily at but not speaking for Visual, Inc.
day: dbl@visual.com	evening: david%craft@uunet.uu.net
From: I.A.Inman@newcastle.ac.uk (I.A. Inman)
Subject: Re: Honors Degrees: Do they mean anything?
Organization: University of Newcastle upon Tyne, UK, NE1 7RU
Lines: 37
Nntp-Posting-Host: tuda
tkld@cogsci.ed.ac.uk (Kevin Davidson) writes:
>>   In my opinion, a programming degree is still worth having.
> Yes, but a CS degree is *not* a programming degree. Does anybody know of
>a computing course where *programming* is taught ? Computer Science is
>a branch of maths (or the course I did was).
> I've also done a Software Engineering course - much more practical and likely
>to be the sort of thing an employer really wants, rather than what they think
>they want, but also did not teach programming. The ability to program was
>an entry requirement.
Try the 'M.Sc. Computing Science' course at the REAL Newcastle University.
It's a conversion course, but at least they teach REAL programming.
In the space of 9 months we were taught PASCAL, Simula, Prolog, Miranda.
Also, some basic low level stuff (68000) was covered as well.
They also did concurrent programming and operating systems, some software
engineering, plus quite a few optional units, including database theory,
and some stuff about comms.
The PASCAL is to be replaced by C/C++ I think next year - I learn't this (and
X Windows programming as well)
anyway via a good selection of project over the final three months - depending
on your tastes, the selection of skills learn't can be quite wide reaching.
The one critiscism I would level at the course, which I would have thought
invaluable, is the lack of an option to do the project period in industry -
this would probably need a slightly longer project period (say six months), but
would enhance the prestige and usefulness of an already excellent and thorough
course.
Yes, I know this sounds like a plug for the course, why not!
Mackem Ian.
From: beck@irzr17.inf.tu-dresden.de (Andre Beck)
Subject: Re: Cute X clients
Organization: Dept. of Computer Science, TU Dresden, Germany.
Lines: 69
Distribution: world
Reply-To: Andre_Beck@IRS.Inf.TU-Dresden.DE
NNTP-Posting-Host: irzr17.inf.tu-dresden.de
Try this:
-------------------------------------------------------------------------------
#include <stdio.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
Display *dpy;
int	screen;
XColor	*xclrs,*xclrp;
XID	cmap;
int	cells,i,j,red,green,blue,got;
main()
{
dpy = XOpenDisplay(NULL);
screen = DefaultScreen(dpy);
cells = DisplayCells(dpy,screen);
cmap = XCreateColormap(dpy,RootWindow(dpy,screen),DefaultVisual(dpy,screen),1);
xclrs = (XColor *)malloc(cells * sizeof(*xclrs));
xclrp = xclrs;
for (i=0; i<cells; i++) { xclrp->pixel = i; xclrp->flags = 7; xclrp++; };
XQueryColors(dpy,DefaultColormap(dpy,screen),xclrs,cells);
XStoreColors(dpy,cmap,xclrs,cells);
XInstallColormap(dpy,cmap);
got = 1;
while(got) {
xclrp = xclrs;
got = 0;
for(i=0; i<cells; i++)  {
if(xclrp->red < 65000) {xclrp->red += 256; got = 1;};
if(xclrp->green < 65000) {xclrp->green +=256; got=1;};
if(xclrp->blue < 65000) {xclrp->blue +=256; got=1;};
xclrp ++;
}
XStoreColors(dpy,cmap,xclrs,cells);
/*  XInstallColormap(dpy,cmap); */
}
got = 1;
while(got) {
xclrp = xclrs;
got = 0;
for(i=0; i<cells; i++)  {
if(xclrp->red > 256) {xclrp->red -= 256; got = 1;};
if(xclrp->green > 256) {xclrp->green -=256; got=1;};
if(xclrp->blue > 256) {xclrp->blue -=256; got=1;};
xclrp ++;
}
XStoreColors(dpy,cmap,xclrs,cells);
/*  XInstallColormap(dpy,cmap); */
}
}
--------------------------------------------------------------------------
It will work on any PseudoColor XServer. (hopefully :)
--
+-o-+--------------------------------------------------------------+-o-+
| o |                \\\-  Brain Inside -///                       | o |
| o |                    ^^^^^^^^^^^^^^^                           | o |
| o | Andre' Beck (ABPSoft) mehl: Andre_Beck@IRS.Inf.TU-Dresden.de | o |
+-o-+--------------------------------------------------------------+-o-+
From: vic@fajita (V. Martinez 6463)
Subject: Re: Trouble compiling X11R5 on SunOS_4.1.3
Article-I.D.: ast.1993Apr6.165718.528
Organization: SAIC
Lines: 7
X-Newsreader: Tin 1.1 PL5
I was having the same problems compiling X11R5 on a IPC sunos 4.1.3.
If you compile with 'make -k World' it will not stop on the
ld errors. As was stated in another post the clients with the
errors still run correctly.
Victor Martinez
vic@fajita.saic.com
From: altmann@PLEURO.SOAR.CS.CMU.EDU (Erik Altmann)
Subject: Fwd: PROGRESSIVES HAPPY HOUR
Original-To: bb-general@CS.CMU.EDU
Organization: School of Computer Science, Carnegie Mellon
Distribution: cmu
Lines: 21
--------- Forwarding begins here ---------
Date: Wed,  7 Apr 1993 15:39:55 -0400 (EDT)
From: Women's Center <women+@andrew.cmu.edu>
To: +dist+/afs/andrew.cmu.edu/usr0/women/dlists/happyhour-announce.dl@andrew.cmu.edu
Subject: PROGRESSIVES HAPPY HOUR
Enjoy good food and interesting company at the Progressives Happy Hour,
Thursday 8 April, starting at 5:30pm at the Women's Center (located next
to the laundromat in the Margaret Morrison Plaza).  Kosher for Passover
food will be served.  All are welcome.
(Good things to drink will be there, but paper cups won't.  Please  be
progressive and bring a cup or mug with you.)
Co-sponsored by the Student Government President and funded by the
student activites fee.
----------- End of forwarding -----------
From: amit@aryeh.uchicago.edu (Yali Amit)
Subject: Problems with Open Windows
Organization: Dept. of Statistics
Lines: 22
After having OpenWindows
(Version 3 for SunOS 4.1) or Xwindows
running continuously on my machine for 3-4 days,
the following message appears  when trying to open
a new window, or to run any program that needs to open windows.
XView error: Cannot open connection to window server: :0.0 (Server
package)
I would greatly appreciate any suggestions to solve this problem.
Yali Amit
Department of Statistics
University of Chicago
Chicago IL 60615
From: amit@aryeh.uchicago.edu (Yali Amit)
Subject: Problems with OpenWindows
Organization: Dept. of Statistics
Lines: 22
After having OpenWindows
(Version 3 for SunOS 4.1) or Xwindows
running continuously on my machine for 3-4 days,
the following message appears  when trying to open
a new window, or to run any program that needs to open windows.
XView error: Cannot open connection to window server: :0.0 (Server
package)
I would greatly appreciate any suggestions to solve this problem.
Yali Amit
Department of Statistics
University of Chicago
Chicago IL 60615
From: guy@x.co.uk (Guy Singh)
Subject: Re: xv -root with vue? (was Re: xloadimage -onroot ...)
In-Reply-To: jan@camhpp12.mdcbbs.com's message of 5 Apr 93 11:31:27 PDT
X-Disclaimer: This is not the view of IXI Ltd unless explicitly stated.
Lines: 22
Nntp-Posting-Host: yorks.x.co.uk
Organization: Not a lot
<WHALEY.93Apr3113732@behemoth.kpc.com>
<1993Apr5.113128.2936@ug.eds.com>
X-Copyright: The author asserts the right of paternity in this message.
>>>>> On 5 Apr 93 11:31:27 PDT, jan@camhpp12.mdcbbs.com (Jan Vandenbrande) said:
Jan> Nntp-Posting-Host: 134.244.49.156
Jan> On a related note, how can I use xv to display colored GIFs on my
Jan> root display with HP Vue?
Jan> All I can do with Vue is display xbm's through their
Jan> Backdrop Style Manager.
Jan> xv does not seem to be able to override whatever Vue
Jan> puts there.
I suspect this is because VUE creates a window (probably OverrideRedirect)
that is the size of (or larger than) the Root Window. Because the window
manager does not know about this, you cannot move, resize etc. it. xv in the
mean time is busy changing your root window to whatever you have requested
but you never get to see it because VUE's window is overlaid on top of the root
window.
Contact HP support and see whether VUE can support coloured bitmap format
such as xpm, if they cant then they probably create all their coloured
backdrops inside the code.
--
-Guy Singh,                 IXI            Internet: guy@x.co.uk
Vision Park    UUCP:     guy@ixi.uucp
Cambridge      Bang:     ...!uunet!ixi!guy
CB4 4ZR, UK    Tel:      +44 223 236 555
From: mmc@cs.rit.edu (Mahendra M Chheda)
Subject: How can I rotate text ?
Nntp-Posting-Host: mackinac
Organization: Rochester Institute of Technology
Hi,
I am programming in XView, SunOS 4.1.2 & OpenWindows 3.0. I would like
to rotate some text and display it. I did read the FAQ in comp.windows.x
but am not sure how do I translate it to XView. I would appreciate if
someone can give me tips on how to do it. Thanx.
- Mahendra.
PS : As I am not a frequent news group reader, I would appreciate if
answers/replies would be mailed to me. I will post a follow-up.
--
***************************************************************************
Mahendra Chheda			#
mmc@cs.rit.edu			#
mmc7274@ritvax.isc.rit.edu	#
#
Office :			#	Residence :
Dept. of Computer Science	#	440 Kimball Drive
Rochester Institute of Tech.	#	Rochester, NY 14623
Tel. 716-475-2079		#	Tel. 716-292-5726
***************************************************************************
From: troll@sug.org (A. Newman)
Subject: Re: Trouble compiling X11R5 on SunOS_4.1.3
Article-I.D.: world.C52nBL.u5
Organization: Sun User Group
Lines: 192
Nntp-Posting-Host: bridge.sug.org
In article <1993Apr6.081605.12977@fwi.uva.nl> casper@fwi.uva.nl (Casper H.S. Dik) writes:
>epstein@trwacs.fp.trw.com (Jeremy Epstein) writes:
>
>>dmm@head-cfa.harvard.edu (David Meleedy) writes:
>>There's a bug in SunOS 4.1.3, which is alluded to in the FAQ (although
>>there it's talking about X11R4 as being affected).  You need to force
>>libXmu to be linked statically, rather than dynamically, which works
>>around the linker error.  The simplest thing to do is edit each of
>>the Makefiles where there's a failure and change the line which reads:
>>	XMULIB = -L$(XMUSRC) -lXmu
>>to:
>>	XMULIB = -L$(XMUSRC) -Bstatic -lXmu -Bdynamic
>
>No. This is only relevant for OpenWindows 3.x as shipped with SunOS.
>It is not relevant for MIT R5. MIT R5 should compile without problems.
>
>Casper
I don't know how many hours you've spent on this, but the Sun User
Group makes X11R5 available on CD-ROM to its members. The 1992.1 disk
has both sources and binaries and it sells for $50.  I've tagged a
table of contents and an orderform on below if anyone's interested.
Alex Newman
----------------------------------------------------------------------------
Alex Newman	(617) 232-0514 voice	My life may be stressful,
troll@sug.org	(617) 232-1347 fax	but at least it's not boring
Sun User Group * 1330 Beacon St., #315 * Brookline, MA 02146
----------------------------------------------------------------------------

SUG CD 1992.1 is X11R5 and GNU on a CDROM, priced at $50 to SUG
members, including a caddy!
SUG's emphasis has always been on supplying the greatest possible
service and value-added to our members.  Last year, the SUG 1991 disk
contained plug-and-play X11R4, 20MB of additional essential binaries,
almost 200MB of Sun patches, fully-indexed archives of Sun-related net
postings, priced at only $250.
Our aim this year has been to reduce the price for disks which can be
produced inexpensively, but to continue to supply as much value-added
as possible.  To accomplish this, we will be putting out a two disk
set, the first containing what's ready and needed now, the second
available later in '92, containing more SPARC binaries and other
useful material not found on previous disks.
The SUG 1992.1 disk, which was assembled by Robert A. Bruce, contains
a lot of essential source code, and we decided it would be a great
service to make it available right away to our members (and this
pricing makes this a good opportunity to become a member!) for $50 per
disk (including one of those hard-to-find caddies!).  If you are not a
SUG member, you can become one for an additional $40 if you live
within the US or $55 outside.
The SUG 1992.1 CDROM is an ISO 9660 disk (which means it can be used
by PC, Macintosh, and other workstations as well), and contains a
total of 543MB of material, including:
X11R5 SOURCES AND CORE BINARIES (for SPARC) as of several weeks after
the initial distribution, thus, four fixes and the the MIT contrib-0
distribution are included (109MB of material).  Binaries for: X Xsun
XsunMono appres atobm auto_box bdftopcf beach_ball bitmap bmtoa
constype editres fs fsinfo fslsfonts fstobdf ico imake kbd_mode
listres lndir makedepend maze mkdirhier mkfontdir oclock plbpex puzzle
resize showfont showrgb startx twm viewres x11perf x11perfcomp xauth
xbiff xcalc xclipboard xclock xcmsdb xcmstest xconsole xcutsel
xditview xdm xdpr xdpyinfo xedit xev xeyes xfd xfontsel xgas xgc xhost
xinit xkill xload xlogo xlsatoms xlsclients xlsfonts xmag xman xmh
xmkmf xmodmap xon xpr xprop xrdb xrefresh xset xsetroot xstdcmap xterm
xwd xwininfo xwud
COPIES OF CONTRIBUTED X SOURCES (from export.lcs.mit.edu/contrib),
which were then uncompressed/untarred into source directories (212MB).
These are sources only, and some of them were (after the date of
production of this disk) included in the MIT contrib-2 and contrib-3
distributions.
GNU SOURCES WHICH WERE uncompressed/untarred into source directories
(88MB).
SPARC BINARIES (and needed libraries) for these GNU programs: a2p ar
as basename bash bison cat cc1 cc1plus chgrp chmod chown ci cmp co
comm compress cp cpio cpp ctags cut cvs date dd df diff diff3 dir
dirname du egrep elvis emacs env etags expand expr fgrep find
find2perl flex fold g++ g++dep g++filt gawk gcc gdb ginstall gnuchess
gnuchessn gnuchessr gnugo gnuplot gnuplot_x11 gprof grep h2ph head id
ident indent ispell ld ld++ less ln locate logname ls m4 make merge
mkdir mkfifo mkmodules mknod mt mv nice nm oleo paste pathchk perl pr
printenv printf ranlib rcs rcsdiff rcsinfo rcsmerge rcstest ref refont
rlog rm rmdir rmt s2p screen sed size sleep split strip stty sum tac
tail taintperl tar tee test time touch tput tty uname unexpand uniq
vdir virec whoami xargs xchess yes zmore
AN ARCHIVE OF COMP.SOURCE.X postings, volume 0 through volume14
(58MB).  Parts are supplied just as posted.  You get to put together
the pieces, compile, install, etc.
Cost: SUG members: $50; Non-members: additional $40 within the US, $55
elsewhere
Shipping & Handling: $10 inside the USA; $25 elsewhere
Mail to: Sun User Group, Inc.
Suite 315
1330 Beacon Street
Brookline, MA  02146
USA
(617) 232-0514	voice
(617) 232-1347	fax
The Sun User Group also accepts Visa and MasterCard via telephone or
electronically.
--------------------- cut here and return completed form ---------------------
The SUGCD 1992.1
ORDER FORM
The price of the CD is $50.
Shipping and handling: Add $10 (USA) or $25 (Intl.)
If you are not a member of the Sun User Group, add $40 (USA) or $55
(International) to the above sums for membership.  You must be a SUG
member to purchase the CD-ROM.  I enclose a US $ check for:
__$ 60 (SUG member in the USA)
__$ 75 (SUG member outside the USA)
__$100 (Includes membership inside the USA)
__$130 (Includes international membership)
Name__________________________________ Signature___________________________
Company Name_______________________________________________________________
SUG Membership #(if known)_________________________________________________
Electronic Mail Address____________________________________________________
Telephone Number___________________________________________________________
Check Enclosed_____             Mastercard_____  Visa_____
Credit Card #__________________________________  Exp. date.________________
Card Holder:__________________________ Signature:__________________________
Ship to:                                Bill to:
______________________________________  ___________________________________
______________________________________  ___________________________________
______________________________________  ___________________________________
______________________________________  ___________________________________
-------------------------------------------------------------------------
[   ]  I hereby authorize the Sun User Group to renew my membership
and charge my credit card automatically on an annual basis.
[   ]  I do not wish my name to be included in non-Sun User
Group mailings.
[   ]  I do not wish my name to be published in the Sun User
Group member directory.
[   ]  I wish to be added to the Sun User Group electronic
mailing-list (members only)
OUTSIDE THE U.S. ONLY:
Individuals outside of the USA may find using their credit cards easier
than purchasing US$ checks as this eliminates bank charges.
-------------------------------------------------------------------------
Sun User Group
1330 Beacon Street, Suite 315
Brookline, MA  02146
Voice: +1 617 232-0514
Fax:   +1 617 232-1347
Email: office@sug.org
From: ndd@sunbar.mc.duke.edu (Ned Danieley)
Subject: problem with Tek xterminal
Organization: Basic Arrhythmia Laboratory, Duke Univ. Med. Center, Durham, N.C.
Lines: 18
Nntp-Posting-Host: bal1.mc.duke.edu
Originator: ndd@bal1
We have recently purchased a Tektronix xterminal, and I'm having
a problem with it. We have a graphics widget that we wrote to
display waveforms, and it doesn't work on the xterminal. the buttons,
etc, all show up, and it seems to take the 'right' amount of time to
draw, but nothing is visible in the graphics window. I
have no clue as to where to start looking: the program works fine
on all our suns (3s and 4s, color and B&W). could anyone suggest a
line of attack for this problem?
TekXpress XP380 color xterminal running 6.0.0. host is a Sun IPX
running SunOS 4.1.3 and X11R5, PL17.
--
Ned Danieley (ndd@sunbar.mc.duke.edu)
Basic Arrhythmia Laboratory
Box 3140, Duke University Medical Center
Durham, NC  27710   (919) 660-5111 or 660-5100
From: rogerskm@eplrx7.es.duPont.com (Karen Rogers)
Subject: Remapping <return> key in a dialog
Organization: DuPont Central Research & Development
Lines: 58
I am new to X programming, so please bear with me....
I am trying to have a dialog box that returns it's value upon the
user entering a new value and hitting the <return> key. (don't want
to have a "done" button).  The piece of code below will work if
I exclude the XtNvalue argument but will not work as is. Can someone
shed some light on this or suggest a better way?  Ultimately I will
have several areas active at the same time to allow a user to modify
parameters in the program.
Thanks for your help,
Karen Rogers
Dupont
rogerskm@pluto.es.dupont.com
######### Code starts here ################
void doit()
{
printf("Entered the doit function\n");
exit();
}
main(argc, argv)
int argc;
char **argv;
{
Widget toplevel;
Widget outer;
XtAppContext app_con;
Widget samples;
Arg args[3];
static XtActionsRec key_actions[]=
{
{"doit", doit},
};
toplevel = XtVaAppInitialize(&app_con, "TEST", NULL, 0,
&argc, argv, NULL, NULL);
outer = XtCreateManagedWidget( "paned", panedWidgetClass, toplevel,
NULL, ZERO);
XtAppAddActions(app_con, key_actions, XtNumber(key_actions));
XtSetArg(args[0], XtNlabel, "Enter value");
XtSetArg(args[1], XtNvalue, "0");
samples = XtCreateManagedWidget("samples", dialogWidgetClass,outer,args,2);
XtOverrideTranslations(samples,
XtParseTranslationTable("<Key>Return: doit()"));
XtRealizeWidget(toplevel);
XtAppMainLoop(app_con);
}
From: brian@mdavcr.mda.ca (Brian Lemire)
Subject: Joining the X Consortium ????
Organization: MacDonald Dettwiler, 13800 Commerce Parkway, Richmond, BC, Canada  V6V 2J3
Lines: 6
Hi,
Does anyone have any information on joining the X Consortium ? What
are the costs, what are the benefits, who should I contact ? Thanks
From: glang@slee01.srl.ford.com (Gordon Lang)
Subject: Re: Honors Degrees: Do they mean anything?
Organization: Ford Motor Company Research Laboratory
Lines: 27
NNTP-Posting-Host: slee01.srl.ford.com
X-Newsreader: Tin 1.1 PL5
Justin Kibell (jck@catt.citri.edu.au) wrote:
: What has this got to do with comp.windows.x?
:
I agree that this is a side track, but it is funny that I skip so many
other articles (threads) but I couldn't resist reading this one.
My beliefs, opinions, and expressions are strictly my own and do not
represent or reflect any official or unofficial policies or attitudes
of any other person or organization....
but.  I have heard that Ford Motor Company has (had) a recruiting bias
toward engineers and away from computer science graduates.  The reasoning
is supposedly to better meet long range personnel requirements.  This is
evidenced by the large number of CS people who are employed via contracts
and are not brought on board except in special circumstances.  This is
a generalization which obviously doesn't always hold true, but there are
statistics.  Furthermore, most "software engineering" at Ford gets done
by electrical engineers.  I know of 2 univerities that have merged the
computer science department and the electrical engineering so that you
can get a computer degree which qualifies you for much more than programming.
But since my beliefs and opinions are merely figments of my distorted
imagination I suppose I should keep it to myself.
From: cr097@cleveland.Freenet.Edu (David Matusow)
Subject: Large Color Monitors
Article-I.D.: usenet.1pshdc$md8
Organization: Case Western Reserve University, Cleveland, Ohio (USA)
Lines: 11
NNTP-Posting-Host: hela.ins.cwru.edu
Does anyone have any information/advice on large color monitors
(17"-21") to use with a 486 system running X server software?
I maining looking for quality information and price, but all
information is welcomed.
Thanks,
David
--
"It's all ball bearings!"
-- Fletch
From: mbheprg@PROBLEM_WITH_INEWS_GATEWAY_FILE (Raju Gurung)
Subject: Re: Converting contents of X-window to color postscript
Organization: Electrical Engineering Dept Manchester University
Lines: 22
X-Newsreader: TIN [version 1.1 PL8]
Jeff Haferman (haferman@icaen.uiowa.edu) wrote:
> Can somebody point me to source code for dumping the contents of
> an X-window into a color postscript file?  I have written
> an app which brings up an X-window, and I want (at the click
> of the mouse) to dump the window into a postscript file.
> Thanks.
> Jeff Haferman                            internet: haferman@icaen.uiowa.edu
> Department of Mechanical Engineering     DoD 0186  BMWMOA 44469  AMA 460140
> The University of Iowa
> Iowa City, IA  52242                                 '76 R90S
I use xwd and xwd2ps. To do it from within a program I use
xwd -id xxxxx where xxxxx is the window id obtained from XtWindow(widget).
--
-----------------------------------------------------------------------
| Raju Gurung, I.T. 109, I.T. Building, Dept. of Electrical Eng.,     |
| University of Manchester, Oxford Rd, Manchester, U.K.               |
-----------------------------------------------------------------------
From: lemons@cadsys.enet.dec.com
Subject: Xremote into X11R6?
Reply-To: lemons@cadsys.enet.dec.com ()
Organization: Digital Equipment Corporation
Lines: 12
X-Newsreader: mxrn 6.18
Hi!
I remember reading (or hallucinating) that NCD's PC-Xremote functionality had
been given, by NCD, to MIT for inclusion in X11R6.  Is this true?  If so,
(set mode/cheap) can I just wait for X11R6 to get compressed serial line
X server support?
Thanks!
Terry Lemons
Digital Equipment Corporation
From: matt@centerline.com (Matt Landau)
Subject: Any recent information on Frescoe?
Organization: CenterLine Software, Inc.
Lines: 4
NNTP-Posting-Host: 140.239.1.32
Does anyone know of any recent information on the Frescoe work being
done by the Consortium?  I've seen the short description that was
published in The X Resource, but am looking for something with a bit
more depth to it.
From: duvvuri@flashflood.cs.odu.edu (D.V.Prakash)
Subject: Pointer..Xlib
Nntp-Posting-Host: flashflood.cs.odu.edu
Organization: Old Dominion University, Norfolk, Va
Lines: 26
Hi
I am trying to implement a pointer feature in Xlib
I have multiple windows and all can take input and
show output simultaneously on all other displays
I want to implement a pointer feature
I would like to get the pointer to come up on all windows once
I choose pointer in the menu and every one should be able
to see it
Can you give me some hints as to how I should proceed
I am new to Xlib
replies will be greatly appreciated
Thank you
Prakash
< duvvuri@cs.odu.edu >
From: carlj@mugwump (Carl Johnson)
Subject: xterm and default text cursor color
Reply-To: carlj@cyclone.bt.co.uk
Organization: British Telecom Research Labs
Lines: 17
NNTP-Posting-Host: mugwump.muppet.bt.co.uk
What I want to be able to do is to set the cursor
color to the same as the forground color that is set
for that xterm.
From the man page.....
-cr color
This option specifies the color to use for text cur-
sor.   The  default  is  to  use the same foreground  <---
color that is used for text.  <---
However this doesnt seem to be the case, it appears to default to black
or to whatever XTerm*cursorColor is set to.
Feel free to point me at the relevant FM or whatever,
Cheers,
C
From: rik@csc.liv.ac.uk (Rik Turnbull)
Subject: String to Widget Resource Converter
Organization: Computer Science, Liverpool University
Lines: 52
Nntp-Posting-Host: bobr.csc.liv.ac.uk
Can anybody tell me how to use the Xmu function "XmuCvtStringToWidget". I
want to specify a widget name in a resource file so that I can connect
two widgets together on an XmForm. ie.
MyProggy*MyListSW.topWidget:               MainTextSW
However, when I run the program, I get the message:
Warning: No type converter registered for 'String' to 'Window' conversion.
(Just like the manual sez).
I have managed to find this bit of code which seems to be the correct way
to go about this:
static XtConvertArgRec parentCvtArgs[] = {
{
XtWidgetBaseOffset,
(XtPointer)XtOffsetOf( CoreRec, core.parent ),
sizeof(CoreWidget)
}
};
XtSetTypeConverter( XtRString, XtRWidget, XmuCvtStringToWidget,
parentCvtArgs, XtNumber(parentCvtArgs), XtCacheAll,                                NULL );
However, I haven't got a clue where to put it! The example code I have seems
to suggest I can only do this if I am creating my own widget; but elsewhere it
says that I can add it to a widget's "class_intialize" function. HOW? What's
one of those? :-(
If anybody has any code to do this, please let me know the trick - I'm sure
this is a FAQ.
Thanks in advance,
Rik.
PS: What are the header files "CoreP.h" and "IntrinsicsP.h" - should I use
these or "Core.h" and "Intrinsics.h" (OK I know RTFM:-)
.=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=.
|                               |                                       |
| Richard Turnbull              |                                       |
|                               |       Dept. Computer Science          |
| E-mail:                       |       University of Liverpool         |
| rik@compsci.liverpool.ac.uk   |       Liverpool L69 3BX               |
|                               |       England                         |
| Phone: (051) 794 3704         |                                       |
|                               |                                       |
.=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=.
From: Rob Earhart <earhart+@CMU.EDU>
Subject: Re: Q: How to avoid XOpenDisplay hang?
Organization: Sophomore, Physics, Carnegie Mellon, Pittsburgh, PA
Lines: 4
NNTP-Posting-Host: po4.andrew.cmu.edu
In-Reply-To: <C512xr.3oy@skates.gsfc.nasa.gov>
Don't know how to avoid the XOpenDisplay hang... but perhaps you could
use something else (such as zephyr, perhaps)?
)Rob
From: johnc@crsa.bu.edu (John Collins)
Subject: Problem with MIT-SHM
Organization: Boston University
Lines: 27
I am trying to write an image display program that uses
the MIT shared memory extension.  The shared memory segment
gets allocated and attached to the process with no problem.
But the program crashes at the first call to XShmPutImage,
with the following message:
X Error of failed request:  BadShmSeg (invalid shared segment parameter)
Major opcode of failed request:  133 (MIT-SHM)
Minor opcode of failed request:  3 (X_ShmPutImage)
Segment id in failed request 0x0
Serial number of failed request:  741
Current serial number in output stream:  742
Like I said, I did error checking on all the calls to shmget
and shmat that are necessary to create the shared memory
segment, as well as checking XShmAttach.  There are no
problems.
If anybody has had the same problem or has used MIT-SHM without
having the same problem, please let me know.
By the way, I am running OpenWindows 3.0 on a Sun Sparc2.
Thanks in advance--
John C.
From: oj@world.std.com (Oliver Jones)
Subject: Re: Q: How to avoid XOpenDisplay hang?
Keywords: Xlib
Article-I.D.: world.C531A0.M3I
Organization: Shawsheen Software
Lines: 18
In article <C512xr.3oy@skates.gsfc.nasa.gov> andy@ice.stx.com writes:
>I'm writing 'xwall', a simple X version of 'wall', and I want it to
>put a message up on each of a default list of displays.  The problem
>is that XOpenDisplay hangs if one of the displays is currently
>controlled by xdm (login screen).
xdm does XGrabServer when it's running in secure mode (so do some
screen-locks).  There's really no simple way to tell this is the case.
You can take xdm out of secure mode;  probably not too cool.
You can wrap your call to XOpenDisplay in some code which solicts
a future SIGALRM and longjmps past the XOpenDisplay from the signal
handler.  An example of this can be seen in the xdm sources.
Note that longjmping out of XOpenDisplay probably causes a memory
leak;  any program functioning this way probably needs to exit()
regularly.
From: brent@vpnet.chi.il.us (Brent Hansen)
Subject: Re: GUI Study
Organization: Vpnet Public Access
Distribution: usa
Lines: 58
In article <1993Apr2.203400.15357@kocrsv01.delcoelect.com> c2xjfa@kocrsv01.delcoelect.com (James F Allman III) writes:
>
>>
>> > I'm doing a study on what the following type of users would like to
>> > have on a Unix Manager.  Basically I'm looking for the Unix commands
>> > and features on Motif window interface which will help the different
>> > type of users make use of Unix.
>> ...
>> Personally, I can't stand Motif.  I also can't stand GUI      Command Line!
>> interfaces for things like access to the commands I know      Command Line!
>> and love.  I think you'll find that experience [sic] users    Command Line!
>>
>> 					der Mouse
>> ...
>A year and a half ago I felt the same way.  The I started using
>gooyies.  Give me the command line when something out of the ordinary
>needs done, and the gooy when I am doing normal or repative work.
>Note that most operations are repetative.  Hackers love CLs because
>  ...
What I like about GUI's:
- The ability to view and manipulate a group of objects, files,
text, directories, etc. and and manipulate them in some way
such as delete, copy, paste, rename ...
- The ability to have several applications / screens visible
and accessable at the same time.
- Being able to do a standard set of functions easily and
quickly on an unfamiliar operating system. I am familiar with
the command lines of several operating systems but occasionally
I will have to some work on a system that I almost never use.
If it has a GUI, I can usually accomplish what I want to do
fairly easily, the command line on the other hand often is
a long and painful experience.
What I hate about GUI's:
- Having to switch between the mouse and the keyboard. I guess
I have a strong one-handed preference. I like to use a
computer with one hand and use the other for holding something
like a piece of paper of a mug of tea. I have configured my
favorite editor so that most of the editing functions can be
done with one hand such as navigating, cutting, pasting,
searching, opening and saving files, etc. The main thing I
need to use both hands for is entering text.
I guess I need to get one of those mice with, like, 20 buttons
or something and then I will have the best of both worlds.
Brent
From: urathi@net4.ICS.UCI.EDU (Unmesh Rathi)
Subject: Motif++ and Interviews
Lines: 12
Hi,
I am in the process of making the decision whether I should
write c++ wrappers for motif myself or use Motif++ or Interviews.
Though I have downloaded the tar files, I fail to see any
documentation. I have two questions:
1) If you have used these or similar c++sy toolkits what has been
your experience?
2) Where do I find reference books /documentation for them?
any and all input will be greatly appreciated.
/unmesh
From: beck@irzr17.inf.tu-dresden.de (Andre Beck)
Subject: Re: lost in (TekHVC color) space
Organization: Dept. of Computer Science, TU Dresden, Germany.
Lines: 13
Distribution: world
Reply-To: Andre_Beck@IRS.Inf.TU-Dresden.DE
NNTP-Posting-Host: irzr17.inf.tu-dresden.de
Hi,
xtici worked for my system.
I'm using X11R5 pl 17 clientside only on a DEC 5000/240 on Ultrix 4.3
May be you have a serious floatingpoint compilation problem ?
--
+-o-+--------------------------------------------------------------+-o-+
| o |                \\\-  Brain Inside -///                       | o |
| o |                    ^^^^^^^^^^^^^^^                           | o |
| o | Andre' Beck (ABPSoft) mehl: Andre_Beck@IRS.Inf.TU-Dresden.de | o |
+-o-+--------------------------------------------------------------+-o-+
From: swick@news.Colorado.EDU (Ross Swick)
Subject: Books on I.C.C other than I.C.C.M.
Nntp-Posting-Host: nsidc2.colorado.edu
Organization: University of Colorado, Boulder
Distribution: cu
Lines: 21
Can anyone recomend a good book or article on inter-client communications
BESIDES I.C.C.M.?
I've looked everywhere I can and it seems everyone tells you how to do it
but nobody SHOWS you how.  O'Reilly has no examples, ICCM has no examples,
Asente & Swick give no examples - in fact most of the books I've looked at,
if they discuss ICC at all, simply give a condensed version of the ICCM and
then refer you to the ICCM.  I did find one example of how to use Atoms and
Properties in Young's book and five hours after I bought Young's book I had
my applications talking to each other.
I am not sure, however, if thats the best way.  I'd like to stay independent
of Unix so pipes and/or sockets probably aren't the way to go.  But within X
one can also use messages, the clipboard, and perhaps window groups.
I need a text that discusses the various methods, discusses which method is best
for which purpose, and gives examples.  Without examples it's all just words.
Thanks in advance
Ross
From: ngai@nova.bellcore.com (John Ngai)
Subject: How to disable reverse video on xterm/man
Nntp-Posting-Host: nova.bellcore.com
Organization: Bellcore
Lines: 22
Well I am not sure if this is the right newsgroup to ask, but let me try anyway.
I am running xterm and like all UNIX users, I run man <something>. Recently,
I switched to Solaris 2.1, and their man pages are littered with ".I" directives
that are somehow translated into reverse video when displayed by man under xterm.
The resulting output (admittedly a personal taste) is very ANNOYING to look at.
Back when I was using SunOS 4.1.2, I remember their man pages have some keywords
displayed with underlining....
So my question is how do I change the xterm's behaviour under ".I" directives
for nroff man pages, to perhaps underlining, or at least disabling it. (".B"
directives are fine, I like them. And of course, I don't want to go in and edit
the man pages inputs...) Somehow, xterm allows one to specify both a normal font
and a bold font, but not an italic font??
Any pointers, suggestions are greatly appreciated.
Thanks -- John
P.S. Running xterm -rv won't work, I tried...
From: tne@world.std.com (Thomas N Erickson)
Subject: Re: TeleUse, UIM/X, and C++
Organization: The World Public Access UNIX, Brookline, MA
Lines: 20
hubec@ctp.com (Hubert Chou) writes:
>Does anyone have any good ideas on how to integrate C++ code elegantly
>with TeleUse, UIM/X / Interface Architect generated code?
>Source would be great, but any suggestions are welcome.
Alsys has produced a paper outlining how to use C++ with TeleUSE.  You can
get a copy from your local sales rep or call us at (619)457-2700.
As mentioned, it is very straight forward using the Dialog language
(similar to Visual Basic).
--
---------------------------------------------------------------------------
Tom Erickson					Alsys
tne@world.std.com				67 South Bedford Street
Burlington, MA 01803
From: dbryant@leconte.Eng.Sun.COM (David Bryant)
Subject: Re: GUI toolkit for the Sun Sparc.
Reply-To: dbryant@leconte.Eng.Sun.COM
Organization: Sun Microsystems, Inc.
Lines: 21
NNTP-Posting-Host: leconte
In article C4M@cuug.ab.ca, winsorr@sun (Robin Winsor 233-4670) writes:
>You are right to be going Motif rather than OpenLook.  Sun has just recently
>seen the light and dumped their commitment to OpenLook.  In the announcement
>they stated they have no future plans for DevGuide.
This is incorrect.  Sun has made no such claim regarding Devguide, and as
manager of the Devguide engineering group I can state with authority that
work on Devguide is continuing apace.  We had quite a strong show of interest
from the Devguide user community at last week's Solaris Developer's Conference.
Devguide is being advocated not only as a valuable future builder tool, but
as an important bit of transition technology that will help sustain current
customers and facilitate their migration to the COSE Desktop Environment.
If you have specific questions about Devguide availability, etc., you can
contact Tali Aben, our Devguide Product Marketing person, at (415) 336-3536.
David Bryant
Devguide Manager
SunSoft
From: ai900@yfn.ysu.edu (Joshua P. Weage)
Subject: X for PC
Organization: Youngstown State/Youngstown Free-Net
Lines: 17
NNTP-Posting-Host: yfn.ysu.edu
For those of you who couldn't find X-Appeal, it is availible at
the following sitex:
ascwide.ascii.co.jp in the /pub/MSDOS/xappeal dir
wuarchive.wustl.edu in the /mirrors4/garbo.uwasa.fi/demo
directory
The three files are xap13exe.aip, xap10fon.zip and
drivers.zip.
Josh
--
+  Joshua Weage : U.S. Snail - 277 Spring Rd, Baroda, MI  49101 +
+  E-Mail: cs890@freenet-in-a.cwru.edu |  ai900@yfn.ysu.edu     +
+   Fidonet:  Joshua Weage @ 1:2340/130                         +
+  All ideas are my own and no one elses!!                      +
From: adrian@ora.COM (Adrian Nye)
Subject: widgets vs. gadgets
Organization: O'Reilly and Associates, Inc.
Lines: 15
Reply-To: adrian@ora.com
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
> I've been using the XmGraph widget that's been floating around and I
> noticed the performance is significantly better using Gadgets, perhaps
> even 100% faster.  I had heard in an old programming course that gadgets
> were no longer any benefit to performance, and that it's just as well
> to use widgets everywhere.
Interesting, I'd like to know why.
But try it again on a single ethernet with 100 X terminals on it,
and I think you'll find it much slower.
Adrian Nye
O'Reilly and Associates
From: chatterj@haji.lcs.mit.EDU (Shash Chatterjee)
Subject: Help: SunView on olwm/xview3/X11R5
Article-I.D.: haji.9304051753.AA05339
Organization: The Internet
Lines: 23
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert%expo.lcs.mit.edu@fin.lcs.mit.edu
Hi,
I just compiled the X11R5 distribution for a Sun3/SunOS4.1.1.  I also
compiled the public domain xview3 (with olwm) distribution.  I have some
old 3rd-party application binaries that are SunView programs.  How do I
get them to work under xview3 and olwm?  (I tried using the OpenWindows
version 2 "svenv" program, but it did not work.)
I do not have news access....that's why I am mailing this directly.  Also,
is there an email alias where my questions can get to comp.windows.x or
comp.windows.open-look?  PLEASE RESPOND TO fwr8bv@fin.af.mil
Thanks,
Shash
+-----------------------------------------------------------------------------+
+ Shash Chatterjee                               EMAIL:  fwr8bv@fin.af.mil    +
+ EC Software                                   PHONE:  (817) 763-1495        +
+ Lockheed Fort Worth Company                  FAX:    (817) 777-2115         +
+ P.O. Box 748, MZ1719                                                        +
+ Ft. Worth, TX 76101                                                         +
+-----------------------------------------------------------------------------+
From: envbvs@epb11.lbl.gov (Brian V. Smith)
Subject: Re: I need source for splines
Article-I.D.: dog.30237
Distribution: world
Organization: lbl
Lines: 21
NNTP-Posting-Host: 128.3.12.123
In article <1ppvhtINN814@fmsrl7.srl.ford.com>, glang@slee01.srl.ford.com (Gordon Lang) writes:
|> In the Xlib Programming Manual (O'Rielly Associates) it is pointed out
|> that routines for drawing splines is not included in Xlib, but extensions
|> are publicly available.  I need spline routines which work within the X
|> environment.
|>
|> I have previously posted a similar request and got two responses, both
|> directing me to the Interviews package at interviews.stanford.edu.  I
|> got it, but it is too much.  It looks like too much work to try to
|> identify, extract and modify relevant components.  I am looking for
|> code that is not encumbered by a complex and extensive framework which
|> is beyond our needs.  We just need the spline "extensions" to the Xlib.
Look in xfig.  It has two types of spline algorithms and is relatively simple.
Xfig is available from export.lcs.mit.edu in
/contrib/R5fixes/xfig-patches/xfig.2.1.6.tar.Z
--
Brian V. Smith    (bvsmith@lbl.gov)
Lawrence Berkeley Laboratory
I don't speak for LBL; they don't pay me enough for that.
From: lungtt@gus.ecn.purdue.edu (Terence T. Lung)
Subject: Re: Honors Degrees: Do they mean anything?
Organization: Purdue University Engineering Computer Network
Lines: 6
I hear George Bush (remember him?) will receive an honors degree from
some Kuwaiti University for contributing to certain Kuwaiti interests
not too long ago.  Do you think it would add much to his resume? ;-)
From: beck@irzr17.inf.tu-dresden.de (Andre Beck)
Subject: Re: Converting contents of X-window to color postscript
Organization: Dept. of Computer Science, TU Dresden, Germany.
Lines: 33
Distribution: world
Reply-To: Andre_Beck@IRS.Inf.TU-Dresden.DE
NNTP-Posting-Host: irzr17.inf.tu-dresden.de
In article <1993Apr8.200441.9423@jwminhh.hanse.de>, wieck@jwminhh.hanse.de (Jan Wieck) writes:
|> mbheprg@PROBLEM_WITH_INEWS_GATEWAY_FILE (Raju Gurung) writes:
|> : Jeff Haferman (haferman@icaen.uiowa.edu) wrote:
|> : > Can somebody point me to source code for dumping the contents of
|> : > an X-window into a color postscript file?  I have written
|> : > an app which brings up an X-window, and I want (at the click
|> : > of the mouse) to dump the window into a postscript file.
|> :
|> :
|> :
|> : I use xwd and xwd2ps. To do it from within a program I use
|> : xwd -id xxxxx where xxxxx is the window id obtained from XtWindow(widget).
|>
|>     He asked for sources.
|>
|>     The   portable    bitmap    tools    from    Jef    Poskanzer
|>     <jef@well.sf.ca.us>  include  filters  to  do  that (and much
|>     more).
|>
BTW, the X11 tools come as sources. The sillyness of most vendors lets you
stuck with binaries.
Anyway, have a look onto xgrab/xgrabsc. It does the IMHO best job for
this, including compression.
--
+-o-+--------------------------------------------------------------+-o-+
| o |                \\\-  Brain Inside -///                       | o |
| o |                    ^^^^^^^^^^^^^^^                           | o |
| o | Andre' Beck (ABPSoft) mehl: Andre_Beck@IRS.Inf.TU-Dresden.de | o |
+-o-+--------------------------------------------------------------+-o-+
From: art@cs.UAlberta.CA (Art Mulder)
Subject: comp.windows.x: Getting more performance out of X.  FAQ
Summary: This posting contains a list of suggestions about what you can do to get the best performance out of X on your workstation -- without buying more hardware.
Keywords: FAQ speed X
Nntp-Posting-Host: spirit-riv.cs.ualberta.ca
Reply-To: art@cs.ualberta.ca (Art Mulder)
Organization: University of Alberta, Edmonton, Canada
Expires: Thu, 20 May 1993 23:00:00 GMT
Lines: 677
Archive-name: x-faq/speedups
Last-modified: 1993/4/15
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
HOW TO MAXIMIZE THE PERFORMANCE OF X -- monthly posting
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Compiled by Art Mulder (art@cs.ualberta.ca)
More RAM, Faster CPU's, More disk space, Faster Ethernet...  These
are the standard responses you hear when you ask how to improve the
performance of your workstation.
Well, more hardware isn't always an option, and I wonder if more
hardware is always even a necessity.
This "FAQ" list is a collection of suggestions and ideas from different
people on the net on how you can the best possible performance from X
Windows on your workstation, WITHOUT PURCHASING MORE HARDWARE.
Performance is a highly subjective issue.  The individual user must
balance `speed' versus `features' in order to come to a personal
decision.  Therefore this document can be be expected to contain many
subjective opinions in and amongst the objective facts.
This document is specifically concerned with X.  There are of course
many other factors that can affect the performance of a workstation.
However, they are outside the scope of this document.
[ People seriously interested in the whole area of system
performance, might want to look at the O'Reilly Nutshell Handbook
"System Performance Tuning" by Mike Loukides.  I'm about 25% of the
way through reading it, and it looks like a well-written
comprehensive treatment of system performance.  I'm unaware of any
other similar books.  --ed.]
-----------------
Table of Contents
-----------------
0. Introduction & Administrivia
1. What about the "Other X FAQ"?
2. Window Managers
3. The X Server
Which Server?
Locking the Server into RAM?
Starting your Server
Fonts
About the Resources File
!      Define Your Display Properly
4. Clients
A Better Clock for X
A Better Terminal Emulator for X
Tuning your client
5. Miscellaneous Suggestions
Pretty Pictures
A Quicker Mouse
Programming Thoughts
Say What!?
6. Other Sources of Information
7. Author & Notes
! = changed since last issue.
* = new since last issue.
-----------------------------
Introduction & Administrivia
-----------------------------
This document is posted each month, on or around the 15th, to the
Usenet news groups comp.windows.x, news.answers, and comp.answers.
If you are reading a copy of this FAQ which is more than a few
months old (see the "Last-modified" date above) you should probably
locate the latest edition, since the information may be outdated.
If you do not know how to get those newsgroups and/or your site does
not receive them and/or this article has already expired, you can
retrieve this FAQ from an archive site.
There exist several usenet FAQ archive sites.  To find out more about
them and how to access them, please see the "Introduction to the
news.answers newsgroup" posting in news.answers.
The main FAQ archive is at rtfm.mit.edu [18.172.1.27].  This document
can be found there in /pub/usenet/news.answers/x-faq/speedups.  If
you do not have access to anonymous ftp, you can retrieve it by
sending a mail message to mail-server@pit-manager.mit.edu with the
command "send usenet/news.answers/x-faq/speedups" in the message body.
-----------------------------
What about the "Other X FAQ"?
-----------------------------
David B. Lewis (faq%craft@uunet.uu.net) maintains the informative and
well written "comp.windows.x Frequently Asked Questions" document.
Its focus is on general X information, while this FAQ concentrates
on performance.
The comp.windows.x FAQ does address the issue of speed, but only with
regards to the X server.  The gist of that topic seems to be:
"Use X11R5, it is faster than R4".
(Please see the X FAQ for complete details).
---------------
Window Managers
---------------
There are a lot of window managers out there, with lots of different
features and abilities.  The choice of which to use is by necessity a
balancing act between performance and useful features.  At this
point, most respondents have agreed upon "twm" as the best candidate
for a speedy window manager.
A couple of generic tricks you can try to soup up your window manger,
is turning off unnecessary things like "zooming" and "opaque move".
Also, if you lay out your windows in a tiled manner, you reduce the
amount of cpu power spent in raising and lowering overlapping
windows.                           Joe English (joe@trystero.art.com)
I've found that a good font for tiling is 7x13 (aka:
-misc-fixed-medium-r-normal--13-100-100-100-c-70-iso8859-1 ). It is
the biggest font I know of that I can use on my Sun (1152x900 screen)
and still get two 80 column terminal windows side-by-side on the
display with no overlap.  Other font suggestions will be accepted.
------------
The X Server
------------
Which Server?
- - - - - - -
Make sure that your server is a proper match for your hardware.
If you have a monochrome monitor, use a monochrome X11 server.
On my Monochrome Sun, I haven't noticed much difference between
the Xsun (colour) server and XsunMono, however it was pointed out to
me that XsunMono is about 800k smaller and therefore should contribute
to less paging.
[ thanks to: Jonny Farringdon (j.farringdon@psychol.ucl.ac.uk),
Michael Salmon (Michael.Salmon@eos.ericsson.se) ]
How your server was compiled can also make a difference.  Jeff Law
(law@schirf.cs.utah.edu) advises us that on a Sun system, X should be
compiled with gcc (version 2.*) or with the unbundled Sun compiler.
You can expect to get "*very* large speedups in the server" by not
using the bundled SunOS compiler.  I assume that similar results
would occur if you used one of the other high-quality commercial
compilers on the market.
Locking the Server into RAM?
- - - - - - - - - - - - - - -
Has anyone tried hacking the X server so that it is locked into RAM and
does not get paged?  eg: via a call to plock().  Does this help
performance at all?  I've had one inquiry on this topic, and a few
pointers to the plock() function call, but no hard evidence from someone
who's tried it.  I am not in a position to give it a try.
[thanks to: Eric C Claeys (ecc@eperm.att.com),
Danny Backx (db@sunbim.be),
Juan D. Martin (juando@cnm.us.es) ]
Starting your Server
- - - - - - - - - - -
Joe English (joe@trystero.art.com) :
If you start up a lot of clients in your .xsession or whatever, sleep
for a second or two after launching each one.  After I changed my
.xclients script to do this, logging in actually took *less* time...
we have a heavily loaded system without much core, though.
This sounds crazy, but I have confirmed that it works!
Warner Losh (imp@Solbourne.COM) provided me with a good explanation of
why this works, which I have summarized here:
When you start up an X server it takes a huge amount of time to
start accepting connections.  A lot of initialization is done by
the server when it starts.  This process touches a large number of
pages.  Any other process running at the same time would fight the
server for use of the CPU, and more importantly, memory.  If you
put a sleep in there, you give the Server a chance to get itself
sorted out before the clients start up.
Similarly, there is also a lot of initialization whenever an X
client program starts: toolkits registering widgets, resources
being fetched, programs initializing state and "databases" and so
forth.  All this activity is typically memory intensive.  Once this
initialization is done ("The process has reached a steady state"),
the memory usage typically settles down to using only a few pages.
By using sleeps to stagger the launching of your clients in your
.Xinitrc , you avoid them fighting each other for your
workstation's limited resources
This is most definitely a "Your Mileage May Vary" situation, as there
are so many variables to be considered: available RAM, local swap
space, load average, number of users on your system, which clients
you are starting, etc.
Currently in my .xinitrc I have a situation like:
(sleep 1; exec xclock ) &
(sleep 1; exec xbiff ) &
(sleep 1; exec xterm ) &
(sleep 1; exec xterm ) &
I've experimented with:
(sleep 1; exec xclock ) &
(sleep 2; exec xbiff ) &
(sleep 3; exec xterm ) &
(sleep 4; exec xterm ) &
I've even tried:
(sleep 2; exec start_X_clients_script ) &
and then in start_X_clients_script I had:
(sleep 1; exec xclock ) &
(sleep 1; exec xbiff ) &
(sleep 1; exec xterm ) &
(sleep 1; exec xterm ) &
[ The idea with this last one was to make sure that xinit had
completely finished processing my .xinitrc, and had settled down
into a "steady state" before the sleep expired and all my clients
were launched. ]
All of these yielded fairly comparable results, and so I just stuck with
my current setup, for its simplicity.  You will probably have to
experiment a bit to find a setup which suits you.
Fonts
- - -
Loading fonts takes time and RAM.  If you minimize the number of fonts
your applications use, you'll get speed increases in load-up time.
One simple strategy is to choose a small number of fonts (one small, one
large, one roman, whatever suits you) and configure all your clients -- or
at least all your heavily used clients -- to use only those few fonts.
Client programs should start up quicker if their font is already loaded
into the server.  This will also conserve server resources, since fewer
fonts will be loaded by the server.
[ Farrell McKay (fbm@ptcburp.ptcbu.oz.au),
Joe English (joe@trystero.art.com) ]
eg: My main xterm font is 7x13, so I also have twm set up to use 7x13
in all it's menus and icons etc.  Twm's default font is 8x13.  Since
I don't normally use 8x13, I've eliminated one font from my server.
Oliver Jones (oj@roadrunner.pictel.com):
Keep fonts local to the workstation, rather than loading them over nfs.
If you will make extensive use of R5 scalable fonts, use a font server.
About the Resources File
- - - - - - - - - - - - -
Keep your .Xresources / .Xdefaults file small.  Saves RAM and saves
on server startup time.          Joe English (joe@trystero.art.com)
One suggestion:
In your .Xdefaults (.Xresources) file, try putting only the minimum
number of resources that you want to have available to all of your
applications.  For example:  *reverseVideo: true
Then, separate your resources into individual client-specific
resource files.  For example: $HOME/lib/app-defaults.  In your
.login file set the environment variable XUSERFILESEARCHPATH:
setenv XUSERFILESEARCHPATH $HOME/lib/app-defaults/%N
[ The "comp.windows.x Frequently Asked Questions" FAQ contains
an excellent explanation of how these environment variables work.
--ed.]
So, when xterm launches, it loads its resources from
.../app-defaults/XTerm.  Xdvi finds them in .../app-defaults/XDvi,
and so on and so forth.  Note that not all clients follow the same
XXxxx resource-file naming pattern.  You can check in your system
app-defaults directory (often: /usr/X11R5/lib/X11/app-defaults/) to
find the proper name, and then name your personal resource files
with the same name.
This is all documented in the Xt Specification (pg 125 & 666).
[Thanks to: Kevin Samborn (samborn@mtkgc.com),
Michael Urban (urban@cobra.jpl.nasa.gov),
and Mike Long (mikel@ee.cornell.edu).
Kevin is willing mail his setup files to inquirers.]
This method of organizing your personal resources has the following
benefits:
- Easier to maintain / more usable.
- Fewer resources are stored in the X server in the RESOURCE_MANAGER
property.  As a side benefit your server may start fractionally
quicker, since it doesn`t have to load all your resources.
- Applications only process their own resources, never have to sort
through all of your resources to find the ones that affect them.
It also has drawbacks:
- the application that you are interested in has to load an
additional file every time it starts up.  This doesn't seem to
make that much of a performance difference, and you might
consider this a huge boon to usability.  If you are modifying an
application's resource database, you just need to re-run the
application without having to "xrdb" again.
- xrdb will by default run your .Xdefaults file through cpp.  When
your resources are split out into multiple resource files and
then loaded by the individual client programs, they will not.
WATCH OUT FOR THIS!!
I had C style comments in my .Xdefaults file, which cpp stripped
out.  When I switched to this method of distributed resource
files I spent several frustrating days trying to figure out why
my clients were not finding their resources.  Xt did *NOT*
provide any error message when it encountered the C style
comments in the resource files, it simply, silently, aborted
processing the resource file.
The loss of preprocessing (which can be very handy, e.g. ``#ifdef
COLOR'' ...) is enough to cause some people to dismiss this
method of resource management.
- You may also run into some clients which break the rules.  For
example, neither Emacs (18.58.3) nor Xvt (1.0) will find their
resources if they are anywhere other than in .Xdefaults.
- when starting up a client on a machine that does not share files
with the machine where your resources are stored, your client
will not find its resources.  Loading all your resources into the
server will guarantee that all of your clients will always find
their resources.            Casey Leedom (casey@gauss.llnl.gov)
A possible compromise suggestion that I have (and am planning on trying)
is to put resources for all my heavily used clients (eg: xterm) into my
.Xdefaults file, and to use the "separate resources files" method for
clients that I seldom use.
Define Your Display Properly
- - - - - - - - - - - - - - -
Client programs are often executed on the same machine as the server.  In
that situation, rather than setting your DISPLAY environment variable to
"<hostname>:0.0", where <hostname> is the name of your workstation, you
should set your DISPLAY variable to "unix:0.0" or ":0.0".  By doing this
you access optimized routines that know that the server is on the same
machine and use a shared memory method of transferring requests.
[thanks to Patrick J Horgan (pjh70@ras.amdahl.com)]
See the _DISPLAY NAMES_ section of the X(1) man page for further
explanation of how to properly set your display name.
"I don't think it's stock MIT, but (at least) Data General and HP have
libraries that are smart enough to use local communication even when
the DISPLAY isn't set specially."
Rob Sartin (88opensi!sartin@uunet.UU.NET)
[Jody Goldberg (jody@algorithmics.com) sent me an Xlib patch to change
stock R5 to use local communication even if DISPLAY is not properly set.
I don't want to get in the business of distributing or trying to juggle
non-MIT patches and so have elected not to include it here.  Hopefully MIT
will apply this minor (~8 lines) patch themselves.  In the meantime, if
you want to try it yourself, email Jody.  --ed.]
-------
Clients
-------
If you only have a few megabytes of Ram then you should think
carefully about the number of programs you are running.  Think also
about the _kind_ of programs you are running.  For example:  Is there
a smaller clock program than xclock?
Unfortunately, I haven't really noticed that programs advertise how large
they are, so the onus is on us to do the research and spread the word.
[ Suggestions on better alternatives to the some of the standard clients
(eg: Xclock, Xterm, Xbiff) are welcome.  --ed.]
I've received some contradictory advice from people, on the subject
of X client programs.  Some advocate the use of programs that are
strictly Xlib based, since Xt, Xaw and other toolkits are rather
large.  Others warn us that other applications which you are using
may have already loaded up one or more of these shared libraries.  In
this case, using a non-Xt (for example) client program may actually
_increase_ the amount of RAM consumed.
The upshot of all this seems to be: Don't mix toolkits.  That is, try
and use just Athena clients, or just Xview clients (or just Motif
clients, etc).  If you use more than one, then you're dragging in
more than one toolkit library.
Know your environment, and think carefully about which client
programs would work best together in that environment.
[Thanks to: Rob Sartin (88opensi!sartin@uunet.UU.NET),
Duncan Sinclair (sinclair@dcs.gla.ac.uk | sinclair@uk.ac.gla.dcs) ]
A Better Clock for X
- - - - - - - - - - -
1) xcuckoo
suggested by: Duncan Sinclair (sinclair@dcs.gla.ac.uk)
available: on export.lcs.mit.edu
Xcuckoo displays a clock in the title bar of *another* program.
Saves screen real estate.
2) mclock
suggested by: der Mouse (mouse@Lightning.McRCIM.McGill.EDU)
available: larry.mcrcim.mcgill.edu (132.206.1.1) in /X/mclock.shar
Non Xt-based.  Extensively configurable.  it can be made to look
very much like MIT oclock, or mostly like xclock purely by changing
resources.
Of course, the ultimate clock --- one that consumes no resources, and
takes up no screen real estate --- is the one that hangs on your wall.
:-)
A Better Terminal Emulator for X
- - - - - - - - - - - - - - - - -
From the README file distributed with xterm:
+-----
|		 Abandon All Hope, Ye Who Enter Here
|
| This is undoubtedly the most ugly program in the distribution.
| ...
+-----
Ugly maybe, but at my site it's still the most used.  I suspect that
xterm is one of the most used clients at many, if not most sites.
Laziness?  Isn't there a better terminal emulator available?  See below.
If you must use xterm, you can try reducing the number of saveLines
to reduce memory usage.  [ Oliver Jones (oj@roadrunner.pictel.com),
Jonny Farringdon (j.farringdon@psychol.ucl.ac.uk) ]
1) Xvt
suggested by: Richard Hesketh (rlh2@ukc.ac.uk) :
available: export.lcs.mit.edu in /contrib/xvt-1.0.tar.Z
"...if you don't need all the esoteric features of xterm, then get
hold of xvt ...  it was written here just to save swap space as
xterm is rather a hog! "
This was written as a partial 'clone' of xterm.  You don't have to
rename your resources, as xvt pretends to be XTerm.  In it's current
version, you cannot bind keys as you can in xterm.  I've heard that
there are versions of xvt with this feature, but I've not found any
yet.
UPDATE (March 1993):  I recently had a few email conversations with
Brian Warkentin (brian.warkentine@eng.sun.com) regarding xvt.  He
questions whether xvt really is at all faster than xterm.  For
instance, xvt may initialize slightly faster, but compare scrolling
speed (try this quickie benchmark: /bin/time dd if=/etc/termcap
bs=40) and see which program can scroll faster.  Also, while xterm
may be slightly larger in RAM requirements (We don't have any hard
numbers here, does anyone else?) shared libraries and shared text
segments mean that xterm's paging requirements are not that major.
As an experiment, he ripped out all the tek stuff from xterm, but it
made little difference, since if you never use it, it never gets
brought into memory.
So here we stand with some conflicting reports on the validity of
xvt over xterm.  In summary?  Caveat Emptor, your mileage may vary.
If you can provide some hard data, I'd like to see it.
Specifically: How much RAM each occupies, how much swap each needs,
relative speed of each
2) mterm
suggested by: der Mouse (mouse@Lightning.McRCIM.McGill.EDU)
available: larry.mcrcim.mcgill.edu (132.206.1.1) in
/X/mterm.src/mterm.ball-o-wax.
"I also have my own terminal emulator.  Its major lack is
scrollback, but some people like it anyway."
Tuning your client
- - - - - - - - - -
Suggestions on how you can tune your client programs to work faster.
From Scott Barman (scott@asd.com) comes a suggestion regarding Motif
Text Field Widgets:
I noticed that during data entry into Motif text field widgets, I
was getting a slight lag in response to some keystrokes,
particularly the initial one in the field.  Examining the what was
going on with xscope I found it.  It seems that when the resource
XmNblinkRate is non-zero and the focus is on a text field widget
(or even just a text widget) the I-beam cursor will blink.
Every time the cursor appears or disappears in those widgets, the
widget code is making a request to the server (CopyArea).  The user
can stop this by setting the resource XmNblinkRate to 0.  It is not
noticeable on a 40MHz SPARC, but it does make a little difference
on a [slower system].
This specific suggestion can probably be applied in general to lots
of areas.  Consider your heavily used clients, are there any minor
embellishments that can be turned off and thereby save on Server
requests?
-------------------------
Miscellaneous Suggestions
-------------------------
Pretty Pictures
- - - - - - - -
Don't use large bitmaps (GIF's, etc) as root window backgrounds.
- The more complicated your root window bitmap, the slower the server
is at redrawing your screen when you reposition windows (or redraw, etc)
- These take up RAM, and CPU power.  I work on a Sun SPARC and I'm
conscious of performance issues, I can't comprehend it when I see
people with a 4mb Sun 3/60 running xphoon as their root window.
I'll let someone else figure out how much RAM would be occupied by
having a full screen root image on a colour workstation.
- If you're anything like me, you need all the screen real estate
that you can get for clients, and so rarely see the root window anyway.
[ Thanks to Qiang Alex Zhao (azhao@cs.arizona.edu)
for reminding me of this one. --ed.]
A Quicker Mouse
- - - - - - - -
Using xset, you can adjust how fast your pointer moves on the screen
when you move your mouse.  I use "xset m 3 10" in my .xinitrc file,
which lets me send my pointer across the screen with just a flick of
the wrist.  See the xset man page for further ideas and information.
Hint: sometimes you may want to *slow down* your mouse tracking for
fine work.  To cover my options, I have placed a number of different
mouse setting commands into a menu in my window manager.
e.g. (for twm) :
menu "mouse settings" {
"Mouse Settings:"			f.title
"  Very Fast"				! "xset m 7 10 &"
"  Normal (Fast)"			! "xset m 3 10 &"
"  System Default (Un-Accelerated)"	! "xset m default &"
"  Glacial"				! "xset m 0 10 &"
}
Programming Thoughts
- - - - - - - - - - -
Joe English (joe@trystero.art.com) :
To speed up applications that you're developing, there are tons of
things you can do.  Some that stick out:
- For Motif programs, don't set XmFontList resources for individual
buttons, labels, lists, et. al.; use the defaultFontList or
labelFontList or whatever resource of the highest-level manager
widget.  Again, stick to as few fonts as possible.
- Better yet, don't use Motif at all.  It's an absolute pig.
- Don't create and destroy widgets on the fly.  Try to reuse them.
(This will avoid many problems with buggy toolkits, too.)
- Use a line width of 0 in GCs.  On some servers this makes a HUGE
difference.
- Compress and collapse multiple Expose events.  This can make the
difference between a fast application and a completely unusable
one.
Francois Staes (frans@kiwi.uia.ac.be) :
Just a small remark: I once heard that using a better malloc
function would greatly increase performance of Xt based
applications since they use malloc heavily. They suggested trying
out the GNUY malloc, but I didn't find the time yet. I did some
tests on small programs just doing malloc and free, and the
differences were indeed very noticeable ( somewhat 5 times faster)
[ Any confirmation on this from anyone?  --ed.]
Andre' Beck (Andre_Beck@IRS.Inf.TU-Dresden.de) :
- Unnecessary NoExpose Events.
Most people use XCopyArea/XCopyPlane as fastest blit routines, but
they forget to reset graphics_exposures in the GC used for the
blits. This will cause a NoExpose Event every blit, that, in most
cases, only puts load onto the connection and forces the client to
run through it's event-loop again and again.
- Thousands of XChangeGC requests.
This "Gfx Context Switching" is also seen in most handcoded X-Apps,
where only one or few GCs are created and then heavily changed
again and again.  Xt uses a definitely better mechanism, by caching
and sharing a lot of GCs with all needed parameters. This will
remove the load of subsequent XChangeGC requests from the
connection (by moving it toward the client startup phase).
Say What!?
- - - - - -
Some contributors proposed ideas that seem right off the wall at first:
David B. Lewis (by day: dbl@osf.org, by night: david%craft@uunet.uu.net) :
How about this: swap displays with someone else. Run all your programs
on the other machine and display locally; the other user runs off your
machine onto the other display. Goal: reduce context switches in the
same operation between client and server.
I'm not in a situation where I can easily try this, but I have received
the following confirmation...
Michael Salmon (Michael.Salmon@eos.ericsson.se):
I regularly run programs on other machines and I notice a big
difference. I try to run on a machine where I will reduce net usage
and usually with nice to reduce the impact of my intrusion. This
helps a lot on my poor little SS1+ with only 16 MB, it was
essential when I only had 8 MB.
Casey Leedom (casey@gauss.llnl.gov) :
[The X11 Server and the client are] competing for the same CPU as
your server when you run it on the same machine.  Not really a
major problem, except that the X11 client and the server are in
absolute synchronicity and are context thrashing.
Timothy H Panton (thp@westhawk.uucp) :
Firstly it relies on the fact that most CPU's are mostly idle, X's
cpu usage is bursty.  so the chances of you and your teammate
doing something cpu-intensive at the same time is small. If they
are not then you get twice the cpu+memory available for your
action.
The second factor is that context switches are expensive, using 2
cpu's halves them, you pay a price due to the overhead of going
over the network, but this is offset in most cases by the improved
buffering of a network (typically 20k vs 4k for a pipe), allowing
even fewer context switches.
----------------------------
Other Sources of Information
----------------------------
Volume 8 in O'Reilly's X Window System Series, ``X Window System
Administrator's Guide'' is a book all X administrator's should read.
Adrian Nye (adrian@ora.com):
A lot more tips on performance are in the paper "Improving X
Application Performance" by Chris D. Peterson and Sharon Chang, in
Issue 3 of The X Resource.
An earlier version of this paper appeared in the Xhibition 1992
conference proceedings.
This paper is absolutely essential reading for X programmers.
--------------
Author & Notes
--------------
This list is currently maintained by Art Mulder (art@cs.ualberta.ca)
Suggestions, corrections, or submission for inclusion in this list
are gladly accepted.  Layout suggestions and comments (spelling
mistak's too! :-) are also welcome.
Currently I have listed all contributors of the various comments and
suggestions.  If you do not want to be credited, please tell me.
speedup-x-faq is copyright (c) 1993 by Arthur E. Mulder
You may copy this document in whole or in part as long as you don't
try to make money off it, or pretend that you wrote it.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
--
...art mulder ( art@cs.ualberta.ca )    | "Do not be conformed to this world,
Department of Computing Science         |  but be transformed by the renewal
University of Alberta, Edmonton, Canada |  of your mind, ..."  Romans 12:2
From: drisko@ics.com (Jason Drisko)
Subject: Re: app-defaults files
Keywords: app-defaults Xdefaults
Nntp-Posting-Host: sunburn.ics.com
Organization: Integrated Computer Solutions, Inc.
Lines: 30
Hello,
When starting bx if you recieve an error message saying
"cannot load app-defaults file..." check your XAPPLRESDIR
environment variable and then put the file BuilderXcessory
( this is the app-defaults file for BX ) in the directory
specified by the XUSERFILESEARCHPATH environment variable.
If you don't have an XUSERFILESEARCHPATH environment variable
then set XUSERFILESEARCHPATH to be the directory where the
BuilderXcessory file is. You can do this using the setenv
command under csh. Note that the name ends in .ad so you will
have to set XUSERFILESEARCHPATH to {BX}/%N.ad to get the
app-defaults to load correctly.
To make sure the the app-defaults file can be read by all
the users, make sure that a copy of or a link to the app-defaults
file exists in /usr/lib/X11/app-defaults or
/usr/openwin/lib/app-defaults, depending on how your system is
set up.
Once you have taken care of this set the *systemDirectory
resource to be the directory in which you have installed BX.
For example let's say I've installed BX in /t then my system
directory resource should be set like this :
*systemDirectory: /t/builderXcessory
Thanks,
ICS Tech Support
From: whaley@sigma.kpc.com (Ken Whaley)
Subject: Re: XCopyPlane Question
In-Reply-To: nancie@neko.CSS.GOV's message of 14 Apr 1993 15:19:05 -0400
Organization: Kubota Pacific Computer Inc.
Lines: 88
>
> I am trying to use XCopyPlane to copy a single plane
> from a depth-8 pixmap to a depth-1 pixmap.  Everytime I
> try this, I see absolutely nothing displayed.  I know there
> is data in the depth-8 pixmap becuase I have checked by doing
> an XCopyArea to the screen.
>
> I have been successful getting XCopyPlane to work if I use
> two pixmaps of depth-8.  Is there a problem with what I am
> trying to do??
>
> Could someone please scan my code segment and let me know
> where I am going wrong...
>
> I have created a XmDrawingArea widget called canvas.
>
>     w_id = XtWindow(canvas);
>     display = XtDisplay(canvas);
>     screen = DefaultScreen (display);
>     pixmap8 = XCreatePixmap (display, RootWindow (display, screen),
>                     w_width, w_height, DefaultDepth (display, screen));
>     pixmap1 = XCreatePixmap (display, RootWindow (display, screen),
>                     w_width, w_height, 1);
>
>     w_gc8 = XCreateGC (display, w_id, 0, NULL);
>     w_gc1 = XCreateGC (display, pixmap1, 0, NULL);
>
> --> Code to read xwd image into pixmap8 is omitted <----
>
Have you set the foreground and background colors in w_gc1 to
something other than 0 and 1?  The WhitePixel and BlackPixel macros
on your server may not return values suitable for depth 1 drawables.
>     /* Copy one plane into the depth-1 pixmap */
>     XCopyPlane (display, pixmap8, pixmap1,
>                 w_gc1, 0, 0, w_width, w_height, 0, 0, 16);
>
Are you sure that the fifth plane of the data isn't all the same?  You could
have different pixel values in the image, but the fifth plane (0x10 == 16)
might all be the same value?
>     /* Using the depth-1 pixmap as the clipmask, copy it to the screen */
>     values.foreground = fg_color;
>     values.clip_x_origin = 0;
>     values.clip_y_origin = 0;
>     values.clip_mask = pixmap1;
>     mask = GCForeground | GCClipMask;
>     XChangeGC (display, w_gc8, mask, &values);
>
>     XFillRectangle (display, w_id, w_gc8, 0, 0, w_width, w_height);
>
If you just want to see the plane of data and want better performance,
don't use ClipMasks, just use pixmap1 as the stipple in a stippled
rectangle fill.  Many servers are very stupid about handling complex
clip lists, and turn a bitmap clip region into hundreds and hundreds of
little clipping rectangles, and clips every drawing primitive against every
one of these little triangles.
Actually, I must also ask the FAQ's #1 most popular reason why graphics
don't show up: do you wait for an expose event before drawing your
rectangle?
> Other Info:  X11R5 Patchlevel 10
>              Motif 1.2.1
>              Sun Sparc2 running SunOS 4.1.1
>
>
> Thanks in Advance!
>
>  ----------------------------------------------------------------
>  Nancie P. Marin      NET:  nancie@neko.css.gov
>  ENSCO Inc.           MAIL: 445 Pineda Ct.  Melbourne, Fl.  32940
>  (407)254-4122        FAX:  (407)254-3293
>  ----------------------------------------------------------------
--
Kenneth Whaley			 (408) 748-6347
Kubota Pacific Computer, Inc.	 Email: whaley@kpc.com
2630 Walsh Avenue
Santa Clara, CA.  95051
From: beck@irzr17.inf.tu-dresden.de (Andre Beck)
Subject: Re: MS Windows VS Motif (GUI design differences), was Re: Future of Unix
Organization: Dept. of Computer Science, TU Dresden, Germany.
Lines: 46
Distribution: usa
Reply-To: Andre_Beck@IRS.Inf.TU-Dresden.DE
NNTP-Posting-Host: irzr17.inf.tu-dresden.de
In article <IK.93Apr9075401@sneaker.ctt.bellcore.com>, ik@sneaker.ctt.bellcore.com (Ik Su Yoo ) writes:
|> >>>>> "aab" == Andy Burgess <aab@cichlid.com> writes:
|>
|>   aab> In <1993Apr7.200950.16856@texhrc.uucp> pyeatt@Texaco.com (Larry D. Pyeatt) writes:
|>
|>   aab> <some deleted>
|>
|>     >If you
|>     >look closely at Motif, you will see that it is just MS-Windows
|>     >with more eye-pleasing color and texture.  The only real difference
|>     >is that an MS application window can "contain" other toplevel children,
|>     >while a Motif application window "launches" its children out onto the
|>     >desktop.
|>
|>   aab> To those of you familiar with both GUIs, is this correct? My experience
|>   aab> with X makes me think that this MSW behavior is easily duplicated
|>   aab> with X11. But I don't know MSW...
|>
|> Another important difference is that MSW doesn't have any window that
|> handle sophisticated geometry management (like XmForm). Also, I believe
|> that in Windows 3.x you're limited to 64K of resources (windows, menus,
|> icons, etc.).
IMHO this whole discussion named "Motif looks like MS-Windogs" is totally
stupid. The only thing remotely influenced here can be the Motif Window
Manager, that features an arrangement of buttons and menus somewhat
similiar to this of the MS-W windowmanaging agent, however its name is.
But MWM is only a SMALL part of Motif, in fact, MWM and Motif can work
without each other, and if one doesn't like MWMs outfit for some reason,
he switches to another windowmanager. All this doesn't influence Motif,
which is a toolkit of widgets to write applications, and this toolkit
is IMHO uncomparable to MS-W, because it is much more wellorganized and
features alot of goodies more than the MS-W interface.
You cannot say "A Porsche looks like a VW K�fer" ONLY because they have the
wheel and the gear at the same position. Motif and MS-W are complete
different worlds, only one element of the Motif world has some gear and wheel
at the same position as MS-W.
--
+-o-+--------------------------------------------------------------+-o-+
| o |                \\\-  Brain Inside -///                       | o |
| o |                    ^^^^^^^^^^^^^^^                           | o |
| o | Andre' Beck (ABPSoft) mehl: Andre_Beck@IRS.Inf.TU-Dresden.de | o |
+-o-+--------------------------------------------------------------+-o-+
From: jessea@u013.me.vp.com (Jesse W. Asher)
Subject: X version of whois??
Organization: Varco-Pruden Buildings
Lines: 8
Has an X version of whois been written out there?  If so, where can I ftp it
from?  Thanks.
--
Jesse W. Asher                                          (901)762-6000
Varco-Pruden Buildings
6000 Poplar Ave., Suite 400, Memphis, TN  38119
Internet: jessea@vpbuild.vp.com                   UUCP: vpbuild!jessea
From: kk@unisql.UUCP (Kerry Kimbrough)
Subject: GUI Study -- do users want to build solutions?
Organization: The Internet
Lines: 30
NNTP-Posting-Host: enterpoop.mit.edu
To: visual.com!dbl@cs.utexas.edu
Cc: expo.lcs.mit.edu!xpert@cs.utexas.edu
...let me point out that both GUI-based word-processors and text-based
formatters both have a language; one happens to be mouse- and
action-based, and the other symbol-based.
True, but that's beside the point. This is a fact about an abstract model
of what the GUI users are doing, not about what they actually *are* doing.
This abstract model is only apparent from the perpective of a *programmer*
of the system. (NB: some users may see it, too, but only when they put
aside the work at hand and start thinking like a programmer.)
I'm not saying that the programmer's perspective is evil or stunted. After
all, that's what I do, too! I am saying that UI designers must carefully
distinguish between the user/programmer conceptual models, and they must
ultimately serve the user of the system, not the builder of the system.
I don't recall the actual stats, but something like 1 in 5 people can be
categorized as a "symbol manipulator".
It would be interesting to know more about the meaning and basis for this
claim. At any rate, I don't think this is evidence that 20% of users think
like programmers. Bankers, financial analysts, structural engineers ---
these are all people whose work you could characterize as primarily symbol
manipulation. But what they do is not programming, and programming is not
required to do what they do.
To restate my previous point: yes, users want to build their own solutions;
no, they do not want to do programming to accomplish this.
From: eanders@cthulhu.sura.net (Eric Anderson)
Subject: Re: Is Xlib thread safe?
Organization: SURAnet, College Park, MD, USA, NA, Earth, Milky Way
Lines: 26
NNTP-Posting-Host: cthulhu.sura.net
Keywords: thread safe mutexes LockDisplay
In article <9304132134.AA24803@alex.lcs.mit.edu> gildea@expo.lcs.mit.EDU (Stephen Gildea) writes:
>No, the R5 Xlib is not thread-safe.  But we are working on it.
>See my article in The X Resource, issue 5.  Consortium members
>will have a multi-threaded version soon, and it will be part
>of R6.
There is a multi threaded xlib version written.
Do an archie search for mt-xlib:
Host export.lcs.mit.edu
Location: /contrib
DIRECTORY drwxr-xr-x        512  Jul 30 1992  mt-xlib
Location: /contrib/mt-xlib-1.1
FILE -rw-r--r--     106235  Jan 21 14:02  mt-xlib-xhib92.ps.Z
FILE -rw-r--r--    1658123  Jan 21 14:03  mt-xlib.tar.Z
Location: /contrib/mt-xlib
FILE -rw-r--r--     106235  Jul 30 1992  mt-xlib-xhib92.ps.Z
FILE -rw-r--r--    1925529  Jul 30 1992  mt-xlib.tar.Z
et.al.
-Eric
*********************************************************
"Overhead, without any fuss, the stars were going out."
-The Nine Billion Names of God
"Yes, you're very smart.  Shut up."
-In "The Princess Bride"
*********************************************************
From: lusardi@cs.buffalo.edu (Christopher Lusardi)
Subject: System file in /tmp
Organization: State University of New York at Buffalo/Comp Sci
Lines: 10
Nntp-Posting-Host: zanian.cs.buffalo.edu
What is the directory .X11-unix for in /tmp? When I start
x, it is created by the system. This directory wasn't created
by root, and it contains an empty file (X0) that is owned by me.
--
|  .-,                ###|For a lot of .au music: ftp sounds.sdsu.edu
| /   /   __  ,  _    ###|then cat file.au > /dev/audio
| \_>/ >_/ (_/\_/<>_     |UB library catalog:telnet bison.acsu.buffalo.edu
|_                14261 _|(When in doubt ask: xarchie, xgopher, or xwais.)
From: dsc3jfs@imc10 (John F Skoda)
Subject: How do I change the Text cursor in xterm
Organization: {not speaking for the } National Naval Medical Center
Lines: 20
Nntp-Posting-Host: imc10.med.navy.mil
X-Newsreader: TIN [version 1.1 PL8]
I have just finished building X11R5 on a 386 running Interactive Unix (SysVR3)
and I am having a problem with xterm.  On any font larger that 5x7 it messes up
characters that are types, the cursor seems to be "too" large, or splits into
a 1/2 reverse video, 1/2 outline block (which changes when the pointer is moved
into the window).  I am trying to use monospaced fonts (not -p- fonts).  Is
there any way of changing the appearence of the block cursor is an Xterm?
Thanks
--
------------------------------------------------------------------------------
-- John F Skoda                            | Windows NT, OS/2 for the 90's.
-- electronic learning facilitators, inc.  | C++, Cobol for the 21st century.
-- Bethesda, MD                            | Use Ada, Unix, and other socially
-- dsc3jfs@imc10.med.navy.mil		   | unacceptable systems.
-- dsc3jfs@imc30.med.navy.mil              | (and before you flame, I'm an
-------------------------------------------| Expos fan... ...need I say more?)
with DISCLAIMER_PACKAGE;
From: kobet@xsun2a.ct.picker.com (Harry J Kobetitsch)
Subject: xwd
Nntp-Posting-Host: 144.54.64.38
Organization: Picker International, Inc.
Distribution: na
Lines: 13
I am trying to run xwd on a Sun SPARCstation IPX
with SunOS 4.1.2 and Openwindows 3.0. I am using
the Motif window manager. I have been unsuccessful
in using xwd under Motif. I get the following when
doing xwd -out xwd.dmp
X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request:  73 (X_GetImage)
Resource id in failed request:  0x500043
Serial number of failed request:  213
Current serial number in output stream:  213
Does anyone have any insight to this ?
From: coe@leopard.cs.uidaho.edu (Mike Coe)
Subject: window manager
Organization: /users/student/coe/.organization
Lines: 19
Distribution: world
NNTP-Posting-Host: leopard.cs.uidaho.edu
I currently use a window manager called ctwm which
is very similar to hp's vuewm. (i.e.
it has multiple workspaces).  Is there a
motif based window manager that has this
same feature and is not a memory pig like vue?
mike
--
Michael L Coe                 |  "A mind is a terrible thing."
Laboratory of Applied Logic   |
University of Idaho           |
coe@leopard.cs.uidaho.edu     |
coe861@snake.cs.uidaho.edu
From: rgooch@rp.CSIRO.AU (Richard Gooch)
Subject: Re: X11R5 and Open Look
Organization: CSIRO Division of Radiophysics/Australia Telescope National Facility
Lines: 16
In article <1993Apr12.155820.82@aedc-vax.af.mil>, bonds@aedc-vax.af.mil writes:
> I am reposting this because I am not sure my first post ever made it out.
> I have built and installed X11R5 on my SPARCstation 2.  My aim is to run
> the MIT X server but retain the OpenLook Window Manager.  I am sure this
> is not uncommon, but I just want to make sure that I change and/or delete
> everything that I need to.  For instance, I can start xdm in rc.local, but
> how do I get rid of Xnews?
>
The OpenLook window manager source is available on the MIT contrib tapes
or from  export.lcs.mit.edu  .I would suggest building this too, rather than
using the version from OpenWindows. It is  olwm  v3.
Regards,
Richard Gooch....
From: donaldlf@k9.Rose-Hulman.Edu (Leslie F. Donaldson)
Subject: Problems using Graphic Context with Athena widgets
Organization: Rose-Hulman Institute of Technology
Lines: 15
Distribution: world
NNTP-Posting-Host: k9.cs.rose-hulman.edu
Keywords: athena,colormaps,graphic contex
I am creating a graphics program using the Athena widgets. I use
Xlib routines to install a custom Graphics Contex by obtaining the display,
and window variables with the XtWindowOfObject() and XtDisplayOfObject().
The object was one of the sub widgets.
The problem occurs that whenever a button is pressed or a menu is selected
the graphic contex reverts to the orginal one. I tried moving the allocation
of the graphic context before the allocation of the buttons but nothing
changed. I am preforming all of this manipulation before calling
XtAppMainLoop().
Thank you for any help.
Leslie Donaldson
donaldlf@cs.rose-hulman.edu
donaldlf@nextwork.rose-hulman.edu
From: daniels@NeoSoft.com (Brad Daniels)
Subject: Re: C++ toolkit "directions" ?
Organization: NeoSoft Communications Services -- (713) 684-5900
Lines: 41
In article <533@imp.HellNet.org> devil@loki.HellNet.org (Gil Tene) writes:
>I am trying to figure out the current C++ toolkit "directions".
>More simply, I'd like to know which C++ toolkit to "bet on"
>for use in a new long term project.
I have the same problem.  I have looked at Motif++, WWL, InterViews, GINA++,
and a few variations on the above.  I've also done a cursory examination
of Rogue Wave's View.h++.  I like View.h++'s abstractions best of all of the
toolkits I mentioned, but the resulting code looks little like Motif, and I
have little confidence that this software will catch on or otherwise result
in significant longevity for my code.  GINA++ allows you to write code which
looks a great deal like Motif and also makes interesting use of inheritance,
but the resulting code is almost too Motif-like, and is certainly not
significantly less verbose than equivalent C code.  InterViews looks
promising, but I haven't found a free version with Motif support, and I'm
not confident how widely InterViews with Motif support will be adopted,
and what (if any) specific Motif support will be available over time.  The
other libraries produce code which is less Motif-like, but which does not make
sufficient use of the features of C++ to simplify my coding task.
At this point, my inclination is to write my Motif manipulation routines in
C, and invoke those routines from my C++ code using simple abstractions suited
to my specific task.  Later, if OSF or some credible standards-setting body
comes up with a C++ interface to Motif, I will change to that.  It does me
no goo to write in C++ if my choice of interfaces leaves me with code which
leaves me tied to an abstraction which is not consistent with the industry
directions.  It's better to take a standard if inferior solution for now
than to go with a slgihtly superior approach which will leave me with both
useless code and useless skills a few years from now.  Views.h++ is the only
library I'd consider right now, but in our environment, we'd end up spending
nearly $5000 to use it, and I can't justify it when it's likely to cause
short-term productivity decreases as we learn the new abstraction, and is
unlikely to be a sufficiently long-lived solution for us to reap the benefits
at the high end of the J curve.
- Brad
--
Brad Daniels		`	|  "If money can't buy happiness,
daniels@neosoft.com		|   I guess I'll have to rent it."
I don't work for NeoSoft, and	|		- Weird Al Yenkovic
don't speak for my employer.	|
From: daniels@NeoSoft.com (Brad Daniels)
Subject: Fresco status?
Organization: NeoSoft Communications Services -- (713) 684-5900
Lines: 15
I've been hearing rumblings about Fresco, and it sounds like it may be
what I'm looking for, but how far is it from release, or at least some kind
of availability?  How similar is it to InterViews?  If I code to InterViews,
will my code work with Fresco?  How about Motif?  I've heard some mention
of versions of InterViews which support Motif.  Will it be feasible to use
Motif with Fresco?
Any information would be much appreciated.
- Brad
--
Brad Daniels		`	|  "If money can't buy happiness,
daniels@neosoft.com		|   I guess I'll have to rent it."
I don't work for NeoSoft, and	|		- Weird Al Yenkovic
don't speak for my employer.	|
From: daniels@NeoSoft.com (Brad Daniels)
Subject: Re: iconize a running application?
Organization: NeoSoft Communications Services -- (713) 684-5900
Lines: 14
In article <C5IFJ0.F2u@csn.org> doomer@teal.csn.org (John Dumais) writes:
>I've been trying to figure a way to programmatically iconize
>an application running under a Motif window manager.  I have tried
>several approaches includeing sending events to the application's
>border window, but to no avail?  Anyone done this before?
I tend to use XIconifyWindow to achieve this effect...  Have you tried that?
- Brad
--
Brad Daniels		`	|  "If money can't buy happiness,
daniels@neosoft.com		|   I guess I'll have to rent it."
I don't work for NeoSoft, and	|		- Weird Al Yenkovic
don't speak for my employer.	|
From: jbore@cosmos.shearson.com (Joe Bore)
Subject: Re: iconize a running application?
In-Reply-To: doomer@teal.csn.org's message of Thu, 15 Apr 1993 05:35:22 GMT
Organization: Lehman Brothers
Lines: 39
it doesnt matter what window mgr you running under, you can use the X
routine:
XIconfiyWindow(display, w, screen_number)
Display *display;
Window w;
int screen_number;
as in
XiconifyWindow( XtDisplay(w), XtWindow(w), 0);
does that perform what you want??
In article <C5IFJ0.F2u@csn.org> doomer@teal.csn.org (John Dumais) writes:
Newsgroups: comp.windows.x
Path: shearson.com!uupsi!psinntp!uunet!haven.umd.edu!darwin.sura.net!wupost!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!teal.csn.org!doomer
From: doomer@teal.csn.org (John Dumais)
Sender: news@csn.org (news)
Nntp-Posting-Host: teal.csn.org
Organization: Colorado SuperNet, Inc.
X-Newsreader: Tin 1.1 PL4
Date: Thu, 15 Apr 1993 05:35:22 GMT
Lines: 8
I've been trying to figure a way to programmatically iconize
an application running under a Motif window manager.  I have tried
several approaches includeing sending events to the application's
border window, but to no avail?  Anyone done this before?
Thanks,
doomer '85
--
-------------------------------------------------------------------------------
Joe Bore					 | "Life is Short...Code Hard"
jbore@Shearson.COM | ...!uunet!shearson.com!jbore|
(212)464-3431, Beeper:  (212)396-4248		 |
From: ndd@sunbar.mc.duke.edu (Ned Danieley)
Subject: compiling clients on a Sun IPX
Organization: Basic Arrhythmia Laboratory, Duke Univ. Med. Center, Durham, N.C.
Lines: 19
Nntp-Posting-Host: bal1.mc.duke.edu
Originator: ndd@bal1
I'm trying to set up an IPX for another group. I copied all the
X stuff that I compiled on my 4/280 (which runs SunOS 4.1.1) using
gcc 2.1, and most things run just fine. however, I did find a
couple of bugs, and when I try to recompile those clients on the IPX
(which runs 4.1.3), I get
ld: Undefined symbol
_XShapeQueryExtension
_XShapeCombineMask
I know that I can include libXext and get rid of those messages,
but I can't figure out why I get them on the IPX and not on the
4/280. any ideas?
--
Ned Danieley (ndd@sunbar.mc.duke.edu)
Basic Arrhythmia Laboratory
Box 3140, Duke University Medical Center
Durham, NC  27710   (919) 660-5111 or 660-5100
From: bambi@kirk.bu.oz.au (David J. Hughes)
Subject: Re: Motif vs. [Athena, etc.]
Organization: Bond University, AUSTRALIA
Lines: 52
berry@durian.citr.uq.oz.au (Andrew Berry) writes:
>My impression is that most people use Motif because their OS vendor
>supplies it with X (SunOS users excluded), and because it is similar in
>"look and feel" to MS-Windows and OS/2 PM.  Personally, I also prefer
>the "look and feel" of Motif (no flames please -- just an opinion).
Seeing as Motif has been adopted by Sun, IBM, HP +++ (can't remeber the
other members in the recent announcement), I'm sure you'll see it on
virtually every workstation (ie. Sun, IBM, HP and DEC must make up the
**VAST** majority of all hardware).
>I am also concerned by this prevalence of Motif, particularly from the
>point of view of writing and obtaining free software.  As the Linux and
>386BSD communities grow, however, I think that Motif will lose some of
>its grip, at least in the non-commercial marketplace.
Ports of Motif to both 386BSD and Linux are available for a fee of about
$100.  This is cost recovery for the person who bought the rights to
redistribute.  The activity in both the BSD and Linux news groups
pertaining to Motif has been high.
>I just wonder if this will also cause a divergence between commercial
>and non-commercial software (ie. you will only get free software using
>Athena or OpenLook widget sets, and only get commercial software using
>the Motif widget sets).
I can't see why.  If just about every workstation will come with Motif
by default and you can buy it for under $100 for the "free" UNIX
platforms, I can't see this causing major problems.
Side Note :
---------
All the X based code I am writing (and will distribute freely when
completed) is based on Motif because from a programmatic and also "look
and feel" point of view I like it the best (no flames on this one
please).
bambi
___                                 David J. Hughes     bambi@bu.oz.au
/   \                /  /    /
/  __/ __   __   ____/  /    / __          Senior Network Programmer
/    \ /  \ /  \ /   /  /    / /  \  /    Comms Development & Operation
\____/ \__//   / \__/   \___/ /   / /       AUSTRALIA  (+61 75 951450)
From: alex@vuse.vanderbilt.edu (Alexander P. Zijdenbos)
Subject: Sunview -> X
Originator: alex@taacman
Nntp-Posting-Host: taacman
Organization: Vanderbilt University School of Engineering, Nashville, TN, USA
Distribution: usa
Lines: 16
No doubt this is an old question, but I didn't find the answer in the
FAQs I could find, so - here goes:
I have a Sunview application that I want to convert to X (OpenLook,
Motiv, whatever). I remember hearing quite some time ago that there
are tools to accomplish this task.
a) is that so?
b) are they public domain?
c) any good, i.e.
d) advantages over reimplementing the interface myself?
Thanks,
-- Alex
From: "Derrick J. Brashear" <db74+@andrew.cmu.edu>
Subject: mouseless operation in ol{v}wm
Organization: Sophomore, Civil Engineering, Carnegie Mellon, Pittsburgh, PA
Lines: 11
NNTP-Posting-Host: po5.andrew.cmu.edu
Mouseless operation is documented in the man pages for olwm and olvwm...
However, I can't get it to work in either.
I have this line in my .Xdefaults:
OpenWindows.KeyboardCommands:           Full
That should do it...
I haven't rebound the keys.
Am I missing something?
-D
From: rainer@sun3.eeam.elin.co.at (Rainer Hochreiter)
Subject: X-server multi screen
Organization: ELIN Energeanwendung Ges.m.b.H
Lines: 24
NNTP-Posting-Host: sun3.eeam.elin.co.at
X-Newsreader: TIN [version 1.1 PL9]
Hi Xperts, some simple questions for you:
I've seen a lot of different terms, which seem to mean the same thing.
Who can give an exact definition what these terms mean:
-) multi-screen
-) multi-headed
-) multi-display
-) X-Server zaphod mode
Is there a limit how many screens/displays a single server can handle
(in an articel a read something about an upper limit of 12) ?
How is the capability called, if I want to move the cursor from one
screen/display to another.
Any hints welcome.
Thanks, rainer.
--
Rainer Hochreiter                | Telephone: +43 (1) 89100 / 3961
ELIN-Energieanwendung GesmbH     | Telefax  : +43 (1) 89100 / 3387
Penzingerstr. 76                 |
A-1141 Wien, Austria/Europe      | E-mail   : rainer@elin.co.at
From: rvloon@cv.ruu.nl (Ronald van Loon)
Subject: Motif++ mailing list - is there any interest ?
Originator: rvloon@midas.cv.ruu.nl
Nntp-Posting-Host: midas.cv.ruu.nl
Organization: University of Utrecht, 3D Computer Vision Research Group
Lines: 26
Hello Motif World,
a few days ago I posted my announcement for an update of Motif++. I got
several requests to send the bindings per e-mail, and I know of several people
who have been using Motif++, and there are probably a number of people I am
not aware of who are also using Motif++.
My question is:
How many people 'out there' would be interested to join a mailing-list, where
people can ask questions about Motif++, swap stories, and give new ideas about
new directions and improvements for the bindings. This would benefit the
user-community, as well as give me more insight in what people would like to
see added to Motif++. Motif++ is still very much a voluntary project, and this
way I can make a list of priorities, in what order things should be added, or
changed.
If you're interested in joining such a mailing-list, please take the time to
reply to this message, and tell me so. When there is sufficient interest, say
about 20 people or more, a mailing-list will be set up at my site, and I will
post the announcement of the newly-created list to this and other newsgroups.
--
Ronald van Loon     | In theory, there is no difference
(rvloon@cv.ruu.nl)  | between theory and practice.
3DCV Group, Utrecht |
The Netherlands     | In practice however, there is.
From: stolk@fwi.uva.nl (Bram)
Subject: Creating 8 bit windows on 24 bit display.. How?
Organization: FWI, University of Amsterdam
Lines: 75
Nntp-Posting-Host: carol.fwi.uva.nl
Greetings,
I am using an X server that provides 3 visuals:
PseudoColor 8 bit, Truecolor 24 bit and DirectColor 24 bit.
A problem occurs when I try to create a window with a visual that is different
from the visual of the parent (which uses the default visual which is TC24).
In the Xlib reference guide from 'O reilly one can read in the
section about XCteateWindow, something like:
"In the current implementation of X11: When using a visual other than the
parent's, be sure to create or find a suitable colourmap which is to be used
in the window attributes when creating, or else a BadMatch occurs."
This warning, strangely enough, is only mentioned in the newer editions
of the X11R5 guides.
However, even if I pass along a suitable colourmap, I still get a BadMatch
when I create a window with a non-default visual.
The code looks like this:
------------------ cut here and you'll destroy your CRT ----------------
Window create_8bit_window_on_truecolour_display(dpy,width,height)
Display *dpy;
int width, height;
{
Window win;
XVisualInfo vinfo;
XSetWindowAttributes attr;
fprintf(stderr,"Opening 8 bit window...\n");
if (!XMatchVisualInfo(dpy,DefaultScreen(dpy),8,PseudoColor,&vinfo)) {
fprintf(stderr,"Your display can't handle 8 bit PseudoColor.\n");
exit(1);
}
fprintf(stderr,"Using visual: %x\n",vinfo.visual->visualid);
cmap = XCreateColormap(
dpy,
DefaultRootWindow(dpy),
vinfo.visual,
AllocNone
);
XSync(dpy,False);
XInstallColormap(dpy,cmap);	/* ommision of this line gives same result */
attr.colormap = cmap;
win = XCreateWindow(
dpy,
DefaultRootWindow(dpy),
10,10,
width,height,
CopyFromParent,       /* border width */
8,                    /* depth */
InputOutput,          /* class */
vinfo.visual,         /* visual */
CWColormap,
&attr
);
return win;
}
--- cut here and you'll destroy your CRT -----
Executing this piece of code results in a BadMatch error.
Anybody who knows why?
If so, please drop me a line.
Take care,
Bram Stolk
stolk@fwi.uva.nl
From: bm155@cleveland.freenet.edu (csthomas@gizmonic.UUCP)
Subject: xwd->gif conversions
Reply-To: bm155@cleveland.freenet.edu (shane thomas)
Distribution: na
Organization: The Gizmonic Institute
Lines: 14
Hello,
Anyone know of any source code I can get to either create window
dumps in GIF format, or convert an XWD (x window dump) file
into a GIF? Really could be any format I can manipulate in DOS,
i.e. PCX, BMP, etc.
later,
shane
---
bm155@cleveland.freenet.edu {uucp:rutgers!devon!gizmonic!csthomas}
"God bless those Pagans..." - H. Simpson
From: claes@polaris (Heinz-Josef Claes)
Subject: german keyboard, X11R5 and Sparc
Nntp-Posting-Host: polaris.informatik.uni-essen.de
Organization: Uni-Essen
X-Newsreader: TIN [version 1.1 PL8]
Lines: 8
I have a Sparc[12] with a german type 4 keyboard.
Has anybody a Patch for X11R5?
Thanks in advance
Heinz-Josef Claes
email: claes@tigger.turbo.uni-essen.de
From: brown@ftms.UUCP (Vidiot)
Subject: Re: Printing ASCII 128 and above
Reply-To: brown@ftms.UUCP (Vidiot)
Organization: Vidiot's Other Hangout
Lines: 19
In article <C5G1CE.8Is@noose.ecn.purdue.edu> achar@ecn.purdue.edu (Lakshminarayana Achar) writes:
<Could some tell me how to print characters over ASCII 127 on a laser
<printer? After being thrilled on being able to create them on my
<screen, my enthusiasm has somewhat died down due to this setback.
Well, more information is required...
1) What computer are you using?
2) What operating system are you using?
3) What kind of printer are you using?
a) PostScript?
b) HP-PCL?
etc.
--
harvard\
ucbvax!uwvax!astroatc!ftms!brown  or  uu2.psi.com!ftms!brown
rutgers/
INTERNET: brown@wi.extrel.com  or  ftms!brown%astroatc.UUCP@cs.wisc.edu
From: hess@swt1.informatik.uni-hamburg.de (Hauke Hess)
Subject: XWindows always opaque
Summary: is there a way for a parent window to overpaint its childs?
Keywords: xwindow, parent-child relation
Organization: University of Hamburg, Germany
Distribution: comp
Lines: 9
Hi,
I wonder if it is possible for a parent window to paint over the area of
its childs. If it is not, then how could it be possible to implement a
rubberband across multiple xwindows to select the objects that are
displayed one in each window?
Hauke
From: pfuetz@igd.fhg.de (Matthias Pfuetzner)
Subject: Available memory to the Xserver. How to get the actual size?
Organization: Zentrum fuer Graphische Datenverarbeitung, Darmstadt, FRG
Lines: 25
Hello Everybody!
I have a little question:
Due to more features (PEX, Drag&Drop) many applications when linked with for
example Motif 1.2 instead Motif 1.1 need more memory in the Xserver.
X-terminals only have limited memory (normally no swapping possible). So my
question:
Is there a possibility to determine via X protocol calls the size of free
memory available to the Xserver?
So one can determine for example whether to start a PEX application with the
CSS on client side or on server side (when there is enough memory).
Please reply via e-mail, I'll summarize!
Sincerly,
Matthias
--
Matthias Pfuetzner  |  @work:  +49 6151 155-150  | @home: +49 6151 75717
6100 Darmstadt, FRG | ZGDV, Wilhelminenstrasse 7 | Lichtenbergstrasse 73
pfuetzner@igd.fhg.de, pfuetzner@zgdvda.UUCP    |  Keith Packard said:
R5 is different from R4. That's why we changed the release number :-)
From: kssingvo@immd4.informatik.uni-erlangen.de (Klaus Singvogel)
Subject: xswarm enhancement?
Organization: CSD., University of Erlangen
Reply-To: kssingvo@immd4.informatik.uni-erlangen.de
NNTP-Posting-Host: faui43.informatik.uni-erlangen.de
Lines: 8
Has anybody the xswarm enhacemened to use it with more than one wasp?
Please E-Mail me, because I don't read this group any longer.
Thanks in advance,
Klaus.
---
Klaus Singvogel   ---   E-Mail: kssingvo@immd4.informatik.uni-erlangen.de
From: clark@thinker.csee.usf.edu (Matthew Clark)
Subject: Changing OLWM icons
Organization: University of South Florida, Department of Computer Science and Engineering
Lines: 8
Distribution: world
Reply-To: clark@thinker.csee.usf.edu (Matthew Clark)
NNTP-Posting-Host: 131.247.2.37
I was wondering if it's possible to change the window icons OLWM
uses for things like xterm.  Most of the defaults are pretty lame.
Any answer (or where I can find one) would be most appreciated.
Thanks
Matt Clark
From: dealy@narya.gsfc.nasa.gov (Brian Dealy - CSC)
Subject: Re: Fresco status?
Organization: NASA/Goddard Space Flight Center
Lines: 34
Distribution: world
NNTP-Posting-Host: narya.gsfc.nasa.gov
Originator: dealy@narya.gsfc.nasa.gov
Issue 5 of the X Resource (the published proceedings of the 7th Annual X
Technical Conference) has an paper by Mark Linton and Chuck Price
titled "Building Distributed interfaces with Fresco".
The summary describes Fresco (formerly known as XC++) as an X consortium effort.
Without doing a complete review of the paper, I'll just mention the goals
as stated in one section of the article.  the effort has the goal of providing
the next generation toolkit with functionality beyond the Xt toolkit or Xlib.
Features they want in FRESCO include:
lightweight Objects, such as Interviews Glyphs
Structured Graphics
Resolution independence
Natural C++ programming interface
edit-in-place embedding
distributed user interface components
Multithreading
This by no means captures the complete content of the paper. The Conclusions
sections mentions that a rough draft specification should be available in
early 93, with no schedule (paper presented in Jan 93) for a complete sample
implementation.
I am not affiliated with any of the people or places mentioned above.
--
Brian Dealy                |301-572-8267| It not knowing where it's at
dealy@kong.gsfc.nasa.gov   |            | that's important,it's knowing
!uunet!dftsrv!kong!dealy   |            | where it's not at...  B.Dylan
--
Brian Dealy                |301-572-8267| It not knowing where it's at
dealy@kong.gsfc.nasa.gov   |            | that's important,it's knowing
!uunet!dftsrv!kong!dealy   |            | where it's not at...  B.Dylan
From: dealy@narya.gsfc.nasa.gov (Brian Dealy - CSC)
Subject: Re: XWindows always opaque
Organization: NASA/Goddard Space Flight Center
Lines: 57
Distribution: comp
NNTP-Posting-Host: narya.gsfc.nasa.gov
Keywords: xwindow, parent-child relation
Originator: dealy@narya.gsfc.nasa.gov
In article <hess.734959172@swt1>, hess@swt1.informatik.uni-hamburg.de (Hauke Hess) writes:
|> Hi,
|>
|> I wonder if it is possible for a parent window to paint over the area of
|> its childs. If it is not, then how could it be possible to implement a
|> rubberband across multiple xwindows to select the objects that are
|> displayed one in each window?
|>
|> Hauke
|>
If you specify the rootwindow when you are creating your GC. You may
use Xlib to draw over multiple windows.
I have an application that does something similar for rubber banding.
curs_move = XCreateFontCursor (disp_data, XC_crosshair);
geom_vals.foreground     = blck_pixl ^ grey_dark;
geom_vals.plane_mask     = AllPlanes;
geom_vals.line_width     = 0;
geom_vals.function       = GXxor;
geom_vals.subwindow_mode = IncludeInferiors;
evnt_mask= GCForeground | GCPlaneMask | GCLineWidth | GCFunction
| GCSubwindowMode;
geom_gcon= XCreateGC (disp_data, root_iden, evnt_mask, &geom_vals);
later I can move the rubber band or bands using the following logic
/**********************************************************************/
void Tselect::move_bands (int delt_xloc, int delt_yloc)          /****/
stuff deleted ...
XDrawRectangle (disp_data,   root_iden,  geom_gcon,
sele_pntr->rootx, sele_pntr->rooty,
sele_pntr->xlnth, sele_pntr->ylnth); undraw old one
sele_pntr->papax+= delt_xloc;
sele_pntr->papay+= delt_yloc;
sele_pntr->rootx+= delt_xloc;
sele_pntr->rooty+= delt_yloc;
XDrawRectangle (disp_data,   root_iden,  geom_gcon,
sele_pntr->rootx, sele_pntr->rooty,
sele_pntr->xlnth, sele_pntr->ylnth); draw new one
more stuff deleted
hope this helps
--
Brian Dealy                |301-572-8267| It not knowing where it's at
dealy@kong.gsfc.nasa.gov   |            | that's important,it's knowing
!uunet!dftsrv!kong!dealy   |            | where it's not at...  B.Dylan
--
Brian Dealy                |301-572-8267| It not knowing where it's at
dealy@kong.gsfc.nasa.gov   |            | that's important,it's knowing
!uunet!dftsrv!kong!dealy   |            | where it's not at...  B.Dylan
From: rgooch@rp.CSIRO.AU (Richard Gooch)
Subject: Re: Motif vs. [Athena, etc.]
Organization: CSIRO Division of Radiophysics/Australia Telescope National Facility
Lines: 38
In article <C5K6ny.AzJ@kirk.bu.oz.au>, bambi@kirk.bu.oz.au (David J. Hughes) writes:
>
> >I am also concerned by this prevalence of Motif, particularly from the
> >point of view of writing and obtaining free software.  As the Linux and
> >386BSD communities grow, however, I think that Motif will lose some of
> >its grip, at least in the non-commercial marketplace.
>
> Ports of Motif to both 386BSD and Linux are available for a fee of about
> $100.  This is cost recovery for the person who bought the rights to
> redistribute.  The activity in both the BSD and Linux news groups
> pertaining to Motif has been high.
>
> >I just wonder if this will also cause a divergence between commercial
> >and non-commercial software (ie. you will only get free software using
> >Athena or OpenLook widget sets, and only get commercial software using
> >the Motif widget sets).
>
> I can't see why.  If just about every workstation will come with Motif
> by default and you can buy it for under $100 for the "free" UNIX
> platforms, I can't see this causing major problems.
>
I think you will find that the active Linux and 386BSD communities are
populated by enthusiasts who would object to paying *any* money for software.
Otherwise, they would probably have gone for a commercial Unix.
An important factor in the Linux community is that source code is always
available (this is probably similar in the 386BSD community, however, I'm not
really involved there). Many people using Linux like to stay at the cutting
(bleeding) edge: ie. when kernel patches, C library or compiler patches come
out, people like to rebuild their entire systems. The prime requirement for
all Linux software is that it is available under a GNU style public license.
Hence, Linux software uses either the Athena widgets or XView.
Individuals may write software requiring Motif, but I doubt it is widely
adopted.
Regards,
Richard Gooch....
From: rgasch@nl.oracle.com (Robert Gasch)
Subject: Re: Expose Events
Organization: Oracle Europe
Lines: 5
X-Newsreader: TIN [version 1.1 PL8]
Please excuse my previous posting. It was appended to this thread by
accident.
--> Robert
From: rgasch@nl.oracle.com (Robert Gasch)
Subject: Re: Expose Events
Organization: Oracle Europe
Lines: 40
X-Newsreader: TIN [version 1.1 PL8]
I posted about this a while ago but without code excerpts noone was
able to help me.
The problem is that main_win.win is doing fine, but when I create
detail_win.win, it does not receive it's initial expose events until
main_win.win receives an event. Here are the relevent calls:
main_win.win = XCreateSimpleWindow (mydisplay, DefaultRootWindow(mydisplay),
myhint.x, myhint.y, myhint.width, myhint.height,
main_win.line_thick, fg, bg);
XSetStandardProperties(mydisplay, main_win.win, main_win.text,
main_win.text, None, argv, argc, &myhint);
main_win.gc = XCreateGC (mydisplay, main_win.win, 0, 0);
XMapRaised (mydisplay, detail_win.win);
XMapSubwindows (mydisplay, main_win.win);
The event mask for main_win is:
PPosition | PSize | StructureNotifyMask | ExposureMask| KeyPressMask |
EnterWindowMask | LeaveWindowMask;
The flags are
PPosition | PSize
I then create detail_win.win with the following calls (hints has new values):
detail_win.win = XCreateSimpleWindow (mydisplay, DefaultRootWindow(mydisplay),
myhint.x, myhint.y, myhint.width, myhint.height,
detail_win.line_thick, fg, bg);
XSetStandardProperties(mydisplay, main_win.win, detail_win.text,
detail_win.text, None, argv, argc, &myhint);
detail_win.gc = XCreateGC (mydisplay, detail_win.win, 0, 0);
XMapRaised (mydisplay, detail_win.win);
Event Mask and flags are identical to main_win's flags and event mask.
If anybody has any idea why the initial expose events of detail_win.win
are not received until main_win.win receives an event I'd love to hear
from them. Other that that everything works great so there must be some
detail I'm overseeing.
Thanks for any tips
---> Robert
rgasch@nl.oracle.com
From: rgasch@nl.oracle.com (Robert Gasch)
Subject: Delayed Expose Events
Organization: Oracle Europe
Lines: 44
X-Newsreader: TIN [version 1.1 PL8]
I posted about this a while ago but without code excerpts noone was
able to help me.
The problem is that main_win.win is doing fine, but when I create
detail_win.win, it does not receive it's initial expose events until
main_win.win receives an event. Here are the relevent calls:
main_win.win = XCreateSimpleWindow (mydisplay, DefaultRootWindow(mydisplay),
myhint.x, myhint.y, myhint.width, myhint.height,
main_win.line_thick, fg, bg);
XSetStandardProperties(mydisplay, main_win.win, main_win.text,
main_win.text, None, argv, argc, &myhint);
main_win.gc = XCreateGC (mydisplay, main_win.win, 0, 0);
XMapRaised (mydisplay, detail_win.win);
XMapSubwindows (mydisplay, main_win.win);
The event mask for main_win is:
PPosition | PSize | StructureNotifyMask | ExposureMask| KeyPressMask |
EnterWindowMask | LeaveWindowMask;
The flags are
PPosition | PSize
I then create detail_win.win with the following calls (hints has new values):
detail_win.win = XCreateSimpleWindow (mydisplay, DefaultRootWindow(mydisplay),
myhint.x, myhint.y, myhint.width, myhint.height,
detail_win.line_thick, fg, bg);
XSetStandardProperties(mydisplay, main_win.win, detail_win.text,
detail_win.text, None, argv, argc, &myhint);
detail_win.gc = XCreateGC (mydisplay, detail_win.win, 0, 0);
XMapRaised (mydisplay, detail_win.win);
Event Mask and flags are identical to main_win's flags and event mask.
If anybody has any idea why the initial expose events of detail_win.win
are not received until main_win.win receives an event I'd love to hear
from them. Other that that everything works great so there must be some
detail I'm overseeing.
Thanks for any tips
---> Robert
rgasch@nl.oracle.com
PS: The same message was accidentally appended to the "Expose Events"
thread. Sorry for any confusion caused.
From: christy@cs.concordia.ca (Christy)
Subject: X11R5 and Gateway2000
Organization: Computer Science, Concordia University, Montreal, Quebec
Lines: 15
Hi,
I just got myself a Gateway 4DX-33V and trying to configure
X11R5 for it.  Has anyone done this before ?  More specifically,
I need a correct Xconfig file entry that is set up for my
graphics card and monitor.  I have a 15" Color CrystalScan 1572FS monitor
and a VESA LOCAL BUS ATI Ultra Pro with 1MB VRAM video card.
Any help will be extremely appreciated.
Thanks in advance.
Please send replies to christy@alex.qc.ca
Christy
From: mbell@csc.liv.ac.uk (Mike Bell)
Subject: **** CURSOR SIZE PROBLEMS ****
Organization: Computer Science, Liverpool University
Lines: 19
Nntp-Posting-Host: jed.csc.liv.ac.uk
/* Apologies for those who have read this before but no-one has solved this */
/* one yet so I'm posting again! Sorry :-)                                  */
I'm having problems creating a cursor bigger than 64x64, I'm using Motif 1.1
X11R4 running HP-UX 8.07 - all the functions return valid results but no
cursor appears when the bitmap is bigger than the aforementioned size. I tried
using the following code:
unsigned int w,h;
XQueryBestCursor(XtDisplay(programArea), XtWindow(programArea), 72, 71, &w,
&h);
to return the nearest size to what I require however it returns 72 and 71 as
the width and height respectively. What am I doing wrong? and if not how can I
get round the problem!!
Thanks in advance
Mike
From: mark@ardnt1.res.utc.COM (MARK STUCKY)
Subject: Re: Need PD X-Y Plot Package
Organization: The Internet
Lines: 139
NNTP-Posting-Host: enterpoop.mit.edu
To: spf@cbnewsl.cb.att.COM
Cc: xpert@expo.lcs.mit.EDU
"Steve" == Steve Frysinger of Blue Feather Farm <spf@cbnewsl.cb.att.COM> writes:
Steve> Folks,
Steve> I'm looking for a Public Domain X-Y plotting package for X.
Steve> I need basic capabilities (axes, labels, log and linear, &c).
Steve> It's hard to imagine that someone has not put such a thing
Steve> together, so I'm hoping to avoid reinventing the wheel.
Steve> Thanks for any leads!
Steve> Steve Frysinger
Your might take a look a PLPLOT.  Version 4.99c (actually beta v5.0)
can be found anonymous ftp from hagar.ph.utexas.edu, in the pub/plplot
directory.
--Mark
------------------------------------------------------------------------------
| Mark Stucky                         | Email:                               |
| United Technologies Research Center |     mark@ardnt1.res.utc.com          |
| East Hartford, CT.                  |or   mbs@rcinet.res.utc.com           |
| 06108                               |or   mbs@utrc.res.utc.com             |
------------------------------------------------------------------------------
From the README file of version 4.99c:
This is the PLPLOT distribution.  PLPLOT is a scientific plotting package for
many systems, small (micro) and large (super) alike.  Despite its small size
and quickness, it has enough power to satisfy most users, including: standard
x-y plots, semilog plots, log-log plots, contour plots, 3D plots, mesh plots,
bar charts and pie charts.  Multiple graphs (of the same or different sizes)
may be placed on a single page with multiple lines in each graph.  Different
line styles, widths and colors are supported.  A virtually infinite number of
distinct area fill patterns may be used.  There are almost 1000 characters in
the extended character set.  This includes four different fonts, the Greek
alphabet and a host of mathematical, musical, and other symbols.  The fonts
can be scaled to any size for various effects.  Many different output device
drivers are available (system dependent), including a portable metafile
format and renderer.
The PLPLOT package is freely distributable, but NOT in the public domain.
The PLPLOT source code, except header files and those files explicitly
granting permission, may not be used in a commercial software package without
consent of the authors.  You are allowed and encouraged to include the PLPLOT
object library and header files in a commercial package provided that: (1) it
is explicitly and prominently stated that the PLPLOT library is freely
available, and (2) the full copyrights on the PLPLOT package be displayed
somewhere in the documentation for the package.
We welcome suggestions on how to improve this code, especially in the form of
user-contributed enhancements or bug fixes.  If PLPLOT is used in any
published papers, please include an acknowledgment or citation of our work,
which will help us to continue improving PLPLOT.  Also, please remember that
as PLPLOT is not a commercial product, we cannot be expected to offer the
kind of support that a commercial product may.  There is great interest
in extending PLPLOT and fixing bugs, but the principal authors can only
afford to work on it part time.  Improvements will necessarily focus on
those which help us get our work done.
PLPLOT is written in C, enabling it to run on many platforms practically
without modification.  Fortran programs may use it transparently; stub
routines are provided to handle the C<->Fortran interface without any
modification of the user program.  C programs are required to include the
header file "plplot.h"; see the documentation for more details.
The main documentation for PLPLOT is in the doc/ directory in the form of
several TeX files; please consult this for additional information ('latex
plotdoc').  Unfortunately documentation tends to lag actual improvements to
the code, so don't be surprised if some known features are not explained
there.  Consult 'Changes.log' to see a list of recent changes.
At present, PLPLOT is known to work on the following systems:
Unix:	SunOS
A/IX
HP-UX
Unicos
DG/UX
Ultrix
SysV
Linux
Amiga/Exec
MS-DOS
OS/2
NeXT
For more information on how to get or use PLPLOT on your system, see:
- appendices to the PLPLOT manual
- system-specific documentation in the appropriate sys/<system> directory.
To become a subscriber to the PLPLOT mailing list, send a request to
plplot-request@dino.ph.utexas.edu.
CREDITS
-------
PLPLOT is the result of the effort of many people, so it is impractical to
list all the contributors.   Those currently supporting and otherwise
responsible for the package in its present form include:
Maurice LeBrun
Please send all comments, flames, patches, etc, to me.  I am responsible for
all the PLPLOT kernel development as well as most of the work on the
metafile, xwindow, xterm, postscript, tektronix, and Amiga drivers.
EMAIL	mjl@fusion.ph.utexas.edu
USMAIL	Dr. Maurice LeBrun
Institute for Fusion Studies
University of Texas
Austin, TX  78712
Geoff Furnish
Please send questions regarding the MS-DOS and OS/2 drivers to Geoff.
EMAIL	furnish@fusion.ph.utexas.edu
USMAIL	Geoff Furnish
Institute for Fusion Studies
University of Texas
Austin, TX  78712
Tony Richardson
Creator of PLPLOT 2.6b, 3.0
Please send questions regarding installation of PLPLOT on the NeXT to Tony.
EMAIL   amr@egr.duke.edu
USMAIL  Tony Richardson              Tony Richardson
184 Electrical Engineering   2920 Chapel Hill Road Apt. 41-D
Duke University              Durham, NC 27707
Durham, NC 27706
ph 919-684-5274              ph 919-493-1609
From: kerr@ux1.cso.uiuc.edu (Stan Kerr)
Subject: MacX 1.2 color problem
Summary: Problem with MacX 1.2 painting in wrong colors
Keywords: mac x color window macx
Organization: University of Illinois at Urbana
Lines: 13
I have a peculiar color problem with MacX, Apple's Macintosh X server.
I'd like to know if others have seen the same problem. It's happened
with the current version (1.2), and with version 1.1.7.
When some types of client windows are displayed, parts of the windows
are in the wrong color; if the window is moved slightly, forcing the server
to repaint it, it is repainted in the correct colors. It doesn't happen
for xterm windows, but has happened for graphic windows and with some
Motif clients.
--
Stan Kerr
Computing & Communications Services Office, U of Illinois/Urbana
Phone: 217-333-5217  Email: stankerr@uiuc.edu
From: jlu@cs.umr.edu (Eric Jui-Lin Lu)
Subject: info wanted: X security holes
Nntp-Posting-Host: next2.cs.umr.edu
Organization: University of Missouri - Rolla
Lines: 22
Hi *,
Has anyone out there compile a list of X security holes??  If
yes, will you please send me a copy of this??  If this is a
wrong group, please point me to a right one.  Thanks!!
BTW, the list doesn't have to contain the info "How to use
the holes?".  Instead, I need the info of how to detect
the holes, how to seal the holes, and how to monitor the
activities if possible.
Any info is welcomed.  Thanks!!
--Eric
--
***************************************---       Grad. student          ---*
* Obviousness is always the enemy of  *   \     Jui-Lin Lu (Eric)      /   *
* correctness.  -- Bertrand Russell   *   /      jlu@cs.umr.edu        \   *
***************************************---   Univ. of Missouri-Rolla    ---*
From: straw@cam.nist.gov (Mike_Strawbridge_x3852)
Subject: need help with Athena Text Widget
Organization: National Institute of Standards & Technology, Gaithersburg, MD
Lines: 24
I want to create a single-line Text widget for entering a small amount of text.
I want it to be of fixed width, but have a horizontal scrollbar that scrolls
automatically when the user types in order to keep the insertion point
visible.
In trying to do this I have two problems:
- The addition of the horizontal scrollbar does not make the text widget
taller, but instead it seems to cover part of the text.
- The scrollbar does not scroll automatically as the user types in text
in order to keep the insertion point visible.
Any help is appreciated.
Mike
-----------------------------------------------------------------------
NAME:   Michael Strawbridge             	TELE: (301) 975-3852
USMAIL: National Institute of Standards 	ARPA: straw@cam.nist.gov
and Technology            	UUCP: uunet!cme-durer!straw
Rm. B-146, Bldg. 225
Gaithersburg, MD  20899
From: rim@bme.ri.ccf.org (Robert M. Cothren)
Subject: widget for displaying images
Nntp-Posting-Host: marvin
Organization: The Cleveland Clinic Foundation, Cleveland, OH
Distribution: na
Lines: 12
Before I try to teach myself how to write a widget and (perhaps)
re-invent the wheel...
Is there a PD widget that displays (for example) an 8-bit grey-level
image in the same fashion that the Athena Plotter Widget can be used
to display a plot?
--
----Robert M. Cothren, PhD--------------------------rim@bme.ri.ccf.org----
Department of Biomedical Engineering
The Cleveland Clinic Foundation                voice: 216 445-9305
----Cleveland, Ohio----------------------------------fax: 216 444-9198----
From: beck@irzr17.inf.tu-dresden.de (Andre Beck)
Subject: Re: DEC pixmap size
Organization: Dept. of Computer Science, TU Dresden, Germany.
Lines: 28
Distribution: world
Reply-To: Andre_Beck@IRS.Inf.TU-Dresden.DE
NNTP-Posting-Host: irzr17.inf.tu-dresden.de
In article <1964@igd.fhg.de>, haase@igd.fhg.de (Helmut Haase (Goebel)) writes:
|> I've got a problem concerning the maximum size of X pixmaps in DECwindows.
|>
|> I am using a DECstation 5000/200 running ULTRIX V4.2 (Rev. 96) System #2
|> and UWS V4.2 (Rev. 272) (DECwindows). Our color display has 1280x1024
|> pixels.
|>
|>
|> On other hardware (HP, SGI) I am able to allocate much larger pixmaps.
|>
|> Did anyone have similar problems before or does onyone know how I can
|> configre my system to allow for larger pixmaps?
|>
|> Any suggestins are welcome. Please send mail to " haase@igd.fhg.de ".
|>
DEC does this only for their PX and PXG servers, known as 3D accelerators.
This boards have local offscreen memory which is limited and slow to
handle, thus they set this limit.
--
+-o-+--------------------------------------------------------------+-o-+
| o |                \\\-  Brain Inside -///                       | o |
| o |                    ^^^^^^^^^^^^^^^                           | o |
| o | Andre' Beck (ABPSoft) mehl: Andre_Beck@IRS.Inf.TU-Dresden.de | o |
+-o-+--------------------------------------------------------------+-o-+
From: dev@hollywood.acsc.com ()
Subject: Circular Motif Widgets
Organization: ACSC, Inc.
Lines: 7
Distribution: world
NNTP-Posting-Host: hollywood.acsc.com
Will there be any support for round or circular widgets in Motif's next
release?. I'd love to have a circular knob widget which could be used
instead of a slider.
Cheers!
DM
From: mike@hopper.Virginia.EDU (Michael Chapman)
Subject: Re: X11R5 and Gateway2000
Organization: ITC/UVA Community Access UNIX/Internet Project
Lines: 25
In article <5914@daily-planet.concordia.ca> christy@cs.concordia.ca (Christy) writes:
>
>Hi,
>     I just got myself a Gateway 4DX-33V and trying to configure
>X11R5 for it.  Has anyone done this before ?  More specifically,
>I need a correct Xconfig file entry that is set up for my
>graphics card and monitor.  I have a 15" Color CrystalScan 1572FS monitor
>and a VESA LOCAL BUS ATI Ultra Pro with 1MB VRAM video card.
>Thanks in advance.
Didn't your operating system come with X?  SysV usually does as far
as I know.  You'd do best to contact the people from whom you bought
ths OS.  If you're running Linux or something similar, good luck. :)
>
>Please send replies to christy@alex.qc.ca
>
>
>Christy
--
A voice of reason in the midst of LiberalNet.
Mike Chapman, a higher lifeform trapped in a human body. AKA FourDee.
Political Correctness is the tool of the mentally disadvantaged.
"I will NOT raise taxes on the middle class." -Unknown
From: gringort@tantalus.pa.dec.com (Joel Gringorten)
Subject: Re: **** CURSOR SIZE PROBLEMS ****
Organization: DEC Western Software Laboratory
Lines: 37
Distribution: world
Reply-To: gringort@tantalus.pa.dec.com (Joel Gringorten)
NNTP-Posting-Host: tantalus.pa.dec.com
In article <C5Ky44.L2K@compsci.liverpool.ac.uk>, mbell@csc.liv.ac.uk
(Mike Bell) writes:
> /* Apologies for those who have read this before but no-one has solved
this */
> /* one yet so I'm posting again! Sorry :-)
*/
>
> I'm having problems creating a cursor bigger than 64x64, I'm using Motif 1.1
> X11R4 running HP-UX 8.07 - all the functions return valid results but no
> cursor appears when the bitmap is bigger than the aforementioned size.
I tried
>
> using the following code:
>
> unsigned int w,h;
> XQueryBestCursor(XtDisplay(programArea), XtWindow(programArea), 72, 71, &w,
> &h);
>
> to return the nearest size to what I require however it returns 72 and 71 as
> the width and height respectively. What am I doing wrong? and if not
how can I
> get round the problem!!
Does the workstation you're using have hardware cursor support?  Or does
the server generate a software cursor.  You can generally tell the difference
just by using it.  If the cursor blinks a lot when there's screen activity,
it's probably a software cursor.  If it has a hardware cursor, I think you're
probably battling a bug in HP's X server.  I'm not familiar with any hardware
cursor chips that display cursors greater than 64x64.  It's quite possible
that the server is just echoing your preferred cursor size without actually
checking it.  I vaguely recall that very old MIT server revisions did just
that.
In reality you're probably stuck with a 64x64 maximum size cursor regardless
of what the server returns.
-joel
From: "Derrick J. Brashear" <db74+@andrew.cmu.edu>
Subject: virtual mouse in open look under X11?
Organization: Sophomore, Civil Engineering, Carnegie Mellon, Pittsburgh, PA
Lines: 6
NNTP-Posting-Host: andrew.cmu.edu
Is the virtual mouse simulation in ol{v}wm 3.x available under X11R5?
I've been told I'm setting the right resource, yet it continues not to
work. I'm running olvwm3.3 (or olwm 3) on a Sun 3, X11R5 pl 22.
-D
From: jlong@brtph368.BNR.CA (John Long P205)
Subject: Need xman source
Reply-To: jlong@brtph368.BNR.CA (John Long P205)
Organization: Bell-Northern Research Ltd.
Lines: 3
Where can I get xman source?  I would rather get
xman for an HP 9000/700, but source will do.
From: kbw@helios.ath.epa.gov (Kevin B. Weinrich)
Subject: Why do I need "xrdb -m" when .Xdefaults unchanged?
Organization: Computer Sciences Corp.
Lines: 38
Distribution: world
NNTP-Posting-Host: helios.ath.epa.gov
I'm having an X resource problem using Brian Wilson's wscrawl 2.0
(a wonderful interactive conferencing program, by the way).  I'm
running OpenWindows 3.0 on a SPARC 1+ under OS 4.1.3.  I have
the following defaults in my .Xdefaults file (among many others):
wscrawl.telePointerName:	Kevin
wscrawl.syncScrollbars:		True
wscrawl.continuousTelePointer:	True
wscrawl.showPointerCoordinates:	False
wscrawl*background:		LightBlue
wscrawl*swindow*foreground:	yellow
wscrawl*draw_area_frame*foreground:	Blue
wscrawl*keyboardFocusPolicy:	pointer
Naturally, I exited the server and restarted it after adding
those lines to .Xdefaults .
If I run the following from a cmdtool (pwd = my home dir.):
xrdb -m .Xdefaults
and then start up wscrawl, then all those defaults are used
properly.  Wonderful, yes?  Except that I can't get them to be
operative except by *manually* invoking the afore-mentioned
xrdb command.  If I try:
xrdb .Xdefaults
the defaults "won't take."
So, I tried to change the xrdb call in my .xinitrc file from:
xrdb  $HOME/.Xdefaults
to:
xrdb -m $HOME/.Xdefaults
No go.  So I tried adding in:
xrdb -m /home/kbw/.Xdefaults
at the beginning or end of my .openwin-init file.  Still no go.
Any notions what gives?  Thanks for the help.
--
Kevin Weinrich     Computer Sciences Corp.
kbw@helios.ath.epa.gov
From: ajaffe@oddjob.uchicago.edu (Andrew Jaffe)
Subject: Key definitions in Emacs + X
Organization: University of Chicago, Astronomy and Astrophysics
Lines: 42
Hi.
I use Emacs and I want to customize my keyboard better.
When I set up stuff in my .emacs with a keymap and define-keys,
I can only access certain of the keys on my X-Terminal's
keyboard. I can't get e.g. F10, Home, End, PgUp, PgDn; they all
seem to have either the same or no keycode. I have a feeling
this can't be fixed in emacs itself, but that I need to do some
xmodmap stuff. Can someone help me?
By the way, I've checked the X-FAQ and posted a similar message
to gnu.emacs.help to no response.
Currently I have the following in my .emacs file (inside a 'cond'):
((string-match "^xterm" (getenv "TERM"))
;; done by aj 8/92. I don't know what most of this does...
(defvar xterm-map (make-sparse-keymap) "Keymap for xterm special keys")
(define-key esc-map "[" 'xterm-prefix)
(fset 'xterm-prefix xterm-map)
;;Keys F1 to F12
(define-key xterm-map "224z" 'goto-line)        ;F1
(define-key xterm-map "225z" 'what-line)        ;F2
(define-key xterm-map "226z" 'rmail)            ;F3
(define-key xterm-map "227z" 'replace-string)   ;F4
(define-key xterm-map "228z" 'end-of-line)      ;F5
(define-key xterm-map "229z" 'kill-line)        ;F6
(define-key xterm-map "230z" 'yank)             ;F7
(define-key xterm-map "231z" 'beginning-of-line);F8
(define-key xterm-map "232z" 'end-of-line)      ;F9
(define-key xterm-map "192z" 'scroll-down)      ;F11
(define-key xterm-map "193z" 'scroll-up)        ;F12
;;Keys F10, up, down, etc. ??????? can't get the keys
(define-key xterm-map "-1z" 'set-mark-command))
)
--
Andrew Jaffe                                     ajaffe@oddjob.uchicago.edu
Dep't of Astronomy and Astrophysics, U. Chicago
5640 S. Ellis Ave                                (312) 702-6041
Chicago, IL 60637-1433                           (312) 702-8212 FAX
From: klee@synoptics.com (Ken Lee)
Subject: Re: Property problems
Reply-To: klee@synoptics.com
Organization: SynOptics Communications, Santa Clara CA
Lines: 19
Nntp-Posting-Host: bugsbunny.synoptics.com
In article ( ), wsmart@tay.mcs.dundee.ac.uk (Bill Smart) writes:
> To get the number back, the other client does:
>
>  AppAtom = XInternAtom(display,"ApplicationWindow",True);
>  XGetWindowProperty(display,DefaultRootWindow(display),AppAtom,0,8192,
>                     False,XA_WINDOW,&return_type,&return_format,
>                     &nitems_return,&bar,&return_place);
>
> and appears to get back something valid (just not the right number).
> It always seems to return the same number, regardless of the window
> number stored in the property.
"return_place" is probably incorrect.  It should be a pointer, not an
integer.  XGetWindowProperty() allocates memory, copies the data there,
and returns a pointer to the memory.  You should free the memory when
you're done.
---
Ken Lee, klee@synoptics.com
From: viola@asterix.uni-muenster.de (J�rg Viola)
Subject: Looking for Xt and Xaw
Organization: Westfaelischen Wilhelms-Universitaet, Muenster, Germany
Lines: 8
NNTP-Posting-Host: asterix.uni-muenster.de
I want to compile Xdvi and later perhaps Emacs 19 on a DEC Ultrix machine with
X installed. Unfortunately, Xt and Xaw libs and headers are missing. How can I
get them without having to compile the whole MIT distribution ?
Pleasy reply by email to: viola@yukawa.uni-muenster.de
Thanks in advance.
From: dla@se05.wg2.waii.com (Doug Acker)
Subject: Problem with libXmu on SUNOS5.1 and gcc
Reply-To: acker@se01.wg2.waii.com
Organization: Western Geophysical Exploration Products
Lines: 52
NNTP-Posting-Host: se05.wg2.waii.com
I am using X11R5patch23 with the R5-SUNOS5 patch posted on export.
I did optionally apply the patch.olit.
libXmu compiles fine .. when I try to use it with clients (i.e. bmtoa and
twm), I get errors ... I can not figure out what is wrong:
gcc -fpcc-struct-return -o twm gram.o lex.o deftwmrc.o add_window.o gc.o list.o twm.o  parse.o menus.o events.o resize.o util.o version.o iconmgr.o  cursor.o icons.o -O2   -R/usr/wgep/X11R5.sos5/lib${LD_RUN_PATH+\:$LD_RUN_PATH} -L../.././lib/Xmu -lXmu -L../.././lib/Xt -L../.././extensions/lib -L../.././lib/X -L../.././extensions/lib -lXext -L../.././extensions/lib -lXext -L../.././lib/X -lX11 -L/usr/wgep/X11R5.sos5/lib  -lsocket -lnsl
ld: warning: file ../.././extensions/lib/libXext.so: attempted multiple inclusion of file libXext.so
Undefined                       first referenced
symbol                             in file
XtAppSetWarningMsgHandler           ../.././lib/Xmu/libXmu.so
XtScreenDatabase                    ../.././lib/Xmu/libXmu.so
XtDisplayStringConversionWarning    ../.././lib/Xmu/libXmu.so
XtErrorMsg                          ../.././lib/Xmu/libXmu.so
XtRealloc                           ../.././lib/Xmu/libXmu.so
XtIsManaged                         ../.././lib/Xmu/libXmu.so
XtMalloc                            ../.././lib/Xmu/libXmu.so
XtGetApplicationResources           ../.././lib/Xmu/libXmu.so
XtOwnSelection                      ../.././lib/Xmu/libXmu.so
XtGetConstraintResourceList         ../.././lib/Xmu/libXmu.so
XtCalloc                            ../.././lib/Xmu/libXmu.so
XtName                              ../.././lib/Xmu/libXmu.so
XtStringConversionWarning           ../.././lib/Xmu/libXmu.so
XtAppSetTypeConverter               ../.././lib/Xmu/libXmu.so
XtDisplayToApplicationContext       ../.././lib/Xmu/libXmu.so
XtGetResourceList                   ../.././lib/Xmu/libXmu.so
XtFree                              ../.././lib/Xmu/libXmu.so
XtDestroyWidget                     ../.././lib/Xmu/libXmu.so
XtGetValues                         ../.././lib/Xmu/libXmu.so
XtWarningMsg                        ../.././lib/Xmu/libXmu.so
XtTranslateCoords                   ../.././lib/Xmu/libXmu.so
XtCvtStringToFont                   ../.././lib/Xmu/libXmu.so
XtWidgetToApplicationContext        ../.././lib/Xmu/libXmu.so
XtWarning                           ../.././lib/Xmu/libXmu.so
XtCreateWidget                      ../.././lib/Xmu/libXmu.so
XtWindowOfObject                    ../.././lib/Xmu/libXmu.so
XtVaSetValues                       ../.././lib/Xmu/libXmu.so
XtAppWarningMsg                     ../.././lib/Xmu/libXmu.so
XtGetSelectionValue                 ../.././lib/Xmu/libXmu.so
XtResolvePathname                   ../.././lib/Xmu/libXmu.so
ld: fatal: Symbol referencing errors. No output written to twm
*** Error code 1
--
Douglas L.Acker                Western Geophysical Exploration Products
____    ____     ____          a division of Western Atlas International Inc.
\   \  /   /\   /   /\         A Litton / Dresser Company
\   \/   /  \ /   /  \        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\  /   / \  /   /\   \       Internet  :  acker@wg2.waii.com
\/___/   \/___/  \___\      Voice     :  (713) 964-6128
From: m91nen@tdb.uu.se (Nils Engstrom)
Subject: Help: Event propagation
Organization: Department of Scientific Computing, Uppsala University
Lines: 19
The following problem is really bugging me,
and I would appreciate any help.
I create two windows:
w1 (child to root) with event_mask = ButtonPressMask|KeyPressMask;
w2 (child to w1) with do_not_propagate_mask = ButtonPressMask|KeyPressMask;
Keypress events in w2 are discarded, but ButtonPress events fall through
to w1, with subwindow set to w2.
FYI, I'm using xnews/olvwm.
Am I doing something fundamentally wrong here?
n
From: mjo@iao.ford.com (Mike O'Connor)
Subject: Re: Motif vs. [Athena, etc.]
Organization: Not an official spokesperson for Ford Motor Company
Lines: 21
Reply-To: Mike O'Connor <mjo@fmsrl7.srl.ford.com>
NNTP-Posting-Host: ope209.iao.ford.com
In article <1993Apr16.133856.21829@nrao.edu> rgooch@rp.CSIRO.AU
(Richard Gooch) writes:
:  really involved there). Many people using Linux like to stay at the cutting
:  (bleeding) edge: ie. when kernel patches, C library or compiler patches come
:  out, people like to rebuild their entire systems. The prime requirement for
:  all Linux software is that it is available under a GNU style public license.
:  Hence, Linux software uses either the Athena widgets or XView.
:  Individuals may write software requiring Motif, but I doubt it is widely
:  adopted.
Shameless plug -- the Xaw3d widgets make Athena a much nicer
alternative than the stock MIT Athena code.
...Mike
--
Michael J. O'Connor           |  Internet:  mjo@fmsrl7.srl.ford.com
Ford Motor Company, OPEO      |  UUCP:      ...!fmsrl7!opeo!mjo
20000 Rotunda, Bldg. 1-3001   |  Phone:     +1 (313) 248-1260
Dearborn, MI  48121           |  Fax:       +1 (313) 323-6277
From: mahan@TGV.COM (Patrick L. Mahan)
Subject: RE: Sunview -> X
Organization: The Internet
Lines: 26
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu, alex@vuse.vanderbilt.edu
#
#No doubt this is an old question, but I didn't find the answer in the
#FAQs I could find, so - here goes:
#
#I have a Sunview application that I want to convert to X (OpenLook,
#Motiv, whatever). I remember hearing quite some time ago that there
#are tools to accomplish this task.
#
#	a) is that so?
#	b) are they public domain?
#	c) any good, i.e.
#	d) advantages over reimplementing the interface myself?
#
The simple answer is for you to obtain use XView to do this.  XView is a
one to one replacement for Sunview.  It should already be provided with
you Sun running OpenWindows.   It is also free available as part of the
contrib side of the MIT X11R5 release.
Patrick L. Mahan
--- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------
Waking a person unnecessarily should not be considered  - Lazarus Long
a capital crime.  For a first offense, that is            From the Notebooks of
Lazarus Long
From: tmcconne@sedona.intel.com (Tom McConnell~)
Subject: Re: Motif vs. [Athena, etc.]
Organization: Intel Corporation
Lines: 44
Distribution: world
NNTP-Posting-Host: thunder.intel.com
Originator: tmcconne@sedona
In article <C5K6ny.AzJ@kirk.bu.oz.au>, bambi@kirk.bu.oz.au (David J. Hughes) writes:
> berry@durian.citr.uq.oz.au (Andrew Berry) writes:
>
> Ports of Motif to both 386BSD and Linux are available for a fee of about
> $100.  This is cost recovery for the person who bought the rights to
> redistribute.  The activity in both the BSD and Linux news groups
> pertaining to Motif has been high.
>
>
> >I just wonder if this will also cause a divergence between commercial
> >and non-commercial software (ie. you will only get free software using
> >Athena or OpenLook widget sets, and only get commercial software using
> >the Motif widget sets).
>
>
> I can't see why.  If just about every workstation will come with Motif
> by default and you can buy it for under $100 for the "free" UNIX
> platforms, I can't see this causing major problems.
Let me add another of my concerns: Yes, I can buy a port of Motif for "cheap",
but I cannot get the source for "cheap", hence I am limited to using whatever X
libraries the Motif port was compiled against (at least with older versions of
Motif. I have been told that Motif 1.2 can be used with any X, but I have not
seen it myself).
Currently, I have X11R5 running on eight different unix platforms, of which
only three came with Motif. On those three, I am unable to use the X11R5
libraries to build Motif clients, because I get link errors between the
vendor-supplied port of Motif and my X11R5. I anticipate having this same
problem when X11R6 becomes available.
The result is that I cannot build Motif clients that rely on X11R5, since I do
not have Motif compiled under X11R5. True, I could buy another port of Motif,
but that sort of ruins the whole idea of "free", doesn't it?
Cheers,
Tom McConnell
--
Tom McConnell          |     Internet: tmcconne@sedona.intel.com
Intel, Corp. C3-91     |     Phone: (602)-554-8229
5000 W. Chandler Blvd. | The opinions expressed are my own. No one in
Chandler, AZ  85226    | their right mind would claim them.
From: mishra@cs.sunysb.edu (Prateek Mishra)
Subject: ..Image processing Packages under X..
Keywords: ..medical informatics..
Nntp-Posting-Host: sbmishra
Organization: State University of New York, Stony Brook
Lines: 14
I am looking for a package that implements standard
image processing functions (reading/writing from
standard formats), clipping, zoom, etc. implemented
under X. Both public domain and private packages
are of interest. The particular application area I
have in mind is medical imaging, but a package meant
for a more general context would be acceptable.
Please reply to me; I will summarize on the net if
there is general interest.
- prateek mishra
mishra@sbcs.sunysb.edu
From: klee@synoptics.com (Ken Lee)
Subject: Re: XCopyPlane Question
Reply-To: klee@synoptics.com
Organization: SynOptics Communications, Santa Clara CA
Lines: 13
Nntp-Posting-Host: bugsbunny.synoptics.com
In article AA04287@neko.CSS.GOV, nancie@neko.CSS.GOV (Nancie P. Marin) writes:
>I am trying to use XCopyPlane to copy a single plane
>from a depth-8 pixmap to a depth-1 pixmap.  Everytime I
>try this, I see absolutely nothing displayed.  I know there
>is data in the depth-8 pixmap becuase I have checked by doing
>an XCopyArea to the screen.
The code fragment looks reasonable, but is your logic valid?
Just because something appears in an 8 bit deep pixmap doesn't
mean every bit plane contains data.  Did you try each plane?
---
Ken Lee, klee@synoptics.com
From: hsteve@carina.unm.edu ()
Subject: Re: Changing dpy->max_request_size ?
Organization: University of New Mexico, Albuquerque
Lines: 17
NNTP-Posting-Host: carina.unm.edu
In article <C55zLo.7wA@world.std.com> oj@world.std.com (Oliver Jones) writes:
<In article <118590@netnews.upenn.edu> mcclenne@dingdong.cis.upenn.edu (nennelccM nodroG) writes:
<>
<>Does anyone out there know how to change the maximum request size for
<>a server
<
<It is ordinarily set to the highest value the underlying OS can
Yes, and you don't want to change this value if you're running Image type
applications.
--
_---_     Steve
/ o o \    hsteve@hydra.unm.edu, hsteve@carina.unm.edu
| \___/ |
Just say NO to VMS!!
From: hsteve@carina.unm.edu ()
Subject: Re: interface to access separate appl.
Organization: University of New Mexico, Albuquerque
Lines: 27
NNTP-Posting-Host: carina.unm.edu
In article <9304121644.AA27256@expo.lcs.mit.edu> DBOHDAL@JAGUAR.ESS.HARRIS.COM writes:
<Dear Xperts:
<
<   Here's my problem:  I am designing several related X
<applications (each one is a separate executable) and  I'd like
<to build a single control window that would allow the user to
<access each application (instead of having to locate the correct
<icon). The Control Window would contain a button for each
<application and by pressing it, the application's main window
<would appear.  I would also like to use the application's button
<as a color status indicator.  Has anyone done this or have any
<good ideas??  Because these are all separate executables this
<seems like a communications nightmare to me, but maybe I'm
<wrong.  I'd appreciate any ideas! I'm using X11R5 and Motif 1.2.1.
<
<Thanks,
<dbohdal@jaguar.ess.harris.com
I can think of two different methods that you could try. 1) use fork and
execv 2) use the "system" called in your program.  I'm assuming that you're
running under the Unix OS of course.
--
_---_     Steve
/ o o \    hsteve@hydra.unm.edu, hsteve@carina.unm.edu
| \___/ |
Just say NO to VMS!!
From: pmg@mdavcr.mda.ca (Phil Gray)
Subject: Opinions on Galaxy ?
Summary: Does anybody have any negative experiences ?
Keywords: GUI Builders, evaluation
Organization: MacDonald Dettwiler and Associates
Lines: 21
We are currently evaluating GUI builders, initially for Motif but with
a wish to be flexible & portable.  We have been through the popular
names (UIMX, TeleUSE, XVT etc) and have been very impressed with what
we have seen of Galaxy from Visix.  I have spoken to current users
from a list supplied by Visix (happy users as you would expect), and
seen favourable comments on the net.  However, since it is fairly
expensive to get an evaluation license from Visix, I would like to
query the net for any negative experiences with Galaxy.  Did anybody
evaluate them and prefer another tool or use Galaxy and regret it or
find any mis-features ?
advTHANKSance,
Phil
--
--------------------------------------------------------------------------
Phil M Gray                       Voice: (604) 278-3411
MacDonald Dettwiler               Fax:   (604) 278-2117
13800 Commerce Parkway
Richmond, BC, Canada  V6V 2J3     {pmg@mda.ca | ..!uunet!van-bc!mdavcr!pmg}
From: dev@hollywood.acsc.com ()
Subject: Keyboard Focussing
Organization: ACSC, Inc.
Lines: 11
Distribution: world
NNTP-Posting-Host: hollywood.acsc.com
I have two Motif Widgets. I would like to control one of them via the
keyboard and the other with the mouse. I set the keyboard focus on the first
widget, but as soon as I click the mouse on the second one, I lose the
keyboard focus on the first one.
Could some kind soul show me how to do this?
Thanks
DM
dev@hollywood.acsc.com
From: nmm1@cus.cam.ac.uk (Nick Maclaren)
Subject: Re: Key definitions in Emacs + X
Organization: U of Cambridge, England
Lines: 28
Nntp-Posting-Host: apus.cus.cam.ac.uk
In article <1993Apr16.183525.25197@midway.uchicago.edu> ajaffe@oddjob.uchicago.edu (Andrew Jaffe) writes:
>I use Emacs and I want to customize my keyboard better.
>When I set up stuff in my .emacs with a keymap and define-keys,
>I can only access certain of the keys on my X-Terminal's
>keyboard. I can't get e.g. F10, Home, End, PgUp, PgDn; they all
>seem to have either the same or no keycode. I have a feeling
>this can't be fixed in emacs itself, but that I need to do some
>xmodmap stuff. Can someone help me?
It is actually worse than you think.  I have the same problem, and have
given up.  Emacs has an internal table (somewhere!) which defines what
keys it will accept, and this table is system-dependent.  I use a Sun
from my HP, and cannot get 'shift PageUp' to work - xmodmap is not
sufficient, or at least I haven't worked out how to make it work.
However, I CAN get ordinary 'PageUp' and 'shift CursorRight' to work,
and I do some customised things with them.
Note that the Emacs on my HP has no problem, and I am using exactly
the same xmodmap and Emacs configuration.
Nick Maclaren
University of Cambridge Computer Laboratory,
New Museums Site, Pembroke Street,
Cambridge CB2 3QG, England.
Email:  nmm1@cus.cam.ac.uk
Tel.:   +44 223 334761
Fax:    +44 223 334679
From: dla@se05.wg2.waii.com (Doug Acker)
Subject: Re: Problem with libXmu on SUNOS5.1 and gcc
Reply-To: acker@se01.wg2.waii.com
Organization: Western Geophysical Exploration Products
Lines: 23
NNTP-Posting-Host: se05.wg2.waii.com
In article <1qmt3i$66io@ep130.wg2.waii.com>, dla@se05.wg2.waii.com (Doug Acker) writes:
|> I am using X11R5patch23 with the R5-SUNOS5 patch posted on export.
|> I did optionally apply the patch.olit.
|>
|> libXmu compiles fine .. when I try to use it with clients (i.e. bmtoa and
|> twm), I get errors ... I can not figure out what is wrong:
|>
|> gcc -fpcc-struct-return -o twm gram.o lex.o deftwmrc.o add_window.o gc.o list.o twm.o  parse.o menus.o events.o resize.o util.o version.o iconmgr.o  cursor.o icons.o -O2   -R/usr/wgep/X11R5.sos5/lib${LD_RUN_PATH+\:$LD_RUN_PATH} -L../.././lib/Xmu -lXmu -L.|> ./.././lib/Xt -L../.././extensions/lib -L../.././lib/X -L../.././extensions/lib -lXext -L../.././extensions/lib -lXext -L../.././lib/X -lX11 -L/usr/wgep/X11R5.sos5/lib  -lsocket -lnsl
|> ld: warning: file ../.././extensions/lib/libXext.so: attempted multiple inclusion of file libXext.so
|> Undefined                       first referenced
|>  symbol                             in file
|> XtWindowOfObject                    ../.././lib/Xmu/libXmu.so
|> ld: fatal: Symbol referencing errors. No output written to twm
|> *** Error code 1
The problem was that SunPost411Ld was not defined.
Douglas L.Acker                Western Geophysical Exploration Products
____    ____     ____          a division of Western Atlas International Inc.
\   \  /   /\   /   /\         A Litton / Dresser Company
\   \/   /  \ /   /  \        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\  /   / \  /   /\   \       Internet  :  acker@wg2.waii.com
\/___/   \/___/  \___\      Voice     :  (713) 964-6128
From: dla@se05.wg2.waii.com (Doug Acker)
Subject: xterm build problem in Solaris2.1
Reply-To: acker@se01.wg2.waii.com
Organization: Western Geophysical Exploration Products
Lines: 20
NNTP-Posting-Host: se05.wg2.waii.com
..continuing on my build problems, I got stuck here build xterm...
gcc -fpcc-struct-return -o xterm main.o input.o charproc.o cursor.o util.o tabs.o  screen.o scrollbar.o button.o Tekproc.o misc.o  VTPrsTbl.o TekPrsTbl.o data.o menu.o -O2   -R/usr/wgep/X11R5.sos5/lib${LD_RUN_PATH+\:$LD_RUN_PATH} -L../.././lib/Xaw -lXaw -L../.././lib/Xmu -lXmu -L../.././lib/Xt -lXt -L../.././extensions/lib -lXext -L../.././lib/X -lX11 -L/usr/wgep/X11R5.sos5/lib  -lsocket -lnsl -ltermcap
Undefined                       first referenced
symbol                             in file
index                               /usr/ucblib/libtermcap.a(termcap.o)
rindex                              /usr/ucblib/libtermcap.a(termcap.o)
ld: fatal: Symbol referencing errors. No output written to xterm
*** Error code 1
make: Fatal error: Command failed for target `xterm'
Any clues for help?
--
Douglas L.Acker                Western Geophysical Exploration Products
____    ____     ____          a division of Western Atlas International Inc.
\   \  /   /\   /   /\         A Litton / Dresser Company
\   \/   /  \ /   /  \        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\  /   / \  /   /\   \       Internet  :  acker@wg2.waii.com
\/___/   \/___/  \___\      Voice     :  (713) 964-6128
From: wsanders@spectrum.xerox.com (bob hosid r382-423)
Subject: Dynamic changing of the title bar
Organization: Xerox
X-Newsreader: TIN [version 1.1 PL8]
Lines: 4
I am looking for a program I can insert into some code that will allow the title bar to be changed on a window dynamicly.  If one already is out there, I would appreciate a location so I don't have to create this from scratch.
Thanks in advance.
Bob Hosid:dloslv300:xerox
Subject: MIT R5 on Sun with Rasterops TC Colorboard
From: mark@comp.vuw.ac.nz (Mark Davies)
Distribution: world
Organization: Dept. of Comp. Sci., Victoria Uni. of Wellington, New Zealand.
NNTP-Posting-Host: bats.comp.vuw.ac.nz
Lines: 9
Is it possible to run an MIT R5 based Xserver on a Sun with a Rasterops TC
Colorboard (24bit board)?  I have the Xsun24 patches for supporting sun's
24bit frame buffers but does the rasterops appear as if its a cgtwelve or
something else?  I know nothing about the rasterops other than we might be
buying one to put in an IPX.
cheers
mark
From: henne@math.ias.EDU (Leslie R. Henne)
Subject: Re: SVR4.x binary dists (was Re: RFD: to create comp.unix.sys5.univel)
Organization: The Internet
Lines: 36
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
Cc: mouse@thunder.mcrcim.mcgill.edu
In article <1993Apr15.160635.28022@thunder.mcrcim.mcgill.edu>, der Mouse wrote:
> You seem to be a little confused.  The socialistic hackers who yell
> about proprietary software are hardly enamored of Motif, which is just
> as objectionable to that mindset as NeWS is.
> If I might wear my socialistic hacker hat for a moment, I tar NeWS and
> Motif with the same brush, and that brush is not technical.
Begging everyone's pardon, I was not slamming Motif, nor was I necessarily
plugging/flaming the two.  I was responding to the sweet blithe statement in:
<rick.734610425@digibd> from rick@digibd.digibd.com (Rick Richardson)
rick> This is one area where Microsoft NT has a big advantage.  Since
rick> they control the whole show, there are no issues like this where
rick> licensees create incompatible defacto standards.
This happy statement shows a mindset that inventors and companies have when
they are pleased with something that works, and they believe that others will
also be happy to use it.  I remember when _SunView_ was hot stuff (and am not,
by that statement, endorsing Sun and its products, this is just my experience),
and when OpenWindows became hot stuff, that was when I started hearing, as
mentioned before, the "socialistic masses" that were bent on destroying
_anything_ that was deemed proprietary, including OpenWindows.  I mentioned
Motif in the same breath, because that is what Sun has decided to turn its
attention to, not because I hate it.  Mr. Richardson's position, I believe, is
a healthy one, and I am sure that the seething hackers will soon try to
flame and destroy NT, if it ever shows up, wanting instead everything to be
free, and then complaining when there is no organized structure and there are
no de facto standards.
It was just a vent for frustration brought on by prevailing winds.
Mrs. Henne
From: nenad%saturn@sdsu.EDU (Nenad Marovac)
Subject: C++ and C for OS/2
Organization: The Internet
Lines: 9
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
Cc: nenad@saturn.SDSU.EDU
Hi folks,
]
Does anybody know for a good 32-bit C++/C compiler for OS/2 that supports
OS/2 API and Microsoft windows (maybe Windows NT)?
thanx
N. Marovac, SDSU
From: fwr8bv@fin.af.MIL (Shash Chatterjee)
Subject: xrolo/SPACRC/SunOS4.1.1/audio
Organization: The Internet
Lines: 21
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert%expo.lcs.mit.edu@fin.lcs.mit.edu
Could some one please send me (or tell me where to ftp from) the patches required
for xrolo so that  I can compile-in the SPARCStation phone-dialing feature?
I am using SunOS  4.1.1, and therefore don't have "multimedia/libaudio.h" or
"multimedia/audio_device.h" and associated functions.
Just in case, our mail gateway only accepts msgs < 45Kb.
Thanks in advance,
Shash.
+-----------------------------------------------------------------------------+
+ Shash Chatterjee                           EMAIL:  fwr8bv@fin.af.mil        +
+ EC Software                                PHONE:  (817) 763-1495           +
+ Lockheed Fort Worth Company                FAX:    (817) 777-2115           +
+ P.O. Box 748, MZ1719                                                        +
+ Ft. Worth, TX 76101                                                         +
+-----------------------------------------------------------------------------+
From: adrian@ora.COM (Adrian Nye)
Subject: imake book review
Organization: O'Reilly and Associates, Inc.
Lines: 12
Reply-To: adrian@ora.com
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
Thanks for the many offers to review this book.
If you received a review copy, please return it
as soon as possible.  I had a system crash and
lost the list of people I sent it to!
Thanks
Adrian Nye
O'Reilly and Associates
adrian@ora.com
From: d3e758@bucky.pnl.gov (JE Pelkey)
Subject: Multi-screen apps and window managers
Originator: d3e758@bucky.pnl.gov
Organization: Battelle Pacific N.W. Labs
Lines: 50
I am working on a project to provide an emergency management
information system.  In keeping with more classic command and
control type systems, we are considering developing a dual screen monitor
system in order to provide a status board on it's own monitor.
I have a number of X level questions regarding this:
(We are devloping on Unix systems using X/Motif. Platform will be
predominantly Sun's, probably with ports to RS/6000 as well).
I am assuming the standard dual monitor systems are configured
such that we are talking about one X display and multiple screens,
and not multiple X displays.   Given this:
- Is changing input focus from one screen to the other as simple
as tracking your mouse from one screen to the other?  There's
nothing special that needs to be done to shift focus between
screens?
- Do I have to run separate window managers on the separate
screens or are there multiscreen window managers out there?
What are they; who sells them...
- Is a multi-screen window manager the only way I can grab a
window frame and move a window from one screen to the next?
- Is there any way for the application to transparently see
multiple screens as one logical x-y plane, or does the hardware
only provide for each screen to start at 0,0?
- Any thoughts on the difficulties involved with designing a
system capable of using either multiple screens or a single
screen (perhaps running a virtual window manager to simulate
multiple screens instead)?
I am assuming that this is not a major issue - that I can rely
on providing config files which will specify for each
configuration the screen placement of each window in the
application.  Any thoughts or suggestions from past experience
are more than welcome.
========================================================================
Jo Pelkey                                   Phone: (509)375-6947
Battelle Pacific Northwest Labs             Fax:   (509)375-3641
Mail Stop K7-22                             Email: je_pelkey@pnl.gov
P.O. Box 999
Richland, WA  99352
========================================================================
From: atae@spva.ph.ic.ac.uk (Ata Etemadi)
Subject: Ideal Operating System (Was: DEATH BLOW TO UNIX)
Nntp-Posting-Host: prawn.sp.ph
Organization: Imperial College of Science, Technology, and Medicine, London, England
Lines: 45
G'Day
Windows NT is a step forward, but not by much. I guess for DOS users who
think multi-tasking is really _neat_ (add puke here) and are overjoyed to
be able to use more than 64K of memory, its a major improvement. For Windows
users its more like an upgrade with facilities most Unix users take for
granted. Most of  Windows users only use PCs for text processing or running
3rd-party applications anyway so the operating system features are not even
a real issue. My ideal operating system:
Binary compatible across all plaforms. It should recognize
binaries and configure on the fly, so I don't have to have
bin/Mac bin/DOS bin/Dec bin/Sun bin/HP etc...
Multi-CPU. So I can use the CPUs on my PC and W/S and Mac
and Transputers and DSPs. I don't know a single site which
has gone for a single vendor. I am not going to trade-in
80Mflops per H1 transputer or ultra-fast FFT on DSP chips.
Note NT runs on Symmetric multi-CPU systems.
Built-in portable GUI/Graphics tools. You can call DrawButton
or DrawLine and it does the same thing no matter what platform
or display. It should also translate graphics commands on-the-fly.
so I can use PC graphics S/W on my workstation and X software on
my PC. I think GUIs are not just nice to have but essential.
Configurable front-end. So you can make it look like Unix or DOS
or NT or OS/2, and run shell scripts or command/BAT files.
Object oriented. So I can program easily under it and not have
to re-invent the wheel if the networking is not up to scratch
or my application needs to access source/object code on the fly.
In other words it should have some AI capability. That and a tight, clean
kernel so you can actually understand it. Anyone know of something like this ?
adios
Ata <(|)>.
--
| Mail          Dr Ata Etemadi, Blackett Laboratory,                          |
|               Space and Atmospheric Physics Group,                          |
|               Imperial College of Science, Technology, and Medicine,        |
| Internet/Arpanet/Earn/Bitnet atae@spva.ph.ic.ac.uk or ata@c.mssl.ucl.ac.uk  |
| Span                              SPVA::atae       or     MSSLC:atae        |
From: atae@spva.ph.ic.ac.uk (Ata Etemadi)
Subject: Please Ignore [Ideal Operating System (Was: DEATH BLOW TO UNIX)]
Nntp-Posting-Host: prawn.sp.ph
Organization: Imperial College of Science, Technology, and Medicine, London, England
Lines: 1
Whoops!! Wrong group. Soooooooooooooooorry folks..
Subject: Re: Trouble compiling X11R5 on SunOS_4.1.3
From: nemo@aguirre.dia.fi.upm.es (Francisco J. Ballesteros)
Organization: Computer Science, CLIP lab, UPM Madrid, Spain.
Nntp-Posting-Host: aguirre.dia.fi.upm.es
In-reply-to: dmm@head-cfa.harvard.edu's message of 2 Apr 93 21:24:05 GMT
Lines: 21
In article <1993Apr2.212405.5213@head-cfa.harvard.edu> dmm@head-cfa.harvard.edu (David Meleedy) writes:
>   	   I've been trying to compile X11R5 patchlevel 23 on a Sun Sparc
>      IPX using SunOS_4.1.3, and gcc 2.3.3.
>
>   	   The problem occurs during the initial "make World".  When
>      it gets up to compiling the standard X clients, it can't seem to find
>      some of the libraries.  Right now we highly suspect the program "ld"
>      which was updated for 4_1_3.
>
Yip, we had the same problem; the only fix we found was to link static
some of the clients, ( btw, we used cc). :-(.
--
/+=========================================++================================+\
||Francisco J. Ballesteros [a.k.a. Nemo]   ||  email: nemo@clip.dia.fi.upm.es||
||org:  Computer Science, CLIP lab.        ||  phone: +34 1 336-7448         ||
||      Campus Montegancedo s.n. U.P.M.    ||  ___         ___               ||
||      Boadilla del Monte, Madrid, Spain. ||  \\   \\   o \\_)  \   _ \__   ||
\+=========================================++== \\__ \\__\\ \\ == \_(_\_\_) =+/
From: ten0772@eafs000.ca.boeing.com (Timothy E. Neto)
Subject: Re: X-server multi screen
Organization: be41t
Lines: 37
rainer@sun3.eeam.elin.co.at (Rainer Hochreiter) writes:
>Hi Xperts, some simple questions for you:
>I've seen a lot of different terms, which seem to mean the same thing.
>Who can give an exact definition what these terms mean:
>	-) multi-screen
>	-) multi-headed
>	-) multi-display
>	-) X-Server zaphod mode
>Is there a limit how many screens/displays a single server can handle
>(in an articel a read something about an upper limit of 12) ?
>How is the capability called, if I want to move the cursor from one
>screen/display to another.
>Any hints welcome.
>Thanks, rainer.
>--
>Rainer Hochreiter                | Telephone: +43 (1) 89100 / 3961
>ELIN-Energieanwendung GesmbH     | Telefax  : +43 (1) 89100 / 3387
>Penzingerstr. 76                 |
>A-1141 Wien, Austria/Europe      | E-mail   : rainer@elin.co.at
As to how many clients may be display on a server, I believe the limit
would be how much memory is available to your server or allocated by the
server.
--
Indecision is the key to | Timothy E. Neto  (206) 655-5190              1   000
flexibility, & you can't | Of B & T's Gadget & Widget Works             1  0. .0
E-Mail God.              | Flight Systems Lab, Boeing Comm. Aircraft    1  0 _ 0
My ideas not Boeing's    | Internet: ten0772@aw401.fsl.ca.boeing.com    1   000
From: joel@zodiac.z-code.COM (Joel Reymont)
Subject: Motif maling list
Organization: The Internet
Lines: 13
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
Hi, all!
Anyone knows of a Motif mailing list? I don't have access to network news
and there is no longer a motif list at alfalfa.com.
Thanks, Joel.
--
-----------------------------------------------------------------------------
Joel Reymont    !   Z-Code Software Corporation    ! e-mail: joel@z-code.com
-----------------------------------------------------------------------------
4340 Redwood Hwy, Suit B.50, San Rafael, CA 94903
-----------------------------------------------------------------------------
From: Markku.Savela@tel.vtt.fi (Markku Savela)
Subject: Raster and Text Widgets (View only!), Xew-1.3 version
Organization: Technical Research Centre of Finland
Lines: 18
Distribution: comp
Reply-To: savela@tel.vtt.fi (Markku Savela)
NNTP-Posting-Host: tel4.tel.vtt.fi
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Version 1.3 of Xew widgets is available at
export.lcs.mit.edu: contrib/Xew-1.3.tar.Z
export.lcs.mit.edu: contrib/Xew-1.3.README
For better details, check the README. (For extensive details, you have
to with Xew-1.1.ps.Z, still haven't had time to update this one).
No new functionality has been added since 1.2 version. Raster widget
handles now expose events slightly more intelligently than before
(really had to do this when I added a simple program that uses X11R5
Athena Porthole and Panner widgets). The program demo/viewer.c is
very simple demonstration of panner/porthole usage (copied
from'editres' actually :-)
--
Markku Savela (savela@tel.vtt.fi), Technical Research Centre of Finland
Telecommunications Laboratory, Otakaari 7 B, SF-02150 ESPOO, Finland
From: fkk@stasys.sta.sub.org (Frank Kaefer)
Subject: Re: xterm build problem in Solaris2.1
Organization: Stasys News Server, Starnberg, Germany
Lines: 22
Distribution: inet
NNTP-Posting-Host: stasys.sta.sub.org
dla@se05.wg2.waii.com (Doug Acker) writes:
|..continuing on my build problems, I got stuck here build xterm...
|gcc -fpcc-struct-return -o xterm main.o input.o charproc.o cursor.o util.o tabs.o  screen.o scrollbar.o button.o Tekproc.o misc.o  VTPrsTbl.o TekPrsTbl.o data.o menu.o -O2   -R/usr/wgep/X11R5.sos5/lib${LD_RUN_PATH+\:$LD_RUN_PATH} -L../.././lib/Xaw
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: a question on window ids
Keywords: windows
Organization: McGill Research Centre for Intelligent Machines
Lines: 23
In article <wnk.734824081@aquifer.geology.uiuc.edu>, wnk@aquifer.geology.uiuc.edu (Walter Kreiling) writes:
> Given a program running on a workstation with an X based window
> system, how can one pop the window in which it is running to the top.
> By window I mean the terminal window from which it was invoked.
One can't.  The application may not have been started from a terminal
emulator; if it was, the terminal emulator may not still exist, and if
it does it may be in no condition to be "pop[ped] to the top" (eg, it
may be iconified).  And even if you can, it may not do what you want -
consider a virtual-root window manager like tvtwm, with the relevant
window in a portion of the virtual desktop that's outside the real
desktop.
Some (but not all) X terminal emulators provide environment variables
giving a window ID.  Even if such a thing is present in the
environment, it may not be what you want; it may correspond to a window
on a different server, for example.
der Mouse
mouse@mcrcim.mcgill.edu
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: X-server multi screen
Organization: McGill Research Centre for Intelligent Machines
Lines: 42
In article <1qlop6$sgp@sun3.eeam.elin.co.at>, rainer@sun3.eeam.elin.co.at (Rainer Hochreiter) writes:
> I've seen a lot of different terms, which seem to mean the same
> thing.  Who can give an exact definition what these terms mean:
> 	-) multi-screen
> 	-) multi-headed
> 	-) multi-display
> 	-) X-Server zaphod mode
As applied to servers, the first three are fuzzy terms.  "multi-headed"
tends to be used for any system with multiple monitors, sometimes even
multiple screens even if they're multiplexed onto the same monitor (eg,
a Sun with a cg4 display).  "multi-screen" and "multi-display" would,
if taken strictly, mean different things, but since the strict meaning
of "multi-display" would refer to a system with multiple keyboards and
pointers, when it's used it probably refers to the same thing
"multi-screen" would: a system that provides multiple Screens.
"zaphod" is a term applied to the way the MIT server switches the
pointer from one screen to another by sliding it off the side of the
screen.
> Is there a limit how many screens/displays a single server can handle
> (in an articel a read something about an upper limit of 12) ?
There is a protocol limitation that restricts a given Display to at
most 255 Screens.  I know of no server that handles multiple Displays
on a single invocation, unless possibly my kludges to the R4 server can
be looked upon as such; on a TCP-based system there is necessarily a
limit of 65535 Displays per machine, but this is not a limitation
inherent to X.
What you read was most likely talking about a limit in some particular
implementation (probably the MIT one).  If it claimed there was a limit
of 12 inherent to X, the author of the article had no business writing
about X.
der Mouse
mouse@mcrcim.mcgill.edu
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: Creating 8 bit windows on 24 bit display.. How?
Organization: McGill Research Centre for Intelligent Machines
Lines: 59
In article <1993Apr16.093209.25719@fwi.uva.nl>, stolk@fwi.uva.nl (Bram) writes:
> I am using an X server that provides 3 visuals: PseudoColor 8 bit,
> Truecolor 24 bit and DirectColor 24 bit.
Lucky dog... :-)
> A problem occurs when I try to create a window with a visual that is
> different from the visual of the parent (which uses the default
> visual which is TC24).
> In the Xlib reference guide from 'O reilly one can read in the
> section about XCteateWindow, something like:
>     In the current implementation of X11: When using a visual other
>     than the parent's, be sure to create or find a suitable colourmap
>     which is to be used in the window attributes when creating, or
>     else a BadMatch occurs.
> This warning, strangely enough, is only mentioned in the newer
> editions of the X11R5 guides.
It applies with equal force to earlier versions.  Presumably only
recently did the author(s) decide it was important enough to mention.
The necessity it refers to has always been there, but it's been
implicit in the way CreateWindow requests default some attributes of
the new window.
> However, even if I pass along a suitable colourmap, I still get a
> BadMatch when I create a window with a non-default visual.
>   attr.colormap = cmap;
>   win = XCreateWindow(
[...]
>           CopyFromParent,       /* border width */
>           8,                    /* depth */
>           InputOutput,          /* class */
>           vinfo.visual,         /* visual */
>           CWColormap,
>           &attr
>         );
This is because the warning you read is incomplete.  You have to
provide not only a colormap but also a border.  The default border is
CopyFromParent, which is not valid when the window's depth doesn't
match its parent's.  Specify a border-pixmap of the correct depth, or a
border-pixel, and the problem should go away.
There is another problem: I can't find anything to indicate that
CopyFromParent makes any sense as the border_width parameter to
XCreateWindow.  Your Xlib implementation probably defines
CopyFromParent as zero, to simplify the conversion to wire format, so
you are unwittingly asking for a border width of zero, due to the Xlib
implementation not providing stricter type-checking.  (To be fair, I'm
not entirely certain it's possible for Xlib to catch this.)
der Mouse
mouse@mcrcim.mcgill.edu
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: Available memory to the Xserver. How to get the actual size?
Organization: McGill Research Centre for Intelligent Machines
Lines: 14
In article <1965@igd.fhg.de>, pfuetz@igd.fhg.de (Matthias Pfuetzner) writes:
> Is there a possibility to determine via X protocol calls the size of
> free memory available to the Xserver?
No.  Even if you could, the answer could be out of date even before you
get it (even if you grab the server, it could be taken up by buffering
user actions).  You should just try to do whatever you want; a BadAlloc
error is your indication that insufficient server memory is available.
der Mouse
mouse@mcrcim.mcgill.edu
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: XWindows always opaque
Keywords: xwindow, parent-child relation
Organization: McGill Research Centre for Intelligent Machines
Lines: 17
> Distribution: comp
Please don't misuse newsgroup hierarchy names as distributions.
In article <hess.734959172@swt1>, hess@swt1.informatik.uni-hamburg.de (Hauke Hess) writes:
> I wonder if it is possible for a parent window to paint over the area
> of its childs.
Yes, but it's not an attribute of the window; it's an attribute of the
GC used to do the drawing.  Set the subwindow-mode to IncludeInferiors
rather than the default ClipByChildren.
der Mouse
mouse@mcrcim.mcgill.edu
From: maf@dtek.chalmers.se (Martin Forssen)
Subject: Re: german keyboard, X11R5 and Sparc
Nntp-Posting-Host: hacket.dtek.chalmers.se
Organization: Chalmers University of Technology, Gothenburg Sweden
Lines: 11
claes@polaris (Heinz-Josef Claes) writes:
>I have a Sparc[12] with a german type 4 keyboard.
>Has anybody a Patch for X11R5?
export.lcs.mit.edu:/pub/sunkbd..930314.tar.Z
/MaF
--
Martin Forssen: maf@dtek.chalmers.se or maf@math.chalmers.se
System administrator at math and dtek at Chalmers univ. of technology
From: A.F.Savage@bradford.ac.uk (Adrian Savage)
Subject: Searching for xgolf
Organization: University of Bradford, UK
Lines: 14
X-Newsreader: TIN [version 1.1 PL6]
I recently found the file xgolf on a German ftp site
(reseq.regent.e-technik.tu-muenchen.de) but unfortunately the shar file
was incomplete and the author's email address given in the readme file
(markh@saturn.ee.du.edu) does not work.
Can anyone assist by giving the location of a full version of this (or
any other golf game for X) game, or a way of contacting the author?
Please reply by email if you can help
Ade
--
Adrian Savage, University of Bradford, UK. Email: a.f.savage@bradford.ac.uk
From: shite@sinkhole.unf.edu (Stephen Hite)
Subject: Re: Searching for xgolf
Organization: University of North Florida, Jacksonville
Lines: 4
The xgolf program was an April Fool's joke <sigh>.
Steve Hite
shite@sinkhole.unf.edu
From: wolfson@ll.mit.edu (Harry Wolfson)
Subject: Re: MacX 1.2 color problem
Keywords: mac x color window macx
Organization: MIT Lincoln Laboratory
Lines: 16
Stan Kerr writes:
>When some types of client windows are displayed, parts of the windows
>are in the wrong color; if the window is moved slightly, forcing the server
>to repaint it, it is repainted in the correct colors. It doesn't happen
I have the exact same problem when running Hewlett Packard's Microwave Design
System (MDS) from an HP 380 unix box and running MacX 1.2, Sys 7.0.1*.
Normally, MDS draws a window with a deep blue backround, but occasionally
it becomes a light blue and all the text, etc, inside the window become
"washed out" (nearly invisible). I thought that it was just something
brain dead that I was doing or a subtle conflict with another app or INIT.
By slightly moving the window, and forcing a re-draw, the colors get corrected.
Harry Wolfson
wolfson@ll.mit.edu
From: bash@tware.com (Paul Bash)
Subject: Re: X11R5 and Open Look
Organization: Techware Design, Boulder, CO. USA
Lines: 34
In article <1993Apr12.220600.10691@nrao.edu> rgooch@rp.CSIRO.AU (Richard Gooch) writes:
>In article <1993Apr12.155820.82@aedc-vax.af.mil>, bonds@aedc-vax.af.mil writes:
>> I am reposting this because I am not sure my first post ever made it out.
>> I have built and installed X11R5 on my SPARCstation 2.  My aim is to run
>> the MIT X server but retain the OpenLook Window Manager.  I am sure this
>> is not uncommon, but I just want to make sure that I change and/or delete
>> everything that I need to.  For instance, I can start xdm in rc.local, but
>> how do I get rid of Xnews?
>>
>
>  The OpenLook window manager source is available on the MIT contrib tapes
>  or from  export.lcs.mit.edu  .I would suggest building this too, rather than
>  using the version from OpenWindows. It is  olwm  v3.
>
I would suggest skipping olwm and getting olvwm instead. This version of the
olwm window manager implements a virtual desktop that I find really handy even
on large monitors.
This version is also available at export.lcs.mit.edu:/contrib/olvwm3.tar.Z.
The README file also suggest getting the files in /contrib/xview3.
In my case, I built the X Server first, Xview second, then olvwm. All of these
were installed into /usr/X5. Once I verified the server worked correctly,
I happily issued "rm -rf /usr/openwin/*".
Using gcc 2.3.3 to build all of the above resulted in a windowing system that
is, for all intents and purposes, identical to OpenWindows 3.0 and that is
incredibly faster. There is a bit of tweaking you will have to do if you want
things to work _exactly_ like OpenWindows, but not much.
--
Paul Bash                                                   Techware Design
bash@tware.com                                              Boulder, CO  U.S.A.
From: srivasta@pilgrim.umass.edu (Manoj Srivastava)
Subject: [REQUEST] Need tvtwm sources with mods from R. J. Caley
Organization: Project Pilgrim, University of Massachusetts at Amherst
Lines: 17
Distribution: world
Reply-To: srivasta@pilgrim.umass.edu
NNTP-Posting-Host: mecca.pilgrim.umass.edu
Hello,
way back in the mists of time, I had a set of patches written
by Richard Caley (I believe to the standars distribution, patch level
6) which added regular expressions in the .tvtwmrc file, multiple icon
regions, squeezable icons, and f.deleteordestroy function. I still
have the patches, however, I can no longer find the sources to which
they applied ;-).
I'd appreciate if some kind soul could send me a pointer to
where I could find the sources. Has anyone updated the patches for R5?
(Richard? are you out there? pretty please?)
Thanks in advance.
manoj
From: dick@ahold.nl (Dick Heijne)
Subject: Is TEK quitting Xterm activities ???
Organization: Ahold NV, Zaandam, Netherlands, EEC
Lines: 13
I caught up a mailmessage from an NCD guy, who stated that Tek
might be quitting it's X terminal activities and would be looking
for an interested buyer.
Since the source of this message is NCD, THIS MIGHT ONLY BE NASTY
GOSSIP !!!
Can anyone say more about this??
Dick.
--
+==============================Ahold NV===============================+
| Room 146 , Ankersmidplein 2, 1506 CK Zaandam,  The Netherlands, EEC |
| Dick.Heijne@ccsds.ahold.nl - Tel: +31 75 592151, Fax: +31 75 313030 |
+=====================================================================+
From: dick@ahold.nl (Dick Heijne)
Subject: Re: xdm and Solaris2.1
Organization: Ahold NV, Zaandam, Netherlands, EEC
Lines: 11
The XDM on Solaris 2.1 *WAS* broke. Since two weeks, Sun distributes
a patched release, which works fine (supports /etc/shadow and all).
We have it up and running ever since and have not experienced any
problems. Call your local Sun rep.
Dick.
--
+==============================Ahold NV===============================+
| Room 146 , Ankersmidplein 2, 1506 CK Zaandam,  The Netherlands, EEC |
| Dick.Heijne@ccsds.ahold.nl - Tel: +31 75 592151, Fax: +31 75 313030 |
+=====================================================================+
From: dick@ahold.nl (Dick Heijne)
Subject: Re: xterm build problem in Solaris2.1
Organization: Ahold NV, Zaandam, Netherlands, EEC
Lines: 24
dla@se05.wg2.waii.com (Doug Acker) writes:
: ..continuing on my build problems, I got stuck here build xterm...
:
: gcc -fpcc-struct-return -o xterm main.o input.o charproc.o cursor.o util.o tabs.o  screen.o scrollbar.o button.o Tekproc.o misc.o  VTPrsTbl.o TekPrsTbl.o data.o menu.o -O2   -R/usr/wgep/X11R5.sos5/lib${LD_RUN_PATH+\:$LD_RUN_PATH} -L../.././lib/Xaw -lXaw -L../.././lib/Xmu -lXmu -L../.././lib/Xt -lXt -L../.././extensions/lib -lXext -L../.././lib/X -lX11 -L/usr/wgep/X11R5.sos5/lib  -lsocket -lnsl -ltermcap
: Undefined                       first referenced
:  symbol                             in file
: index                               /usr/ucblib/libtermcap.a(termcap.o)
: rindex                              /usr/ucblib/libtermcap.a(termcap.o)
: ld: fatal: Symbol referencing errors. No output written to xterm
: *** Error code 1
: make: Fatal error: Command failed for target `xterm'
:
: Any clues for help?
Either:
* Add -lucb -lelf to the list
or
* #define index() and rindex() to strchr() and strrchr() respectively.
Both use same args. Former are bsd, latter are SysV.
--
+==============================Ahold NV===============================+
| Room 146 , Ankersmidplein 2, 1506 CK Zaandam,  The Netherlands, EEC |
| Dick.Heijne@ccsds.ahold.nl - Tel: +31 75 592151, Fax: +31 75 313030 |
+=====================================================================+
From: Wilson Swee <ws8n+@andrew.cmu.edu>
Subject: compiling on sun4_411
Organization: Junior, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA
Lines: 22
NNTP-Posting-Host: po5.andrew.cmu.edu
Hi,
I have a piece of X code that compiles fine on pmax-ul4, pmax_mach, as
well as sun4_mach, but whenever it compiles on sun4_411, it gives me
undefined ld errors:
_sin
_cos
_pow
_floor
_get_wmShellWidgetClass
_get_applicationShellWidgetClass
The following libraries that I linked it to are:
-lXaw -lXmu -lXt -lXext -lX11
The makefile is generated off an imake template.
Can anyone give me pointers as to what I'm missing out to compile on
a sun4_411?
Thanx
Wilson
From: slg3x@cc.usu.edu
Subject: X Color bitmap editor needed
Organization: Utah State University
Lines: 7
Hi Folks,
Does anybody know where I can find the "Color" bitmap editor
around the public sites? Any information I do appreciate that.
C.Chang
From: grp@Unify.com (Greg Pasquariello)
Subject: Re: Anyone have experience with Visix' Galaxy?
Organization: Unify Corporation (Sacramento)
Lines: 24
In article <C56M19.17r@world.std.com>, grier@world.std.com (The Political Crony) writes:
>
> The title line says it. The Galaxy package was just recently announced, and
> includes a GUI-builder and portable toolkit. I'm interested in any
> feedback from those who may have used it thus far.
We've been using it for a year on Unix (Sun and HP) and Windows platforms.  In my
opinion, it is the best toolkit on the market.  It supports a rich API to a high
level IPC mechanism, file system abstraction, memory management, command driven
application development, drawing, geometry management, and, oh yeah, Open Look,
Motif, MS-Windows and Mac (at the flip of a switch).
>
> Thanks
> Jim Grier
> grier@world.std.com
>
--
--
Greg Pasquariello   	grp@unify.com 	        Hobnobbing with the ancients
Unify Corporation	   or
(916) 928-6258	    ...!uunet!unify!grp
From: rlm@helen.surfcty.com (Robert L. McMillin)
Subject: Is it just me, or is this newsgroup dead?
Organization: Surf City Software/TBFW Project
Lines: 8
I've gotten very few posts on this group in the last couple days.  (I
recently added it to my feed list.)  Is it just me, or is this group
near death?
--
Robert L. McMillin | Surf City Software | rlm@helen.surfcty.com | Dude!
#include <std.disclaimer.h>
From: schneck@Physik.TU-Muenchen.DE (Bernhard Schneck)
Subject: Re: Trouble compiling X11R5 on SunOS_4.1.3
Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
Lines: 14
nemo@aguirre.dia.fi.upm.es (Francisco J. Ballesteros) writes:
>>   	   The problem occurs during the initial "make World".  When
>>      it gets up to compiling the standard X clients, it can't seem to find
>>      some of the libraries.  Right now we highly suspect the program "ld"
>>      which was updated for 4_1_3.
>>
>    Yip, we had the same problem; the only fix we found was to link static
>some of the clients, ( btw, we used cc). :-(.
Or use a SunOS 4.1.1 ld.
\Bernhard.
From: dla@se05.wg2.waii.com (Doug Acker)
Subject: Re: xterm build problem in Solaris2.1
Organization: western geophysical exploration products
Lines: 22
NNTP-Posting-Host: se05.wg2.waii.com
In-reply-to: dla@se05.wg2.waii.com's message of 16 Apr 1993 23:58:27 GMT
>>>>> On 16 Apr 1993 23:58:27 GMT, dla@se05.wg2.waii.com (Doug Acker) said:
Doug> NNTP-Posting-Host: se05.wg2.waii.com
Doug> ..continuing on my build problems, I got stuck here build xterm...
Doug> Undefined                       first referenced
Doug>  symbol                             in file
Doug> index                               /usr/ucblib/libtermcap.a(termcap.o)
Doug> rindex                              /usr/ucblib/libtermcap.a(termcap.o)
Doug> ld: fatal: Symbol referencing errors. No output written to xterm
Actually .. the problem is that you have to build with LD_LIBRARY_PATH
unset as well as LD_RUN_PATH.
--
Douglas L.Acker                Western Geophysical Exploration Products
____    ____     ____          a division of Western Atlas International Inc.
\   \  /   /\   /   /\         A Litton / Dresser Company
\   \/   /  \ /   /  \        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\  /   / \  /   /\   \       Internet  :  acker@wg2.waii.com
\/___/   \/___/  \___\      Voice     :  (713) 964-6128
From: welch@xcf.Berkeley.EDU (Sean N. Welch)
Subject: Re: Trouble compiling X11R5 on SunOS_4.1.3
Organization: Experimental Computing Facility, U.C. Berkeley
Lines: 35
NNTP-Posting-Host: xcf.berkeley.edu
In article <schneck.735153129@Physik.TU-Muenchen.DE> schneck@Physik.TU-Muenchen.DE (Bernhard Schneck) writes:
>nemo@aguirre.dia.fi.upm.es (Francisco J. Ballesteros) writes:
>
>>>   	   The problem occurs during the initial "make World".  When
>>>      it gets up to compiling the standard X clients, it can't seem to find
>>>      some of the libraries.  Right now we highly suspect the program "ld"
>>>      which was updated for 4_1_3.
>>>
>
>>    Yip, we had the same problem; the only fix we found was to link static
>>some of the clients, ( btw, we used cc). :-(.
>
>Or use a SunOS 4.1.1 ld.
Or read fixes 9, 10, and 11 to the MIT distribution.  This is a known
problem - just apply those fixes and set SunPost411FCSLd to YES and
OSTeenyVersion in mit/config/sun.cf to 3.
In fix-09:
|If you are running SunOS 4.1.1 and you apply Sun's ld patch 100170-6,
|then you will need to edit your site.def and add this line to the
|AfterVendorCF section:
|
|#define SunPost411FCSLd   YES
In fix-10:
|If you are running SunOS 4.1.2, change OSTeenyVersion in mit/config/sun.cf to
|have a value of 2.
In fix-11:
|Brief notes on what this patch fixes:
|
|config: make on SunOS 4.1.2 fails unless tree previously built in
Sean Welch
From: thomas@aeon.in-berlin.de (Thomas Wolfram)
Subject: Re: Title for XTerm
Keywords: XTerm
Organization: Cities in Dust
Lines: 37
In <1993Apr17.170907.25718@samba.oit.unc.edu> naoumov@physics.unc.edu (Sergei Naoumov) writes:
>Hey guys!
>I work on many stations and would like this name and current logname
>to be in a title of Xterm when it's open and a machine name only
>when it's closed. In other words, I want $HOST and $LOGNAME to appear
>as a title of opened XTerm and $HOST when XTerm is closed.
>How can I do it?
>Thnsks in advance,
>	Serge
>	serge@gluttony.astro.unc.edu
Almost all window managers (twm, mwm, olwm and their derivates) support
escape sequences for it. For your purpose put following into your
.login (if you're using csh or tcsh), for sh you have to modify it.
if ( "$term" == "xterm" ) then
echo "^[]2;${LOGNAME}@${HOST}^G^[]1;${HOST}^G"
endif
Note, ^[ stands for <Esc>, in vi you can enter it by pressing
Ctrl-V and the <Esc>. Same for ^G, it means Ctrl-G. In vi:
press Ctrl-V and then Ctrl-G.
The first sequence puts the string into the title bar the second
in the icon.
BTW, you can also put the current working directory in the
title bar if you make an alias for cd:
alias cd 'cd \!* ; echo "^[]2;${LOGNAME}@${HOST}: ${cwd}^G"'
greetings,
Thomas
--
Thomas Wolfram, thomas@aeon.in-berlin.de
EANTC, TU Berlin, wolf@prz.tu-berlin.de, +49 030 31421294
From: duvvuri@gudbransdal.cs.odu.edu (D.V.Prakash)
Subject: Pointer Feature
Summary: Multiple flushing of pointers
Keywords: Pointers, Arrows, Cursors
Nntp-Posting-Host: gudbransdal.cs.odu.edu
Organization: Old Dominion University, Norfolk, Va
Lines: 23
Hi
I am trying to implement a pointer feature in Xlib
I have multiple windows and all can take input and
show output simultaneously on all other displays
I want to implement a pointer feature
I would like to get the pointer to come up on all windows once
I choose pointer in the menu and every one should be able
to see it
Can you give me some hints as to how I should proceed
replies will be greatly appreciated
Thank you
Prakash
< duvvuri@cs.odu.edu >
From: rgs@megatek.com (Rusty Sanders)
Subject: Re: X-server multi screen
Organization: Megatek Corporation, San Diego, California
Lines: 61
From article <1993Apr17.010256.14372@eafs000.ca.boeing.com>, by ten0772@eafs000.ca.boeing.com (Timothy E. Neto):
> rainer@sun3.eeam.elin.co.at (Rainer Hochreiter) writes:
>>
>>I've seen a lot of different terms, which seem to mean the same thing.
>>Who can give an exact definition what these terms mean:
>>
>>	-) multi-screen
>>	-) multi-headed
>>	-) multi-display
>>	-) X-Server zaphod mode
>>
>>Is there a limit how many screens/displays a single server can handle
>>(in an articel a read something about an upper limit of 12) ?
>>
>>How is the capability called, if I want to move the cursor from one
>>screen/display to another.
>
> As to how many clients may be display on a server, I believe the limit
> would be how much memory is available to your server or allocated by the
> server.
>
This all sounds suspiciously like my company might have something to
do with this.
Background first: Megatek has a series of framebuffers designed as
X accelerators. For the most part these are designed for Sun SBUS
and Sun (and other vendor's) VME systems.
That said, Megatek products support multi-screen and/or multi-display
on a sigle workstation. Most of our cards have a keyboard/mouse port
which can be used to provide additional displays. For example, say
you hade a Sparcstation with an Sbus expansion chassis. You could
put in six frambuffers, allowing a total of six screens in the system.
You could then attach from 1 to 6 keyboard/mice, allowing you to
mix and match any combination of screens and displays. You could
have 1 6-screen display, 3 2-screen displays, 6 1-screen displays,
or 1 2-screen display and 1 4-screen display. Basically any
combination.
Because of this, we at Megatek try to be very careful about the use
of the words multi-screen and multi-display. They are quite different
in meaning, and (at least in X) have exact definitions.
The reason I ramble like this is the mention of an upper limit if 12
screens in a display. As it so happens, there's a define in the server
that determines the most screens supported (server/include/misc.h,
MAXSCREENS). As released my MIT, this is 3. As released by Megatek,
this is 12.
As such, the most screens supported by a single Megatek display (i.e.
X server) is 12. If someone construed this to be a limitation of X
I'm sorry, but clearly (as pointed out so well by Mr. Neto) this is
not the case.
We just did it here because nobody has ever asked us for more. Of
course, I could say "Buy all you want, we'll support more."
--
----
Rusty Sanders, Megatek Corp. --> rgs@megatek.com or...
...ucsd!    ...hplabs!hp-sdd!    ...ames!scubed!   ...uunet!
From: davewood@bruno.cs.colorado.edu (David Rex Wood)
Subject: Creating application contexts multiple times???
Nntp-Posting-Host: bruno.cs.colorado.edu
Organization: University of Colorado, Boulder
Lines: 94
The subject does not describe the problem I am having very well.  Please read
on...
I am trying to write a function which creates an XtAppContext and a Widget,
displays the widget for a while, then destroys everything and returns.  The
problem is that multiple calls to this function cause a variety of problems
including (depending on which calls I make to get rid of things):
- Core Dump
- BadPixmap X Error
- Widget not unmapped
Here is a simple (C++) program I wrote to show the problem:
#include <X11/Xlib.h>
#include <Xm/Xm.h>
#include <Xm/PushB.h>
void bla()
{
XtAppContext app;
Display *dis = XOpenDisplay("");
int junk = 0;
Widget top=XtAppInitialize (&app, "test", NULL, 0, &junk, NULL,
NULL, NULL, 0);
Widget box = XtVaCreateManagedWidget("blaaa", xmPushButtonWidgetClass,
top,
XmNheight, 50,
XmNwidth, 50,
NULL);
XtRealizeWidget(top);
//Same as XtAppMainLoop but with only 10 XEvents
for (int i=0;i<=10;i++)
{
XEvent event;
XtAppNextEvent(app, &event);
XtDispatchEvent(&event);
}
// WHAT SHOULD I PUT HERE???
XtUnrealizeWidget(top);
XtDestroyWidget(top);
XtDestroyApplicationContext(app);
XCloseDisplay(dis);
// ???
}
main()
{
for (int i=0;i<=20;i++)
bla();
}
Note that I rewrote XtAppMainLoop so that at a given time (in this example,
after 10 XEvents) the function will exit and return to the main program.
With this example, I get the following error on about (this is NOT consistent)
the 5th call to bla():
X Error of failed request:  BadPixmap (invalid Pixmap parameter)
Major opcode of failed request:  55 (X_CreateGC)
Resource id in failed request:  0xe0000d
Serial number of failed request:  71
Current serial number in output stream:  86
If I take out the XtUnrealizeWidget(top); line, it just dumps core on the
seconds call.
Furthermore, every time I call XtAppInitialize() (other than the 1st time), I
get:
Warning: Initializing Resource Lists twice
Warning: Initializing Translation manager twice.
So finally, my question is this:
What needs to be done in order to be able to call a function which creates
an XtAppContext and widgets multiple times?
Any help would be greatly appreciated.
PLEASE respond via email as I dont usually have time to read this group.
Thanks very much.
-davewood
--
-------------------------------------------------------------------------------
David Rex Wood -- davewood@cs.colorado.edu -- University of Colorado at Boulder
-------------------------------------------------------------------------------
From: mike@hopper.Virginia.EDU (Michael Chapman)
Subject: Compiling help
Organization: ITC/UVA Community Access UNIX/Internet Project
Lines: 12
I'd like to compile X11r5 on a Sony NWS-1750 running NEWS 4.1c.  The
X distribution has support for this config, and the release notes say
it has been tested on the machine.  BUT, also in the release notes,
nothing from Sony is listed under the supported servers.  What am I
supposed to use for my r5 X server then?  How can the OS be supported,
but not the hardware? Is there something in the r4 binaries that can
be used as the r5 server? These may seem like silly questions, but
I'm *really* confused.
--
mike@hopper.acs.virginia.edu
"I will NOT raise taxes on the middle class." -Unknown
From: mike@hopper.Virginia.EDU (Michael Chapman)
Subject: Re: Compiling help
Organization: ITC/UVA Community Access UNIX/Internet Project
Lines: 15
Here's what I (think) have figured out.  All I need to do is install
the R5 disitribution without the Xserver like the sony.cf file defines,
and all the new libraries, utils, etc., will be installed and my old
server from r4 will still work.  This will allow me to run Xview 3.0,
and have X11r5 up and running.  Does the server interface remain the
same with all changes made only to the libs?
Another question: Is it likely that since Sun is dropping OW support
that the desktop utils (like the file manager) will be made public?
It would be nice if companies would make old code public for the
benefit of those of us with smaller budgets. :)
--
mike@hopper.acs.virginia.edu
"I will NOT raise taxes on the middle class." -Unknown
From: stevew@chineham.euro.csg.mot.com (Steve Weet)
Subject: Xterm Cursor
X-Received: by usenet.pa.dec.com; id AA19241; Sun, 18 Apr 93 23:09:02 -0700
X-Received: by inet-gw-2.pa.dec.com; id AA08122; Sun, 18 Apr 93 23:08:16 -0700
X-Received: from pobox.mot.com ([129.188.137.100]) by motgate.mot.com with SMTP (5.65c/IDA-1.4.4/MOT-2.13 for <comp.windows.x.usenet@decwrl.dec.com>)
id AA13841; Mon, 19 Apr 1993 01:08:08 -0500
X-Received: from chimpc01.euro.csg.mot.com ([140.101.110.3]) by pobox.mot.com with SMTP (5.65c/IDA-1.4.4/MOT-2.12 for <comp.windows.x.usenet@decwrl.dec.com>)
id AA05426; Mon, 19 Apr 1993 01:06:06 -0500
X-Received: by chimpc01.euro.csg.mot.com (5.61/MCDMAIL IR04 [03/06/92 15:24]/1.36)	id AA07883; Mon, 19 Apr 93 07:04:08 GMT
X-Mailer: Z-Mail (2.1.3 26jan93)
X-To: comp.windows.x.usenet
Lines: 42
Forgive me if this is a FAQ (I have checked the list but I cant find it).
I have a problem with the cursor within Xterm on MONO (not grayscale monitors)
The problem is that when I have an character application that displays input
fields in reverse video the Xterm text cursor gets lost on the edge of the
input field.
The solution would appear to be to set the xterm cursor to a line rather
than a block, but how do you do this. I can't find any means although
various sources seem to indicate it can be done.
When the xterm loses the input focus the cursor becomes an outlined block.
This would also be preferable but I can't seem to force this to be the
default either.
Configuration is  : Motorola 88K X11R4
Please reply by email if poss.
Thank you
--
-----------------------------------------------------------------------------
Steve Weet - European Mis - Motorola Cellular Subscriber Group
Beechgreen Court, Chineham, Basingstoke, HANTS England.
Phone : +44 (0)256 790154  E-Mail  stevew@chineham.euro.csg.mot.com
Fax   : +44 (0)256 817481  Mobile  : +44 (0)850 335105  Post : w10075
--
-----------------------------------------------------------------------------
Steve Weet - European Mis - Motorola Cellular Subscriber Group
Beechgreen Court, Chineham, Basingstoke, HANTS England.
Phone : +44 (0)256 790154  E-Mail  stevew@chineham.euro.csg.mot.com
Fax   : +44 (0)256 817481  Mobile  : +44 (0)850 335105  Post : w10075
From: mppa3@syma.sussex.ac.uk (Alan Richardson)
Subject: Now available: xvertext.4.0
Organization: University of Sussex
Lines: 25
Now available: xvertext 4.0
--------------
Summary
-------
xvertext provides you with four functions to draw strings at any angle in
an X window (previous versions were limited to vertical text). Rotation
is still achieved using XImages, but the notion of rotating a whole font
first has been dropped.
What's new?
-----------
I've added a cache which keeps a copy of previously rotated strings - thus
speeding up redraws.
Where can I get it?
-------------------
comp.sources.x (soon...)
export.lcs.mit.edu : contrib/xvertext.4.0.shar.Z  (now)
--
Alan Richardson,                             * "You don't have to be *
School of Maths & Physical Sciences,         *  old to be wise"      *
Univ. of Sussex, Brighton BN1 9QH, ENGLAND   * ******Judas Priest*****
UK: mppa3@uk.ac.sussex.syma         elsewhere: mppa3@syma.sussex.ac.uk
From: huub@cwi.nl (Huub Bakker)
Subject: waiting for a specific event/callback
Keywords: event handling
Reply-To: Huub.Bakker@cwi.nl
Organization: CWI, Centre for Mathematics & Computer Science
Lines: 30
Hello world,
I want to write my Xt-application code like this:
{
do_some_work();
/* now I need some user input */
XmCreateDialog();
wait_for_user_input(input);
if (input == "OK") {
more_work();
} else {
other_work();
}
}
So "more_work() and other_work()" are not in callback functions but the
application simply waits for the user to answer the question.
How can I code this in my Xt/Motif-application?
Thanks very much in advance.
Greetings, Huub.
--
CWI, P.O. Box 4079 			Huub Bakker (huub@cwi.nl)
1009 AB Amsterdam
The Netherlands
Tel. 31 20 5924080
From: gpatapis@boyd.tansu.com.au (George Patapis)
Subject: Re: DESQview/X on a PC?
Organization: AOTC - CSSC
Lines: 42
Distribution: world
Reply-To: gpatapis@boyd.tansu.com.au
NNTP-Posting-Host: boyd.cssc-syd.tansu.com.au
In article 14595639@wl.aecl.ca, harrisp@wl.aecl.ca () writes:
>I use DESQview/X and I think it is great. Where it really shines (IMHO) is
>to let unix users log into a pc and run dos and windows applications with
>the display going to their screens.
>You'll need to get:
>DESQview/X v 1.1
>DESQview/X v 1.1                           $275 suggested retail
>DESQview/X to Other X Systems v 1.1        $200 suggested retail
>
>You also must be running a supported network (FTP softwares PCTCP,
>Novell Lan workplace for dos, Sun Microsystems PC-NFS, Beame and WHiteside,
>Wollongong pathway TCPIp or HP Microsoft Lan Manager)
>
>if you don't have any of this network stuff, Quarterdeck will give you a
>copy of Novell TCPIP transprot for dos with the Network manager.
>
>You can get more info by sending email to (appropriately) info@qdeck.com.
>
>In my opinion, if you want to have other people logging in and running
>applications at your pc, you'll want to have a 486 33 with 16 Megs of RAM.
>Also, the Xwindows software in DESQviewX really seems to like an ET 4000
>(TSENG Labs chipset) based graphics card. Personally, I found that things
>ran better with a SCSI drive in the pc than with ESDI drives, but that is
>my experience only
>
>                                Good Luck and Best Wishes
>                                                Phil
What sort of traffic is generated with the X-calls?  I am curious to find
out the required bandwidth that a link must have  if one machine running
DV/X is supporting multiple users (clients) and we require adequate response
time.  Anyone have any ideas ??
---
__/ __/ George Patapis ---------------------PAN METRON ARISTON---------- __/ __/
__/ __/ C.S.S.C Lane Cove-----------email:gpatapis@cssc-syd.tansu.com.au __/ __/
__/ __/ P.O.Box A792 Sydney South --fax  :(02) 911 3 199---------------- __/ __/
__/ __/ NSW, 2000, Australia.-------voice:(02) 911 3 121---------------- __/ __/
From: win@athen.sto.mchp.sni.de (Andrea Winkler)
Subject: X and Security / X Technical Conference
Organization: SNI AG Muenchen, STO XS
Lines: 31
I had no possibility to join the
7th annual X Technical Conference
January 18-20 1993
Boston, MA
Nevertheless, I'm interested in information about the tutorials,
exspecially about
Tutorial ID:  A-SECURITY
Title: A Survey of X and Security
Tutorial ID:  F-ADMIN
Title: X and the Administrator
Does anybody know, where I can get information (paper/mail) about these ?
Has anybody information about  Kerberos  (escpecially in connection with
X Display Manager xdm)?
Thanks,
Andrea Winkler     (Siemens Nixdorf Muenchen, Germany)
------------------------------------------------------------------------------
S I E M E N S  Andrea Winkler        Internet: Andrea.Winkler@sto.mchp.sni.de
-------------  SNI STO XS 322        Otto-Hahn-Ring 6    D-8000 Munich 83
N I X D O R F  Phone:(089)636-41449  FAX: (089)636-42833
------------------------------------------------------------------------------
From: mahan@TGV.COM (Patrick L. Mahan)
Subject: Re: Is it just me, or is this newsgroup dead?
Organization: The Internet
Lines: 24
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu, rlm@helen.surfcty.com
#
# I've gotten very few posts on this group in the last couple days.  (I
# recently added it to my feed list.)  Is it just me, or is this group
# near death?
#
Seen from the mailing list side, I'm getting about the right amount of
traffic.
Patrick L. Mahan
--- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------
Waking a person unnecessarily should not be considered  - Lazarus Long
a capital crime.  For a first offense, that is            From the Notebooks of
Lazarus Long
Patrick L. Mahan
--- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------
Waking a person unnecessarily should not be considered  - Lazarus Long
a capital crime.  For a first offense, that is            From the Notebooks of
Lazarus Long
From: cudep@csv.warwick.ac.uk (Ian Dickinson)
Subject: Re: SVR4.x binary dists (was Re: RFD: to create comp.unix.sys5.univel)
Organization: Team Limpid's Meathead With Aptitude - Kunst und Wahnsinn
Lines: 21
NNTP-Posting-Host: spatula.csv.warwick.ac.uk
In article <rick.734610425@digibd> rick@digibd.digibd.com (Rick Richardson) writes:
>The other scary thing is that I ship libxcl.so with the 6 functions
>in it;  how many other libxcl.so type libraries will be shipped by
>other vendors?  Should I trademark the name libxcl.a? What if
>some clown uses that name and only puts 4 of the troublesome
>functions in it?
Does USL SVR4 support LD_RUN_PATH a la Solaris 2?
Or an equivalent?
If so, you can put the library in a package specific lib directory,
compile the app with LD_RUN_PATH defined, and all should work.
Besides, I'd say name it libPACKAGExcl.a if possible.
Cheers,
--
\/ato - Ian Dickinson - NIC handle: ID17          This article is dedicated to
vato@csv.warwick.ac.uk  ...!uknet!warwick!vato        those who disapprove but
/I=I/S=Dickinson/OU=CSV/O=Warwick/PRMD=UK.AC/ADMD= /C=GB/          continue to
@c=GB@o=University of Warwick@ou=Computing Services@cn=Ian Dickinson      read
From: s_ledoux@csc32.enet.dec.com (Scott LeDoux)
Subject: Icon Animation
Lines: 17
Reply-To: s_ledoux@csc32.enet.dec.com (Scott LeDoux)
Organization: Digital Equipment Corporation -- CSC/Colorado Srpings
Hi Folks.
As part of my self-introduction to X I've been trying to do some simple
icon animation (sort of like icondoit from mswindows).  Changing your
own applications icon is fairly simple:  If you have a widget ID you can
just XtSetValues on XtNiconifyPixmap (or whatever) and you're done. Alternately
you can set window manager hints.  These methods don't seem to work with
icons which your application doesn't specifically own.
In my situation I have to change the icon of random windows sitting there in
my icon box so my question is:  Given a window-id, how do you change the
icon pixure ?  A working example would be very much appreciated.  If it makes
any difference, I'm using motif 1.1 on VMS T6.0-5KE.
Thanks -
Scott :)
From: kaiser@informatik.uni-koblenz.de (Siegfried Kaiser)
Subject: R5 table widget causing trouble with XtQueryGeometry
Organization: Universitaet Koblenz
Lines: 227
Distribution: world
NNTP-Posting-Host: glass.uni-koblenz.de
Contents:Problems with table widgets in R5
The following part of a program (an user interface for a simulation
system) did work in R4, but refused to in R5. Of cause, the R4-version
did not know about the xpTableWidgetClass (we used tableWidgetClass 			instead - caught from the net in times of R3) and XpTableChildPosition 			(formerly XtTblPosition).
Since compiling with R5, the program causes a zero width or height error
(on sparc-stations). The trouble-shooter is the (re)computation of the
model_init_table - table widget: though its childs (label and asciiText
widgets) exist, XtQueryGeometry returns a prefered width and height of 			zero.
Thus the following asignment cannot perform anything else but set the 			width and height of the newly created widget to zero. No wonder XtPopup 		or XtManage- Child create zero width or height errors (dependent on 			whether width and height of the shell widget are set in the resource 			file or not).
Question: Does anyone know, why XtQueryGeometry returns so low prefered
values when working on table widgets or perhaps what
to do about?
I'll be happy, if someone is able to help me.
Germans are requested to answer in german.
Siegfried Kaiser
email: kaiser@uniko.uni-koblenz.de
The part of interest:
/* Graphischer Neuaufbau des Model-Init-Formulars */
/* Storing the old width and height of the viewport-	*/
/* widget, which is the parent of the troubling table	*/
/* widget, before the viewport widget is destroyed	*/
/* The destroying of widgets before resizing them is a	*/
/* relict from R3-age					*/
if (model_init_popped_up)
XtUnmapWidget(model_init_form_view);
XtDestroyWidget(model_init_form_view);
/* Creating the subtree within the shell, of which the	*/
/* root is the viewport widget				*/
n = 0;
XtSetArg(args[n],XtNfromVert,model_init_title); n++;
XtSetArg(args[n],XtNfromHoriz,model_init_button_view); n++;
XtSetArg(args[n],XtNallowVert,True); n++;
XtSetArg(args[n],XtNforceBars,True); n++;
model_init_form_view = XtCreateWidget("form_view",viewportWidgetClass,
model_init_form,args,n);
n = 0;
model_init_table = XtCreateWidget("table",xpTableWidgetClass,
model_init_form_view,args,n);
/* create_form_widget does create and position table	*/
/* widget's childs. To position them it uses XpTable-	*/
/* ChildPosition in R5 and XtTblPosition in R4		*/
create_form_widget(ptr_model_init_obj,model_init_table);
/* 							*/
/* The crucial function call:				*/
/* intended to return the maximum height possible: if	*/
/* there isn't sufficient space to show the whole table	*/
/* widget, then the viewport shall grow as large as 	*/
/* possible, but not beyond the border of screen.	*/
/* If there is enough space, the window is intended to	*/
/* shrienk to the smallest possible height.		*/
/*							*/
XtQueryGeometry(model_init_table,NULL,&pref);
/* According to the algorithms idea, the new value of	*/
/* viewport widget's height is selected. Unfortunately	*/
/* pref.height = 0 leads to new_height = 0.		*/
if (form_view_height > pref.height) new_height = pref.height;
else new_height = form_view_height;
/* Setting the new values to viewport widgets ancestors	*/
w = XtNameToWidget(model_init_form,"form_view");
XtResizeWidget(w,width,new_height,pref.border_width);
XtResizeWidget(model_init_form_view,width,new_height,
pref.border_width);
if (model_init_popped_up)
{
/* In case the shell, which contains model_init_form_-	*/
/* view and model_init_table, allready exists, is has	*/
/* to be resized, too.					*/
n = 0;
XtSetArg(args[n],XtNwidth,&shell_width); n++;
XtSetArg(args[n],XtNheight,&shell_height); n++;
XtSetArg(args[n],XtNborderWidth,&shell_bw); n++;
XtGetValues(model_init_shell,args,n);
XtResizeWidget(model_init_shell,shell_width,
shell_height - height + new_height,shell_bw);
}; /* end of if */
n = 0;
XtSetArg(args[n],XtNwidth,&width); n++;
XtSetArg(args[n],XtNborderWidth,&bw); n++;
XtGetValues(model_init_button_view,args,n);
XtResizeWidget(model_init_button_view,width,new_height,bw);
XtResizeWidget(vert_bar,sbar_width,1,sbar_bw);
resize_inits();
/* If there is the shell's height set within the 	*/
/* resource file, the program terminates within the	*/
/* first XtManageChild on its second pass through the	*/
/* observed function. The first pass succeeds.		*/
XtManageChild(model_init_form_view);
XtManageChild(model_init_table);
if (!model_init_popped_up)
{
/* In case the shell isn't popped up it has to be done.	*/
/* If there is no value set to the shell's height within*/
/* the resource file, the program terminates here.	*/
XtPopup(model_init_shell,XtGrabNone);
model_init_pop_flag = True;
set_model_init_attributes();
}; /* end of if */
get_actual_init(&ptr_actual);
load_form(ptr_actual);
/*								*/
/* If someone suspects the creation of table widget's contents	*/
/* causes all the trouble, there are the sources of create_form */
/*								*/
create_form_widget(ptr,table)
t_obj              *ptr;
Widget             table;
/* ptr is a linear list containing attributes and para-	*/
/* meters of the model and additionally the correspon-	*/
/* ding widgets						*/
{
Arg               args[10];
int               n,
row,
col;
t_obj             *ptr_obj;
t_ident           *ptr_ident;
/* Initialization of the local variables		*/
ptr_obj = ptr;
col = 0;
row = 0;
/* Schleife ueber die Objekte bzw. das Pseudo-Objekt (fuer die 				Parameter) */
/* loop through the list of objects and pseudo-objects:	*/
/* every object occuring in the model has zero or more	*/
/* attributes and some parameters, which can be shared	*/
/* by several objects. 					*/
/* Because of locality the attributes of one object are	*/
/* listed in a second linear list (of type t_ident),	*/
/* whereas the parameters, which can belong to any ob-	*/
/* ject are put together in a pseudo-object 		*/
/* Thus the program loops through the list of objects	*/
/* and pseudo-objects and for each object through the	*/
/* list of its attributes resp. parameters.		*/
while (ptr_obj != (t_obj*)NULL)
{
/* Each object and pseudo-object is represented in a	*/
/* label widget						*/
n = 0;
XtSetArg(args[n],XtNlabel,ptr_obj->name); n++;
ptr_obj->label_w = XtCreateManagedWidget("object",labelWidgetClass,
table,args,n);
XpTableChildPosition(ptr_obj->label_w,col,row);
col++;
row++;
ptr_ident = ptr_obj->ident;
/* Schleife ueber die Objekt-Attribute bzw. Parameter */
while (ptr_ident != (t_ident*)NULL)
{
/* Each attribute and parameter is represented in a	*/
/* label and has a corresponding asciiText widget, in 	*/
/* which it is to be initialized.			*/
n = 0;
XtSetArg(args[n],XtNlabel,ptr_ident->name); n++;
ptr_ident->label_w = XtCreateManagedWidget("ident",labelWidgetClass,
table,args,n);
XpTableChildPosition(ptr_ident->label_w,col,row);
col++;
n = 0;
XtSetArg(args[n],XtNlength,ROW_LENGTH); n++;
XtSetArg(args[n],XtNstring,ptr_ident->text); n++;
XtSetArg(args[n],XtNeditType,XawtextEdit); n++;
XtSetArg(args[n],XtNwrap,XawtextWrapWord); n++;
XtSetArg(args[n],XtNresize,XawtextResizeHeight); n++;
XtSetArg(args[n],XtNuseStringInPlace,True); n++;
ptr_ident->text_w = XtCreateManagedWidget("text",
asciiTextWidgetClass,
table,args,n);
XpTableChildPosition(ptr_ident->text_w,col,row);
col--;
row++;
get_next_ident(&ptr_ident);
}; /* end of while */
col--;
get_next_obj(&ptr_obj);
}; /* end of while */
} /* end of create_form_widget */
So far the problem in detail.
From: dealy@narya.gsfc.nasa.gov (Brian Dealy - CSC)
Subject: Re: Motif maling list
Organization: NASA/Goddard Space Flight Center
Lines: 14
Distribution: world
NNTP-Posting-Host: narya.gsfc.nasa.gov
Originator: dealy@narya.gsfc.nasa.gov
The motif mailing list will now be located at
lobo.gsfc.nasa.gov
If you would like to be added (or deleted) from this list, please
send mail to motif-request@lobo.gsfc.nasa.gov
to mail to the list, send mail to motif@lobo.gsfc.nasa.gov
Brian
--
Brian Dealy                |301-572-8267| It not knowing where it's at
dealy@kong.gsfc.nasa.gov   |            | that's important,it's knowing
!uunet!dftsrv!kong!dealy   |            | where it's not at...  B.Dylan
From: buzz@bear.com (Buzz Moschetti)
Subject: Re: XCopyPlane Question
Reply-To: buzz@bear.com (Buzz Moschetti)
Organization: Bear, Stearns & Co. - FAST
Lines: 16
In-reply-to: whaley@sigma.kpc.com's message of 15 Apr 93 18:39:31 GMT
In article <WHALEY.93Apr15103931@sigma.kpc.com> whaley@sigma.kpc.com (Ken Whaley) writes:
>   Actually, I must also ask the FAQ's #1 most popular reason why graphics
>   don't show up: do you wait for an expose event before drawing your
>   rectangle?
Suppose you have an idle app with a realized and mapped Window that contains
Xlib graphics.  A button widget, when pressed, will cause a new item
to be drawn in the Window.  This action clearly should not call XCopyArea()
(or equiv) directly; instead, it should register the existence of the new
item in a memory structure and let the expose event handler take care
of rendering the image because at that time it is guaranteed that the
Window is mapped.
The problem, of course, is that no expose event is generated if the window
is visible and mapped.  Do you know the best way to "tickle" a window so
that the expose event handler will be invoked to draw this new item?
From: gerard@dps.co.UK (Gerard O'Driscoll)
Subject: Re: XWindows always opaque
Organization: The Internet
Lines: 16
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
hess@swt1.informatik.uni-hamburg.de writes:
>> I wonder if it is possible for a parent window to paint over the area of
>> its childs. If it is not, then how could it be possible to implement a
>> rubberband across multiple xwindows to select the objects that are
>> displayed one in each window?
Use a GC with the subwindow_mode attribute set to IncludeInferiors. The
default is ClipByChildren. However, beware if any of the children are of
a different depth to the parent; the semantics of this are undefined by the
protocol.
Gerard O'Driscoll (gerard.odriscoll@dps.co.uk)
Du Pont Pixel Systems Ltd.
From: marc@ccvi.ccv.FR (Marc Bassini)
Subject: [jb@sgihbtn.sierra.com: Re: Xlib for MS/WINDOWS not an XSERVER!!!]
Organization: The Internet
Lines: 16
NNTP-Posting-Host: enterpoop.mit.edu
To: jb@sgihbtn.sierra.com
Cc: tech-staff@jekyll.ccvi.ccv.fr, xpert@expo.lcs.mit.edu
>I think you may find that either Quarterdeck (Deskview/X) or
>Hummingbird (eXceed) provide an Xlib for DOS.  Perhaps they also have
>an Xlib for MS-Windows?  It's a possibility.
>
Yes, eXceed has windows version. Have ported some games like tetris,
works fine.
Si c'est vrai, ce serait bien de se le procurer car a ce moment la, le
portage Xt... Suis-je en train de perdre mon temps avec la toolkit c++
?
Marc Bassini (marc@ccv.fr, marc@cnam.cnam.fr)
Computers, Communications & Visions (C2V)
82 bd Haussmann, 75008 Paris FRANCE
Phone 40.08.07.07, Fax 43.87.35.99
From: glb6j@smarine.UUCP (Guy Babineau)
Subject: How do you find a window id given its name
Keywords: xlib xwininfo
Reply-To: virginia.edu!smarine.uucp!glb6j
Organization: Sperry Marine, Inc.
Lines: 15
I want to do the equivalent of an "xwininfo -name" via a call or set of calls
in Xlib.  I need to map a windows name to its id.
It's probably easy, but I've only been programming in X for a little while.
I've looked in the O'reilly books and didn't find it and I also checked the
FAQ and couldn't find it.
Email to one of the following addresses and I'll post a response if it
seems reasonable to do so.
Guy
--
Guy L. Babineau                         virginia.edu!smarine.uucp!glb6j
Sperry Marine Inc.			72147.2474@compuserve.com
From: billh@greed.sbil.co.uk (Bill Hodgson)
Subject: Re: waiting for a specific event/callback
Reply-To: billh@greed.sbil.co.uk
Organization: Salomon Brothers, Ltd.
Lines: 20
Nntp-Posting-Host: greed
In article 9610@charon.cwi.nl, huub@cwi.nl (Huub Bakker) writes:
..deleted...
In plain Motify using a dialog 'in-line' like this simply isn't done. You need
to set callbacks from the buttons/widgets in your dialog and let the callback routines
do the work. In the callbacks you can then carry on the flow of logic.
XView from Sun actually supports this very neatly with a 'Notify' box, which can
return a status in-line, it does actualy ease coding but goes against the event
driven style of an application.
Summary: Redesign required.
---
_/       _/  _/ _/     "Delta hedging a long option position also
_/           _/ _/	    generates a short gamma exposure and any return
_/_/_/_/ _/  _/ _/	    generated from delta hedging options can be thought
_/    _/ _/  _/ _/	    of as compensation for assuming gamma risk"
_/_/_/_/ _/  _/ _/	    -- Radioactive investment management... whew!
From: montnaro@spyder.crd.ge.com (Skip Montanaro)
Subject: Re: Circular Motif Widgets
In-Reply-To: dev@hollywood.acsc.com's message of 16 Apr 1993 17:16:02 GMT
Nntp-Posting-Host: spyder.crd.ge.com
Reply-To: montanaro@ausable.crd.ge.com (Skip Montanaro)
Organization: GE Corporate Research & Development, Schenectady, NY
Lines: 17
If you're willing to do a little work, you can make DrawnButtons do what you
want, more-or-less. One of my colleagues here at GE CRD has done just that
in our internal LYMB system.
We have a matrix transform class that makes it easy to compute a series of
dial positions from a single set of vectors. Each set of vectors is then
drawn into a pixmap. Clicking the button advances the knob's state and
changes to the next pixmap in the sequence.
Using DrawnButtons obviously still constrains you to taking up a rectangular
portion of the parent widget, but that's normally not a big shortcoming. You
can make things look circular enough.
--
Skip (montanaro@crd.ge.com)
"Why can't X be this easy?" -- me, after learning about dlopen()
From: gerard@dps.co.UK (Gerard O'Driscoll)
Subject: Re: Creating 8 bit windows on 24 bit display.. How?
Organization: The Internet
Lines: 58
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
stolk@fwi.uva.nl writes:
>>
>> A problem occurs when I try to create a window with a visual that is different
>> from the visual of the parent (which uses the default visual which is TC24).
>>
You've got to set border_pixel in your window attributes. The default
is CopyFromParent which gives the BadMatch. Do this:
...
unsigned long valuemask;
...
/*
* if border_width is non-zero you'd better alloc a colour from cmap
* rather than use any old pixel value. Also, use valuemask, it makes
* the code more obvious.
*/
attr.colormap = cmap;
attr.border_pixel = 0;
valuemask = CWColormap | CWBorderPixel;
win = XCreateWindow(
dpy,
DefaultRootWindow(dpy),
10,10,
width,height,
0,		         /* border width. see comment below */
8,                    /* depth */
InputOutput,          /* class */
vinfo.visual,         /* visual */
valuemask,
&attr
);
A note on border_width: your code looked like this:
>>   win = XCreateWindow(
>>           dpy,
>>           DefaultRootWindow(dpy),
>>           10,10,
>>           width,height,
>>           CopyFromParent,       /* border width */
>>           8,                    /* depth */
>>           InputOutput,          /* class */
>>           vinfo.visual,         /* visual */
>>           CWColormap,
>>           &attr
>>         );
border_width set to CopyFromParent works but doesn't make sense.
border_width should be an unsigned int. You get away with it because
CopyFromParent is #define'ed to be zero in X.h. If it happened to be
defined as -1 you'd get a very interesting looking window!
Gerard O'Driscoll (gerard.odriscoll@dps.co.uk)
Du Pont Pixel Systems Ltd.
From: smikes@topgun (Steven Mikes)
Subject: Re: XVideo Information
Organization: UN*X Technologies
Lines: 13
The product you mention is XVideo from Parallax Graphics in Santa Clara,
California, US. You can read our product review in the Jan/Feb '93 issue
of The X Journal. That issues focuses on Multimedia and X, in which there
are also a number of other useful items, including an article on Video in
an X Window. Fax our New York office at 212.274.0646 for information on
obtaining back issues.
Steve
--
Steven Mikes - Editor - The X Journal
1097 Eastbrook Rd., Martinsville, NJ 08836
OFFICE: 908.563.9033 - FAX: 908.560.8635
"Serving The X Window System Community"
From: smikes@topgun (Steven Mikes)
Subject: Re: Xlib for MS/WINDOWS not an XSERVER!!!
Organization: UN*X Technologies
Lines: 15
Another company, Congruent Corporation of New York City, has also ported Xlib
Xt and Motif 1.1 over to MS Windows NT, which provides full client development
for X applications in an NT environment.
If you are porting InterViews over to MS Windows, I thought InterViews was
a C++ toolkit with C++ classes. If that is so, how can it be built on Xlib,
unless the classes are calling Xlib functions?
Steve
--
Steven Mikes - Editor - The X Journal
1097 Eastbrook Rd., Martinsville, NJ 08836
OFFICE: 908.563.9033 - FAX: 908.560.8635
"Serving The X Window System Community"
From: howardy@freud.nia.nih.gov (Howard Wai-Chun Yeung)
Subject: need shading program example in X
Organization: (Natl. Institutes of Health, Bethesda, MD)
Lines: 7
Do anyone know about any shading program based on Xlib in the public domain?
I need an example about how to allocate correct colormaps for the program.
Appreciate the help.
Howard.
From: beck@irzr17.inf.tu-dresden.de (Andre Beck)
Subject: Re: System file in /tmp
Organization: Dept. of Computer Science, TU Dresden, Germany.
Lines: 17
Distribution: world
Reply-To: Andre_Beck@IRS.Inf.TU-Dresden.DE
NNTP-Posting-Host: irzr17.inf.tu-dresden.de
In article <C5JJIG.Doy@acsu.buffalo.edu>, lusardi@cs.buffalo.edu (Christopher Lusardi) writes:
|>
|> What is the directory .X11-unix for in /tmp? When I start
|> x, it is created by the system. This directory wasn't created
|> by root, and it contains an empty file (X0) that is owned by me.
|>
It's the Unix Domain Socket (local connection) to your XServer.
Try to rm it :)
--
+-o-+--------------------------------------------------------------+-o-+
| o |                \\\-  Brain Inside -///                       | o |
| o |                    ^^^^^^^^^^^^^^^                           | o |
| o | Andre' Beck (ABPSoft) mehl: Andre_Beck@IRS.Inf.TU-Dresden.de | o |
+-o-+--------------------------------------------------------------+-o-+
From: beck@irzr17.inf.tu-dresden.de (Andre Beck)
Subject: Re: Title for XTerm
Organization: Dept. of Computer Science, TU Dresden, Germany.
Lines: 32
Distribution: world
Reply-To: Andre_Beck@IRS.Inf.TU-Dresden.DE
NNTP-Posting-Host: irzr17.inf.tu-dresden.de
Keywords: XTerm
In article <C5oL74.3B1@aeon.in-berlin.de>, thomas@aeon.in-berlin.de (Thomas Wolfram) writes:
|> >Hey guys!
|> >I work on many stations and would like this name and current logname
|> >to be in a title of Xterm when it's open and a machine name only
|> >when it's closed. In other words, I want $HOST and $LOGNAME to appear
|> >as a title of opened XTerm and $HOST when XTerm is closed.
|> >How can I do it?
|>
|> Almost all window managers (twm, mwm, olwm and their derivates) support
|> escape sequences for it. For your purpose put following into your
|> .login (if you're using csh or tcsh), for sh you have to modify it.
|>
|> if ( "$term" == "xterm" ) then
|> 	echo "^[]2;${LOGNAME}@${HOST}^G^[]1;${HOST}^G"
|> endif
|>
1) This is NOT a feature of the Window Manager but of xterm.
2) This sequences are NOT ANSI compatible, are they ?
Does anyone know IF there are compatible sequences for this and what they
are ? I would think they are DCS (device control sequence) introduced,
but may be a CSI sequence exists, too ?
This MUST work on a dxterm (VT and ANSI compatible), it may not work
on xterms.
--
+-o-+--------------------------------------------------------------+-o-+
| o |                \\\-  Brain Inside -///                       | o |
| o |                    ^^^^^^^^^^^^^^^                           | o |
| o | Andre' Beck (ABPSoft) mehl: Andre_Beck@IRS.Inf.TU-Dresden.de | o |
+-o-+--------------------------------------------------------------+-o-+
From: christy@cs.concordia.ca (Christy)
Subject: X386 server problems
Organization: Computer Science, Concordia University, Montreal, Quebec
Lines: 32
Hello,
I'm trying to get X11R5 running on my PC and ran into the
following error message when trying to start the Xserver.
------
Setting TCP SO_DONTLINGER: Option not supported by protocol
X386 Version 1.2 / X Windows System
(protocol Version 11, revision 0, vendor release 5000)
Fatal server error
no screens found
giving up
xinit: software cased connection abort (errno 130): unable to connect
to X xserver.
------
does anyone know what this error means ?
has anyone experienced this problem ?
help will be much appreciated
thanks in advance.
please send replies to <christy@alex.qc.ca>
Christy
From: kbw@helios.ath.epa.gov (Kevin B. Weinrich)
Subject: Solution: Why do I need "xrdb -m" when .Xdefaults unchanged?
Organization: Computer Sciences Corp.
Lines: 9
Distribution: world
NNTP-Posting-Host: helios.ath.epa.gov
The short answer seems to be: "I don't".
The particular package (wscrawl) seems to reset *all* its defaults
if *any* of them are missing from the .Xdefaults file.  Once I added
the missing ones to the .Xdefaults file, the problem goes away.
-Kevin
--
Kevin Weinrich     Computer Sciences Corp.
kbw@helios.ath.epa.gov
From: DBOHDAL@JAGUAR.ESS.HARRIS.COM
Subject: Icon Box
Organization: The Internet
Lines: 9
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
Cc: DBOHDAL@expo.lcs.mit.edu
Dear Xperts:
I want to place a specific group of icons in an icon box and
have my other icons appear outside of the box.  Does anyone
know if there's a way I can do this??  I'm using X11R5 and
Motif 1.2.1.
Thanks!
dbohdal@jaguar.ess.harris.com
From: gregg@netcom.com (gregg weber)
Subject: What inexpensive monochrome X station can you recommend?
Organization: NETCOM On-line Communication Services (408 241-9760 guest)
Lines: 10
Can someone recommend an inexpensive 19" monochrome X station, that
is not PC software emulation based? Please tell me manufacturer,
model, price and any other significant specs. Thanks.
--
================================================================
Gregg Weber		Let it be, open and bright like the sky,
gregg@netcom.com	Without taking sides, with no clouds of concepts.
(510) 283-6264		- kun-mkhyen klong-chen-pa
================================================================
From: hsteve@carina.unm.edu ()
Subject: XTranslateCoord. Problem
Organization: University of New Mexico, Albuquerque
Lines: 13
NNTP-Posting-Host: carina.unm.edu
It seems like XTranslateCoord. doesn't work the way I expecting it.  Right
after performs a XMoveWindow, I want to know the absolute window position
with respect to the root window.  To get this info. I do a XTranslateCoordinates
but the abs_x, and abs_y aren't right?  Does anybody know of a way to find
out this information?
Thanks, please e-mail to hsteve@carina.unm.edu if it's possible
--
_---_     Steve
/ o o \    hsteve@hydra.unm.edu, hsteve@carina.unm.edu
| \___/ |
Just say NO to VMS!!
From: klee@synoptics.com (Ken Lee)
Subject: Re: DEC pixmap size
Reply-To: klee@synoptics.com
Organization: SynOptics Communications, Santa Clara CA
Lines: 12
Nntp-Posting-Host: bugsbunny.synoptics.com
In article 1964@igd.fhg.de, haase@igd.fhg.de (Helmut Haase (Goebel)) writes:
>If I try to create a pixmap larger than the size of my screen the program
>will terminate displaying the message:
>
>X Error:  BadAlloc - insufficient resources
Many X servers supporting graphics accelerators do not allow the creation
of pixmaps exeeding the size of the screen.  One workaround is to create
several smaller pixmaps and add the results.
---
Ken Lee, klee@synoptics.com
From: klee@synoptics.com (Ken Lee)
Subject: Re: Circular Motif Widgets
Reply-To: klee@synoptics.com
Organization: SynOptics Communications, Santa Clara CA
Lines: 13
Nntp-Posting-Host: bugsbunny.synoptics.com
In article bjg@acsc.com, dev@hollywood.acsc.com () writes:
>
>Will there be any support for round or circular widgets in Motif's next
>release?. I'd love to have a circular knob widget which could be used
>instead of a slider.
How much support do you need?  I don't think there's anything
that prohibits you from implementing such a widget, though you
will have to write your own versions of the functions that draw
the 3D shadow and traversal highlighting.
---
Ken Lee, klee@synoptics.com
From: support@qdeck.com (Technical Support)
Subject: Re: DESQview/X on a PC?
Organization: Quarterdeck Office Systems, Santa Monica CA
Lines: 61
In article <1qtk84$rn5@picasso.cssc-syd.tansu.com.au> gpatapis@boyd.tansu.com.au writes:
>In article 14595639@wl.aecl.ca, harrisp@wl.aecl.ca () writes:
>>I use DESQview/X and I think it is great. Where it really shines (IMHO) is
>>to let unix users log into a pc and run dos and windows applications with
>>the display going to their screens.
>>You'll need to get:
>>DESQview/X v 1.1
>>DESQview/X v 1.1                           $275 suggested retail
>>DESQview/X to Other X Systems v 1.1        $200 suggested retail
>>
>>You also must be running a supported network (FTP softwares PCTCP,
>>Novell Lan workplace for dos, Sun Microsystems PC-NFS, Beame and WHiteside,
>>Wollongong pathway TCPIp or HP Microsoft Lan Manager)
>>
>>if you don't have any of this network stuff, Quarterdeck will give you a
>>copy of Novell TCPIP transprot for dos with the Network manager.
>>
>>You can get more info by sending email to (appropriately) info@qdeck.com.
Actually, info@qdeck.com is our customer service department. If you have
technical questions, you can write to support@qdeck.com.
>>In my opinion, if you want to have other people logging in and running
>>applications at your pc, you'll want to have a 486 33 with 16 Megs of RAM.
>>Also, the Xwindows software in DESQviewX really seems to like an ET 4000
>>(TSENG Labs chipset) based graphics card. Personally, I found that things
>>ran better with a SCSI drive in the pc than with ESDI drives, but that is
>>my experience only
>
>What sort of traffic is generated with the X-calls?  I am curious to find
>out the required bandwidth that a link must have  if one machine running
>DV/X is supporting multiple users (clients) and we require adequate response
>time.  Anyone have any ideas ??
I expect the limiting factor will be your server machine, not the network
itself. To give you a real-world example, here at Quarterdeck we have
roughly 100 people using DVX to talk to a bunch of unix boxes, novell
file servers, and each other. It's not _too_ much of a load on our
Ethernet (with maybe 4 concentrators, so you have 20-30 people on each
segment). If you had a badly loaded net, or the apps you wanted to run
were very network intensive, you could run into some slowdowns.
But the biggest problem would be the machine itself. Say you have a 486
33 with plenty of ram and a fast hard disk and network card. If you have
10 people running programs off it, you're going to see some slowdowns
because you're now on (effectively) a 3.3 MHz 486. Of course, DVX will
attempt to see if tasks are idle and make sure they give up their time
slice, but if you have 10 working programs running, you'll know it.
Having said that, if you can tweak the programs being run (by adding
in calls to give up time slices when idle and that sort of
thing), you could probably run 15-20 people on a given machine before
you started seeing slowdowns again (this time from network bandwidth).
It all really depends on what the programs are doing (ie. you're going
to see a slowdown from X-bandwidth a lot sooner if your apps are all
doing network things also...)
--
Quarterdeck Office Systems - Internet Support - Tom Bortels
Pricing/Ordering : info@qdeck.com  |  Tech Questions : support@qdeck.com
BBS: (310) 314-3227 * FAX: (310) 314-3217 * Compuserve: GO QUARTERDECK
Q/Fax: (310) 314-3214 from touch-tone phone for Technotes On Demand!
From: yuri@physics.heriot-watt.ac.UK (Yuri Rzhanov)
Subject: XView slider
Organization: The Internet
Lines: 31
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert <xpert@expo.lcs.mit.edu>
Hi netters,
I'm using sliders in my XView apps, usually with editable numeric
field. But I seem to have no control over the length of this field.
In some apps it appears long enough to keep several characters,
in some - it cannot keep even the maximum value set by
PANEL_MAX_VALUE!
As I understand, PANEL_VALUE_DISPLAY_LENGTH, which controls
number of characters to be displayed in text items, doesn't
work in the case of slider, despite the fact that <panel.h>
contains the following bit:
/* Panel_multiline_text_item, Panel_numeric_text_item,
* Panel_slider_item and Panel_text_item attributes
*/
PANEL_NOTIFY_LEVEL	= PANEL_ATTR(ATTR_ENUM,			 152),
PANEL_VALUE_DISPLAY_LENGTH	= PANEL_ATTR(ATTR_INT,		 182),
which gives a hint that this attribute can be used for sliders.
But 1) setting this attribute gives nothing, and 2) xv_get'ting
this attribute gives warning: Bad attribute, and return value 0.
Can someone share his experience in managing sliders in XView with me,
and clear this problem?
Any help is very much appreciated.
Yuri
yuri@uk.ac.hw.phy
From: defaria@cup.hp.com (Andy DeFaria)
Subject: Mysterious beeping
Nntp-Posting-Host: hpclapd.cup.hp.com
Organization: Hewlett-Packard
X-Newsreader: TIN [version 1.1 PL8.8]
Lines: 121
[ Article crossposted from hp.windows ]
[ Author was Andy DeFaria ]
[ Posted on Mon, 19 Apr 1993 18:08:38 GMT ]
For some reason the following code causes my X application to beep whenever I
intercept a keystroke and change it's meaning.  The intent of this code it to
allow "date" fields the following special keys:
[Tt]:	Insert today's date
[+=]:	Bump day up by one
[-_]:	Bump day down by one
I hardcoded some dates for this example.  Perhaps I shouldn't be using an
XmText field for this.
//////////////////////////////////////////////////////////////////////////////
//
// For some reason the following code beeps whenever any of the special keys
// of [Tt+=-_] are hit.  Why?  The idea of this code is to interpret these
// keys having the special meaning implied by the code.  I would like to get
// rid of the beeping but, as far as I can tell, I'm not doing the beep and
// am at a lose as to understanding who and why the beeping is occuring.
//
//////////////////////////////////////////////////////////////////////////////
#include <X11/Intrinsic.h>
#include <Xm/Xm.h>
#include <Xm/RowColumn.h>
#include <Xm/MainW.h>
#include <Xm/Text.h>
Widget		toplevel;
Widget		mainWindow;
Widget		mainPane;
Widget		dateField;
XtAppContext	application;
void markToday (Widget date) {
char *todaysDate = "04/19/93";
XtVaSetValues (date, XmNvalue, todaysDate, NULL);
} // markToday
void markTomorrow (Widget date) {
char *tomorrowsDate = "04/20/93";
XtVaSetValues (date, XmNvalue, tomorrowsDate, NULL);
} // markTomorrow
void markYesterday (Widget date) {
char *yesterdaysDate = "04/18/93";
XtVaSetValues (date, XmNvalue, yesterdaysDate, NULL);
} // markYesterday
void datekeys (Widget          /* callingWidget */,
Widget          date,
XmTextVerifyPtr callbackData) {
// Capture the keys [Tt-_+=] can change their behaviour.  If found
// set "doit" to false so X won't interpret the keystroke.
switch (callbackData->text->ptr [0]) {
case 't': case 'T':
markToday (date);
callbackData->doit = FALSE;
return;
case '-': case '_':
markYesterday (date);
callbackData->doit = FALSE;
return;
case '+': case '=':
markTomorrow (date);
callbackData->doit = FALSE;
return;
default:
return;
} // switch
} // datekeys
void main (Cardinal argc, char *argv []) {
// Initialize Xt
toplevel = XtVaAppInitialize (&application, "Application", NULL, 0,
&argc, argv, NULL, NULL);
// Create the toolface
mainWindow = XtVaCreateManagedWidget
("mainWindow", xmMainWindowWidgetClass, toplevel, NULL);
// Create a mainWindow
mainPane = XtVaCreateManagedWidget
("mainPane", xmRowColumnWidgetClass, mainWindow, NULL);
// Create a small text area
dateField = XtVaCreateManagedWidget
("dateField", xmTextWidgetClass, mainPane,
XmNtopAttachment,	XmATTACH_FORM,
XmNrightAttachment,	XmATTACH_FORM,
XmNcolumns,		8,
NULL);
// Set modifyVerifyCallback to the datekeys callback
XtAddCallback (dateField, XmNmodifyVerifyCallback,
(XtCallbackProc) datekeys, (XtPointer) dateField);
// Realize the toplevel
XtRealizeWidget (toplevel);
// Go into the XtMainLoop
XtAppMainLoop (application);
} // main
_______________________________________________________________________________
I swear by my life and the love of it that I will    | Andrew DeFaria
never live for the sake of another man nor ask       | Hewlett Packard
another man to live for mine.                        | California Language Labs
John Galt                        | defaria@cup.hp.com
_______________________________________________________________________________
--
_______________________________________________________________________________
I swear by my life and the love of it that I will    | Andrew DeFaria
never live for the sake of another man nor ask       | Hewlett Packard
another man to live for mine.                        | California Language Labs
John Galt                        | defaria@cup.hp.com
_______________________________________________________________________________
From: david@swat (David E. Smyth)
Subject: Re: MS Windows VS Motif (GUI design differences), was Re: Future of Unix
Nntp-Posting-Host: swat
Organization: Jet Propulsion Laboratory (NASA)
Distribution: usa
Lines: 17
Ik Su Yoo <ik@mobydick.leis.bellcore.com> writes:
>
>Another important difference is that MSW doesn't have any window that
>handle sophisticated geometry management (like XmForm).
Is this an advantage to MS Windows or to Xt?  I used to think it
was a big advantage for Xt, but I am not at all sure anymore...
-------------------------------------------------------------------------
David Smyth				david@jpl-devvax.jpl.nasa.gov
Senior Software Engineer,		(818)306-6463 (temp! do NOT use v-mail)
X and Object Guru.			tempory office: 525/B70
Jet Propulsion Lab, M/S 525-3660 4800 Oak Grove Drive, Pasadena, CA 91109
-------------------------------------------------------------------------
What's the earliest possible date you can't prove it won't be done by?
- Tom DeMarco
-------------------------------------------------------------------------
From: david@swat (David E. Smyth)
Subject: Re: Looking For David E. Smyth
Nntp-Posting-Host: swat
Organization: Jet Propulsion Laboratory (NASA)
Lines: 16
zvi@nynexst.com (Zvi Guter) writes:
>The author of Wcl (or the current care taker). His is the only name I found
>in the dist tree. I have tried to mail him at: David.Smyth@ap.mchp.sni.de,
>but the mail bounced back.
Here I am!!
-------------------------------------------------------------------------
David Smyth				david@jpl-devvax.jpl.nasa.gov
Senior Software Engineer,		(818)306-6463 (temp! do NOT use v-mail)
X and Object Guru.			tempory office: 525/B70
Jet Propulsion Lab, M/S 525-3660 4800 Oak Grove Drive, Pasadena, CA 91109
-------------------------------------------------------------------------
What's the earliest possible date you can't prove it won't be done by?
- Tom DeMarco
-------------------------------------------------------------------------
From: dyoung@media.mit.edu (David Young)
Subject:  Macro Recorder/Player for X?
Organization: MIT Media Laboratory
Lines: 18
Is there aything available for X similar to QuicKeys for the Macintosh --
something that will allow me to store and playback sequences of keystrokes,
menu selections, and mouse actions - directing them towards another
application?
If so, could someone send me information on its availability -- and if not,
how hard do we think it might be to send input to other X applications and,
hopefully, deal with their responses appropriately?  (If an application is
going to take a few seconds to process I probably have to wait  for it to
complete before sending another command.)
thanks,
david,
From: buzz@bear.com (Buzz Moschetti)
Subject: Monthly Question about XCopyArea() and Expose Events
Reply-To: buzz@bear.com (Buzz Moschetti)
Organization: Bear, Stearns & Co. - FAST
Lines: 18
(2nd posting of the question that just doesn't seem to get answered)
Suppose you have an idle app with a realized and mapped Window that contains
Xlib graphics.  A button widget, when pressed, will cause a new item
to be drawn in the Window.  This action clearly should not call XCopyArea()
(or equiv) directly; instead, it should register the existence of the new
item in a memory structure and let the same expose event handler that handles
"regular" expose events (e.g. window manager-driven exposures) take care
of rendering the new image.  Using an expose event handler is a "proper" way
to do this because at the time the handler is called, the Xlib Window is
guaranteed to be mapped.
The problem, of course, is that no expose event is generated if the window
is already visible and mapped.  What we need to do is somehow "tickle" the
Window so that the expose handler is hit with arguments that will enable
it to render *just* the part of the window that contains the new item.
What is the best way to tickle a window to produce this behavior?
From: aff209@tijc02.uucp (Ann Freeman    )
Subject: Seeking user experience with X-based test tools
Organization: Siemens Industrial Automation, Johnson City TN
Distribution: net
Lines: 10
Does anyone have any experience using XRunner, CAPBAK/X, or PreVueX
as an automated test tool for X?  Please email me directly with
opinions (both positive and negative).
Ann Freeman
Siemens Industrial Automation, Inc.
Johnson City, TN
aff209%tijc02@uunet.uu.net
From: dyoung@media.mit.edu (David Young)
Subject: Drawing Lines (inverse/xor)
Organization: MIT Media Laboratory
Lines: 40
I'm trying to write some code that lets me draw lines and do rubber-band
boxes in Motif/X.  I'm running on an 8-bit display for which I've created a
colormap and am using almost all of the colors.  I want to draw the lines
in a drawing area widget -- a widget in which I'm displaying a bitmap using
XPutImage().  If doesn't matter if the lines I draw interactively stay
around when the window is refreshed.
Currently, to draw interactively, I begin with:
/* drawIndex is an colortable index I reserve for the Foreground */
/* my_default_bg_color is the color index for the background of my image */
palette_colors[drawIndex].red =   palette_colors[my_default_bg_color].red;
palette_colors[drawIndex].green = palette_colors[my_default_bg_color].green;
palette_colors[drawIndex].blue =  palette_colors[my_default_bg_color].blue;
XStoreColors( myDisplay, my_cmap, &palette_colors[DrawIndex], 1);
XFlush( myDisplay);
XSetFunction( myDisplay, gc, GXxor);
XSetForeground( myDisplay, gc, drawIndex);
Then to draw I do:
XDrawLine( myDisplay, XtWindow( drawingArea1), gc, x1, y1, x2, y2);
XFlush( myDisplay);
And when I'm all done, to return things to normal I do:
XSetFunction( myDisplay, gc, GXcopy);
What I'd like to happen is for the lines I draw to be the inverse of
whatever I'm drawing over.  Instead what happens is I get white lines.  If
the lines are over a white background - nothing shows up.  If the lines are
over a black area - nothing shows up!  It's very strange.  But the GXxor
function seems right - since if I do a rubber-banding box, it erases and
redraws itself correctly (ie. not disturbing the underlying image).
Any suggestions what I'm doing wrong?
david
From: mikey@eukanuba.wpd.sgi.com (Mike Yang)
Subject: Re: Monthly Question about XCopyArea() and Expose Events
Reply-To: mikey@sgi.com
Organization: Silicon Graphics, Inc.
Lines: 27
Nntp-Posting-Host: eukanuba.wpd.sgi.com
In article <BUZZ.93Apr19125438@lion.bear.com>, buzz@bear.com (Buzz Moschetti) writes:
|> (2nd posting of the question that just doesn't seem to get answered)
How can we resist a questions that says something like this?
|> The problem, of course, is that no expose event is generated if the window
|> is already visible and mapped.  What we need to do is somehow "tickle" the
|> Window so that the expose handler is hit with arguments that will enable
|> it to render *just* the part of the window that contains the new item.
|>
|> What is the best way to tickle a window to produce this behavior?
If your Expose event handler is truly intelligent about exposed
rectangle information, then you can use XClearArea to generate an
Expose event (assuming that your background pixel is not None) for the
enclosing rectangle of your new item.
This is still not great, since any other items contained within that
rectangle will still be unnecessarily redrawn.
If your Expose event handler simply redraws everything, you'll be
doing much more work than just drawing the new item "on top" of the
existing scene.
-----------------------------------------------------------------------
Mike Yang        Silicon Graphics, Inc.
mikey@sgi.com           415/390-1786
From: nchan@nova.ctr.columbia.edu (Nui Chan)
Subject: how to put RPC in HP X/motif environment?
Organization: Columbia University Center for Telecommunications Research
X-Posted-From: nova.ctr.columbia.edu
NNTP-Posting-Host: sol.ctr.columbia.edu
Lines: 12
Hi,
has anybody implements an RPC server in the HP Xwindows? In SUN Xview, there
is a notify_enable_rpc_svc() call that automatically executes the rpc processes
when it detects an incoming request. I wonder if there is a similar function in
HP X/motif that perform the same function.
any help is appreciated.
nui chan
nchan@ctr.columbia.edu
From: graham@sparc1.ottawa.jade.COM (Jay Graham)
Subject: Mix GL with X (Xlib,Xt,mwm)
Organization: The Internet
Lines: 38
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
I am developing an X (Xt,Xm) application that will include a graphics window
of some sort with moving symbols among other things.  A pure X application
could be implemented with Motif widgets, one of which would be an
XmDrawingArea for drawing with Xlib.  But I would like to take advantage of
the Graphics Library (GL) available on our IBM RS/6000 (SGI's GL i believe).
Is it possible to mix X and GL in one application program?
Can I use GL subroutines in an XmDrawingArea or in an X window opened by me
with XOpenWindow?
I have never used GL before, but the doc on GL winopen() says that the first
time winopen() is called it opens a connection to the server.   Also, most of
the GL calls do not require a Display or GC, unlike most X calls.  From this
initial information it appears that X and GL cannot be mixed easily.   Is this
true?
Does PEX (graPHIGS?) have the same functionality of GL?
Environment:
AIXwindows X11R4
Motif 1.1
GL is available
AIX Sys V 3.2
IBM RS/6000 360
Thanks in advance.
Jay Graham
Jade Simulations International Corp.
14 Colonnade Road, Suite 150
Nepean, Ontario, Canada
613-225-5900 x226
graham@ottawa.jade.com
From: dan@tremor.think.com (Dan Aronson)
Subject: drawing an abstract graph
Organization: Thinking Machines Corporation, Cambridge MA, USA
Lines: 9
Distribution: comp
NNTP-Posting-Host: tremor.quake.think.com
I am looking for software to draw a graph.  I want to just give it a list
of nodes and edges between the nodes and have the program come up with some
reasonable positioning of it.
Thanks in advance.
--Dan Aronson	dan@think.com
Thinking Machines Corporation
From: Robert Andrew Ryan <rr2b+@andrew.cmu.edu>
Subject: Re: Monthly Question about XCopyArea() and Expose Events
Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA
Lines: 19
NNTP-Posting-Host: po5.andrew.cmu.edu
In-Reply-To: <BUZZ.93Apr19125438@lion.bear.com>
Excerpts from netnews.comp.windows.x: 19-Apr-93 Monthly Question about
XCop.. Buzz Moschetti@bear.com (1055)
> A button widget, when pressed, will cause a new item to be drawn in the
> Window.  This action clearly should not call XCopyArea()
> (or equiv) directly; instead, it should register the existence of the
> new item in a memory structure and let the same expose event handler
> that handles "regular" expose events (e.g. window manager-driven
> exposures) take care of rendering the new image.
Hmmm.... Clearly?  Depends on your programming model.  It is not at all
forbidden to draw outside the context of an expose event.  Certainly any
internal data structures should be maintained such that the visual
appearance would be maintained properly whenever an expose event happens
to be generated.  This doesn't preclude drawing immediately after
updating the datastructures though...
-Rob
From: maher@kong.gsfc.nasa.gov (552)
Subject: Wanted: critiques on multi-windowing system toolkits
Organization: NASA/Goddard Space Flight Center
Lines: 15
NNTP-Posting-Host: kong.gsfc.nasa.gov
Any pointers to articles, or personal opinions, critiquing user
interface toolkits that operate across many windowing systems (e.g., X,
MS Windows, Macintosh) - you know, Open Interface, XVT, Aspect ...
If you reply with your opinion, please BRIEFLY state your choice and a
short discussion why.
Steve Maher
maher@outland.gsfc.nasa.gov
--
-----------------------------------------------------------------
Steve Maher                              (301) 286-5666 (voice)
Flight Dynamics Division                 maher@kong.gsfc.nasa.gov
NASA/Goddard Space Flight Center
From: ianhogg@milli.cs.umn.edu (Ian J. Hogg)
Subject: Re: how to put RPC in HP X/motif environment?
Nntp-Posting-Host: milli.cs.umn.edu
Organization: University of Minnesota, Minneapolis, CSci dept.
Lines: 15
In article <1993Apr19.200740.17615@sol.ctr.columbia.edu> nchan@nova.ctr.columbia.edu (Nui Chan) writes:
>
>has anybody implements an RPC server in the HP Xwindows? In SUN Xview, there
>is a notify_enable_rpc_svc() call that automatically executes the rpc processes
>when it detects an incoming request. I wonder if there is a similar function in
>HP X/motif that perform the same function.
>
I've been using the xrpc package for about a year now.  I believe I got it from
export.
--
===============================================================================
Ian Hogg						ianhogg@cs.umn.edu
(612) 424-6332
From: yang@cs.umass.edu (Hong Yang)
Subject: colormap question
Organization: University of Massachusetts/Amherst
Lines: 139
NNTP-Posting-Host: freya.cs.umass.edu
Hi, Experts,
I'm kind of new to X. The following question is strange to me. I am
trying to modify the contents of the colormap but failed without
reason (to me). I am using the following piece of code:
toplevel = XtInitialize(argv[0], "Testcolor", NULL, 0,
&argc, argv);
dpy = XtDisplay(toplevel);
scr = DefaultScreen(dpy);
def_colormap = DefaultColormap(dpy,scr);
if(XAllocColorCells(dpy, def_colormap, True, NULL, 0, cells, 5)) {
color.pixel = cells[0];
color.red = 250;
color.green = 125;
color.blue = 0;
color.flags = DoRed | DoGreen | DoBlue;
XStoreColor(dpy, def_colormap, &color);
printf("\n Try to allocate, the color %d as (%d,%d,%d)",
color.pixel, color.red, color.green, color.blue);
XQueryColor(dpy, def_colormap, &color);
printf("\n After  allocate, the color %d is (%d,%d,%d)",
color.pixel, color.red, color.green, color.blue);
}
else
printf("\n Error: couldn't allocate color cells");
Running output:
Try to allocate, the color 7 as (250,125,0)
After  allocate, the color 7 is (0,0,0)
After XStoreColor(), XQueryColor() just returned the original value.
No failure/error displayed but the contents of colormap are obvious
unchanged. (I also tried to draw a line using the colors but it
turned out to be the unmodified colors.)
So what is my problem? How to modify the contents of the colormap?
Any help/information will be appreciated. Please send mail to
"yang@cs.umass.edu".
--------------------------
William
email: "yang@cs.umass.edu"
--------------------------
By the way, the following is the environment I am using (output of
"xdpyinfo"). It shows the default visual is PseudoColor.
version number:    11.0
vendor string:    DECWINDOWS DigitalEquipmentCorporation UWS4.2
vendor release number:    1
maximum request size:  16384 longwords (65536 bytes)
motion buffer size:  100
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    2
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
keycode range:    minimum 86, maximum 251
number of extensions:    8
Adobe-DPS-Extension
DPSExtension
SHAPE
MIT-SHM
Multi-Buffering
XInputExtension
MIT-SUNDRY-NONSTANDARD
DEC-XTRAP
default screen number:    0
number of screens:    1
screen #0:
dimensions:    1024x864 pixels (333x281 millimeters)
resolution:    78x78 dots per inch
depths (2):    1, 8
root window id:    0x29
depth of root window:    8 planes
number of colormaps:    minimum 1, maximum 1
default colormap:    0x27
default number of colormap cells:    256
preallocated pixels:    black 1, white 0
options:    backing-store YES, save-unders YES
current input event mask:    0xd0001d
KeyPressMask             ButtonPressMask          ButtonReleaseMask
EnterWindowMask          SubstructureRedirectMask PropertyChangeMask
ColormapChangeMask
number of visuals:    5
default visual id:  0x21
visual:
visual id:    0x21
class:    PseudoColor
depth:    8 planes
size of colormap:    256 entries
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x22
class:    GrayScale
depth:    8 planes
size of colormap:    256 entries
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x23
class:    StaticGray
depth:    8 planes
size of colormap:    256 entries
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x24
class:    StaticColor
depth:    8 planes
size of colormap:    256 entries
red, green, blue masks:    0x7, 0x38, 0xc0
significant bits in color specification:    8 bits
visual:
visual id:    0x25
class:    TrueColor
depth:    8 planes
size of colormap:    8 entries
red, green, blue masks:    0x7, 0x38, 0xc0
significant bits in color specification:    8 bits
number of mono multibuffer types:    5
visual id, max buffers, depth:    0x21, 0, 8
visual id, max buffers, depth:    0x22, 0, 8
visual id, max buffers, depth:    0x23, 0, 8
visual id, max buffers, depth:    0x24, 0, 8
visual id, max buffers, depth:    0x25, 0, 8
number of stereo multibuffer types:    0
From: dshaker@qualix.com (Doug Shaker)
Subject: Re: MacX 1.2 color problem
Reply-To: dshaker@qualix.com
Organization: QUALiX Group, Inc.
Lines: 43
In article KuL@ux1.cso.uiuc.edu, kerr@ux1.cso.uiuc.edu (Stan Kerr) writes:
>I have a peculiar color problem with MacX, Apple's Macintosh X server.
>I'd like to know if others have seen the same problem. It's happened
>with the current version (1.2), and with version 1.1.7.
>When some types of client windows are displayed, parts of the windows
>are in the wrong color; if the window is moved slightly, forcing the server
>to repaint it, it is repainted in the correct colors. It doesn't happen
>for xterm windows, but has happened for graphic windows and with some
>Motif clients.
I expect what is going on here is that your colormap is full and, when the new application starts up, it cannot add the colors that it needs to the colormap.
It therefore has to pick and choose from the existing colors.  This makes it look
ugly until it's window gets priority.  Then Macx changes the colormap so that
the selected app is getting the exact colors it wanted, but now other applications
are having to make do with it's colormap.
This is a problem with all color X servers (or at least all color Xservers I have
seen) when the demands of the applications exceed the size of the colormap.
My solution is usually to (1) avoid colormap-greedy apps and (2) display
applications where color is just icing on the cake in monochrome mode rather
than in color (if this is an option for the application).
- Doug Shaker
voice:	415/572-0200
fax:	415/572-1300
email:	dshaker@qualix.com
mail:	Qualix Group
1900 S. Norfolk St., #224
San Mateo, CA 94403
Qualix maintains a mailserver with information files and demo
versions of products.  If you would like more information on
the mailserver, send an email to qfacts@qualix.com (or
uunet!qualix!qfacts).  The email should take the following
form:
BEGIN
send help
send index
END
Name
Address
Phone
From: ethan@cs.columbia.edu (Ethan Solomita)
Subject: Forcing a window manager to accept specific coordinates for a window
Organization: Columbia University Department of Computer Science
Lines: 17
Hi. I'm trying to figure out how to make a window manager
place the window where the create window command tells it,
regardless of what it may think is right. (my application has
reason to know better)
I don't want to set the override-redirect because I do
want all the embellishments that the window manager gives, I just
want the wm to accept my choice of location.
I've tried twm, tvtwm and mwm and they are all
uncooperative.
Thanks,
-- Ethan
From: tommc@hpcvusj.cv.hp.com (Tom McFarland)
Subject: Re: Mysterious beeping
Nntp-Posting-Host: hpcvusj.cv.hp.com
Reply-To: tommc@cv.hp.com
Organization: Hewlett Packard UTD-Corvallis
Lines: 40
In article <C5qtKK.wp@cup.hp.com>, defaria@cup.hp.com (Andy DeFaria) writes:
|> [ Article crossposted from hp.windows ]
|> [ Author was Andy DeFaria ]
|> [ Posted on Mon, 19 Apr 1993 18:08:38 GMT ]
|>
|> For some reason the following code causes my X application to beep whenever I
|> intercept a keystroke and change it's meaning.  The intent of this code it to
|> allow "date" fields the following special keys:
|>
|> 	[Tt]:	Insert today's date
|> 	[+=]:	Bump day up by one
|> 	[-_]:	Bump day down by one
|>
|> I hardcoded some dates for this example.  Perhaps I shouldn't be using an
|> XmText field for this.
|>
|> //////////////////////////////////////////////////////////////////////////////
|> //
|> // For some reason the following code beeps whenever any of the special keys
|> // of [Tt+=-_] are hit.  Why?  The idea of this code is to interpret these
|> // keys having the special meaning implied by the code.  I would like to get
|> // rid of the beeping but, as far as I can tell, I'm not doing the beep and
|> // am at a lose as to understanding who and why the beeping is occuring.
|> //
|> //////////////////////////////////////////////////////////////////////////////
code deleted...
From the XmTextField man page (during discussion of resources):
XmNverifyBell
Specifies whether a bell will sound when an action is reversed
during a verification callback.
You are setting doit to false in the callback, and Text[Field] is beeping
as it should.  To turn off this behavior, set this boolean resource to false.
Tom McFarland
<tommc@cv.hp.com>
From: dealy@narya.gsfc.nasa.gov (Brian Dealy - CSC)
Subject: Re: Monthly Question about XCopyArea() and Expose Events
Organization: NASA/Goddard Space Flight Center
Lines: 43
Distribution: world
NNTP-Posting-Host: narya.gsfc.nasa.gov
Originator: dealy@narya.gsfc.nasa.gov
|> (2nd posting of the question that just doesn't seem to get answered)
|>
|> Suppose you have an idle app with a realized and mapped Window that contains
|> Xlib graphics.  A button widget, when pressed, will cause a new item
|> to be drawn in the Window.  This action clearly should not call XCopyArea()
|> (or equiv) directly; instead, it should register the existence of the new
|> item in a memory structure and let the same expose event handler that handles
|> "regular" expose events (e.g. window manager-driven exposures) take care
|> of rendering the new image.  Using an expose event handler is a "proper" way
|> to do this because at the time the handler is called, the Xlib Window is
|> guaranteed to be mapped.
|>
|> The problem, of course, is that no expose event is generated if the window
|> is already visible and mapped.  What we need to do is somehow "tickle" the
|> Window so that the expose handler is hit with arguments that will enable
|> it to render *just* the part of the window that contains the new item.
|>
|> What is the best way to tickle a window to produce this behavior?
If I understand your problem correctly, you want to have a way to send
exposures to your manager widget when your app-specific code draws xlib
graphics on the window.
It sounds like you might want to send an exposure using
XSendEvent and specifying a region. If you know the region you need to
send the exposure, generally you have the bounding rectangle of the objects,
you can use XCreateRegion to create a region, XUnionRectWithRegion to add the
new object polygons to the region, and then either use the region
to clip your GC for the redraw or use XRectInRegion to test which of your
other objects need to be redrawn. Keeping in mind that the stacking order
of overlapping objects affects how they look.
Hope it helps
--
Brian Dealy                |301-572-8267| It not knowing where it's at
dealy@kong.gsfc.nasa.gov   |            | that's important,it's knowing
!uunet!dftsrv!kong!dealy   |            | where it's not at...  B.Dylan
--
Brian Dealy                |301-572-8267| It not knowing where it's at
dealy@kong.gsfc.nasa.gov   |            | that's important,it's knowing
!uunet!dftsrv!kong!dealy   |            | where it's not at...  B.Dylan
From: yue1016@cs.uh.edu (Yue Huang)
Subject: Ask the ftp address of "Kerberos Version 5 draft RFC"
Organization: Computer Science dept.,  Univ. of Houston (Main Campus)
Lines: 1
Distribution: world
NNTP-Posting-Host: rodin.cs.uh.edu
From: masc0442@ucsnews.sdsu.edu (Todd Greene)
Subject: How do I find my AppContext?
Organization: San Diego State University, College of Sciences
Lines: 14
NNTP-Posting-Host: ucssun1.sdsu.edu
Keywords: Context, Xt, motif, application
X-Newsreader: TIN [version 1.1 PL8]
Is there an Xt call to give me my application context?
I am fixing up an X/Motif program, and am trying to use XtAppAddTimeOut,
whose first argument is the app_context.  What call can I use
to give me this value?
Thanks,
Todd Greene
masc0442@ucssun1.sdsu.edu
~
From: nancie@neko.CSS.GOV (Nancie P. Marin)
Subject: Re: XCopyPlane Question
Organization: The Internet
Lines: 36
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
In article <BUZZ.93Apr19101538@lion.bear.com> buzz@bear.com (Buzz Moschetti) write
>In article <WHALEY.93Apr15103931@sigma.kpc.com> whaley@sigma.kpc.com (Ken Whaley) writes:
>>   Actually, I must also ask the FAQ's #1 most popular reason why graphics
>>   don't show up: do you wait for an expose event before drawing your
>>   rectangle?
>
>Suppose you have an idle app with a realized and mapped Window that contains
>Xlib graphics.  A button widget, when pressed, will cause a new item
>to be drawn in the Window.  This action clearly should not call XCopyArea()
>(or equiv) directly; instead, it should register the existence of the new
>item in a memory structure and let the expose event handler take care
>of rendering the image because at that time it is guaranteed that the
>Window is mapped.
>
>The problem, of course, is that no expose event is generated if the window
>is visible and mapped.  Do you know the best way to "tickle" a window so
>that the expose event handler will be invoked to draw this new item?
>
What does this have to do with my original question???  I previously
stated that I did an XCopyArea of the depth-8 pixmap to the screen
just to make sure that my image had data, and it did.  This is NOT
a problem with expose events, it has to do with XCopyPlane not
working!!!
Does anyone have a code fragment they could send demonstrating that
XCopyPlane works???  This would be very helpful!
Thanks!
----------------------------------------------------------------
Nancie P. Marin      NET:  nancie@neko.css.gov
ENSCO Inc.           MAIL: 445 Pineda Ct.  Melbourne, Fl.  32940
(407)254-4122        FAX:  (407)254-3293
----------------------------------------------------------------
From: tom@DONT_USE.NETcom.COM (Thomas Tulinsky)
Subject: Wcl for Solaris 2?
Organization: The Internet
Lines: 15
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu, tom@DONT_USE.netcom.com
Is there a version of Wcl that has been ported to Solaris 2, including
ANSI C? I had numerous problems trying to compile Wcl under Solaris,
and the functions do not have prototypes.
I have Wcl 2.01 from the Sun User Group's 1992 CDs.
Please email answers as I am not on this list.
----------------------------------------------------------------------------
Tom Tulinsky		Capital Management Sciences	    West Los Angeles
310 479 9715
MANUALLY ADDRESS answers to:
zuma!tom@netcomsv.netcom.com
From: adrian@ora.COM (Adrian Nye)
Subject: Re:  xwininfo
Organization: O'Reilly and Associates, Inc.
Lines: 11
Reply-To: adrian@ora.com
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
> I want to do the equivalent of an "xwininfo -name" via a call or set of calls
> in Xlib.  I need to map a windows name to its id.
> It's probably easy, but I've only been programming in X for a little while.
Do you have the X source code?  Simply look in mit/clients/xwininfo/xwininfo.c and you
will find out exactly how to do it.  :-)
Adrian Nye
O'Reilly and Associates.
From: vgalvez@itesocci.gdl.ITeso.MX (Virginia Galvez)
Subject: (none)
Organization: The Internet
Lines: 7
NNTP-Posting-Host: enterpoop.mit.edu
To: XPERT@Athena.MIT.EDU
I am working on a problem of scheduling classroom, and I will like to know if
you have some software, papers or articles about it. If you have something
relate it,  please let me know.
thanks
Lorenza Illanes
From: whaley@sigma.kpc.com (Ken Whaley)
Subject: Re: XCopyPlane Question
In-Reply-To: buzz@bear.com's message of 19 Apr 93 14:15:38 GMT
Organization: Kubota Pacific Computer Inc.
<BUZZ.93Apr19101538@lion.bear.com>
Lines: 33
>
> In article <WHALEY.93Apr15103931@sigma.kpc.com> whaley@sigma.kpc.com (Ken Whaley) writes:
> >   Actually, I must also ask the FAQ's #1 most popular reason why graphics
> >   don't show up: do you wait for an expose event before drawing your
> >   rectangle?
>
> Suppose you have an idle app with a realized and mapped Window that contains
> Xlib graphics.  A button widget, when pressed, will cause a new item
> to be drawn in the Window.  This action clearly should not call XCopyArea()
> (or equiv) directly; instead, it should register the existence of the new
> item in a memory structure and let the expose event handler take care
> of rendering the image because at that time it is guaranteed that the
> Window is mapped.
>
> The problem, of course, is that no expose event is generated if the window
> is visible and mapped.  Do you know the best way to "tickle" a window so
> that the expose event handler will be invoked to draw this new item?
I specifically made the above comment assuming that perhaps the code fragment
came from a simple "open-draw-quit" client.
As per your question: why not have the button handler add the object, and
then call the "window_redraw()" (or whatever) directly?  Although, depending
on how the overall application is structured, there may be no problem with
rendering the object directly in response to the button press.
Ken
--
Kenneth Whaley			 (408) 748-6347
Kubota Pacific Computer, Inc.	 Email: whaley@kpc.com
2630 Walsh Avenue
Santa Clara, CA.  95051
From: ramakris@csgrad.cs.vt.edu (S.Ramakrishnan)
Subject: Mwm title-drag crashes X server (SIGPIPE)
Organization: VPI&SU Computer Science Department, Blacksburg, VA
Lines: 55
Environment:
mach/arch : sparc/sun4  (IPX)
OS	: SunOS 4.1.3
X11	: X11R5 (patchlevel 22)
Motif	: 1.2.2
I bring up X server using 'startx' and /usr/bin/X11/Xsun. The following sequence
of actions crashes the X server (SIGPIPE, errno=32, 'xinit' reports that connexion
to X server lost):
1. xinit -- Xsun
2. start mwm
3. start a client with a 100dpi/75dpi font.
4. move the window by dragging the title bar.
The server dumps core due to SIGPIPE. One of the two messages is printed:
"Connection to X server lost"
or
"Connection broken (errno=32)"
(I believe the first is reported by a client and the second by the server itself).
Next, I ran xdm in debug level = 5. After the same set of actions, xdm reports:
select returns -1
Server for :0 terminated unexpectedly: status 2560
Note:
* The problem doesn't occur with other window managers (twm or olwm).
* I have not set LD_LIBRARY_PATH.
* I am not running font server.
* If I start the client with fixed width font, I do not see this problem.
* My font path:
/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/fonts/75dpi/,/usr/lib/X11/fonts/100dpi
(I did mkfontdir in /usr/lib/X11/fonts/100dpi, /usr/lib/X11/fonts/75dpi,
/usr/lib/X11/fonts/PEX, /usr/lib/X11/fonts/Speedo,
and in /usr/lib/X11/fonts/misc).
* This problem seems to occur only on IPX machines. I do not see this
problem on IPC workstations.
Questions:
* What the hell is goin on ? :-)
* What does "status 2560" mean (of the server).
I'd greatly appreciate any hints as to the cause of the problem.
---
S Ramakrishnan, CS Dept, McBryde Hall, VaTech
From: dale@wente.llnl.gov (Dale M. Slone)
Subject: xlock
Organization: Lawrence Livermore National Laboratory
Lines: 11
Distribution: world
NNTP-Posting-Host: morbid.llnl.gov
I found an oddity with our SGI Indigo (MIPS R3000 chip).
When xlock +nolock is running, and I am working remotely
or in batch (at) mode, the runtime of my programs (as timed
by using clock() in the code itself) is ~25% slower than if
xlock is NOT running.  No other processes seem to affect my
runtimes, yet this is very consistent!
Any explanations, real or imagined :)
thanx
dale@frostedflakes.llnl.gov
From: cjhs@minster.york.ac.uk
Subject: Xt intrinsics: slow popups
Organization: Department of Computer Science, University of York, England
Lines: 19
Keywords:
Help: I am running some sample problems from O'Reilly volume 4,
Xt Intrisics Programming Manual, chapter 3. popup
dialog boxes and so on.
In example 3.5, page 76 : "Creating a pop-up dialog box"
The application creates window with a button "Quit" and "Press me".
The button "Press me" pops up a dialog box. The strange feature of
this program is that it always pops up the dialog box much faster the
first time. If I try to pop it up a 2nd time (3rd, 4th .... time),
it is *much* slower.
Has anyone any experience with these sample programs, or why I get
this behaviour - fast response time for the first time but slow response
time from 2nd time onwards ?
Anyone can give me some ideas on how to program popups so that each time
they popup in reasonable fast response time ?
Thankyou - Shirley
From: janzen@lichen.mpr.ca (Martin Janzen)
Subject: Re: how to put RPC in HP X/motif environment?
Nntp-Posting-Host: lichen
Reply-To: janzen@mprgate.mpr.ca
Organization: MPR Teltech Ltd.
Lines: 30
In article <C5r03J.Gu3@news2.cis.umn.edu>, ianhogg@milli.cs.umn.edu (Ian J. Hogg) writes:
>In article <1993Apr19.200740.17615@sol.ctr.columbia.edu> nchan@nova.ctr.columbia.edu (Nui Chan) writes:
>>has anybody implements an RPC server in the HP Xwindows? In SUN Xview, there
>>is a notify_enable_rpc_svc() call that automatically executes the rpc processes
>>when it detects an incoming request. I wonder if there is a similar function in
>>HP X/motif that perform the same function.
>
>I've been using the xrpc package for about a year now.  I believe I got it from
>export.
Glad to hear that it's working for you!
I couldn't find it on "export".  However, Simon Leinen
<simon@liasun6.epfl.ch> has added an Imakefile and an Athena
version, and made it available for FTP in the file
liasun3.epfl.ch:/pub/X/contrib/xrpc.tar.z.  (Note the ".z"
suffix; you'll need GNU gzip -- also on liasun3 in /pub/gnu --
to uncompress it.)
If this doesn't work, send me a note and I'd be happy to mail you
a copy; but you probably won't get it until the start of May --
I'm on holidays as of tomorrow! :-)
--
Martin Janzen  janzen@mprgate.mpr.ca (134.87.131.13)
MPR Teltech Ltd.  8999 Nelson Way  Burnaby, BC, CANADA  V5A 4B5
P.S. Are there any Dublin X folks that want to go for a pint of
Guinness at, say, Mulligan's...?
From: mahan@TGV.COM (Patrick L. Mahan)
Subject: RE: Drawing Lines (inverse/xor)
Organization: The Internet
Lines: 51
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu, dyoung@media.mit.edu
#
#I'm trying to write some code that lets me draw lines and do rubber-band
#boxes in Motif/X.  I'm running on an 8-bit display for which I've created a
#colormap and am using almost all of the colors.  I want to draw the lines
#in a drawing area widget -- a widget in which I'm displaying a bitmap using
#XPutImage().  If doesn't matter if the lines I draw interactively stay
#around when the window is refreshed.
#
#Currently, to draw interactively, I begin with:
#
#   /* drawIndex is an colortable index I reserve for the Foreground */
#   /* my_default_bg_color is the color index for the background of my image */
#   palette_colors[drawIndex].red =   palette_colors[my_default_bg_color].red;
#   palette_colors[drawIndex].green = palette_colors[my_default_bg_color].green;
#   palette_colors[drawIndex].blue =  palette_colors[my_default_bg_color].blue;
#   XStoreColors( myDisplay, my_cmap, &palette_colors[DrawIndex], 1);
#   XFlush( myDisplay);
#
#   XSetFunction( myDisplay, gc, GXxor);
#   XSetForeground( myDisplay, gc, drawIndex);
#
#Then to draw I do:
#
#   XDrawLine( myDisplay, XtWindow( drawingArea1), gc, x1, y1, x2, y2);
#   XFlush( myDisplay);
#
#And when I'm all done, to return things to normal I do:
#
#   XSetFunction( myDisplay, gc, GXcopy);
#
#
#What I'd like to happen is for the lines I draw to be the inverse of
#whatever I'm drawing over.  Instead what happens is I get white lines.  If
#the lines are over a white background - nothing shows up.  If the lines are
#over a black area - nothing shows up!  It's very strange.  But the GXxor
#function seems right - since if I do a rubber-banding box, it erases and
#redraws itself correctly (ie. not disturbing the underlying image).
#
#Any suggestions what I'm doing wrong?
#
I believe for this to work on a color display you must set the foreground of
the GC to be (foreground^background).
Patrick L. Mahan
--- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------
Waking a person unnecessarily should not be considered  - Lazarus Long
a capital crime.  For a first offense, that is            From the Notebooks of
Lazarus Long
From: baileyc@ucsu.Colorado.EDU (Christopher R. Bailey)
Subject: How do I cause a timeout?
Summary: how can I force a strip chart to update
Nntp-Posting-Host: ucsu.colorado.edu
Organization: University of Colorado, Boulder
Lines: 20
I have a problem where an Athena strip chart widget is not calling it's
get value function.  I am pretty sure this is happening because I am
not using XtAppMainLoop, but am dealing with events via sockets.  (ya ya).
Anyway, I want to cause a timeout so that the strip chart widget(s) will
call their get value callback.  Or if someone knows another FAST way around
this (or any way for that matter) let me know.  I cannot (or I don't think)
call the XtNgetValue callback myself because I don't have the value for
the third parameter of the get value proc (XtPointer call_data).
In other words, I want to force a strip chart widget to update itself.
Any ideas anyone?
--
Christopher R. Bailey            |Internet: baileyc@dendrite.cs.colorado.edu
University of Colorado at Boulder|CompuServe: 70403,1522
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Ride Fast, Take Chances!
From: cerna@ntep.tmg.nec.co.JP (Alexander Cerna (SV))
Subject: transparent widgets--how?
Organization: The Internet
Lines: 8
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
Cc: cerna@ntep.tmg.nec.co.jp
I need to write an application which does annotation notes
on existing documents.  The annotation could be done several
times by different people.  The idea is something like having
several acetate transparencies stacked on top of each other
so that the user can see through all of them.  I've seen
something like this being done by the oclock client.
Could someone please tell me how to do it in Xt?
Thank you very much.
From: rainer@sun3.eeam.elin.co.at (Rainer Hochreiter)
Subject: Re: Multi-screen apps and window managers
Organization: ELIN Energeanwendung Ges.m.b.H
Lines: 20
NNTP-Posting-Host: sun3.eeam.elin.co.at
X-Newsreader: TIN [version 1.1 PL9]
: ========================================================================
: Jo Pelkey                                   Phone: (509)375-6947
: Battelle Pacific Northwest Labs             Fax:   (509)375-3641
: Mail Stop K7-22                             Email: je_pelkey@pnl.gov
: P.O. Box 999
: Richland, WA  99352
: ========================================================================
Hi Jo,
I'm also interested in your questions, so if you get any
answers via email and not via repost please let me know.
Thanks, rainer.
--
Rainer Hochreiter                | Telephone: +43 (1) 89100 / 3961
ELIN-Energieanwendung GesmbH     | Telefax  : +43 (1) 89100 / 3387
Penzingerstr. 76                 |
A-1141 Wien, Austria/Europe      | E-mail   : rainer@elin.co.at
From: mahan@TGV.COM (Patrick L. Mahan)
Subject: Re: How do I find by AppContext
Organization: The Internet
Lines: 24
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu, masc0442@gondor.sdsu.edu
#
#
# Is there an Xt call to give me my application context?
# I am fixing up an X/Motif program, and am trying to use XtAppAddTimeOut,
# whose first argument is the app_context.  What call can I use
# to give me this value?
#
Use XtDisplayToApplicationContext() to retreive the application context.
Patrick L. Mahan
--- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------
Waking a person unnecessarily should not be considered  - Lazarus Long
a capital crime.  For a first offense, that is            From the Notebooks of
Lazarus Long
Patrick L. Mahan
--- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------
Waking a person unnecessarily should not be considered  - Lazarus Long
a capital crime.  For a first offense, that is            From the Notebooks of
Lazarus Long
From: suresh@iss.nus.sg (Suresh Thennarangam - Research Scholar)
Subject: X Device Driver for Bird
Nntp-Posting-Host: raccoon.iss.nus.sg
Organization: Institute Of Systems Science, NUS
X-Newsreader: Tin 1.1 PL4
Lines: 16
Has anyone written a device driver to use the Ascension bird with XWindows ?
__
(_   / /  o_   o  o |_
__)/(_( __) (_(_ /_)| )_
***************************************************************************
* Suresh Thennarangam               *  EMail: suresh@iss.nus.sg(Internet) *
* Research Scholar                  *         ISSST@NUSVM.BITNET          *
* Institute Of Systems Science      *  Tel:  (065) 772 2588.              *
* National University Of Singapore  *  Facs.: (065) 778 2571              *
* Heng Mui Keng Terrace             *  Telex: ISSNUS RS 39988             *
* Singapore 0511.                   *                                     *
***************************************************************************
From: agallagh@slate.mines.colorado.edu (GALLAGHER ANDREA J )
Subject: Re: Forcing a window manager to accept specific coordinates for a window
Organization: Colorado School of Mines
Lines: 18
In article <C5r25y.HFz@cs.columbia.edu> Ethan Solomita writes:
>
> 	Hi. I'm trying to figure out how to make a window manager
> place the window where the create window command tells it,
> regardless of what it may think is right. (my application has
> reason to know better)
>
> 	I don't want to set the override-redirect because I do
> want all the embellishments that the window manager gives, I just
> want the wm to accept my choice of location.
window = XCreateWindow(...);
XSetTransientForHint(display, window, window);
XMapWindow(...);
This is probably cheating, and some window managers might STILL refuse to
give it a border and all that other stuff, but it usually works.
From: root@netdev.comsys.com (Operator)
Subject: DevGuide with Motif - Solaris 2.2 to ease Motif burden ..
Summary: Sun helps software developers support motif
Keywords: SUN, GUI, Motif, DevGuide
Organization: ProTools Inc.
Lines: 25
We've developed a number of applications using DevGuide and found it to
be a very useful tool. I've been impressed with the level of integration it
affords using the connection editor. I love the general ease of use.
I talked with Tali Aben at Sun today about DevGuide + Motif. She was very
helpful. We provided some input as to what we'd like to see in the next
version of DevGuide. Tali was very enthusiatic about our comments. I mentioned
I was going to post this email message and she offered to receive additional
comments from the net on what DevGuide should evolve into.
Send your comments/wish-list, raving, et. al. about DevGuide to:
Tali.Aben@Sun.COM
Pretty cool example of a company that cares what we want.... More of this
and computers may have a future.
Frankly, I like the idea that it will offer some migration capability
to DOE/DOMF through an integrated ToolTalk capability, pointed out in March's
SunExpert magazine.
Technology works, we can crankout the interfaces with DevGuide. Price is
outstanding.
From: alf@st.nepean.uws.edu.au (Andrew Leahy)
Subject: Running dxterm's onto Apollo from DEC 5000/240
Organization: University of Western Sydney, Nepean
X-Newsreader: Tin 1.1 PL4
Lines: 36
Help!
I'm trying to run dxterm's (DECs' xterm) on a DECstation 5000/240
(Ultrix 4.3, X11R4, Motif 1.1.3) with the DISPLAY variable set to an
Apollo DN2500 (Domain/OS 10.3, X11R4, Motif ?.?).
I get these errors appearing on the DECstation:
> dxterm
X Toolkit Warning: Cannot convert string "<Key>apCharDel        " to type VirtualBinding
X Toolkit Warning: Cannot convert string "<Key>apCopy   " to type VirtualBinding
X Toolkit Warning: Cannot convert string "<Key>apCut    " to type VirtualBinding
X Toolkit Warning: Cannot convert string "<Key>apPaste  " to type VirtualBinding
X Toolkit Warning: Cannot convert string "<Key>apUpBox  " to type VirtualBinding
X Toolkit Warning: Cannot convert string "<Key>apDownBox        " to type VirtualBinding
X Toolkit Warning: Cannot convert string "<Key>apRightBar       " to type VirtualBinding
X Toolkit Warning: Cannot convert string "<Key>apLeftBar        " to type VirtualBinding
Segmentation fault
>
Any ideas? Is it a Motif problem...are the DEC and Apollo versions of Motif
incompatible? Or something to do with XKeysymDB?
(xterms run fine on DEC displaying on Apollo..arggh)
I need to run dxterm because the package we are using on the DEC's, Oracle Case,
uses dxterm by default, and we have a lab of Apollo workstations we would like
to run Oracle from.
Andrew "Alf" Leahy, alf@st.nepean.uws.edu.au
--
__________________________________________________________________________
Andrew "Alf" Leahy                  phone: (047) 360771 (W) irc: pepsi-alf
Uni. Western Sydney, Nepean.        Remote-email: alf@st.nepean.uws.edu.au
Sydney, Australia.                  Local-email: alf
From: agallagh@slate.mines.colorado.edu (GALLAGHER ANDREA J )
Subject: XAllocColor fails to return nearest match
Reply-To: ngorelic@speclab.cr.usgs.gov
Organization: Colorado School of Mines
Lines: 23
[posted for a friend]
Okay, I looked through the FAQs and didn't see this, but I know its
come up before...
XAllocColor is supposed to do the following in order:
Try to find an exact match read-only color cell. (within hardware limits)
Try to allocate a read-only colorcell and set it to match.
and when all else fails,
Return the colorcell with the best match from the read-only colors
already allocated in the colormap.
This sounds good in theory.  It doesn't seem to work this way
though.  If there is no exact match already in the colormap, and
no unallocated cells, then XAllocColor fails, even when it has
already allocated several other cells already, and there are dozens
of read-only cells already in the colormap.
Is this a bug?  A feature?  A misunderstanding on my part?
Any help appreciated,
Noel (ngorelic@speclab.cr.usgs.gov)
From: snail@lsl.co.uk
Subject: Re: Xlib for MS/WINDOWS not an XSERVER!!!
Organization: Laser-Scan Ltd., Cambridge
Lines: 16
In article <1993Apr7.044749.11770@topgun>, smikes@topgun (Steven Mikes) writes:
> Another company, Congruent Corporation of New York City, has also ported Xlib
> Xt and Motif 1.1 over to MS Windows NT, which provides full client development
> for X applications in an NT environment.
Could someone please send me the postal and email address of
Congruent Corporation (and any competitors they may have).
Thank you.
--
snail@lsl.co.uk
"Washing one's hands of the conflict between the powerful and the powerless
means to side with the powerful, not to be Neutral."
Quote by Freire.
Poster by OXFAM.
From: buzz@bear.com (Buzz Moschetti)
Subject: Re: XCopyPlane Question
<BUZZ.93Apr19101538@lion.bear.com> <WHALEY.93Apr19171228@sigma.kpc.com>
Reply-To: buzz@bear.com (Buzz Moschetti)
Organization: Bear, Stearns & Co. - FAST
Lines: 10
In-reply-to: whaley@sigma.kpc.com's message of 20 Apr 93 01:12:28 GMT
In article <WHALEY.93Apr19171228@sigma.kpc.com> whaley@sigma.kpc.com (Ken Whaley) writes:
>   As per your question: why not have the button handler add the object, and
>   then call the "window_redraw()" (or whatever) directly?  Although, depending
This design will work but I don't think it can take easily take advantage
of expose event redraw optimization; that is, the whole window will be
redrawn, not just the area with the new item.
P.S.  I'm replying here because my/your mailer didn't agree with the
return address whaley@sigma.kpc.com.
From: gvanvugh@cs.uct.ac.za (Gerhard van Vught)
Subject: Problem with libararies (?)
Organization: Computer Science Department, University of Cape Town
Lines: 50
I have been trying to compile some source code for a mpeg animation viewer for
X Windows. I got the code from a ftp site. I have modified the Makefile as
they instructed, no errors there. What happens is that I get the following
message when everything is going to be linked:
cc  util.o video.o parseblock.o motionvector.o decoders.o  fs2.o fs2fast.o fs4.o hybrid.o hybriderr.o 2x2.o  gdith.o gray.o mono.o main.o jrevdct.o 24bit.o util32.o ordered.o  ordered2.o mb_ordered.o /lib/libX11.so /lib/libXext.so -lm -o mpeg_play
Undefined			first referenced
symbol  			    in file
getnetpath                          /lib/libX11.so
t_alloc                             /lib/libX11.so
t_unbind                            /lib/libX11.so
t_open                              /lib/libX11.so
t_rcvdis                            /lib/libX11.so
netdir_free                         /lib/libX11.so
t_error                             /lib/libX11.so
netdir_getbyname                    /lib/libX11.so
getnetconfigent                     /lib/libX11.so
t_look                              /lib/libX11.so
t_errno                             /lib/libX11.so
t_close                             /lib/libX11.so
netdir_getbyaddr                    /lib/libX11.so
t_listen                            /lib/libX11.so
t_rcv                               /lib/libX11.so
setnetpath                          /lib/libX11.so
t_bind                              /lib/libX11.so
t_connect                           /lib/libX11.so
t_accept                            /lib/libX11.so
nc_perror                           /lib/libX11.so
inet_addr                           /lib/libX11.so
ld: mpeg_play: fatal error: Symbol referencing errors. No output written to mpeg_play
*** Error code 1 (bu21)
make: fatal error.
Does anyone know where these missing functions are located? If you do can you
help me with it?
I posted before to one of the other Unix groups, I tried their suggestions but
always get this error.
If you have to know: I am using Unix system V. The machines here are 486's. The
terminals I want to use are separate and just called X-terminals and they seem
dedicated to that. I'm not sure as to what they really are, since it is one of
my first times out with this X-windows gidget! That is, first time programming
for it, so to speak. I use them alot just for the graphics things.
If you can help, mail me soon.
Gerard.
From: leon@dimatrix.DK (Leon Thrane)
Subject: X Intrinsic mailing list
Organization: The Internet
Lines: 14
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
As we don't get a newsfeed I was wondering whether there was such a
thing as a Xt mailing list (other than xpert@expo.lcs.mit.edu).  I
would appreciate any info on this, (or X related mailing lists.)
Thanks in advance,
Leon
+-------------------------------+---------------------------------+
| Leon Thrane                   | Telephone:    +45 - 45 93 51 00 |
| DimatriX ApS                  | FAX:          +45 - 45 93 51 11 |
| Lyngby Hovedgade 15D          | E-mail:       leon@dimatrix.dk  |
| DK-2800 Lyngby, Denmark       | or   ...!uunet!dimatrix.dk!leon |
+-------------------------------+---------------------------------+
From: bryan@alex.com (Bryan Boreham)
Return-Path: <news>
Subject: Re: Xt intrinsics: slow popups
Nntp-Posting-Host: tweety
Reply-To: bryan@alex.com
Organization: Alex Technologies Ltd, London, England
Lines: 15
In article <735259869.13021@minster.york.ac.uk>, cjhs@minster.york.ac.uk writes:
> The application creates window with a button "Quit" and "Press me".
> The button "Press me" pops up a dialog box. The strange feature of
> this program is that it always pops up the dialog box much faster the
> first time. If I try to pop it up a 2nd time (3rd, 4th .... time),
> it is *much* slower.
The shell is waiting for the window-manager to respond to its
positioning request.  The window-manager is not responding because
it thinks the window is already in the right place.
Exactly *why* the two components get into this sulk is unclear to
me; all information greatly received.
Bryan.
From: btaylor@mcl.bdm.com (Brent Taylor)
Subject: XDM & DECnet ?
Organization: BDM International, Inc.
Lines: 10
NNTP-Posting-Host: jupiter.mcl.bdm.com
Does XDM work with DECnet? I have an Ultrix machine running both TCP/IP
and DECnet. I have a number of X-terminals hanging off the Ultrix host also
running TCP/IP and DECnet. Presently I am using XDM for the login procedure
on the X-terminals using TCP/IP. Since XDM is basically just an X-windows
client, shouldn't I be able to run XDM on the DECnet protocol tower as well?
My first inclination is that XDM is not your typical X client. It is making
TCP/IP specific socket calls. In this case the answer would be no; you can
not run XDM over DECnet. Is this right or not? Any feedback is appreciated.
Thanks.
From: mccoy@gothamcity.jsc.nasa.gov (Daniel McCoy)
Subject: Re: compiling on sun4_411
Reply-To: mccoy@gothamcity.jsc.nasa.gov
Organization: I-NET Inc.
Lines: 27
In article qfe00WB2QzZ7EZ@andrew.cmu.edu, Wilson Swee <ws8n+@andrew.cmu.edu> () writes:
|>    I have a piece of X code that compiles fine on pmax-ul4, pmax_mach, as
|>well as sun4_mach, but whenever it compiles on sun4_411, it gives me
|>undefined ld errors:
|>_sin
|>_cos
|>_pow
|>_floor
|>_get_wmShellWidgetClass
|>_get_applicationShellWidgetClass
|>
|>The following libraries that I linked it to are:
|>-lXaw -lXmu -lXt -lXext -lX11
|>
|>The makefile is generated off an imake template.
|>Can anyone give me pointers as to what I'm missing out to compile on
|>a sun4_411?
Well, the first 2 are easy.  You need the math library.  Try adding -lm after
-lX11.  Don't know if that's the whole problem but it's a start.
---
Daniel J. McCoy           |=> SPACE  <=|                   I-NET, Inc.
NASA Mail Code PT4        |=> IS     <=|             TEL: 713-483-0950
NASA/Johnson Space Center |=> OUR    <=|             FAX: 713-244-5698
Houston, Texas 77058      |=> FUTURE <=| mccoy@gothamcity.jsc.nasa.gov
From: N.R.Ellis@newcastle.ac.uk (Nigel R. Ellis)
Subject: Keyboard map for UK type 5 keyboard under X11/R5?
Nntp-Posting-Host: ws-ai3.dur.ac.uk
X-Newsreader: TIN [version 1.1 PL9]
Reply-To: N.R.Ellis@durham.ac.uk
Organization: Computer Science, University of Durham, Durham, UK. DH1 3LE
Lines: 16
Hi,
does anyone have a keyboard map for a Sun UK type 5 keyboard for use under
X11/R5 ?
Thanks,
Nigel.
--
============================================================================
| Nigel R Ellis, Artificial Intelligence Group, | N.R.Ellis@durham.ac.uk   |
| Computer Science, University of Durham,       | Phne: +44.91.374.2549    |
| Durham. England DH1 3LE                       | Fax : +44.91.374.3741    |
============================================================================
From: aruit@idca.tds.philips.nl (Anton de Ruiter)
Subject: ??? TOP-30 MOTIF Applications ???
Organization: Digital Equipment Enterprise bv, Apeldoorn, The Netherlands.
Lines: 35
Hello everybody,
I am searching for (business) information of Motif applications, to create a
TOP-30 of most used WordProcessors, Spreadsheets, Drawing programs, Schedulers
and Fax programs, etc..
Please mail me all your information or references.  I will summaries the
results on this media.
Thank you in advance,
Anton de Ruiter.
+----------------------------------------------------------------------------+
|  _                       __            |Digital Equipment Corporation      |
| /_| __ /_ _  __  __/_   /__)   ./_ _  _|WorkGroup Products (WGP)           |
|/  |/ /(_ (_)/ / (_/(-' / \ (_//(_ (-'/ |OBjectWorks (OBW)                  |
|                                        |Ing. Anton de Ruiter MBA           |
|                                        |Software Product Manager           |
|                     __                 |Post Office Box 245                |
|       |   /_  _ /_ / _'_ _     _       |7300 AE  Apeldoorn, The Netherlands|
|       |/|/(_)/ /\ (__// (_)(_//_)      |Oude Apeldoornseweg 41-45          |
|                              /         |7333 NR  Apeldoorn, The Netherlands|
|          __                            |-----------------------------------|
|         /__)_ _  __/   _  /_  _        |Mail    : HLDE01::RUITER_A         |
|        /   / (_)(_/(_/(_ (_ _\         |DTN     : 829-4359                 |
|                                        |Location: APD/F1-A22               |
|                                        |-----------------------------------|
|     __  _                              |Internet: aruit@idca.tds.philips.nl|
|    /  )/_) ._  _  /_ |   /_  _ /_  _   |UUCP    : ..!mcsun!philapd!aruit   |
|   (__//__)/(-'(_ (_  |/|/(_)/ /\ _\    |Phone   : 31 55   434359 (Business)|
|         _/                             |Phone   : 31 5486 18199  (Private) |
|                                        |Fax     : 31 55   432199           |
+----------------------------------------------------------------------------+
From: wpwood@darkwing.austin.ibm.com
Subject: GCC and Building the HP Widget Set on Linux
Reply-To: wpwood@austin.ibm.com (Bill Woodward)
Organization: The Institute of Knowledge on Jinx
Lines: 30
I am currently attempting to get a copy of the HP Widget set compiled
under Linux (SLS Release with kernel 99.6) and am running into some
problems.  Actually, it seems that this is more of a GCC question,
because I got it to compile without trouble using cc on an RS/6000.
Basically, there are a number of functions with prototypes
set up in, let's say, CompositeP.h, for instance, the composite
widget's insert_child procedure is set up with the type :
typedef void (*XtWidgetProc) (Widget)
but in several places in the HP source code, they reference the
insert_child procedure and pass it multiple arguments instead of just
one, as the prototype suggests.  For example:
(*superclass->composite_class.insert_child)(w, args, p_num_args)
Now, GCC chokes on this, giving an error message that too many arguments
are passed to the function.  So, does anyone have any suggestions as to
how to turn off this checking in GCC, or how I can go about changing the
code to accomodate this call without changing /usr/include/X11/CompositeP.h,
or has anyone successfully built the HP widget set and have any suggestions.
Many thanks in advance for any help.
--
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Bill Woodward        | wpwood@austin.ibm.com   <-- Try this first
AIX Software Support | billw@aixwiz.austin.ibm.com
Graphics Group       | 512-838-2834
I am the terror that flaps in the night.
From: weisberg@ee.rochester.edu (Jeff Weisberg)
Subject: Problem: R5 server hangs on Sun3
Summary: annoying problem, server hangs
Keywords: X11R5pl22, sun3, bw2, 4.1.1, gcc-2.3.3, Xsun, Vernal Equinox
Organization: Univ. of Rochester, Dept. of Electrical Engineering
Lines: 19
I recently compiled the X11R5pl22 sources using gcc-2.3.3 on
a Sun3/80. Everything seems to work fine. Usually. But at
seemingly random times the server will just hang. I will
click the mouse somewhere (never happens while my back is turned),
and without warning, it will freeze there, requiring the server
to be killed. Sometimes it will run fine for weeks, sometimes
only for minutes.
(Os: 4.1.1; frame buffer: bw2).
Has anyone seen this before, any ideas? (anything at all?)
thanks,
--jeff
---
Jeff Weisberg  |  weisberg@ee.rochester.edu   |    Real Cherries,
|  ur-valhalla!weisberg        |        Watch for pits!
From: pannon@bcsfse.ca.boeing.com (Joe Pannon)
Subject: Re: Motif vs. [Athena, etc.]
Organization: BOECOM Project - Boeing Computer Services, Seattle, Wa
Lines: 14
In article <C5K6ny.AzJ@kirk.bu.oz.au>, bambi@kirk.bu.oz.au (David J. Hughes) writes:
|> Ports of Motif to both 386BSD and Linux are available for a fee of about
|> $100.  This is cost recovery for the person who bought the rights to
|> redistribute.  The activity in both the BSD and Linux news groups
|> pertaining to Motif has been high.
???
I've heard about that Italian guy distributing Motif binaries for 386BSD,
but I haven't heard of anybody doing the same thing for Linux.  ... and
I do follow the Linux news group pretty closely.  So, have I missed something?  I'd LOVE to get hold of Motif libs for Linux for $100!
Regards,
Joe Pannon
From: dnh@mfltd.co.uk (Des Herriott)
Subject: XDM/xsession woes
Keywords: xdm, xterm
Lines: 22
Reply-To: dnh@mfltd.co.uk
Organization: Micro Focus Ltd.
X-Newsreader: mxrn 6.18-3
I've just managed to get xdm running from an NCR 3000 (an SVR4 486 box
running XFree86 1.2) to my NCD XDisplay.  It's pretty much working, but
I'm encountering a weird error.  I'm attempting to start an xterm from
my .xsession file, but nothing happens.  Redirecting stderr to a file
using 'exec 2>$HOME/.xerrors' in .xsession reveals the error message:
"xterm: Error 14, errno 1: Not owner"
Now, if I start xterm from the window manager, or from the command line,
it works fine.  And starting other clients, like the window manager (mwm),
and a clock, from my .xsession also works.
Anyone encountered this?  Suggestions?
aTdHvAaNnKcSe
--
Des Herriott,           /   As a wise man once said,
Micro Focus, Newbury.  /
+44 (0635) 565354     /  "It takes a lot of brains to be smart,
dnh@mfltd.co.uk      /    but it takes some neck to be a giraffe."
From: boote@eureka.scd.ucar.edu (Jeff W. Boote)
Subject: Re: Mwm title-drag crashes X server (SIGPIPE)
Organization: NCAR/UCAR
Lines: 24
In article <4378@creatures.cs.vt.edu>, ramakris@csgrad.cs.vt.edu (S.Ramakrishnan) writes:
>
>    Environment:
>       mach/arch : sparc/sun4  (IPX)
>       OS	: SunOS 4.1.3
>       X11	: X11R5 (patchlevel 22)
>       Motif	: 1.2.2
>
> I bring up X server using 'startx' and /usr/bin/X11/Xsun. The following sequence
> of actions crashes the X server (SIGPIPE, errno=32, 'xinit' reports that connexion
> to X server lost):
I had this problem as well - It had to do with the CG6 graphics card that
comes with the IPX.  What fixed the problem for me was to apply the "sunGX.uu"
that was part of Patch #7.  Patch #1 also used this file so perhaps you
didn't apply the one that came with Patch #7.
jeff
-
Jeff W. Boote  <boote@ncar.ucar.edu>      *********************************
Scientific Computing Division             * There is nothing good or bad  *
National Center for Atmospheric Research  * but thinking makes it so.     *
Boulder                                   *                   Hamlet      *
*********************************
From: ianhogg@milli.cs.umn.edu (Ian J. Hogg)
Subject: Re: How do I find my AppContext?
Keywords: Context, Xt, motif, application
Nntp-Posting-Host: milli.cs.umn.edu
Organization: University of Minnesota, Minneapolis, CSci dept.
Lines: 16
In article <1qvatv$9ic@pandora.sdsu.edu> masc0442@ucsnews.sdsu.edu (Todd Greene) writes:
>
>
>Is there an Xt call to give me my application context?
>I am fixing up an X/Motif program, and am trying to use XtAppAddTimeOut,
>whose first argument is the app_context.  What call can I use
>to give me this value?
>
You can get the ApplicationContext associated with a widget by calling
XtWidgetToApplicationContext.
--
===============================================================================
Ian Hogg						ianhogg@cs.umn.edu
(612) 424-6332
From: tommc@hpcvusj.cv.hp.com (Tom McFarland)
Subject: Re: Mysterious beeping
Nntp-Posting-Host: hpcvusj.cv.hp.com
Reply-To: tommc@cv.hp.com
Organization: Hewlett Packard UTD-Corvallis
Lines: 41
In article <C5qtKK.wp@cup.hp.com>, defaria@cup.hp.com (Andy DeFaria) writes:
|> [ Article crossposted from hp.windows ]
|> [ Author was Andy DeFaria ]
|> [ Posted on Mon, 19 Apr 1993 18:08:38 GMT ]
|>
|> For some reason the following code causes my X application to beep whenever I
|> intercept a keystroke and change it's meaning.  The intent of this code it to
|> allow "date" fields the following special keys:
|>
|> 	[Tt]:	Insert today's date
|> 	[+=]:	Bump day up by one
|> 	[-_]:	Bump day down by one
|>
|> I hardcoded some dates for this example.  Perhaps I shouldn't be using an
|> XmText field for this.
|>
|> //////////////////////////////////////////////////////////////////////////////
|> //
|> // For some reason the following code beeps whenever any of the special keys
|> // of [Tt+=-_] are hit.  Why?  The idea of this code is to interpret these
|> // keys having the special meaning implied by the code.  I would like to get
|> // rid of the beeping but, as far as I can tell, I'm not doing the beep and
|> // am at a lose as to understanding who and why the beeping is occuring.
|> //
|> //////////////////////////////////////////////////////////////////////////////
code deleted...
>From the XmTextField man page (during discussion of resources):
XmNverifyBell
Specifies whether a bell will sound when an action is reversed
during a verification callback.
You are setting doit to false in the callback, and Text[Field] is beeping
as it should.  To turn off this behavior, set this boolean resource to false.
Tom McFarland
<tommc@cv.hp.com>
From: dealy@narya.gsfc.nasa.gov (Brian Dealy - CSC)
Subject: How 2 Get Fontname from Fonstruct ???
Organization: NASA/Goddard Space Flight Center
Lines: 11
Distribution: world
NNTP-Posting-Host: narya.gsfc.nasa.gov
Originator: dealy@narya.gsfc.nasa.gov
Anyone know how an application can retrieve the name of the font from
an application given an XFontStruct *?
Would XGetFontProperty work if I passed XA_FONT_NAME?
anyone know details of this?  Thanks in advance.
Brian
--
Brian Dealy                |301-572-8267| It not knowing where it's at
dealy@kong.gsfc.nasa.gov   |            | that's important,it's knowing
!uunet!dftsrv!kong!dealy   |            | where it's not at...  B.Dylan
From: scotth@oniboshi.corp.sgi.com (Scott Henry)
Subject: Re: xlock
Organization: Silicon Graphics Inc, Mountain View, CA
Lines: 21
In-Reply-To: dale@wente.llnl.gov's message of 20 Apr 93 01:15:13 GMT
Nntp-Posting-Host: oniboshi.corp.sgi.com
>>>>> In article <1qvir1$idi@lll-winken.llnl.gov>, dale@wente.llnl.gov (Dale M. Slone) writes:
dale> I found an oddity with our SGI Indigo (MIPS R3000 chip).
dale> When xlock +nolock is running, and I am working remotely
dale> or in batch (at) mode, the runtime of my programs (as timed
dale> by using clock() in the code itself) is ~25% slower than if
dale> xlock is NOT running.  No other processes seem to affect my
dale> runtimes, yet this is very consistent!
Unless you run `xlock -mode blank`, xlock consumes CPU time generating
the nice animated display. The code you are running is competing with
xlock for the CPU. If you run top (via a remote login), you can really
see what is going on.
=-=-=
--
Scott Henry <scotth@sgi.com> / Help! My disclaimer is missing!
Networking Services,        / GIGO *really* means: Garbage in, Gospel Out
Silicon Graphics, Inc      /
From: jmg@dxcoms.cern.ch (J.M. Gerard)
Subject: Re: Xterm w. ansi color/mouse support
Organization: CERN European Lab for Particle Physics
Lines: 24
brown@ftms.UUCP (Vidiot) writes:
>In article <1993Apr4.183419.584@vms.huji.ac.il> klony@vms.huji.ac.il writes:
><I've had several requests to post any information I've gathered regarding my
><search for ansi mouse/color xterm source.
><
><My only response was from Larry W. Virden who writes:
><
><> the mit x11 r4 and r5 both provide mouse escape sequences now.  There
><> are several color xterm enhancements on export.lcs.mit.edu:/contrib .
><
><Indeed I found color_xterm.tar.Z in that directory along with lots of other
><FUN stuff for X. Thanks Larry.
>I also found it on uunet in /pub/window-sys/X/contrib, for those that can
>only do anonuucp (like me).  But I noticed that the thing is dated 9/12/90,
>making it over two years old.  Is this really the latest version?
Are we talking about an xterm which would accept the same escape sequences
as that for VT340 (or colour decterm/dxterm)? I thought that was called
colxterm (and my testing of it shows some oddities that might be bugs or
might be my program going wrong).
I'm also unsure of what is meant by "ansi mouse xterm"!
From: kavitsky@hsi.com (Jim Kavitsky)
Subject: comp.windows.x.intrinsics
Summary: Clipping of character's high order bit
Nntp-Posting-Host: hsi86.hsi.com
Organization: 3M Health Information Systems, Wallingford CT
Lines: 38
I am having a problem with the high order bit of a character being
clipped when entered in an xterm window under motif. I have reprogrammed
the F1 key to transmit a <ff> <be> character sequence by using the
following line in .Xdefaults:
~Ctrl ~Shift ~Alt <Key> F1 : string(0xff) string(0xbe) \n\
I merge in this line with xrdb -merge and then create the new xterm
which has the remapped F1 key. The problem that arises is that the
application which is recieving input at the time only sees a <7f> <3e>
sequence, which is <ff> <be> with the high order bit of each
character being filtered or ignored.
When I run xev and press the F1 key, I get the correct value showing
up in the following two key events:
KeyPress event, serial 14, synthetic NO, window 0x2800001,
root 0x28, subw 0x0, time 2067815294, (67,80), root:(74,104),
state 0x0, keycode 16 (keysym 0xffbe, F1), same_screen YES,
XLookupString gives 0 characters:  ""
KeyRelease event, serial 16, synthetic NO, window 0x2800001,
root 0x28, subw 0x0, time 2067815406, (67,80), root:(74,104),
state 0x0, keycode 16 (keysym 0xffbe, F1), same_screen YES,
XLookupString gives 0 characters:  ""
Notice that the keysym being transmitted is correct; 0xffbe.
But when I use the F1 key while in vi or in a program I wrote to
spit back the hex values of keyboard input, I only get <7f> <3e>.
Does anyone know why the high order bit is being filtered and what
I can do to make sure that the entire 8bits make it through to
the final application? Any help is greatly appreciated.
Please *email* any responses.
Jim Kavitsky
kavitsky@hsi.com
From: Rob Earhart <earhart+@CMU.EDU>
Subject: Re: Mix GL with X (Xlib,Xt,mwm)
Organization: Pittsburgh Supercomputing Center
Lines: 15
NNTP-Posting-Host: po3.andrew.cmu.edu
In-Reply-To: <9304191540.AA09727@sparc1.jade.com>
Yes, it's possible... in fact, there's some gl widget code in
/usr/lpp/GL somewhere... (it's named Glib.c; my IBM's down right now
though, so I can't find the exact location :)
WARNING: this code feels quite bogus. It does things like calling
noport() before winopen(), and then extracting an X window id from it
anyway. It worked just fine under aix 3.1; I spent last weekend trying
to port it to 3.2 (gl under 3.2 doesn't seem to like it), and it's
turning into a Hard Job.
Check out your "info" pages; it has some pretty good documentation on
whan you can and can't do when mixing gl and X, and how to go about
doing so.
)Rob
From: mufti@plsparc.UUCP (Saad Mufti)
Subject: FAQ for this group
Distribution: usa
Organization: Personal Library Software, Inc.
Lines: 11
Could some kind soul point me in the right direction for the
FAQ list for this group.
Thanks.
--------------------
Saad Mufti
Personal Library Software
e-mail : mufti@pls.com
From: klee@synoptics.com (Ken Lee)
Subject: Re: XAllocColor fails to return nearest match
Reply-To: klee@synoptics.com
Organization: SynOptics Communications, Santa Clara CA
Lines: 19
Nntp-Posting-Host: bugsbunny.synoptics.com
In article 54297@slate.mines.colorado.edu, agallagh@slate.mines.colorado.edu (GALLAGHER ANDREA J ) writes:
>[posted for a friend]
>
>Okay, I looked through the FAQs and didn't see this, but I know its
>come up before...
>
>XAllocColor is supposed to do the following in order:
>    Try to find an exact match read-only color cell. (within hardware limits)
>    Try to allocate a read-only colorcell and set it to match.
>	and when all else fails,
>    Return the colorcell with the best match from the read-only colors
>    already allocated in the colormap.
Where did you hear this?  If it is printed in a book somewhere,
throw away the book.  According to the MIT specs, only the first
2 are true.
---
Ken Lee, klee@synoptics.com
From: carl@teal.csn.org (Carl Podlogar)
Subject: need font family, weight and slant from instance of a widget
Summary: need font family, weight and slant from instance of a widget
Keywords: font
Nntp-Posting-Host: teal.csn.org
Organization: Colorado SuperNet, Inc.
Lines: 10
How can I get the font family, weight and slant from an
instance of a widget? Using initFontContext(), getNextFont()
and freeFontContext() I can get the size of the font (and a
bunch of other stuff concerning the font) but nowhere have
I found family, weight and slant. Assume that I do not have
access to the source where family, weight and slant were
orginaly used when creating a fontlist.
Thanks a bunch and have a great day,
Carl
carl@softsolut.com
From: klee@synoptics.com (Ken Lee)
Subject: Re: transparent widgets--how?
Reply-To: klee@synoptics.com
Organization: SynOptics Communications, Santa Clara CA
Lines: 17
Nntp-Posting-Host: bugsbunny.synoptics.com
In article AA16720@ntep2.ntep.tmg.nec.co.jp, cerna@ntep.tmg.nec.co.JP (Alexander Cerna (SV)) writes:
>I need to write an application which does annotation notes
>on existing documents.  The annotation could be done several
>times by different people.  The idea is something like having
>several acetate transparencies stacked on top of each other
>so that the user can see through all of them.  I've seen
>something like this being done by the oclock client.
>Could someone please tell me how to do it in Xt?
>Thank you very much.
The oclock widget was written using the SHAPE extension.
You can do the same in your widgets.  Few current widgets
support SHAPE, so you'll have to subclass them to add that
functionality.
---
Ken Lee, klee@synoptics.com
From: pyeatt@Texaco.com (Larry D. Pyeatt)
Subject: Re: Mix GL with X (Xlib,Xt,mwm)
Nntp-Posting-Host: 211.2.1.197
Organization: Texaco
Lines: 36
In article <9304191540.AA09727@sparc1.jade.com>, graham@sparc1.ottawa.jade.COM (Jay Graham) writes:
|>
|> I am developing an X (Xt,Xm) application that will include a graphics window
|> of some sort with moving symbols among other things.  A pure X application
|> could be implemented with Motif widgets, one of which would be an
|> XmDrawingArea for drawing with Xlib.  But I would like to take advantage of
|> the Graphics Library (GL) available on our IBM RS/6000 (SGI's GL i believe).
|>
|> Is it possible to mix X and GL in one application program?
|> Can I use GL subroutines in an XmDrawingArea or in an X window opened by me
|> with XOpenWindow?
There is a widget already defined for GL.  It is the GlxMDraw (motif) or
GlxDraw (athena) widget.  It is similar to a XmDrawingArea, except that it
allows you to use GL calls to render into the window.  Look at glxlink,
glxunlink, glxgetconfig, and glxwinset in the man pages.
|> I have never used GL before, but the doc on GL winopen() says that the first
|> time winopen() is called it opens a connection to the server.   Also, most of
|> the GL calls do not require a Display or GC, unlike most X calls.  From this
|> initial information it appears that X and GL cannot be mixed easily.   Is this
|> true?
The GlxMDraw widget works pretty well.  OpenGL will be an improvement.
|> Does PEX (graPHIGS?) have the same functionality of GL?
I think GL is a little easier to use and a little more powerful, but
that's just an opinion.  Mileage may vary.
--
Larry D. Pyeatt                 The views expressed here are not
Internet : pyeatt@texaco.com    those of my employer or of anyone
Voice    : (713) 975-4056       that I know of with the possible
exception of myself.
From: prunet@zephir.inria.fr (Vincent Prunet)
Subject: Re: Monthly Question about XCopyArea() and Expose Events
Organization: INRIA, Sophia-Antipolis (Fr)
Lines: 55
In article <BUZZ.93Apr19125438@lion.bear.com>, buzz@bear.com (Buzz Moschetti)
writes:
|> (2nd posting of the question that just doesn't seem to get answered)
|>
|> Suppose you have an idle app with a realized and mapped Window that
|> contains
|> Xlib graphics.  A button widget, when pressed, will cause a new item
|> to be drawn in the Window.  This action clearly should not call XCopyArea()
|> |> (or equiv) directly; instead, it should register the existence of the
|> new
|> item in a memory structure and let the same expose event handler that
|> handles
|> "regular" expose events (e.g. window manager-driven exposures) take care
|> of rendering the new image.  Using an expose event handler is a "proper"
|> way
|> to do this because at the time the handler is called, the Xlib Window is
|> guaranteed to be mapped.
|>
|> The problem, of course, is that no expose event is generated if the window
|> is already visible and mapped.  What we need to do is somehow "tickle" the
|> Window so that the expose handler is hit with arguments that will enable
|> it to render *just* the part of the window that contains the new item.
|>
|> What is the best way to tickle a window to produce this behavior?
To incrementally update the contents of windows, I use the following trick:
1. Set the window background to None,
2. Call XClearArea(display, window, 0, 0, 0, 0, True),
3. Restore the window background to its correct value.
The call to XClearArea does not repaint the window background, but still
generates exposure events for visible parts of the window.
In order to let my application know that these expose events must be handled
incrementally (something is already displayed on the screen and may need to
be erased), I encapsulate the 3 operations with 2 self addressed client
messages, which preserve asynchronicity between the client and the server.
XGrabServer(display)
client message (start-incremental)
background None
XClearArea
Restore background
client message (end-incremental)
XUngrabServer(display)
The GrabServer prevents other events to be inserted by the server in the
critical section.
---
Vincent Prunet, Sema Group Sophia Antipolis
INRIA       BP 93    06902 SOPHIA ANTIPOLIS Cedex  FRANCE
prunet@sophia.inria.fr, (33) 93 65 78 42, Fax:(33) 93 65 77 66
From: bentz@blustone.uucp (Ray Bentz)
Subject: SPARC IPC Sprite goes off screen
Organization: Bluestone Consulting Inc.
Lines: 21
Environment:
X11R4
Motif 1.1.4
Sun IPC 4.1.3
Problem:
When mouse is moved across screen horizontally, the sprite goes off
of the edge of the screen and reappears at the *other* edge.
It appears that the server thinks we are running in multi-screen
mode; the cursor seems to "wrap" from one side of the screen to
the other.
As far as we can tell, we are not running the server in multi-screen
mode.
Please reply via E-mail.
--
Ray Bentz                            Phone: (609)727-4600
Bluestone Consulting, Inc.             Fax: (609)778-8125
1200 Church Street                   uunet: uunet!blustone!bentz
Mount Laurel, NJ 08054            Internet: blustone!bentz@uunet.uu.net
From: whaley@sigma.kpc.com (Ken Whaley)
Subject: Re: XCopyPlane Question
In-Reply-To: nancie@neko.CSS.GOV's message of 19 Apr 1993 19:48:30 -0400
Organization: Kubota Pacific Computer Inc.
Lines: 52
|
| In article <BUZZ.93Apr19101538@lion.bear.com> buzz@bear.com (Buzz Moschetti) write
| >In article <WHALEY.93Apr15103931@sigma.kpc.com> whaley@sigma.kpc.com (Ken Whaley) writes:
| >>   Actually, I must also ask the FAQ's #1 most popular reason why graphics
| >>   don't show up: do you wait for an expose event before drawing your
| >>   rectangle?
| >
| >Suppose you have an idle app with a realized and mapped Window that contains
| >Xlib graphics.  A button widget, when pressed, will cause a new item
| >to be drawn in the Window.  This action clearly should not call XCopyArea()
| >(or equiv) directly; instead, it should register the existence of the new
| >item in a memory structure and let the expose event handler take care
| >of rendering the image because at that time it is guaranteed that the
| >Window is mapped.
| >
| >The problem, of course, is that no expose event is generated if the window
| >is visible and mapped.  Do you know the best way to "tickle" a window so
| >that the expose event handler will be invoked to draw this new item?
| >
|
| What does this have to do with my original question???  I previously
| stated that I did an XCopyArea of the depth-8 pixmap to the screen
| just to make sure that my image had data, and it did.  This is NOT
| a problem with expose events, it has to do with XCopyPlane not
| working!!!
|
| Does anyone have a code fragment they could send demonstrating that
| XCopyPlane works???  This would be very helpful!
|
| Thanks!
What it has to do with your original question is this: many times
beginning X users (heck, experienced X users too!) write small test
programs.  Many times they forget to draw only in response to expose
events, and thus see unpreditable results whereby sometimes the application's
graphics show up, and sometimes they don't.  We're just trying to
eliminate all the "easy" explanations  for why you're not seeing your
graphics.
That being said, why don't you try copying different planes to your
window other than 16 (== 1 << 4).  Try 1, 1<<1, 1<<2, ..., 1<<7
to see it you get any output.  Since you're dipslaying only a single
plane of your data, it's possible that all the pixel values in your
pixmap have the same value for that color plane.
Ken
--
Kenneth Whaley			 (408) 748-6347
Kubota Pacific Computer, Inc.	 Email: whaley@kpc.com
2630 Walsh Avenue
Santa Clara, CA.  95051
From: victor@hpfrcu03.FRance.hp.COM (Victor GATTEGNO FRENCH CRC)
Subject: Re: Running dxterm's onto Apollo from DEC 5000/240
Organization: The Internet
Lines: 61
To: alf@st.nepean.uws.edu.au
Cc: xpert@expo.lcs.mit.edu
> Apollo DN2500 (Domain/OS 10.3, X11R4, Motif ?.?).
I think you are running Xapollo , it's a X11R3 server ...
If you want a X11R4 server you should install PSKQ3 (10.3.5) or 10.4
so you can run Xdomain .
>
> I get these errors appearing on the DECstation:
>
> > dxterm
> X Toolkit Warning: Cannot convert string "<Key>apCharDel        " to type VirtualBinding
> ...
> Segmentation fault
>
> Any ideas? Is it a Motif problem...are the DEC and Apollo versions of Motif
> incompatible? Or something to do with XKeysymDB?
In XKeysymDB you could add :
!		Apollo specific keysyms
!
apLineDel            : 1000FF00
apCharDel            : 1000FF01
apCopy               : 1000FF02
apCut                : 1000FF03
apPaste              : 1000FF04
apMove               : 1000FF05
apGrow               : 1000FF06
apCmd                : 1000FF07
apShell              : 1000FF08
apLeftBar            : 1000FF09
apRightBar           : 1000FF0A
apLeftBox            : 1000FF0B
apRightBox           : 1000FF0C
apUpBox              : 1000FF0D
apDownBox            : 1000FF0E
apPop                : 1000FF0F
apRead               : 1000FF10
apEdit               : 1000FF11
apSave               : 1000FF12
apExit               : 1000FF13
apRepeat             : 1000FF14
apKP_parenleft       : 1000FFA8
apKP_parenright      : 1000FFA9
--
Victor .
\     /
^ ^
______victor@hpfrcu03.france.hp.com_______oOOo_o_oOOo_________________
Victor GATTEGNO
"Be Yourself and not what people expect you to be ."
______________________________________________________________________
((
))
From: arana@labein.ES (Jose Luis Arana)
Subject: X Graphics Accelerators
Organization: The Internet
Lines: 7
To: xpert@expo.lcs.mit.edu
How can I obtain public information (documentation and sources)
about Xservers implemented with graphics processors?
I am specially interested in Xservers developed for the TMS34020
Texas Instruments graphic processor.
Please send answer to arana@labein.es
From: D.Haywood@sheffield-hallam.ac.UK (Dave Haywood)
Subject: tvtwm & xsetroot, X11R5 and Sparc 10 keyboard
Organization: Sheffield Hallam University
Lines: 66
Reply-To: D.Haywood@sheffield-hallam.ac.uk
To: xpert@expo.lcs.mit.edu
Hi,
Please reply to me direct as I am not a member of this list.
I am new to X, so please excuse my lax (read: "probably incorrect")
terminology!
Environment: Sun Sparc 10, SunOs 4.1.3.  X11R5 path level 23.  My X process
is started by xdm.
i) I want to setup the backgroud (root window?) of the tvtwm display to
display the escherknot etc (grey is a very boring colour to work on)!
The setup is as follows:
lib/X11/xdm/Xsetup_0    -   xsetroot -bitmap ... etc
~user/.xsession         -   xsetroot .... etc
tvtwm
There are also .tvtwmrc and .Xdefaults files in the (~user) home
directory.
The xsetroot in Xsetup_0 displays the appropriate bitmap in the xdm
login window as expected - very nice!
Unfortunately, when the users session is started, the background of the
tvtwm window reverts to grey.  If I manually type xsetroot... in an
xterm window when the session has started, the background is changed as
expected.
The question is: How do I retain the background from the login window
and/or specify a new background on a per-user basis as part of the
the users session startup?
ii) When I open an Xterm on the Sparc 10, not all of the keys are recognised
and some keys on the keyboard are not sending the correct characters.
ie: real key       key shown on screen
------------   -------------------
hash           back slash
tilde          pipe
double quote   at symbol
pound          hash
cursor key     not recognised
This is very annoying!  Is X at fault here or the machine setup?  I have
installed the xterm drivers that came with X11R5 in both terminfo and
termcap as they seemed more uptodate.
Typing set in an xterm window shows a terminal type of xterm - as
expected!
Any help on how to correct either of these problems much appreciated!
Thanks,
Dave.
--------------------------------------------------------------------------
JANET   : D.Haywood@uk.ac.sheffield-hallam      | Dave Haywood.
or      D.Haywood@uk.ac.shu                   | Computer Services,
INTERNET: D.Haywood@shu.ac.uk                   | Sheffield Hallam University
Telex   : 54680 SHPOLY G                        | Pond Street,
Tel     : +44 742-533-828                       | Sheffield. S1 1WB. ENGLAND.
FAX     : +44 742-533-840                       |
X.400:/I=D/S=Haywood/O=Sheffield-Hallam/PRMD=UK.AC/ADMD= /C=GB
X.500:@c=GB@o=Sheffield Hallam University@ou=Computer Services@cn=Dave Haywood
From: barr@pop.psu.edu (David Barr)
Subject: Re: tvtwm & xsetroot, X11R5 and Sparc 10 keyboard
Organization: Penn State Population Research Institute
Lines: 32
NNTP-Posting-Host: darwin.pop.psu.edu
In article <MAILQUEUE-101.930420145015.384@oak.shu.ac.uk> D.Haywood@sheffield-hallam.ac.uk writes:
>Hi,
>  Environment: Sun Sparc 10, SunOs 4.1.3.  X11R5 path level 23.  My X process
>is started by xdm.
Okay, that's good.  I'm typing this from exactly the same setup.
(US-UNIX layout keyboard)  I did install the sunkbd patch, though.
>  i) I want to setup the backgroud (root window?) of the tvtwm display to
>     display the escherknot etc (grey is a very boring colour to work on)!
Make sure you're using "ssetroot", which comes with tvtwm.  When tvtwm
starts up, it nukes the existing root window.  Use an "ssetroot" after
tvtwm starts up.   (You could spawn off a "(sleep 10; ssetroot ...)&")
You can also use "VirtualDesktopBackgroundPixmap filename" or just
VirtualDesktopBackground if you just want another color besides grey.
> ii) When I open an Xterm on the Sparc 10, not all of the keys are recognised
>     and some keys on the keyboard are not sending the correct characters.
Did you install the sunkbd patch?  It's in the contrib directory on export.
All the keys on my keyboard send events properly, except the following:
The End, PageUp, PageDown on the 6-key cluster aren't recognized.
Even the compose key works.  (Though I can't seem to get the composed
characters in an xterm to get passed.)
Anyone have a fix for the last two?
--Dave
--
System Administrator, Penn State Population Research Institute
* Dog Dianetics ("Woof woof woof?  Page 725.") - Kibo
From: paul@def.bae.co.uk (Paul Byrne)
Subject: imake - help needed
Reply-To: paul@def.bae.co.uk
Organization: British Aerospace (Defence) Ltd.
Lines: 19
Hi
Can someone please give me some pointers to setting up imake in a SUN OPENWINDOWS
enviornment ? I've checked through all the documentation but can not find any clues.
Please respons via e-mail.....
Thanks
Paul
---------------------------------------------------------------------
Paul Byrne				British Aerospace Defence Ltd
Dynamics Division
email Paul.Byrne@def.bae.co.uk		FPC 450
P.O.Box 5, Filton
Phone 0272 316086			Bristol, BS12 7QW
From: leec@cb-iris.Stanford.EDU (Christopher Lee)
Subject: HELP! Setting Colormaps on multi-top-level APP
Keywords: GLX mixed-model,colormap
Organization: DSG, Stanford University, CA 94305, USA
Lines: 71
Dear SGI and netter GL-X Mixed-Model experts,
I am writing a mixed model application that creates a couple different
color maps for different windows, and I've been having trouble getting
the window manager to reliably honor my requests.  In some environments
(entry level R3000 Indigo w/ 4.0.5) all windows are getting properly
connected to their designated color maps, but on others (an IRIS 4D 240/GTX;
also a different entry level Indigo) the color mapping is unreliable
and changes behavior when I compile at different times.  The most common
problem is that all non-top-level windows fail to be displayed according
to their colormap.  My application starts out by creating three top-level
windows; in some cases all but the first of these also fail to be
displayed by their colormap.  This is spectacularly aggravating.
I would dearly appreciate
1. an explanation of the standard, RIGHT, CORRECT way to give a window
a colormap such that the Window Manager will Honor and Obey it;
2. any advice about problems that could cause my failure to get my
desired colormaps.
By now I have exhausted my own attempts on this, having tried everything
reasonable or imaginable.
Below is example code giving the schematic for how I have been *TRYING*
to do this.  Please, please, please SOMEBODY tell me what I am doing
wrong/how to do it right!!!
Yours,
Chris Lee
/***********************************************************************/
Display* dpy;  /* DECLARE SOME DATA... */
Colormap popup_cmap;
XColor mycolor;
Window win;
XSetWindowAttributes cwa;
int nwlist;
Window *wlist;
/* NB: FOR BREVITY, NOT SHOWING ALL CODE LINES--JUST A SCHEMATIC */
popup_cmap=XCreateColormap(dpy,DefaultRootWindow(dpy),vis->visual,AllocAll);
/* HERE WE STORE A BUNCH OF COLORS USING
XStoreColor(dpy,popup_cmap,&mycolor); ... */
cwa.colormap = popup_cmap;
win = XCreateWindow(dpy, parent, x, y, w, h,
borderWidth, vis->depth, InputOutput, vis->visual,
CWColormap|CWBorderPixel, &cwa);
/* LIST ALL SUB WINDOWS OF my_topwin, PARENT OF win, INTO wlist;
nwlist IS COUNTER OF ENTRIES IN wlist.
NB: wlist is static storage that can be relied on not to go away
or be corrupted.  I thought of that!  Does anyone know if
setting WM properties is by data copy, or by reference pointer?
ie. is it acceptable to pass data for a Property, then free
the data?   */
XSetWMColormapWindows(dpy,my_topwin,wlist,nwlist);
XMapRaised(Display0,win);
/* LATER ON WE HANDLE XEvents NORMALLY... TYPICAL EVENTLOOP */
From: ksc@cbnewsk.cb.att.com (kenneth.s.cobler)
Subject: XFree86 and Esix 4.0.4
Organization: AT&T
Distribution: na
Keywords: esix
Lines: 39
Hello Netlanders:
I am a novice X user with a question for any Xgod.
My computer configuration with the X problem is as follows:
486DX50/256/16RAM  running Esix 4.0.4
Wangtek AT-style interface 250 M tape drive.
I have loaded the Basic OS (which includes nsu) and
inet utilities (tcp/ip).
I ftp-ed the XFree86 (X11R5) binaries and installed properly.
I can execute startx and run X-windows with no problems.
However, if I try to access the tape drive while in X, the
machine locks up instantly.  If I am out of X and access the
tape, the tape drive works fine.  Soon as I try to
startx again; the screen changes modes, but, the grey background
pattern does not come up and no xterm is forked.  I have to login
from another terminal and execute a shutdown to reset the system.
I've contacted Esix about this problem.  They claim THEIR X-window X11R4
server (which I have) works with the Wangtek tape drive.  They also
claim I only need the nsu (network system utilities) to run X; I don't
need inet (tcp/ip).  My experience has been that I need BOTH to get
XFree86 to work.  I'm not too concerned about having to load both nsu and inet
packages to get X to work unless the inet package is causing my problem.
I would like to get both X and my tape drive to co-exist on the same
system.  If you can shed any light on the problem, it would be appreciated.
One colleague implied this might be a hardware conflict.  If this is true,
what direction should I look to resolve the conflict ?
Thanks,
Kenneth Cobler                ksc@ihlpv.att.com
AT&T Bell Laboratories
263 Shuman Blvd.
Naperville, IL  60566
From: hgn@pmw1.nuclint.NL (Hans Geurtsen)
Subject: Cursors
Organization: The Internet
Lines: 19
To: motif@alfalfa.com, xpert@expo.lcs.mit.edu
According to the OSF/Motif Style Guide, one should use cursor shapes to give
the user a visual clue of what is happening or what is expected of him. So
a "hourglass" cursor should be shown when the application is busy, or a
"caution" cursor should be shown over an area when input is expected in
another. Defining cursors for widgets has to be done at rather low level.
So defining a cursor for all widgets in an application but not for a certain
subpart of it, is a rather complicated matter. When cursors have been defined
for some windows, e.g. a "crosswire" cursor for a DrawingArea, things get even
more complicated. My intuition says that things should be easier, but is this
so? If anyone has a solid and complete solution to my problem, please let me
know. The topics on "busy cursors" in the several FAQ's are not helpful, since
they only work for applications where all windows have the cursor window
attribute set to 'None'.
-----------------------------------------------------------------
Hans Geurtsen                       Phone: (31) (0) 8385 - 33157
Nucletron Research BV.             e-mail: hgn@nuclint.nl
Surface: Waardgelder 1
NL-3905 TH  Veenendaal
From: jra@wti.com (Jim Atkinson)
Subject: How can I detect local vs remote DISPLAY settings?
Reply-To: jra@wti.com
Organization: Wavefront Technologies Inc, Santa Barbara, CA
Lines: 17
Nntp-Posting-Host: barracuda.wti.com
X-Disclaimer: Not a spokesperson for Wavefront Technologies, Inc.
I am trying to find out if my application is running on a local or a
remote display.  A local display being connected to the same system
that the client is executing on.  I have access to the display string
but can I tell from the string?
If the client is executing on host foo then ":0", "unix:0", "foo:0",
and "localhost:0" are all local.  Under Ultrix, I believe that
"local:0" is also a valid display name (a shared memory connection
maybe?).  Are there other strings that I should check for?  Is there a
better way to detect this?
Thank you for any help you can give me.
--
========================================================================
Jim Atkinson		Wavefront Technologies, Inc.
jra@wti.com		What, me?  A company spokesperson?  Get real!
=================== Life is not a spectator sport! =====================
From: gerard@netlabs.com (Gerard Horan)
Subject: Running X on a PC at home talking to a host over Serial Line
Originator: gerard@vaccine.netlabs.com
Nntp-Posting-Host: vaccine.netlabs.com
Organization: NetLabs, Inc.
Lines: 41
Some time back I asked for software recommendations to  allow me to
run X from my PC at home to my Sparc at the office.
Many thanks for all replies, the majority of people  recommended
PCXremote from NCD. I received it yesterday  and installed it on
my Sparc and PC with only one hitch.
The UNIX install consists of copying 2 files into some local bin directory.
On the PC side, I ordered the WINDOWS version  which  came with a slick windows
installation.
The only problem I had was that  my .xinitrc  in my home directory
had the line
DISPLAY=`hostname`:0.0; export DISPLAY
s.t the clients I kicked off connected to my Xserver on the Sparc console.
By removing this line from the .xinitrc everything worked as planned
and the clients connected to the server at
`hostname`:1.0
Some comments on performance, I was connected to a Sparc 2 thru
a NetBlazer Terminal Server over a 9600 baud line.
My PC is a 486-DX2 ATI Ultra, 16 MB
Bitmap Stuff Sucked.
Basic Editing and compilation stuff definitely usable.
Xmail was very usable.
At times the first time U typed in an Xclient window there was
a very noticable delay, I put this down to brain damaged "WINDOWS
should not be called a SCHEDULER", besides that this will become
my remote work environment for a while.
Has anybody tried the NON Windows version of the product, the sales
person said they performed about the same, given the over head of
WINDOWS I question this?
many thanks for help to all who responded
gerard
From: matthew@alchemy.TN.Cornell.EDU (Matthew Kleinmann)
Subject: Is a 2 headed Sun 3/60 possible (cgfour0/bwtwo0)
Organization: Alchemy International
Lines: 12
Distribution: world
NNTP-Posting-Host: alchemy.tn.cornell.edu
I have a Sun 3/60 that has a mono framebuffer (bwtwo0 ?) built on the
motherboard.  The same system also has a cgfour (cgfour0 and bwtwo1 ?)
daughterboard.  I have been using this system with a color monitor having a
color "front" screen from the cgfour, and a mono "back" screen from the
bwtwo1, both on the same tube.  I recentley picked up a 1600 x 1280 Sun mono
monitor, and I would like to make a two headed system with the cgfour0 and the
bwtwo0.  I do not care if I loose the "back" screen on the color tube from the
bwtwo1.  After looking through the Xsun man page I am not sure if this is
possible.  Has anybody sucessfuly done this before?
--Matthew
From: devil@loki.HellNet.org (Gil Tene)
Subject: COSE GUI - Just what is it they agreed on?
Lines: 31
Nntp-Posting-Host: loki
The COSE announcement specifies that Motif will become the common
GUI. But what does this mean exactly?
- Do they mean that all "COSE-complient" apps will have the Motif
look and feel?
- Do they mean that all "COSE-complient" apps will use the Motif
toolkit API?
- Do they mean both of the above?
- Is it possible that there will be a Motif-API complient toolkit with
an OpenLook Look & Feel?
- How about an OLIT/XView/OI/Interviews API toolkit with a Motif L & F?
(I know OI already does this, but will this be considered COSE-complient?)
- Will there be more than one "standard" toolkit API or L & F supported?
- How does using ToolTalk fit in with Motif?
This is my attempt to start a discussion in order to pull as much
knowledge about these questions off the net... Feel free to e-mail
or followup.
--
--------------------------------------------------------------------
-- Gil Tene			"Some days it just doesn't pay     -
-- devil@imp.HellNet.org	   to go to sleep in the morning." -
-- devil@diablery.10A.com 					   -
--------------------------------------------------------------------
From: jhcox@kodak.com (James Cox)
Subject: Xterm Problem With Input Focus / "Shuffle Up"
Keywords: Xterm, Tektronics, Input Focus, Shuffle up
Organization: Eastman Kodak Company, Rochester NY
Lines: 41
Nntp-Posting-Host: b56vxg
News-Software: VAX/VMS VNEWS 1.41
The situation: running a Fortran executable that creats an Xterm.  An option
in the menu contained in the Xterm runs a Fortran subroutine that creats
a Tektronics-mode Xterm for displaying some graphics.  Typing a <RET> while
the Tektronics-mode Xterm (future reference to this will be "Tek-term") is
active makes the Xterm read future keystrokes but does not shift input focus
to the Xterm (I'm basing that statement on the fact that the border of the
Tek-term stays the highlighted color and that the Tek-term stays on top of
Xterm.  If what I'm describing isn't input focus, let me know.)
The xterm can be brought to the top by clicking the mouse button on it.
Subsequent selections from the Xterm of the menu item that displays graphics
highlihts the border and displays the updated graphics, but does not move
the Tek-term to the top.  If the Tek-term has been iconized to conserve
screen space, it stays an icon.
The desired behavior: one of two options -
1. Whichever of the windows that is active is always on top of the
inactive one.
2. Whenever the Tek-term is inactivated, it should revert to a icon
but when it is activated it should become a window on a higher
level than the Xterm.
What I think I need: a means of specifying that a Xterm or Tek-term will
be at the highest level and a way to iconify/expand a Xterm and Tek-term.
These commands, would, I'd guess, need to be in the Fortran or in the
command that starts up the Xterm and Tek-term.
Other information: All this is taking place on a VT-1300 (a DEC dumb
X-windows terminal) connected to a VAX running VMS and Motif.
Thanks for your time.  If you've got any words of wisdom (other than
"give up" ;-), please send email to
jhcox@Kodak.com
From: larry@gator.rn.com (Larry Snyder)
Subject: Dell 2.2 EISA Video Cards
Organization: GatorNet, Lake Mary, Florida
Lines: 4
Does XFree86 support any EISA video cards under Dell 2.2?
--
Larry Snyder
larry@gator.rn.com
From: suresh@iss.nus.sg (Suresh Thennarangam - Research Scholar)
Subject: X Device Driver for Bird
Nntp-Posting-Host: titan.iss.nus.sg
Organization: Institute Of Systems Science, NUS
X-Newsreader: Tin 1.1 PL4
Lines: 19
Has anyone written a device driver to use the Ascension bird with XWindows ?
__
(_   / /  o_   o  o |_
__)/(_( __) (_(_ /_)| )_
***************************************************************************
* Suresh Thennarangam               *  EMail: suresh@iss.nus.sg(Internet) *
* Research Scholar                  *         ISSST@NUSVM.BITNET          *
* Institute Of Systems Science      *  Tel:  (065) 772 2588.              *
* National University Of Singapore  *  Facs.: (065) 778 2571              *
* Heng Mui Keng Terrace             *  Telex: ISSNUS RS 39988             *
* Singapore 0511.                   *                                     *
***************************************************************************
From: suresh@iss.nus.sg (Suresh Thennarangam - Research Scholar)
Subject: Re: Mix GL with X (Xlib,Xt,mwm)
Nntp-Posting-Host: titan.iss.nus.sg
Organization: Institute Of Systems Science, NUS
X-Newsreader: Tin 1.1 PL4
Lines: 47
pyeatt@Texaco.com (Larry D. Pyeatt) writes:
: In article <9304191540.AA09727@sparc1.jade.com>, graham@sparc1.ottawa.jade.COM (Jay Graham) writes:
: |>
: |> XmDrawingArea for drawing with Xlib.  But I would like to take advantage of
: |> the Graphics Library (GL) available on our IBM RS/6000 (SGI's GL i believe).
: |> Is it possible to mix X and GL in one application program?
: |> Can I use GL subroutines in an XmDrawingArea or in an X window opened by me
: |> with XOpenWindow?
You can't make GL calls in an XmDrawingArea widget for sure.
:
: There is a widget already defined for GL.  It is the GlxMDraw (motif) or
: GlxDraw (athena) widget.  It is similar to a XmDrawingArea, except that it
: allows you to use GL calls to render into the window.  Look at glxlink,
: glxunlink, glxgetconfig, and glxwinset in the man pages.
:
:
: The GlxMDraw widget works pretty well.  OpenGL will be an improvement.
I can vouch for that. The GL Widget works pretty well. I have been using it
for sometime now. I'm not sure though whether you can use Xlib calls to draw
into the GL widget. I haven't tried it yet nor have I read the accompanying
documentation completely. Try posting to comp.sys.sgi for more information.
Better still,you will find most of the answers in the  SGI manuals .. there
is a little transition guide which explains the "mixed-model programming"
paradigm(Mixing X and GL).
: |> Does PEX (graPHIGS?) have the same functionality of GL?
:
: I think GL is a little easier to use and a little more powerful, but
: that's just an opinion.  Mileage may vary.
Well, PEX is designed as an extension to  X and will be more seamless  but
then, it is buggy to start with .. opinions again.
__
(_   / /  o_   o  o |_
__)/(_( __) (_(_ /_)| )_
***************************************************************************
* Suresh Thennarangam               *  EMail: suresh@iss.nus.sg(Internet) *
* Research Scholar                  *         ISSST@NUSVM.BITNET          *
* Institute Of Systems Science      *  Tel:  (065) 772 2588.              *
* National University Of Singapore  *  Facs.: (065) 778 2571              *
* Heng Mui Keng Terrace             *  Telex: ISSNUS RS 39988             *
* Singapore 0511.                   *                                     *
***************************************************************************
From: rgooch@rp.CSIRO.AU (Richard Gooch)
Subject: Re: Animation with XPutImage()?
Organization: CSIRO Division of Radiophysics/Australia Telescope National Facility
Lines: 41
In article <1993Apr21.165310.14544@dsd.es.com>, pmartz@dsd.es.com (Paul Martz) writes:
> In article <1993Apr21.154620.16330@infodev.cam.ac.uk>, dcr@mail.ast.cam.ac.uk (Derek C. Richardson) writes:
> > Hi, I'm new to this group so please bear with me!
> >
> > Two years ago I wrote a Sunview application for fast animation
> > of raster files. With Sunview becoming rapidly obselete, I've
> > finally decided to rewrite everything from scratch in XView.
> > I put together a quick test, and I've found that XPutImage()
> > is considerably slower (factor of 2 on average?) than the
> > Sunview command pw_rop() which moves image data from memory
> > pixrects to a canvas. This was on a Sparc IPX. It seems that:
> > (1) the X protocol communication is slowing things down; or
> > (2) XPutImage is inefficient...or both!
>
> Using XPutImage, your source is maintained by the client and the
> destination is maintained by the server, thus you incur the overhead
> of transporting through whatever client-server communications
> mechanism you are using.
>
> Is it possible for you to maintain your source images in pixmaps?
> These are maintained by the server, so copying them into a window is
> much cheaper.
>
> Also make sure you are not sending any unnecessary XSyncs, or running
> in XSynchonize mode.
If you need speed, and your client can run on the same host as the X server,
you should use the shared memory extension to the sample X server (MIT-SHM).
xdpyinfo  will tell you if your server has this extension. This is certainly
available with the sample MIT X server running under SunOS.
A word of warning: make sure your kernel is configured to support shared
memory. And another word of warning: OpenWindows is slower than the MIT
server.
I have written an imaging tool (using XView for the GUI, by the way) which
yields over 10 frames per second for 512*512*8 bit images, running on a Sparc
IPC (half the cpu grunt of an IPX). This has proved quite sufficient for
animations.
Regards,
Richard Gooch....
From: victor@hpfrcu03.FRance.hp.COM (Victor GATTEGNO FRENCH CRC)
Subject: Re: High order bit of a character in xterm .
Organization: The Internet
Lines: 33
To: kavitsky@hsi.com
Cc: xpert@expo.lcs.mit.edu
>
> Does anyone know why the high order bit is being filtered and what
> I can do to make sure that the entire 8bits make it through to
> the final application? Any help is greatly appreciated.
>
1. You need these resources :
XTerm*EightBitInput:    true
XTerm*EightBitOutput:    true
2. In the shell you need to do :
stty cs8 -istrip
Good luck .
Victor .
|
*
X
X
X
X
______________________________________________________________X________
X
Victor Gattegno     Email: victor@hpfrcu03.france.hp.com   XXX
Hewlett-Packard France   Hpdesk: HP8101/RC                X X X
1, Avenue du Canada      Phone : 33-1-69-82-60-60        X  X  X
91947 - Les Ulis Cedex   Telnet: 770-1141               X   X   X
From: thor@surt.atd.ucar.edu (Richard E. Neitzel)
Subject: XQueryBestCursor semi-broken?
Organization: National Center for Atmospheric Research
Lines: 18
Some one asked me recently why they when they used XQueryBestCursor to see
if they could create of a given size it seemed to imply they could, but the
server did not create cursors of that size. Investigation showed that some X
servers will happily return any size up to the size of the root window, while
others return some fixed limit of more reasonable size. The interesting thing
to me is that the same server binary acts differently on different hardware -
a Sun4 with a cg2 will claim cursors up to root window size are OK, while a
Sun4 with a cg6 will stop at 32x32. So far I've also seen this behavior on
NCD and Phase-X X terminals and have been told it also occurs on HPs.
Actually, the NCD is even more liberal - sizes much larger then the root
winodw are gladly returned as OK. Is XQueryBestCursor semi-broken or is this
behavior correct? I'd really like to see a 2000x2000 cursor!
--
Richard Neitzel thor@thor.atd.ucar.edu          Torren med sitt skjegg
National Center For Atmospheric Research        lokkar borni under sole-vegg
Box 3000 Boulder, CO 80307-3000	                Gjo'i med sitt shinn
303-497-2057                                    jagar borni inn.
From: mahan@TGV.COM (Patrick L. Mahan)
Subject: RE: XDM & DECnet ?
Organization: The Internet
Lines: 31
To: xpert@expo.lcs.mit.edu, btaylor@mcl.bdm.com
#
#Does XDM work with DECnet? I have an Ultrix machine running both TCP/IP
#and DECnet. I have a number of X-terminals hanging off the Ultrix host also
#running TCP/IP and DECnet. Presently I am using XDM for the login procedure
#on the X-terminals using TCP/IP. Since XDM is basically just an X-windows
#client, shouldn't I be able to run XDM on the DECnet protocol tower as well?
#
XDM is not just an X Window client.  XDM has its own protocol (XDMCP) that
operates of UCP on port 177.  It does provide a Login window which is an
X Window Client.  As to using DECnet protocol.  Looking through the source
for XDM from X11R5 that I have here, it seems that the bare bones code is
there but not completely there.
#
#My first inclination is that XDM is not your typical X client. It is making
#TCP/IP specific socket calls. In this case the answer would be no; you can
#not run XDM over DECnet. Is this right or not? Any feedback is appreciated.
#Thanks.
#
From my look at the source, it seems you cannot run it over DECnet as shipped
with X11R5.
Patrick L. Mahan
--- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------
Waking a person unnecessarily should not be considered  - Lazarus Long
a capital crime.  For a first offense, that is            From the Notebooks of
Lazarus Long
From: VANDAMME@NMR.RUG.AC.BE
Subject: XmScale & XtAddEventHandler
Organization: The Internet
Lines: 29
To: xpert@expo.lcs.mit.edu
Dear Xperts,
I'm developing an application that uses a Motif slider to select
an image file out of a directory. Now I would like to display the
name of the file corresponding to the value of the dragged scale
button (i.e. with the MB1 pressed). As XmNshowValue only displays
the current value of the scale button and not the actual corresponding
image file name, I thought of using an XtAddEventHandler to do
the mapping between the scale value and the file name:
XtAddEventHandler(scaleImage,Button1MotionMask,  FALSE, SliderMoved, NULL);
and in the eventhandler do a:
while (XCheckTypedWindowEvent (display, event->window, MotionNotify, &Return))
;
XmScaleGetValue(scaleImage,&value);
/*map value to file entry in directory and finally obtain file name to open*/
However, when I move the pointer in the scale widget I get callbacks, with of co
urse
a null effect as my MB1 is not pressed to move the scale button. So what is goin
g wrong?
Or is the a wrong approach to this problem?
Any hints are highly appreciated.
---
Phil
From: pjaques@camborne-school-of-mines.ac.UK (Paul Jaques)
Subject: Problem with dni and openwin 3.0
Organization: The Internet
Lines: 23
To: xpert@expo.lcs.mit.edu
Can anyone help me?
I am having a problem displaying images greater than 32768 bytes from a
Decwindows program running on a Vax 6310, and displaying on a Sparc IPC
running Openwindows 3.0 and dni. The program works fine with Openwindows 2.0.
The code segment which fails is given below, the program simply crashes
out with an Xlib I/O error at the XPutImage() call.
XImage          *ximage;
ximage = XCreateImage(myDisplay, DefaultVisual(myDisplay, myScreen),
ddepth, ZPixmap, 0, image,
xwid, ywid, 8, 0);
XPutImage(myDisplay, myWindow, myGC,
ximage, 0, 0, xpos, ypos, xwid, ywid);
-----------------------------------------------------------------------------
| Paul Jaques                                                               |
| Systems Engineer, Camborne School of Mines,                               |
|                   Rosemanowes, Herniss, Penryn, Cornwall.                 |
| E-Mail: pjaques@csm.ac.uk Tel: Stithians (0209) 860141 Fax: (0209) 861013 |
-----------------------------------------------------------------------------
From: mbell@techbook.techbook.com (Max Bell)
Subject: WANTED: Info on Dedicated X Server Kernel for Sun3/100 Series
Organization: TECHbooks Public Access
Lines: 9
Distribution: na
NNTP-Posting-Host: techbook.techbook.com
Summary: If you know where to find it, please send email.
Keywords: sun kernel x server
If anyone has any information about the existence or location of a
dedicated X server kernel for the Sun3, please send email.  I am
trying to put some neglected Sun3s to good use but they don't have
enough memory for SunOS 4.1.1.  Thanks in advance for any help.
--
/\  /\/  Max Bell                    | I used to think I'd emmigrate to escape
/  \/ /\  mbell@techbook.com          | the tyrants, but now I think I'll stay
~~~~~~~~~ mbell@cie.uoregon.edu	      | and make them leave instead.
From: pfuetz@igd.fhg.de (Matthias Pfuetzner)
Subject: Re: Available memory to the Xserver. How to get the actual size?
Reply-To: pfuetz@igd.fhg.de (Matthias Pfuetzner)
Organization: Zentrum fuer Graphische Datenverarbeitung, Darmstadt, FRG
Lines: 78
Hello!
In article <1993Apr17.144246.29806@thunder.mcrcim.mcgill.edu>,
mouse@mcrcim.mcgill.edu (der Mouse) writes:
>In article <1965@igd.fhg.de>, pfuetz@igd.fhg.de (Matthias Pfuetzner) writes:
>
>> Is there a possibility to determine via X protocol calls the size of
>> free memory available to the Xserver?
>
>No.  Even if you could, the answer could be out of date even before you
>get it (even if you grab the server, it could be taken up by buffering
>user actions).  You should just try to do whatever you want; a BadAlloc
>error is your indication that insufficient server memory is available.
>
>					der Mouse
This isn't of much help! Especially when doing Phigs (PEX) via the libphigs as
supplied by MIT, I have much trouble together with PEX-terminals that don't
have enough memory!
Performing the following:
visual.visualid = CopyFromParent;
bg_pix = WhitePixel( grafik_display, DefaultScreen( grafik_display ) );
xswa.backing_store      = NotUseful;
xswa.event_mask         = ExposureMask | StructureNotifyMask;
xswa.background_pixel   = bg_pix;
graphic_window =
XCreateWindow( graphic_display,
RootWindow( graphic_display,
DefaultScreen( graphic_display ) ),
0,
0,
DisplayWidth(graphic_display,
DefaultScreen( graphic_display ) ),
DisplayHeight(graphic_display,
DefaultScreen( graphic_display ) ),
(unsigned int)0,
8,
InputOutput,
&visual,
CWEventMask | CWBackingStore | CWBackPixel,
&xswa );
XMapWindow( graphic_display, graphic_window );
/** sync and wait for exposure event **/
XSync( graphic_display, False );
XWindowEvent( graphic_display, graphic_window, ExposureMask, &exposureEvent );
conn.display     = graphic_display;
conn.drawable_id = graphic_window;
xinfo.display = graphic_display;
xinfo.flags.no_monitor = 0;      /* False -> Monitor is running! */
xinfo.flags.force_client_SS = 0; /* False! */
popen_xphigs( NULL, 0, PXPHIGS_INFO_FLAGS_NO_MON |
PXPHIGS_INFO_FLAGS_CLIENT_SS |
PXPHIGS_INFO_DISPLAY, &xinfo );
popen_ws( 1, (Pconnid)(&conn), phigs_ws_type_x_drawable );
I get core dumps in the popen_ws call! (No BadAlloc, etc.! Simply a core
dump!) So I need some way of getting info about the maximal available memory
to the Xserver!
But thanks!
Sincerly,
Matthias
--
Matthias Pfuetzner  |  @work:  +49 6151 155-150  | @home: +49 6151 75717
6100 Darmstadt, FRG | ZGDV, Wilhelminenstrasse 7 | Lichtenbergstrasse 73
pfuetzner@igd.fhg.de, pfuetzner@zgdvda.UUCP    |  Keith Packard said:
R5 is different from R4. That's why we changed the release number :-)
From: schietke@unitas.or.uni-bonn.de (Juergen Schietke)
Subject: DIN-Fonts
Organization: Research Institute for Discrete Mathematics, Bonn
Distribution: de
Lines: 25
Hello everybody,
I hope that I insert the right Options, so that my question is only
distributed through out Germany, because my question is more or less
country dependend.
Now the question:
Is there anybody who can tell my if (and of course where) there is
a ftp-site/archie (or whatever) where DIN fonts for X are available.
I am looking for fonts holding the specification:
DIN 16
DIN 6776
DIN V 40950
Thanks in advance
Juergen Schietke
Research Insitute for Discrete Mathematics
University of Bonn
Nassestr. 2
5300 Bonn 1 (Germany)
Tel: +49 0228 738786
E-Mail: schietke@or.uni-bonn.de
From: dave@einstein.andi.org (David Scheck)
Subject: imake (X11R4) cpp problems on AIX
Keywords: imake X11R4 AIX
Nntp-Posting-Host: einstein.andi.org
Organization: Association of NeXTSTEP Developers International
Lines: 28
I am trying to build and use imake (X11R4) on an IBM RS/6000 running AIX V3.2.
I am having the following 2 problems.
(1) Many of my Imakefile's have contructs like
/**/#This is a makefile
at the start of lines to pass Makefile comments thru the C
preprocessor and into the Makefile.  Most of the C preprocessors that
I have used will not treat such a # as appearing at the start of the
line.  Thus the C preprocessor does not treat the hash symbol as the
start of a directive.
However the IBM cpp strips the comment and treats the hash symbol
as the start of a directive.  The cpp fails when it determines
that "This" is not a known directive.  I have temporarily hacked my
imake to handle this situation but would like to come up with a better
fix.
(2) Several Imakefiles use /**/ as a parameter to a macro when a particular
use of the macro does not need a value for the parameter.  The AIX cpp
gives warnings about these situations but continues to work OK.
If you are familiar with these problems and have solutions, I would appreciate
information about on your solutions.  (Perhaps, this is solved in a later
version of imake that I have not reviewed.)  Also, do you know of other cpp's
that behave similarly?
Since I do not have easy access to News, a response to
'white_billy@po.gis.prc.com' would be appreciated.
From: snail@lsl.co.uk
Subject: MOTIF & X on Windows NT
Organization: Laser-Scan Ltd., Cambridge
Lines: 16
In article <1993Apr7.044749.11770@topgun>, smikes@topgun (Steven Mikes) writes:
> Another company, Congruent Corporation of New York City, has also ported Xlib
> Xt and Motif 1.1 over to MS Windows NT, which provides full client development
> for X applications in an NT environment.
Could someone please send me the postal and email address of
Congruent Corporation (and any competitors they may have).
Thank you.
--
snail@lsl.co.uk
"Washing one's hands of the conflict between the powerful and the powerless
means to side with the powerful, not to be Neutral."
Quote by Freire.
Poster by OXFAM.
From: rgasch@nl.oracle.com (Robert Gasch)
Subject: Program argument: geometry
Organization: Oracle Europe
Lines: 7
X-Newsreader: TIN [version 1.1 PL8]
I have a question regarding the processing of program arguments
such as the -geometry option. Since this is a standard X option,
I'm wondering wether I have to parse it manually or whether there
is some predefined function that will do this for me?
Thanks for any info
--> Robret
From: singg@alf.uib.no (Kurt George Gjerde)
Subject: Re: Drawing Lines (inverse/xor)
Organization: University of Bergen, Norway
Lines: 36
In article <1993Apr19.191531.15865@news.media.mit.edu>, dyoung@media.mit.edu (David Young) writes:
:
:
|>    XSetFunction( myDisplay, gc, GXxor);
|>    XSetForeground( myDisplay, gc, drawIndex);
|>
|> Then to draw I do:
|>
|>    XDrawLine( myDisplay, XtWindow( drawingArea1), gc, x1, y1, x2, y2);
|>    XFlush( myDisplay);
|>
|> And when I'm all done, to return things to normal I do:
|>
|>    XSetFunction( myDisplay, gc, GXcopy);
|>
|>
|> What I'd like to happen is for the lines I draw to be the inverse of
|> whatever I'm drawing over.  Instead what happens is I get white lines.  If
|> the lines are over a white background - nothing shows up.  If the lines are
|> over a black area - nothing shows up!  It's very strange.  But the GXxor
|> function seems right - since if I do a rubber-banding box, it erases and
|> redraws itself correctly (ie. not disturbing the underlying image).
|>
|> Any suggestions what I'm doing wrong?
|>
|> david
Try change the GXxor to GXequiv.  I have to do this for programs that
are to run on NCD terminals (on Sun terminals I have to change it
back to GXxor)...
Kurt.
From: mleisher@nmsu.edu (Mark Leisher)
Subject: CRL Archive Change Announcement
Organization: Computing Research Lab
Lines: 46
Distribution: world
NNTP-Posting-Host: pylos.nmsu.edu
X-Md4-Signature: 6a869a6491f9d34c90b1e79dcbce325b
The multi-lingual archives at The Computing Research Labs, New Mexico
State University will be moving to a new ftp address soon.  The
archives are being put under control of the Consortium for Lexical
Research.
The new ftp address will be: clr.nmsu.edu (the current IP address
is 128.123.1.12 but may change, so use clr.nmsu.edu whenever
possible).
Please note that there is a difference between ftp sites crl.nmsu.edu and
clr.nmsu.edu.  The crl.nmsu.edu site will be our ftp site for items
not related to the Consortium for Lexical Research.
The Arabic, Chinese, French, Italian, Indian, Japanese, Korean,
Tibetan, and Vietnamese archives will all be moved.
We will announce the new locations of the relevant directories once
the archives have been moved.
Please be patient if you discover directories missing when you ftp to
either crl.nmsu.edu or clr.nmsu.edu.  It will take a few days to move
everything.
If you are not familiar with our multi-lingual archives, we have been
slowly collecting various software, fonts, and text for different
languages over the past 2 years.  Most of the software is currently
Unix oriented.  We would also like to encourage people to continue to
contribute items to the archives to help improve the quality and
quantity of multi-lingual tools.
If you have an item to contribute, please put it in:
clr.nmsu.edu:incoming/
and send a note to lexical@nmsu.edu telling them about your
contribution.
If you have any questions or comments, please send them to:
lexical@nmsu.edu
-----------------------------------------------------------------------------
mleisher@nmsu.edu
Mark Leisher
Computing Research Lab                    "Elegance is not optional!"
New Mexico State University                  -- Attributed to Richard O'Keefe
Box 3CRL, Las Cruces, NM  88003
From: grape@suned1.Nswses.Navy.MIL (Mike Grapevine)
Subject: Subscription
Organization: The Internet
Lines: 7
To: xpert@expo.lcs.mit.edu
Please subscribe me to this mailing list
Michael D. Grapevine          |  One of these days,
USN SWC                       |    One of these days,
Code 4G33                     |  POW!
grape@suned1.nswses.navy.mil  |   It's gonna happen,
Bus: (805) 982-7791           |     and I won't even realize it.
From: grape@suned1.Nswses.Navy.MIL (Mike Grapevine)
Subject: subscribe
Organization: The Internet
Lines: 1
To: expert@expo.lcs.mit.edu
subscribe grape@nswses.navy.mil
From: bading@cs.tu-berlin.de (Tobias 'Doping' Bading)
Subject: Re: Forcing a window manager to accept specific coordinates for a window
Organization: Technical University of Berlin, Germany
Lines: 30
NNTP-Posting-Host: athene.cs.tu-berlin.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
In-reply-to: ethan@cs.columbia.edu's message of Mon, 19 Apr 1993 21:25:08 GMT
try this after XCreateWindow:
-----------------------------
#include <X11/Xutil.h>
Display display;
Window window;
{
XSizeHints *xsizehints = XAllocSizeHints ();
xsizehints->flags = USPosition | USSize;	/* or = PPosition | PSize */
xsizehints->x = 42;
xsizehints->y = 42;
xsizehints->width = 100;
xsizehints->height = 100;
XSetWMNormalHints (display, window, xsizehints);
XFree (xsizehints);
}
These hints tell the window manager that the position and size of the window
are specified by the users and that the window manager should accept these
values. If you use xsizehints->flags = PPosition | PSize, this tells the window
manager that the values are prefered values of the program, not the user.
I don't know a window manager that doesn't place the window like you prefer if
you specify the position and size like above.
Greetings from Berlin,
Tobias (bading@cs.tu-berlin.de)
Subject: Automated X testing
From: mark@trident.datasys.swri.edu (Mark D. Collier)
Organization: Southwest Research Institute
Lines: 13
Does anyone know what is available in terms of automated testing
of X/Motif applications. I am thinking of a system which I could
program (or which could record events/output) with our verification
test procedures and then run/rerun each time we do regression
testing. I am interested in a product like this for our UNIX
projects and for a separate project which will be using OpenVMS.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mark D. Collier                      Southwest Research Institute
Senior Research Analyst              Automation and Data Systems Division
Voice: (512) 522-3437                Data Systems Department
FAX:   (512) 522-5499                Software Engineering Section
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: thad@cup.portal.com (Thad P Floryan)
Subject: Re: Is a 2 headed Sun 3/60 possible (cgfour0/bwtwo0)
Organization: The Portal System (TM)
Distribution: world
Lines: 25
In article <1r28mg$9r5@fitz.TC.Cornell.EDU>
matthew@alchemy.TN.Cornell.EDU (Matthew Kleinmann) writes:
|  I have a Sun 3/60 that has a mono framebuffer (bwtwo0 ?) built on the
|  motherboard.  The same system also has a cgfour (cgfour0 and bwtwo1 ?)
|  daughterboard.  I have been using this system with a color monitor having a
|  color "front" screen from the cgfour, and a mono "back" screen from the
|  bwtwo1, both on the same tube.  I recentley picked up a 1600 x 1280 Sun mono
|  monitor, and I would like to make a two headed system with the cgfour0 and
|  the bwtwo0.  I do not care if I loose the "back" screen on the color tube
|  from the bwtwo1.  After looking through the Xsun man page I am not sure if
|  this is possible.  Has anybody sucessfuly done this before?
If it's any consolation, I have two 2-headed Sun-3/60 systems, though the
color and mono monitors for each are "rated" 1152x900.   Their configuration
is the same as yours, so it "should" be a Plug'N'Play situation, EXCEPT:
I don't know if your hi-res mono monitor will function this way.  However,
you may simply be able to pull the motherboard and set the HI-RES jumper
(located in the same jumper array as the jumpers for the RAM/SIMM selects
and Ethernet connection) and be happily on your way.  When you pull the
motherboard, the jumpers are in the left-rear (e.g. "north-west") quadrant
of the motherboard (to the left of the SIMM sockets).
Thad Floryan [ thad@btr.com, thad@cup.portal.com, thad@netcom.com ]
From: markhof@ls12r.informatik.uni-dortmund.de (Ingolf Markhof)
Subject: Re: Title for XTerm
Organization: CS Department, Dortmund University, Germany
Lines: 55
Distribution: world
NNTP-Posting-Host: ls12r.informatik.uni-dortmund.de
Keywords: XTerm
In article <1quh74$r71@irz401.inf.tu-dresden.de>, beck@irzr17.inf.tu-dresden.de (Andre Beck) writes:
|>
|> In article <C5oL74.3B1@aeon.in-berlin.de>, thomas@aeon.in-berlin.de (Thomas Wolfram) writes:
|> |> >Hey guys!
|> |> >I work on many stations and would like this name and current logname
|> |> >to be in a title of Xterm when it's open and a machine name only
|> |> >when it's closed. In other words, I want $HOST and $LOGNAME to appear
|> |> >as a title of opened XTerm and $HOST when XTerm is closed.
|> |> >How can I do it?
|> |>
|> |> Almost all window managers (twm, mwm, olwm and their derivates) support
|> |> escape sequences for it. For your purpose put following into your
|> |> .login (if you're using csh or tcsh), for sh you have to modify it.
|> |>
|> |> if ( "$term" == "xterm" ) then
|> |> 	echo "^[]2;${LOGNAME}@${HOST}^G^[]1;${HOST}^G"
|> |> endif
|> |>
|>
|> 1) This is NOT a feature of the Window Manager but of xterm.
|> 2) This sequences are NOT ANSI compatible, are they ?
|>    Does anyone know IF there are compatible sequences for this and what they
|>    are ? I would think they are DCS (device control sequence) introduced,
|>    but may be a CSI sequence exists, too ?
|>    This MUST work on a dxterm (VT and ANSI compatible), it may not work
|>    on xterms.
It works on xterms. At least I have no problem with it. - Back to the original
question:
I usually start new xterms by selecting the proper menu entry in my desktop
menu. Here is a sample command:
xterm -sl 999 -n ls12i -title ls12i -e rlogin ls12i &
The -n and -title options give the text for window and icon. As I use the
tcsh (a wonderful extension of the csh), I can do the following:
I have an
alias precmd echo -n '^[]2\;${HOST}:$cwd^G'
in my ~/.tcshrc. This is a special alias for tvtwm. It is executed each time
before printing the prompt. So, I have the current host name and the current
directory path in the title bar of my xterms.
------------------------------------------------------------------------------
____
UniDo  /  Ingolf Markhof  University of Dortmund, LS Informatik XII
___/   /                   P.O. Box 500 500, D-4600 Dortmund 50, F.R. Germany
\  \  /                    Phone: +49 (231) 755 6142, Fax: +49 (231) 755 6555
\__\/                     Email: markhof@ls12.informatik.uni-dortmund.de
------------------------------------------------------------------------------
From: howardy@freud.nia.nih.gov (Howard Wai-Chun Yeung)
Subject: need shading program example in X
Organization: (Natl. Institutes of Health, Bethesda, MD)
Distribution: na
Lines: 9
Do anyone know about any shading program based on Xlib in the public domain?
I need an example about how to allocate correct colormaps for the program.
Appreciate the help.
Howard.
From: mccoy@gothamcity.jsc.nasa.gov (Daniel McCoy)
Subject: Re: Title for XTerm
Reply-To: mccoy@gothamcity.jsc.nasa.gov
Organization: I-NET Inc.
Lines: 52
In article 1r3fe2INN10d@fbi-news.Informatik.Uni-Dortmund.DE, markhof@ls12r.informatik.uni-dortmund.de (Ingolf Markhof) writes:
|>In article <1quh74$r71@irz401.inf.tu-dresden.de>, beck@irzr17.inf.tu-dresden.de (Andre Beck) writes:
|>|>
|>|> In article <C5oL74.3B1@aeon.in-berlin.de>, thomas@aeon.in-berlin.de (Thomas Wolfram) writes:
|>|> |> >Hey guys!
|>|> |> >I work on many stations and would like this name and current logname
|>|> |> >to be in a title of Xterm when it's open and a machine name only
|>|> |> >when it's closed. In other words, I want $HOST and $LOGNAME to appear
|>|> |> >as a title of opened XTerm and $HOST when XTerm is closed.
|>|> |> >How can I do it?
|>|> |> Almost all window managers (twm, mwm, olwm and their derivates) support
|>|> |> escape sequences for it. For your purpose put following into your
|>|> |> .login (if you're using csh or tcsh), for sh you have to modify it.
|>|> |>
|>|> |> if ( "$term" == "xterm" ) then
|>|> |> 	echo "^[]2;${LOGNAME}@${HOST}^G^[]1;${HOST}^G"
|>|> |> endif
|>|> 1) This is NOT a feature of the Window Manager but of xterm.
|>|> 2) This sequences are NOT ANSI compatible, are they ?
|>|>    Does anyone know IF there are compatible sequences for this and what they
|>|>    are ? I would think they are DCS (device control sequence) introduced,
|>|>    but may be a CSI sequence exists, too ?
|>|>    This MUST work on a dxterm (VT and ANSI compatible), it may not work
|>|>    on xterms.
|>It works on xterms. At least I have no problem with it. - Back to the original
|>question:
|>
|>I usually start new xterms by selecting the proper menu entry in my desktop
|>menu. Here is a sample command:
|>
|>	xterm -sl 999 -n ls12i -title ls12i -e rlogin ls12i &
|>
|>The -n and -title options give the text for window and icon. As I use the
|>tcsh (a wonderful extension of the csh), I can do the following:
|>
|>I have an
|>
|>	alias precmd echo -n '^[]2\;${HOST}:$cwd^G'
|>
|>in my ~/.tcshrc. This is a special alias for tvtwm. It is executed each time
|>before printing the prompt. So, I have the current host name and the current
|>directory path in the title bar of my xterms.
Have you gotten an answer yet?  Using your variables, this is what I would do:
xterm -T "$HOST - $LOGNAME" -n "$HOST"
---
Daniel J. McCoy           |=> SPACE  <=|                   I-NET, Inc.
NASA Mail Code PT4        |=> IS     <=|             TEL: 713-483-0950
NASA/Johnson Space Center |=> OUR    <=|             FAX: 713-244-5698
Houston, Texas 77058      |=> FUTURE <=| mccoy@gothamcity.jsc.nasa.gov
From: wam3090@yak.COM (Bill Massena)
Subject: Function key to text string translation
Organization: Boeing Computer Services, Seattle
Lines: 17
I want to press a function key and have a text string appear in an
XmText widget.  When I put
*XmText.Translations: #augment \n\
<Key>F1:  insert-string(HELLO)
in my resource file, the translation doesn't happen.  If I put
*XmText.Translations: <Key>F1:  insert-string(HELLO)
in the file, I get the text string HELLO when F1 is pressed, but no other
keys work, which makes sense since the default translation mode is "replace".
Do I have a syntax problem here, or something deeper?
..Bill Massena (wam3090@yak.boeing.com)
From: jmartin@egret.imagesRus (John Martin)
Subject: Re: Animation with XPutImage()?
Nntp-Posting-Host: suw3v.ess.harris.com
Reply-To: jmartin@egret.imagesRus
Organization: Sun Microsystems, Inc.
Lines: 39
> Hi, I'm new to this group so please bear with me!
>
> Two years ago I wrote a Sunview application for fast animation
> of raster files. With Sunview becoming rapidly obselete, I've
> finally decided to rewrite everything from scratch in XView.
> I put together a quick test, and I've found that XPutImage()
> is considerably slower (factor of 2 on average?) than the
> Sunview command pw_rop() which moves image data from memory
> pixrects to a canvas. This was on a Sparc IPX. It seems that:
> (1) the X protocol communication is slowing things down; or
> (2) XPutImage is inefficient...or both! My question is, what
> is the fastest way in X11R5 to dump 8 plane image data to
> a window? Can I take advantage of the fact that the client is
> running on the same machine as the server? Or am I stuck with
> XPutImage() (in which case I might as well give up now...)?
>
> All help appreciated...thanks!
>
> Derek
>
>In article 16330@infodev.cam.ac.uk, dcr@mail.ast.cam.ac.uk (Derek C. Richardson) writes:
-----------------------------------------------------------
> | Derek C. Richardson    | Tel: (0223) 337548 x 37501     |
> | Institute of Astronomy | Fax: (0223) 337523             |
> | Cambridge, U.K.        |                                |
> | CB3 0HA                | E-mail: dcr@mail.ast.cam.ac.uk |
> -----------------------------------------------------------
>
Animation is most frequently done by copying the the client resident XImages into
server resident Pixmap(s) using XPutImage.  Once this is done, the original XImages
can be deleted and the animation loop can be performed using XCopyArea from the Pixmaps to the windows drawable.
Hope this is helpfull.
John
From: davewood@bruno.cs.colorado.edu (David Rex Wood)
Subject: Calling a library which creates widgets (multiple times)
Nntp-Posting-Host: bruno.cs.colorado.edu
Organization: University of Colorado, Boulder
Lines: 91
A few days ago I posted a question about trying to call a function which set
up an X app multiple times.  It was pointed out that XtAppInitialize() should
never be called more than once.  This helped.  However, I am still having
some problems.  Below is a new little test program that more closely models
my real program.  In the actual program, I am writing a library, callable
from any other program.  This means that the first time the lib function is
called, it must initialize things, and after that, it should just use the
old stuff (still around because of static variables).  In the demo below,
main() represents the main program calling my library and doit() represents
the interface to the library function.
#include <X11/Xlib.h>
#include <Xm/Xm.h>
#include <Xm/PushB.h>
#include <stdio.h>
#include <stdlib.h>
void bla(XtAppContext app, Widget top)
{
Widget topone = top;		// in real prog, these are member vars
XtAppContext theapp = app;	// of a class
int junk = 0;
Display *dis = XtOpenDisplay(theapp, NULL, NULL, NULL, NULL, 0, &junk,
NULL);
Widget box = XtVaCreateManagedWidget("blaaa", xmPushButtonWidgetClass,
topone,
XmNheight, 50,
XmNwidth, 50,
NULL);
XtRealizeWidget(topone);
for (int i=0;i<=25;i++)	// real prog returns when "Exit" button clicked
{
XEvent event;
XtAppNextEvent(theapp, &event);
XtDispatchEvent(&event);
}
XtDestroyWidget(box);
XtCloseDisplay(dis);
}
// SetItUp - should be called once only
void SetItUp(XtAppContext *app, Widget *top)
{
int junk = 0;
(*top)=XtAppInitialize (app, "test", NULL, 0, &junk, NULL,
NULL, NULL, 0);
}
// doit - some library function callable from the outside
void doit()
{
static XtAppContext app;	// use these every time called
static Widget top;
static int setup = 0;
if (!setup)
{
SetItUp(&app, &top);
setup = 1;
}
bla(app, top);
}
// main - program which links to my library
main()
{
for (int i=0;i<=20;i++)
{
doit();
printf("sleeping...\n");//widget still on screen at this point
sleep(5);
}
}
The problem is that the widget does not go away until the new one is created.
(It is still on the screen -- unusuable -- during the "sleep" in the main prog,
despite the XtDestroyWidget call).
Anyone see something I'm missing?
Thanks very much.
(Please respond via email)
--
-------------------------------------------------------------------------------
David Rex Wood -- davewood@cs.colorado.edu -- University of Colorado at Boulder
-------------------------------------------------------------------------------
From: sdennis@osf.org
Subject: REPOST: Accelerators/Translations
Apparently-To: motif-talk@osf.org
Originator: root@postman
Keywords: Accelerator, case
Lines: 36
Reply-To: sdennis@osf.org
Organization: Applicon, Inc.; Ann Arbor, MI (USA)
Return-Path: <sdennis@ann-arbor.applicon.slb.com>
Lines: 36
I posted this a while ago and didn't recieve one reply, and now we
have another bug report on the same subject. Can anybody help me out?
How can you ensure that accelerators work the same independent of
case?  What I want is Ctrl+O and Ctrl+o to both be accelerators on one
menu entry.
In ORA Vol. 6, in the section on accelerators it says "For information
on how to specify translation tables see Vol. 4...", this is so you
know what to put for the XmNaccelerator resource.  If you go to
Vol. 4 it says, "Likewise, if a modifier is specified, there is
nothing to prohibit other modifiers from being present as well. For
example, the translation:
Shift<Key>q:	quit()
will take effect even if the Ctrl key is held down at the same time as
the Shift key (and the q key).
This implies to me that setting XmNaccelerator to Ctrl<Key>o should do
what I want, but it doesn't, it doesn't work if the user presses the
control key, the shift key, and the o key.
Is it possible to supply > 1 accelerator for a menu entry? Keep in
mind when answering this question that when using Motif you can't use
XtInstallAccelerators().
I am using Motif 1.1.3 on a DECstation 5000 but I have also tried it
on an HP using Motif 1.1.3 and 1.2.
--
**********************************************************************
Steve Dennis              Internet: sdennis@ann-arbor.applicon.slb.com
Software Engineer         Applicon Inc.            Ann Arbor, Michigan
Hail To The Victors!!!
From: webster@ucssun1.sdsu.EDU (paolini p)
Subject: ftp:UNIX-dos-UNIX
Organization: The Internet
Lines: 13
To: xpert@expo.lcs.mit.edu
I'm an new to this.  Having found some files (public) to look into, I
ftp'ed them to a system I have access to.  I then used kermit to transmit
them via modem to my host computer, a PC-based file system.  I access
internet through modem access to a university mainframe.  From the PC
file server, I pull the files to a disk, and then pull them from disk
to a SGI Indigo (the SGI is not networked yet).  When I try to uncompress
and un-tar the files, they either come out as garbage or I get an error
in the tar process about directories being invalid.
What I'm wondering about is the transfer of UNIX files (compressed,
binary,ascii) about multiple platforms.  My guess is that it is the copy
to a 'dos' disk that is screwing things up.  Any help is appreciated.
bob
From: robert@cpuserver.acsc.com (Robert Grant)
Subject: Re: Animation with XPutImage()?
Organization: USCACSC, Los Angeles
Lines: 11
Distribution: world
Reply-To: robert@cpuserver.acsc.com (Robert Grant)
NNTP-Posting-Host: cpuserver.acsc.com
Hi everyone,
Does anyone know a good way to adjust colourmaps on the
fly (say during an animation) and prevent the current
set of colours from flickering?
Thanks,
Robert
robert@acsc.com
From: mppa3@syma.sussex.ac.uk (Alan Richardson)
Subject: Re: How 2 Get Fontname from Fonstruct ???
Organization: University of Sussex
Lines: 30
In article <1993Apr20.105725@narya.gsfc.nasa.gov>
dealy@narya.gsfc.nasa.gov (Brian Dealy - CSC) writes:
>
>Anyone know how an application can retrieve the name of the font from
>an application given an XFontStruct *?
>Would XGetFontProperty work if I passed XA_FONT_NAME?
>anyone know details of this?  Thanks in advance.
>Brian
>
>--
>Brian Dealy                |301-572-8267| It not knowing where it's at
>dealy@kong.gsfc.nasa.gov   |            | that's important,it's knowing
>!uunet!dftsrv!kong!dealy   |            | where it's not at...  B.Dylan
Try this:
char *name=NULL;
unsigned long value;
if(XGetFontProperty(font, XA_FONT, value))
name=XGetAtomName(dpy, value);
where dpy is your Display connection and font your XFontStruct pointer.
--
Alan Richardson,                             * "You don't have to be *
School of Maths & Physical Sciences,         *  old to be wise"      *
Univ. of Sussex, Brighton BN1 9QH, ENGLAND   * ******Judas Priest*****
UK: mppa3@uk.ac.sussex.syma         elsewhere: mppa3@syma.sussex.ac.uk
From: etxmesa@eos.ericsson.se (Michael Salmon)
Subject: Re: Title for XTerm
Keywords: XTerm
Nntp-Posting-Host: eos6c02.ericsson.se
Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
Organization: Ericsson Telecom AB
Lines: 21
In article <1r3fe2INN10d@fbi-news.Informatik.Uni-Dortmund.DE>
markhof@ls12r.informatik.uni-dortmund.de (Ingolf Markhof) writes:
[...]
|> I have an
|>
|> 	alias precmd echo -n '^[]2\;${HOST}:$cwd^G'
|>
|> in my ~/.tcshrc. This is a special alias for tvtwm.
I presume that you meant to say tcsh here ------^^^^^
--
Michael Salmon
#include	<standard.disclaimer>
#include	<witty.saying>
#include	<fancy.pseudo.graphics>
Ericsson Telecom AB
Stockholm
From: rlm@helen.surfcty.com (Robert L. McMillin)
Subject: Re: How do I find my AppContext?
Organization: Surf City Software/TBFW Project
In-Reply-To: masc0442@ucsnews.sdsu.edu's message of 19 Apr 1993 23:00:15 GMT
Lines: 14
On 19 Apr 1993 23:00:15 GMT, masc0442@ucsnews.sdsu.edu (Todd Greene) said:
> Is there an Xt call to give me my application context?
> I am fixing up an X/Motif program, and am trying to use XtAppAddTimeOut,
> whose first argument is the app_context.  What call can I use
> to give me this value?
I believe it's XtVaAppInitialize or something like that.
--
Robert L. McMillin | Surf City Software | rlm@helen.surfcty.com | Dude!
#include <std.disclaimer.h>
From: rlm@helen.surfcty.com (Robert L. McMillin)
Subject: Re: Mix GL with X (Xlib,Xt,mwm)
Organization: Surf City Software/TBFW Project
In-Reply-To: graham@sparc1.ottawa.jade.COM's message of 19 Apr 1993 16:59:12 -0400
Lines: 21
On 19 Apr 1993 16:59:12 -0400, graham@sparc1.ottawa.jade.COM (Jay Graham) said:
> I am developing an X (Xt,Xm) application that will include a graphics window
> of some sort with moving symbols among other things.  A pure X application
> could be implemented with Motif widgets, one of which would be an
> XmDrawingArea for drawing with Xlib.  But I would like to take advantage of
> the Graphics Library (GL) available on our IBM RS/6000 (SGI's GL i believe).
> Is it possible to mix X and GL in one application program?
> Can I use GL subroutines in an XmDrawingArea or in an X window opened by me
> with XOpenWindow?
In SGI's distribution with their Indigo line (others as well, possibly),
they include source code for a GL widget that fits on top of Motif, and
one that's Xt based as well.  You may wish to ask IBM whether they
support this.
--
Robert L. McMillin | Surf City Software | rlm@helen.surfcty.com | Dude!
#include <std.disclaimer.h>
From: mccoy@gothamcity.jsc.nasa.gov (Daniel McCoy)
Subject: R4 Version of xrecplay
Reply-To: mccoy@gothamcity.jsc.nasa.gov
Organization: I-NET Inc.
Lines: 14
I have and use xrecplay for X11R5.  Does one exist for X11R4???
I have tried to contact one of the developers, Eric Swildens, at
ess@hal.com but he is no longer there and has no forwarding email
address.  Archie is no help either.
Any help would be appreciated.  Thanks,
---
Daniel J. McCoy           |=> SPACE  <=|                   I-NET, Inc.
NASA Mail Code PT4        |=> IS     <=|             TEL: 713-483-0950
NASA/Johnson Space Center |=> OUR    <=|             FAX: 713-244-5698
Houston, Texas 77058      |=> FUTURE <=| mccoy@gothamcity.jsc.nasa.gov
From: skelley@umiacs.umd.edu (Stephen Kelley)
Subject: Expose/Configure event handling (R4 vs R5)
Organization: UMIACS, University of Maryland, College Park, MD 20742
Lines: 29
I have two questions (well probably more...) about how Expose & Configure
events are handled.
I have an appl. which uses 1 window to draw in.  Since I give the user the
capability of scaling and zooming as well as allowing the window to be
resized, I made a translation table for the Expose & Configure events.
The Expose event calls my redraw method while the Configure event
calls my rescale method.  The rescale method invokes a "fake" Expose
event (actually just calls the redraw w/ an appropriate Expose struct)
to draw the data.
Quest 1.
When the appl. is compiled/linked w/ R4 (running in either R4 or R5 env.)
I get multiple (>4) redraws when the window gets uncovered or the size
is changed.  I assume I'm getting cascading events.  Is that right?
Any suggestions as to how to handle/trap events in a better way?
Quest 2.
When the appl. is compiled/linked w/ R5 I get no Expose events
whatsoever.  Do events and/or translation tables act differently in R5?
Thanks in advance
Steve
--
==========================================================================================
Steve Kelley	UMCP CS/UMIACS			Captain, I protest!
Internet:	skelley@umiacs.umd.edu		I am *NOT* a merry man! - Worf
From: brians@atlastele.com (Brian Sheets)
Subject: Looking for a filemanager under X11R5
Organization: Atlas Telecom Inc.
Disclaimer: Views expressed do not necessarily represent those of my employer.
Lines: 9
Does anyone have a file manager that runs under UNIX/X11R5??
brians
--
Brian Sheets		    _   /|  	"TRUCK?! What truck?"
Support Engineer  	    \`o_O'
Atlas Telecom Inc. 	      ( ) 	   -Raiders of the Lost Ark
brians@atlastele.com           U
From: rps@arbortext.COM (Ralph Seguin)
Subject: finding out state of state keys (eg, CapsLock and NumLock)
Organization: The Internet
Lines: 19
To: xpert@expo.lcs.mit.edu
Hi.  I've looked in the FAQ and the O-Reilly books and was unable to
find (an easy) means of finding out the state of state keys such as
CapsLock and NumLock.  I can certainly track the events inside of my
window and set a boolean there, but what if CapsLock is pressed in
another window?  I looked at XGrabKey() and decided it was definitely
NOT what I wanted to do.  I could find no convenience function to tell
me that information.
My question is this:  Is there a means of determining what the state
of CapsLock and/or NumLock is?
An even more pointed question: Is there an easy means of making an X
keyboard act like a PC keyboard?  ie, CapsLock is active, and the user
presses shift-a, I'd like to get a lowercase 'a' instead of 'A'.
Any input is greatly appreciated. Please respond via email.  I will
repost a summary of my findings.
Thanks, Ralph
From: queloz@bernina.ethz.ch (Ronald Queloz)
Subject: Store/Post events
Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
Lines: 31
store and reply of mouse and keyboard events
--------------------------------------------
To produce regression tests or automatic demo's
we would like to store all mouse and keyboard events
produced by a user. It should be possible to filter
the mouse and keyboard events from the server's queue
an to store them in a file.
This sequence of events, stored in a file, should be given
to the server's queue as if a user is working.
1. Exists a tool that is capable to save and reply all
mouse and keyboard events (where)?
2. Where one can catch these events to store them ?
In our case the server's queue is on a X Terminal (HP).
Where can we catch all events coming from a given
server.
If this is not possible, can we catch all events given
to a certain client and how ?
3. Where one can send a stored sequence of events to simulate a user ?
Is there a central dispatcher on the clients machine who manages
all incoming events from a given server and how can we reach it ?
Thanks in advance
Ron.
From: dcr@mail.ast.cam.ac.uk (Derek C. Richardson)
Subject: Animation with XPutImage()?
Nntp-Posting-Host: ioas09.ast.cam.ac.uk
Reply-To: dcr@mail.ast.cam.ac.uk
Organization: Institute of Astronomy, Cambridge
Lines: 27
Hi, I'm new to this group so please bear with me!
Two years ago I wrote a Sunview application for fast animation
of raster files. With Sunview becoming rapidly obselete, I've
finally decided to rewrite everything from scratch in XView.
I put together a quick test, and I've found that XPutImage()
is considerably slower (factor of 2 on average?) than the
Sunview command pw_rop() which moves image data from memory
pixrects to a canvas. This was on a Sparc IPX. It seems that:
(1) the X protocol communication is slowing things down; or
(2) XPutImage is inefficient...or both! My question is, what
is the fastest way in X11R5 to dump 8 plane image data to
a window? Can I take advantage of the fact that the client is
running on the same machine as the server? Or am I stuck with
XPutImage() (in which case I might as well give up now...)?
All help appreciated...thanks!
Derek
-----------------------------------------------------------
| Derek C. Richardson    | Tel: (0223) 337548 x 37501     |
| Institute of Astronomy | Fax: (0223) 337523             |
| Cambridge, U.K.        |                                |
| CB3 0HA                | E-mail: dcr@mail.ast.cam.ac.uk |
-----------------------------------------------------------
From: drand@spinner.osf.org (Douglas S. Rand)
Subject: Re: Drawing Lines (inverse/xor)
In-Reply-To: singg@alf.uib.no's message of Wed, 21 Apr 93 11:19:19 GMT
Organization: Open Software Foundation
Lines: 47
In article <1993Apr21.111919.5281@alf.uib.no> singg@alf.uib.no (Kurt George Gjerde) writes:
In article <1993Apr19.191531.15865@news.media.mit.edu>, dyoung@media.mit.edu (David Young) writes:
:
:
|>    XSetFunction( myDisplay, gc, GXxor);
|>    XSetForeground( myDisplay, gc, drawIndex);
|>
|> Then to draw I do:
|>
|>    XDrawLine( myDisplay, XtWindow( drawingArea1), gc, x1, y1, x2, y2);
|>    XFlush( myDisplay);
|>
|> And when I'm all done, to return things to normal I do:
|>
|>    XSetFunction( myDisplay, gc, GXcopy);
|>
|>
|> What I'd like to happen is for the lines I draw to be the inverse of
|> whatever I'm drawing over.  Instead what happens is I get white lines.  If
|> the lines are over a white background - nothing shows up.  If the lines are
|> over a black area - nothing shows up!  It's very strange.  But the GXxor
|> function seems right - since if I do a rubber-banding box, it erases and
|> redraws itself correctly (ie. not disturbing the underlying image).
|>
|> Any suggestions what I'm doing wrong?
|>
|> david
Try change the GXxor to GXequiv.  I have to do this for programs that
are to run on NCD terminals (on Sun terminals I have to change it
back to GXxor)...
There is a small section in the O'Reilly Xlib books that describes
the right thing to do.  The key is to set the plane_mask in the
GC to the OR of the foreground and background pixel values.
--
Douglas S. Rand <drand@osf.org>		OSF/Motif Dev.
Snail:         11 Cambridge Center,  Cambridge,  MA  02142
Disclaimer:    I don't know if OSF agrees with me... let's vote on it.
Amateur Radio: KC1KJ
From: neuralog@NeoSoft.com (Neuralog)
Subject: Re: compiling on sun4_411
Organization: NeoSoft Communications Services -- (713) 684-5900
Lines: 27
In article <1993Apr20.132914.907@aio.jsc.nasa.gov> mccoy@gothamcity.jsc.nasa.gov writes:
>In article qfe00WB2QzZ7EZ@andrew.cmu.edu, Wilson Swee <ws8n+@andrew.cmu.edu> () writes:
>|>    I have a piece of X code that compiles fine on pmax-ul4, pmax_mach, as
>|>well as sun4_mach, but whenever it compiles on sun4_411, it gives me
>|>undefined ld errors:
>|>_sin
>|>_cos
>|>_pow
>|>_floor
>|>_get_wmShellWidgetClass
>|>_get_applicationShellWidgetClass
>|>
>|>The following libraries that I linked it to are:
>|>-lXaw -lXmu -lXt -lXext -lX11
>|>
>|>The makefile is generated off an imake template.
>|>Can anyone give me pointers as to what I'm missing out to compile on
>|>a sun4_411?
>
>Well, the first 2 are easy.  You need the math library.  Try adding -lm after
>-lX11.  Don't know if that's the whole problem but it's a start.
>
>---
I "think" you should try linking to /usr/lib/libXmu.a instead of
-lXmu. At least that solved the problem for me!
From: neuralog@NeoSoft.com (Neuralog)
Subject: Authorization in OW 3.0
Organization: NeoSoft Communications Services -- (713) 684-5900
Lines: 29
Hello,
This is my first net letter, so forgive mistakes!
I have been plagued by problems (or lack of info) with
authorization in Open Windows 3.0 for a long while and
would like some help please!  I generally use strait
MIT X, and so don't use OW much, but when I share
X software with others - bad news.
PROBLEM:
My friend who logs into his SSII trys to run my
program that runs fine on my machine, however,
my friend gets "client not authorized to connect
to server" (or something close).  If OW is started
with the -noauth option all is well, but surely this
is not required in general!
Also, xhost + does not work, becoming root does not
work, etc...
Any help will be greatly appreciated!
Thanx
send replies to neuralog@neosoft.com or this news group
From: mahan@TGV.COM (Patrick L. Mahan)
Subject: RE: Program argument: geometry
Organization: The Internet
Lines: 31
To: xpert@expo.lcs.mit.edu, rgasch@nl.oracle.com
#
#I have a question regarding the processing of program arguments
#such as the -geometry option. Since this is a standard X option,
#I'm wondering wether I have to parse it manually or whether there
#is some predefined function that will do this for me?
#
If you are using the Intrinsics, it is parsed for you.  If you are working
at the Xlib level, you can parse it yourself or you can use the following
bit of code.
static XrmOptionDescRec options[] = {
{"-geometry",	".geometry",	XrmoptionSepArg, (XPointer)NULL}
};
#define Number(x)	(sizeof(x)/sizeof(x[0]))
XrmParseCommand(db, options, Number(options), "MyApplication", &argc, argv);
Then use XrmGetResource() to retrieve the value and parse it using
XParseGeometry().
It is probably quicker to parse it yourself from argv, however, I much prefer
using the X resource management routines to do this.
Patrick L. Mahan
--- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------
Waking a person unnecessarily should not be considered  - Lazarus Long
a capital crime.  For a first offense, that is            From the Notebooks of
Lazarus Long
From: ramakris@csgrad.cs.vt.edu (S.Ramakrishnan)
Subject: Re: Mwm title-drag crashes X server (SIGPIPE)
Organization: VPI&SU Computer Science Department, Blacksburg, VA
Lines: 33
In article <1993Apr20.144415.2153@ncar.ucar.edu> boote@eureka.scd.ucar.edu (Jeff W. Boote) writes:
>In article <4378@creatures.cs.vt.edu>, ramakris@csgrad.cs.vt.edu (S.Ramakrishnan) writes:
>>
>>    Environment:
>>       mach/arch : sparc/sun4  (IPX)
>>       OS	: SunOS 4.1.3
>>       X11	: X11R5 (patchlevel 22)
>>       Motif	: 1.2.2
>>
>> I bring up X server using 'startx' and /usr/bin/X11/Xsun. The following sequence
>> of actions crashes the X server (SIGPIPE, errno=32, 'xinit' reports that connexion
>> to X server lost):
>
>I had this problem as well - It had to do with the CG6 graphics card that
>comes with the IPX.  What fixed the problem for me was to apply the "sunGX.uu"
>that was part of Patch #7.  Patch #1 also used this file so perhaps you
>didn't apply the one that came with Patch #7.
>
>jeff
>-
>Jeff W. Boote  <boote@ncar.ucar.edu>      *********************************
>Scientific Computing Division             * There is nothing good or bad  *
>National Center for Atmospheric Research  * but thinking makes it so.     *
>Boulder                                   *                   Hamlet      *
>                                          *********************************
Thanx, Jeff. You're a lifesaver. I imported the new sun GX emulator that came in
with patch #7. The problem has since disappeared.
Thanx to der (schoene) Mouse for his help too.
---
S Ramakrishnan, CS Dept, McBryde Hall, VaTech
From: pmartz@dsd.es.com (Paul Martz)
Subject: Re: Animation with XPutImage()?
Nntp-Posting-Host: bambam
Reply-To: pmartz@dsd.es.com (Paul Martz)
Organization: Evans & Sutherland Computer Corp., Salt Lake City, UT
Lines: 28
In article <1993Apr21.154620.16330@infodev.cam.ac.uk>, dcr@mail.ast.cam.ac.uk (Derek C. Richardson) writes:
> Hi, I'm new to this group so please bear with me!
>
> Two years ago I wrote a Sunview application for fast animation
> of raster files. With Sunview becoming rapidly obselete, I've
> finally decided to rewrite everything from scratch in XView.
> I put together a quick test, and I've found that XPutImage()
> is considerably slower (factor of 2 on average?) than the
> Sunview command pw_rop() which moves image data from memory
> pixrects to a canvas. This was on a Sparc IPX. It seems that:
> (1) the X protocol communication is slowing things down; or
> (2) XPutImage is inefficient...or both!
Using XPutImage, your source is maintained by the client and the
destination is maintained by the server, thus you incur the overhead
of transporting through whatever client-server communications
mechanism you are using.
Is it possible for you to maintain your source images in pixmaps?
These are maintained by the server, so copying them into a window is
much cheaper.
Also make sure you are not sending any unnecessary XSyncs, or running
in XSynchonize mode.
--
-paul	pmartz@dsd.es.com
Evans & Sutherland
From: rank@winf.uni-passau.de (Christian Rank)
Subject: Xsun not running on SPARCclassic
Organization: Lehrstuhl fuer Wirtschaftsinformatik - Universitaet Passau
Lines: 15
Distribution: world
NNTP-Posting-Host: jupiter.winf.uni-passau.de
I've installed X11R5 with patches for Solaris 2.1 on our SPARCstation LX /
SPARCclassic pool. On the LX, X11R5 runs fine, but on the classics,
after giving the command startx, Xsun prints the following messages:
WARNING: cg3_mmap: can't map dummy space!
Mapping cg3c: No such device or address
and exits.
Does anybody know how to fix this problem?
Thanks in advance.
---
Christian Rank
Lehrstuhl fuer Wirtschaftsinformatik * Universitaet Passau *
Innstr. 29 * D-8390 Passau
From: gerard@dps.co.UK (Gerard O'Driscoll)
Subject: Re: Mix GL with X (Xlib,Xt,mwm)
Organization: The Internet
Lines: 12
To: xpert@expo.lcs.mit.edu
pyeatt@Texaco.com writes:
>> There is a widget already defined for GL.  It is the GlxMDraw (motif) or
>> GlxDraw (athena) widget.  It is similar to a XmDrawingArea, except that it
>> allows you to use GL calls to render into the window.  Look at glxlink,
>> glxunlink, glxgetconfig, and glxwinset in the man pages.
Where do I get hold of these widgets?
Gerard O'Driscoll (gerard.odriscoll@dps.co.uk)
Du Pont Pixel Systems Ltd.
From: baldwa@antietam.adobe.com (Sanjay Baldwa)
Subject: X support for pressure sensitive tablet
Reply-To: baldwa@adobe.com
Organization: Adobe Systems, Mountain View, CA, USA
Distribution: comp
Lines: 7
Are there any vendors supporting pressure sensitive tablet/pen with X? I
will appreciate any pointers.
Thanks, Sanjay
--
baldwa@adobe.com  or  ..!decwrl!adobe!baldwa
From: bill@west.msi.com (Bill Poitras)
Subject: Re: Automated X testing
Reply-To: bill@msi.com
Organization: Molecular Simulations Inc.
X-Newsreader: TIN [version 1.1 PL8]
Lines: 27
Mark D. Collier (mark@trident.datasys.swri.edu) wrote:
: Does anyone know what is available in terms of automated testing
: of X/Motif applications. I am thinking of a system which I could
: program (or which could record events/output) with our verification
: test procedures and then run/rerun each time we do regression
: testing. I am interested in a product like this for our UNIX
: projects and for a separate project which will be using OpenVMS.
A question like this is answered in the FAQ, about sharing X windows.
One of the answers is XTrap, a record and playback extenstion to X.  You
can find it at export.lcs.mit.edu:/contrib/XTrapV33_X11R5.tar.Z.
Does anyone know of a program which doesn't require an X extension?  Most
the the X servers we have at work have vendor extensions which we can't
modify, so XTrap doesn't help up.  There is X conferencing software at
mit, but I don't know how easy it would be to modify it to do record and
playback.
Any help would be appreciated.
--
+-------------------+----------------------------+------------------------+
| Bill Poitras      | Molecular Simulations Inc. | Tel (408)522-9229      |
| bill@msi.com      | Sunnyvale, CA 94086-3522   | FAX (408)732-0831      |
+-------------------+----------------------------+------------------------+
|FTP Mail           |mail ftpmail@decwrl.dec.com | Offers:ftp via email   |
|                   |Subject:<CR>help<CR>quit    |                        |
+-------------------------------------------------------------------------+
From: mahan@TGV.COM (Patrick L. Mahan)
Subject: RE: need shading program example in X
Organization: The Internet
Lines: 20
To: xpert@expo.lcs.mit.edu, howardy@freud.nia.nih.gov
#
#Do anyone know about any shading program based on Xlib in the public domain?
#I need an example about how to allocate correct colormaps for the program.
#
#Appreciate the help.
#
I don't know if this might help, but I've just started playing with a program
called POVRay (Persistance of Vision Raytracer) that also displays its output
via X Windows.  It does a fairly good job of allocating the colormap on my
Psuedo-Color 8-plane display.  I got the source from from a site in Canda.
The person I retrieved them from was David Buck (dbuck@ccs.carleton.ca).
Patrick L. Mahan
--- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------
Waking a person unnecessarily should not be considered  - Lazarus Long
a capital crime.  For a first offense, that is            From the Notebooks of
Lazarus Long
From: toml@boulder.parcplace.com (Tom LaStrange)
Subject: Re: Forcing a window manager to accept specific coordinates for a window
Organization: ParcPlace Boulder
Lines: 23
In article <C5r25y.HFz@cs.columbia.edu> ethan@cs.columbia.edu (Ethan Solomita) writes:
|>
|>	Hi. I'm trying to figure out how to make a window manager
|>place the window where the create window command tells it,
|>regardless of what it may think is right. (my application has
|>reason to know better)
|>
|>	I don't want to set the override-redirect because I do
|>want all the embellishments that the window manager gives, I just
|>want the wm to accept my choice of location.
What "it may think is right" may be exactly what the user wants.
Assuming that your application "has reason to know better" is, IMHO,
anti-social.  If I start your application with a -geometry option are
you going to ignore that as well?
There's really no way to force a window manager to do much of anything
if it's managing your window.  You can ask, you can hint, but there's
no guarantee that you're going to get what you want.
--
Tom LaStrange        toml@boulder.ParcPlace.COM
From: toml@blade.Boulder.ParcPlace.COM (Tom LaStrange)
Subject: Re: Forcing a window manager to accept specific coordinates for a window
Reply-To: toml@boulder.ParcPlace.COM
Organization: ParcPlace Boulder
Lines: 40
In article <BADING.93Apr21134939@athene.cs.tu-berlin.de>, bading@cs.tu-berlin.de (Tobias 'Doping' Bading) writes:
|>
|> try this after XCreateWindow:
|> -----------------------------
|>
|> #include <X11/Xutil.h>
|>
|> Display display;
|> Window window;
|>
|> {
|>   XSizeHints *xsizehints = XAllocSizeHints ();
|>   xsizehints->flags = USPosition | USSize;	/* or = PPosition | PSize */
|>   xsizehints->x = 42;
|>   xsizehints->y = 42;
|>   xsizehints->width = 100;
|>   xsizehints->height = 100;
|>   XSetWMNormalHints (display, window, xsizehints);
|>   XFree (xsizehints);
|> }
|>
|> These hints tell the window manager that the position and size of the window
|> are specified by the users and that the window manager should accept these
|> values. If you use xsizehints->flags = PPosition | PSize, this tells the window
|> manager that the values are prefered values of the program, not the user.
|> I don't know a window manager that doesn't place the window like you prefer if
|> you specify the position and size like above.
You are right but PLEASE DON'T DO THIS.  It makes my brain hurt.
USPosition and USSize should ONLY be set if the USER specified the
position and size.
You say: "Tom, don't blow a gasket, what's the harm?"
Some window managers do very different things (besides positioning the window)
when they see USPosition rather than PPosition.
--
Tom LaStrange        toml@boulder.ParcPlace.COM
From: dla@se05.wg2.waii.com (Doug Acker)
Subject: Re: build X11R5 with xlc 1.2.1 (Aix 3.2.3e)
Organization: western geophysical exploration products
Lines: 36
NNTP-Posting-Host: se05.wg2.waii.com
In-reply-to: dla@se05.wg2.waii.com's message of 21 Apr 1993 03:49:16 GMT
>>>>> On 21 Apr 1993 03:49:16 GMT, dla@se05.wg2.waii.com (Doug Acker) said:
Doug> NNTP-Posting-Host: se05.wg2.waii.com
I  am  having  a  big problem trying to build MIT X11R5 with xlc 1.2.1
(the  one  bundled  with  AIX  3.2.3e).   Its almost the linker is not
working properly with shared libraries.
I've built X11R5 with no problem before .. but now its all  headaches.
For example, the xset client complains that libXmu doesnt have a bunch
of Xt routines and shr.o is missing (or  something  like  that).   The
build of libXmu DOES link in libXt  so I am really perplexed  what  is
going on.
....following up on this, the specific error I get is:
Could not load program ./xset
Symbol XtVaSetValues in ../.././lib/Xmu/libXmu.a is undefined
Symbol XtName in ../.././lib/Xmu/libXmu.a is undefined
Symbol XtWindowOfObject in ../.././lib/Xmu/libXmu.a is undefined
Symbol XtGetConstraintResourceList in ../.././lib/Xmu/libXmu.a is undefined
Symbol XtDisplayToApplicationContext in ../.././lib/Xmu/libXmu.a is undefined
Symbol XtAppSetTypeConverter in ../.././lib/Xmu/libXmu.a is undefined
Symbol XtScreenDatabase in ../.././lib/Xmu/libXmu.a is undefined
Symbol XtResolvePathname in ../.././lib/Xmu/libXmu.a is undefined
Symbol XtCvtStringToFont in ../.././lib/Xmu/libXmu.a is undefined
Symbol XtCallConverter in ../.././lib/Xmu/libXmu.a is undefined
Symbol XtDisplayStringConversionWarning in ../.././lib/Xmu/libXmu.a is undefined
Could not load library libXmu.a[shr.o]
Error was: Exec format error
--
Douglas L.Acker                Western Geophysical Exploration Products
____    ____     ____          a division of Western Atlas International Inc.
\   \  /   /\   /   /\         A Litton / Dresser Company
\   \/   /  \ /   /  \        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\  /   / \  /   /\   \       Internet  :  acker@wg2.waii.com
\/___/   \/___/  \___\      Voice     :  (713) 964-6128
From: m91nen@tdb.uu.se (Nils Engstrom)
Subject: Re: compiling on sun4_411
Organization: Department of Scientific Computing, Uppsala University
Lines: 15
In article <Yfo=qfe00WB2QzZ7EZ@andrew.cmu.edu> Wilson Swee <ws8n+@andrew.cmu.edu> writes:
>_sin
>_cos
>_pow
>_floor
Link with '-lm' (math library).
>_get_wmShellWidgetClass
>_get_applicationShellWidgetClass
This is a bug in Sun's shared libraries. Linking with
'-assert nodefinitions' should do the trick.
n
From: dla@se05.wg2.waii.com (Doug Acker)
Subject: Re: build X11R5 with xlc 1.2.1 (Aix 3.2.3e)
Organization: western geophysical exploration products
Lines: 50
NNTP-Posting-Host: se05.wg2.waii.com
In-reply-to: dla@se05.wg2.waii.com's message of 22 Apr 1993 01:02:41 GMT
>>>>> On 22 Apr 1993 01:02:41 GMT, dla@se05.wg2.waii.com (Doug Acker) said:
Doug> NNTP-Posting-Host: se05.wg2.waii.com
>>>>> On 21 Apr 1993 03:49:16 GMT, dla@se05.wg2.waii.com (Doug Acker) said:
Doug> NNTP-Posting-Host: se05.wg2.waii.com
Doug> I  am  having  a  big problem trying to build MIT X11R5 with xlc 1.2.1
Doug> (the  one  bundled  with  AIX  3.2.3e).   Its almost the linker is not
Doug> working properly with shared libraries.
Doug> I've built X11R5 with no problem before .. but now its all  headaches.
Doug> For example, the xset client complains that libXmu doesnt have a bunch
Doug> of Xt routines and shr.o is missing (or  something  like  that).   The
Doug> build of libXmu DOES link in libXt  so I am really perplexed  what  is
Doug> going on.
Doug> ....following up on this, the specific error I get is:
Doug> Could not load program ./xset
Doug> Symbol XtVaSetValues in ../.././lib/Xmu/libXmu.a is undefined
Doug> Symbol XtName in ../.././lib/Xmu/libXmu.a is undefined
Doug> Symbol XtWindowOfObject in ../.././lib/Xmu/libXmu.a is undefined
Doug> Symbol XtGetConstraintResourceList in ../.././lib/Xmu/libXmu.a is undefined
Doug> Symbol XtDisplayToApplicationContext in ../.././lib/Xmu/libXmu.a is undefined
Doug> Symbol XtAppSetTypeConverter in ../.././lib/Xmu/libXmu.a is undefined
Doug> Symbol XtScreenDatabase in ../.././lib/Xmu/libXmu.a is undefined
Doug> Symbol XtResolvePathname in ../.././lib/Xmu/libXmu.a is undefined
Doug> Symbol XtCvtStringToFont in ../.././lib/Xmu/libXmu.a is undefined
Doug> Symbol XtCallConverter in ../.././lib/Xmu/libXmu.a is undefined
Doug> Symbol XtDisplayStringConversionWarning in ../.././lib/Xmu/libXmu.a is undefined
Doug> Could not load library libXmu.a[shr.o]
Doug> Error was: Exec format error
....  a  search  on  IBMLINK  revealed that this is similar to IX33890
(howervre this was closed USE).
--
Douglas L.Acker                Western Geophysical Exploration Products
____    ____     ____          a division of Western Atlas International Inc.
\   \  /   /\   /   /\         A Litton / Dresser Company
\   \/   /  \ /   /  \        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\  /   / \  /   /\   \       Internet  :  acker@wg2.waii.com
\/___/   \/___/  \___\      Voice     :  (713) 964-6128
From: sharma@tiger.vill.edu (Sanjeev Sharma)
Subject: Positioning a window, under openlook.
Keywords: Windows, openlook.
Organization: Villanova University
Lines: 20
Originator: sharma@tiger.vill.edu
Hi there netters,
I require a window to appear at a co-ordinates (0,0) (top left corner) of my
screen (root window). Could some windows guru out there help me on how to
go about doing this. I write the whole program which creates the window with
the image it displays - I require the image to appear at the top-left corner
so that I can grab it for recording on to video, using a MIniVas controller,
which expects the window at the same spot every time.
Thanks in advance.
sincerely,
Sanjeev Sharma
--
_____________________________________________________________________
Office:					     e_mail:
Deptt. of Computing Science		     	sharma@monet.vill.edu
Villanova University			     (215)645-6463
From: xyzzy@hal.gnu.ai.mit.edu (Daniel Drucker)
Subject: tape down selections
Article-I.D.: hal.1r4cej$1jc8
Organization: dis
Lines: 11
NNTP-Posting-Host: hal.ai.mit.edu
I just had an idea. I'm not sure if its been done and I'm just
remembering it unconsiously, but I thought that in dialog
boxes and whatever in windowing systems, there should be a
way to intuitivly set some things checked or unchecked or
filled in a certain way. My idea: tape. You know, like putting
a piece of tape over a light switch?
Just an idea, if you like it, use it.
--
Daniel Drucker   N2SXX          | xyzzy@gnu.ai.mit.edu
Forever, forever, my Coda.      | und2dzd@vaxc.hofstra.edu
From: jlong@b4pps40.Berkeley.EDU (John Long)
Subject: xman source
Reply-To: jlong@b4pps40.Berkeley.EDU (John Long)
Organization: bnr
Lines: 8
Where can I get xman source?  I would like to get the binaries for
xman for an HP 9000/700, but I would settle for source.
--
John O.F. Long, BNR, Inc.              |  "If there is no God, who pops
jlong@bnr.ca                           |  up the next Kleenex?"
#include <standard_disclaimer.h>       |                  Art Hoppe
From: agallagh@slate.mines.colorado.edu (GALLAGHER ANDREA J )
Subject: Detecting read-only colorcells?
Reply-To: ngorelic@speclab.cr.usgs.gov
Organization: Colorado School of Mines
Lines: 27
[again, poseted for a friend]
Okay, I got such great response from my last question (thanks, everyone),
lets try again:
How can I tell if a colorcell is read-only?
I want to use any read-only cells that are already in my colormap
once I start running out of allocatable cells, using some arbitrary
nearest color matching scheme to get those cells that come closest to
a requested color.
Once I determine if a cell is read-only, I assume I can then just request
an XAllocColor() with the exact same color specifications and it will
then be flagged as 'used' by my application so that it doesn't later get
freed by someone else and allocated again as read-write to another
application.
So far, the only way I've figured out to do this is to write my own
error handler and just go ahead and request the cells colors, once my
colormap is all full up.  It should error out if the cell is non-shareable.
But life would be much easier if I could just detect the
read-only/shareable stuff directly...
Any ideas?
Noel (ngorelic@speclab.cr.usgs.gov)
From: earle@isolar.Tujunga.CA.US (Greg Earle)
Subject: Re: Colormaps and Window Managers
Organization: Personal Usenet site, Tujunga, CA USA
Lines: 27
Distribution: world
NNTP-Posting-Host: isolar.tujunga.ca.us
Keywords: twm  tvtwm  InstallWindowColormaps
In article <1993Apr15.155255.27034@thunder.mcrcim.mcgill.edu> mouse@thunder.mcrcim.mcgill.edu (der Mouse) writes:
>In article <C5DuHC.71p.1@cs.cmu.edu>, das+@cs.cmu.edu (David Simon) writes:
>
>>Can some one please explain to me why the following piece of code
>>causes twm (or tvtwm) to dump core [...]
>
>>In particular, I am interested in knowing whether this behavior is
>>caused by a bug in my reasoning, or if it is a bug in twm.
>
>If *anything* a client does causes twm to dump core, it's a bug in twm.
>Window managers should never *ever* crash.
Would if only it were true ...
If only MIT would fix the !@&$^*@ twm "InstallWindowColormaps()" crash bug
once and for all, then I could say that I've (almost) unable to crash either
"twm" or "tvtwm", which would be a remarkable feat - and most desirable to
boot.  I mean, this bug has only been reported, oh, a zillion times by now ...
Now *servers*, on the other hand ... (want to crash an OpenWindows 3.0 "xnews"
server at will?  Just do an 'xbiff -xrm "XBiff*shapeWindow: on"'.  Blammo.)
--
- Greg Earle
Phone: (818) 353-8695		FAX: (818) 353-1877
Internet: earle@isolar.Tujunga.CA.US
UUCP: isolar!earle@elroy.JPL.NASA.GOV a.k.a. ...!elroy!isolar!earle
From: earle@isolar.Tujunga.CA.US (Greg Earle)
Subject: Re: tvtwm & xsetroot, X11R5 and SPARCstation 10 keyboard
Organization: Personal Usenet site, Tujunga, CA USA
Lines: 89
Distribution: world
NNTP-Posting-Host: isolar.tujunga.ca.us
In article <1r1q5g$cv4@genesis.ait.psu.edu> barr@pop.psu.edu (David Barr) writes:
>In article <MAILQUEUE-101.930420145015.384@oak.shu.ac.uk> D.Haywood@sheffield-hallam.ac.uk writes:
>>  Environment: Sun SPARC 10, SunOs 4.1.3.  X11R5 patch level 23.  My X
>>process is started by xdm.
>
>Okay, that's good.  I'm typing this from exactly the same setup.
>(US-UNIX layout keyboard)  I did install the sunkbd patch, though.
...
>> ii) When I open an Xterm on the Sparc 10, not all of the keys are recognised
>>     and some keys on the keyboard are not sending the correct characters.
>
>Did you install the sunkbd patch?  It's in the contrib directory on export.
>All the keys on my keyboard send events properly, except the following:
>The End, PageUp, PageDown on the 6-key cluster aren't recognized.
>Even the compose key works.  (Though I can't seem to get the composed
>characters in an xterm to get passed.)
>
>Anyone have a fix for the last two?
I don't know anything about a "sunkbd" patch, but I use the following
.Xmodmap file (run from .xinitrc via "xmodmap $HOME/.Xmodmap", of course) for
my Type-5 UNIX keyboard:  (It's a bit "brute force", however.)
------------------------------------------------------------------------------
!
! Sun Type-5 UNIX keyboard remappings
!
! This remaps the arrow keys properly
!
! By default, the arrow keys on the keypad (Shift-8 = Up, Shift-4 = Left,
! Shift-6 = Right, and Shift-2 = Down) work, but the arrow keys are not
! assigned to any keysym
!
keycode 27 = Up
keycode 31 = Left
keycode 34 = Down
keycode 35 = Right
!
! Now we want the Back Space key to emit the "Delete" keysym
!
keycode 50 = Delete
!
! Other random mappings that aren't on by default
!
! SysRq/Print Screen key
keycode 29 = SunSys_Req Print
! Break/Pause key
keycode 28 = Break Pause
! Alt Graph key
keycode 20 = Mode_switch
! PageUp key
keycode 103 = Prior
! PageDown key
keycode 130 = Next
! Insert key
keycode 51 = Insert
!
! Home, End keys = ???
!
! Open Look Functions
!
! Stop key (SunStop keysym == Cancel)
keycode 8 = SunStop
! Again key (SunAgain == Redo)
keycode 10 = SunAgain
! Props key
keycode 32 = SunProps
! Undo key (SunUndo == Undo)
keycode 33 = SunUndo
! Front key
keycode 56 = SunFront
! Copy key
keycode 58 = SunCopy
! Open key
keycode 79 = SunOpen
! Paste key
keycode 80 = SunPaste
! Find key (SunFind == Find)
keycode 102 = SunFind
! Cut key
keycode 104 = SunCut
--
- Greg Earle
Phone: (818) 353-8695		FAX: (818) 353-1877
Internet: earle@isolar.Tujunga.CA.US
UUCP: isolar!earle@elroy.JPL.NASA.GOV a.k.a. ...!elroy!isolar!earle
From: venkatg@grace.CS.ORST.EDU (Gopal Venkatraman)
Subject: question regarding overlaying of graphics
Article-I.D.: flop.1r5f7lINNj71
Distribution: world
Organization: Computer Science Department, Oregon State University
Lines: 32
NNTP-Posting-Host: grace.cs.orst.edu
Hello...
I wonder if some one can suggest an answer to the following question:
I am a total X novice and would appreciate any suggestions you may have.
I am trying to create a simple drawing tool....
__________
|        |
|     ___|___
|_____|__|  |
|	   |
|_____|
Let's say I have two rectangles on the canvas(see above)
one intersecting the other...
Now, I would like to delete one of the rectangles.
The way I do it is to create another GC wherein I use the
GXxor logical function and simply redraw the rectangle using the newly
created graphics context thus deleting it for all apparent purposes.
A problem with this approach is that at the points of intersection the pixel
locations belonging to the other rectangle also become white, which is
something that should be avoided.
Is there any way I can avoid this problem without having to redraw the other
rectangle too?
I also would not like to generate an expose event for the affected area
as this degrades performance very badly...
Thank you...
Gopal
From: rainer@sun3.eeam.elin.co.at (Rainer Hochreiter)
Subject: X-Terminal question
Organization: ELIN Energeanwendung Ges.m.b.H
Lines: 14
NNTP-Posting-Host: sun3.eeam.elin.co.at
X-Newsreader: TIN [version 1.1 PL9]
A simple question to all the Xperts:
Is it possible to use several X-Terminals
with only one mouse and one keyboard?
Any suggestions?
Thanks, rainer.
--
Rainer Hochreiter                | Telephone: +43 (1) 89100 / 3961
ELIN-Energieanwendung GesmbH     | Telefax  : +43 (1) 89100 / 3387
Penzingerstr. 76                 |
A-1141 Wien, Austria/Europe      | E-mail   : rainer@elin.co.at
From: marca@ncsa.uiuc.edu (Marc Andreessen)
Subject: NCSA Mosaic for X 1.0 available.
X-Md4-Signature: b912a4b59c6065f2e86a15751149a3f2
Organization: Nat'l Center for Supercomputing Applications
Lines: 79
Version 1.0 of NCSA Mosaic for the X Window System, a networked
information systems and World Wide Web browser, is hereby released:
file://ftp.ncsa.uiuc.edu/Mosaic/xmosaic-source/xmosaic-1.0.tar.Z
.../xmosaic-binaries/xmosaic-sun.Z
.../xmosaic-binaries/xmosaic-sgi.Z
.../xmosaic-binaries/xmosaic-ibm.Z
.../xmosaic-binaries/xmosaic-dec.Z
.../xmosaic-binaries/xmosaic-alpha.Z
.../xmosaic-diffs/xmosaic-0.13-1.0-diffs.Z
NCSA Mosaic provides a consistent and easy-to-use hypermedia-based
interface into a wide variety of networked information sources,
including Gopher, WAIS, World Wide Web, NNTP/Usenet news, Techinfo,
FTP, local filesystems, Archie, finger, Hyper-G, HyTelnet, TeXinfo,
telnet, tn3270, and more.
This release of NCSA Mosaic is known to compile on the following
platforms:
SGI (IRIX 4.0.2)
IBM (AIX 3.2)
Sun 4 (SunOS 4.1.3 with stock X11R4 and Motif 1.1, and GCC).
DEC Ultrix.
DEC Alpha AXP (OSF/1).
Documentation is available online.
Changes since 0.13 include:
o Added new resource, gethostbynameIsEvil, for Sun's that
coredump when gethostbyname() is called to try to find out what
their own names are. (Command-line flag is -ghbnie.)
o Explicitly pop down all dialog boxes when document view
window is closed, for window managers too dull to do so
themselves.
o Better visited anchor color for non-SGI's.
o Added .hqx and .uu to list of file extensions handled like .tar files.
o Added 'Clear' button to Open box, to allow more convenient
cut-n-paste entries of URL's.
o New resource 'autoPlaceWindows'; if set to False, new document
view windows will not be automatically positioned by the
program itself (but it's still up to your window manager just how
they're placed).
o Command-line flags -i and -iconic now have desired effect (new
resource initialWindowIconic can also be used).
o Gif-reading code is a little more bulletproof.
o Obscure infinite loop triggered by extra space in IMG tag fixed.
o Eliminated nonintuitive error message when image can't be read
(inlined NCSA bitmap is indication enough that something's not
right for authors, and readers can't do anything about bad images
in any case).
o Obscure parsing bug (for constructs like <ADDRESS><A
HREF=...>text<A></ADDRESS>) fixed.
o Fixed mysterious stupid coredump that only hits Suns.
o Fixed stupid coredump on URL's like '://cbl.leeds.ac.uk/'.
o Fixed buglet in handling rlogin URL's.
o New support for Solaris/SYSVR4 (courtesy
dana@thumper.bellcore.com).
o Better support for HP-UX 8.x and 9.x (courtesy
johns@hpwarf.wal.hp.com).
o Better support for NeXT (courtesy scott@shrug.dur.ac.uk).
o Some miscellaneous portability fixes (courtesy
bingle@cs.purdue.edu).
o Miscellaneous bug fixes and cleanups.
Comments, questions, and bug reports should be sent to
mosaic-x@ncsa.uiuc.edu.  Thanks in advance for any feedback you can
provide.
Cheers,
Marc
--
--
Marc Andreessen
Software Development Group
National Center for Supercomputing Applications
marca@ncsa.uiuc.edu
From: gowen@jade.tufts.edu (G. Lee Owen)
Subject: Re: WANTED: Info on Dedicated X Server Kernel for Sun3/100 Series
In-Reply-To: mbell@techbook.techbook.com's message of 20 Apr 1993 22:57:39 -0700
Lines: 30
Organization: Tufts University - Medford, MA
Distribution: na
> If anyone has any information about the existence or location of a
> dedicated X server kernel for the Sun3, please send email.  I am
> trying to put some neglected Sun3s to good use but they don't have
> enough memory for SunOS 4.1.1.  Thanks in advance for any help.
There is a free program called 'xkernel' which does just that.
It is by Seth Robertson (seth@ctr.columbia.edu).  It takes a sun 3 and
boots a limited kernel which allows you to run X.  We converted 4
machines over this semester and the speedup is enormously appreciable
-- I find them faster than an NCD 15inch black&white XTerminal that we
are playing with, and a bigger screen to boot!  As a matter of fact,
the department just bought some old sun3s at an auction to convert!
} Xkernel is available for anonymous ftp from ftp.ctr.columbia.edu
} [128.59.64.40] in /Xkernel/Xkernel.shar (/Xkernel is a symlink to the
} latest version of Xkernel)
Note that the compiled version which is available is for the
sun 3/50, but compiling to work for a sun 3/1xx should be quite easy.
I am not connected with xkernel except as a satisfied
installer and user 8).  I may be able to answer questions; feel free
to email me.
Greg Owen  { gowen@forte.cs.tufts.edu, gowen@jade.tufts.edu }
Systems Programmer and TA, Tufts University Computer Science Dept.
230-   All transfers are disclaimed by my host name and boss's address.
230-   If you don't like this policy, disconnect now!
From: dcr@mail.ast.CAm.ac.UK (Derek C. Richardson)
Subject: Re: Animation
Organization: The Internet
Lines: 81
To: xpert@expo.lcs.mit.edu
I think you tried to send me a message re: the animation query
I posted to comp.windows.x. I've appended what I received below.
If you can remember what you typed, I'd appreciate another attempt!
Derek
-----------------------------------------------------------
| Derek C. Richardson    | Tel: (0223) 337548 x 37501     |
| Institute of Astronomy | Fax: (0223) 337523             |
| Cambridge, U.K.        |                                |
| CB3 0HA                | E-mail: dcr@mail.ast.cam.ac.uk |
-----------------------------------------------------------
----- Begin Included Message -----
From aol.com!Postmaster Thu Apr 22 04:47:31 1993
Received: by cast0.ast.cam.ac.uk (UK-Smail 3.1.25.1/2)
id <m0nlsG0-0001MPC@cast0.ast.cam.ac.uk>; Thu, 22 Apr 93 04:47 BST
Received: from sco1.prod.aol.net by hp81.prod.aol.net with SMTP
(1.37.109.4/16.2) id AA19251; Wed, 21 Apr 93 23:49:16 -0400
From: Postmaster@aol.com
X-Mailer: America Online Mailer
To: dcr@mail.ast.cam.ac.uk
Subject: Returned Mail Unknown Member
Date: Wed, 21 Apr 93 23:46:36 EDT
Message-Id: <9304212346.tn60988@aol.com>
Status: R
The mail you sent could not be delivered; it was addressed to an unknown user.The text you sent follows...
Hi, I'm new to this group so please bear with me!
Two years ago I wrote a Sunview application for fast animation
of raster files. With Sunview becoming rapidly obselete, I've
finally decided to rewrite everything from scratch in XView.
I put together a quick test, and I've found that XPutImage()
is considerably slower (factor of 2 on average?) than the
Sunview command pw_rop() which moves image data from memory
pixrects to a canvas. This was on a Sparc IPX. It seems that:
(1) the X protocol communication is slowing things down; or
(2) XPutImage is inefficient...or both! My question is, what
is the fastest way in X11R5 to dump 8 plane image data to
a window? Can I take advantage of the fact that the client is
running on the same machine as the server? Or am I stuck with
XPutImage() (in which case I might as well give up now...)?
All help appreciated...thanks!
Derek
-----------------------------------------------------------
| Derek C. Richardson    | Tel: (0223) 337548 x 37501     |
| Institute of Astronomy | Fax: (0223) 337523             |
| Cambridge, U.K.        |                                |
| CB3 0HA                | E-mail: dcr@mail.ast.cam.ac.uk |
-----------------------------------------------------------
----------------------- Headers ------------------------
>From uupsi7!expo.lcs.mit.edu!xpert-mailer Wed Apr 21 23:46:29 1993 remote from aolsys
Received: from uupsi7 by aolsys.aol.com id aa23625; Wed, 21 Apr 93 23:39:41 EDT
Received: from EXPO.LCS.MIT.EDU by uu7.psi.com (5.65b/4.0.071791-PSI/PSINet) via SMTP;
id AA16562 for ; Wed, 21 Apr 93 19:44:00 -0400
Received: by expo.lcs.mit.edu; Wed, 21 Apr 93 13:58:06 -0400
Received: from ENTERPOOP.MIT.EDU by expo.lcs.mit.edu; Wed, 21 Apr 93 13:58:05 -0400
Received: by enterpoop.MIT.EDU (5.57/4.7) id AA15705; Wed, 21 Apr 93 13:57:34 -0400
Received: from USENET by enterpoop with netnewsfor xpert@expo.lcs.mit.edu (xpert@expo.lcs.mit.edu);contact usenet@enterpoop if you have questions.
To: xpert@expo.lcs.mit.edu
Date: Wed, 21 Apr 1993 15:46:20 GMT
From: dcr@mail.ast.cam.ac.uk (Derek C. Richardson)
Message-Id: <1993Apr21.154620.16330@infodev.cam.ac.uk>
Organization: Institute of Astronomy, Cambridge
Reply-To: dcr@mail.ast.cam.ac.uk
Subject: Animation with XPutImage()?
----- End Included Message -----
From: dcr@mail.ast.cam.ac.uk (Derek C. Richardson)
Subject: Re: Animation with XPutImage()?
Nntp-Posting-Host: ioas09.ast.cam.ac.uk
Reply-To: dcr@mail.ast.cam.ac.uk
Organization: Institute of Astronomy, Cambridge
Lines: 50
In article 4867@mlb.semi.harris.com, jmartin@egret.imagesRus (John Martin) writes:
> Animation is most frequently done by copying the the client resident XImages into
> server resident Pixmap(s) using XPutImage.  Once this is done, the original XImages
> can be deleted and the animation loop can be performed using XCopyArea from the Pixmaps to the windows drawable.
>
> Hope this is helpfull.
>
> John
>
I just implemented this and it seems I can just about achieve the display
rates (20 400x400x8 frames / sec on IPX) that I get with Sunview, though
it's a bit "choppy" at times. Also, loading the data, making an XImage,
then XPut'ing it into a pixmap is a bit cumbersome, so the animation is
slower to load than with Sunview. Is there a better way to load in the
data?
rgooch@rp.CSIRO.AU (Richard Gooch) writes:
>  If you need speed, and your client can run on the same host as the X server,
>  you should use the shared memory extension to the sample X server (MIT-SHM).
>  xdpyinfo  will tell you if your server has this extension. This is certainly
>  available with the sample MIT X server running under SunOS.
>  A word of warning: make sure your kernel is configured to support shared
>  memory. And another word of warning: OpenWindows is slower than the MIT
>  server.
>  I have written an imaging tool (using XView for the GUI, by the way) which
>  yields over 10 frames per second for 512*512*8 bit images, running on a Sparc
>  IPC (half the cpu grunt of an IPX). This has proved quite sufficient for
>  animations.
>
>				Regards,
>
>					Richard Gooch....
Shared memory PutImage (also mentioned by nkissebe@delphi.beckman.uiuc.edu,
Nick Kisseberth) looks interesting, but I need someone to point me to some
documentation. Is this method likely to give better results than server-
resident pixmaps? I'd also be interested in looking at the XView code
mentioned above...
Thanks for the help so far. If I get something decent put together, I'll
definitely post it to the Net.
-----------------------------------------------------------
| Derek C. Richardson    | Tel: (0223) 337548 x 37501     |
| Institute of Astronomy | Fax: (0223) 337523             |
| Cambridge, U.K.        |                                |
| CB3 0HA                | E-mail: dcr@mail.ast.cam.ac.uk |
-----------------------------------------------------------
From: kurt@dna.lth.se (Kurt Swanson)
Subject: What determines the default X font?
Organization: Lund Institute of Technology, Sweden
Lines: 10
I'm running X under openwindows 3.  Normal X programs not having a
font specified always show up in the same font - until I change the
fontpath, and restart windows - then a new default font is used until
the next change.  I can't seem to figure out how it chooses.  Is there
some way to set this?  Possibly something in .Xdefaults???
Please reply in direct email - I summarize.
--
Kurt Swanson, Dept. of Computer Science,
Lunds universitet.  Kurt.Swanson@dna.lth.se
From: rcb5@wsinfo03.win.tue.nl (Richard Verhoeven)
Subject: Re: Forcing a window manager to accept specific coordinates for a window
Organization: Eindhoven University of Technology, The Netherlands
Lines: 38
Distribution: world
NNTP-Posting-Host: wsinfo03.win.tue.nl
bading@cs.tu-berlin.de (Tobias 'Doping' Bading) writes:
>
> try this after XCreateWindow:
> -----------------------------
> ...
>
>   xsizehints->flags = USPosition | USSize;	/* or = PPosition | PSize */
>   ...
>   XSetWMNormalHints (display, window, xsizehints);
>   ...
>
> These hints tell the window manager that the position and size of the window
> are specified by the users and that the window manager should accept these
> values. If you use xsizehints->flags = PPosition | PSize, this tells the window
> manager that the values are prefered values of the program, not the user.
> I don't know a window manager that doesn't place the window like you prefer
> if you specify the position and size like above.
Sorry, but olwm and tvtwm don't do it. They place the title at that position
and the window at a position below it.
This becomes a problem when you want a program to be able to save its current
configuration and restore is later.
Currently, my solution is:
XCreateWindow(...);
XSetWMProperties(..);
XMapWindow(...);
XFlush(...);
XMoveWindow(...);
It works with olwm, but is less than elegant. All this leaves me wondering
if I'm overlooking something obvious.
Richard.
From: rgasch@nl.oracle.com (Robert Gasch)
Subject: Overriding Default Behaviour
Organization: Oracle Europe
Lines: 23
X-Newsreader: TIN [version 1.1 PL8]
Usually when I start up an application, I first get the window outline
on my display. I then have to click on the mouse button to actually
place the window on the screen. Yet when I specify the -geometry
option the window appears right away, the properties specified by
the -geometry argument. The question now is:
How can I override the intermediary step of the user having to specify
window position with a mouseclick? I've tried explicitly setting window
size and position, but that did alter the normal program behaviour.
Thanks for any hints
---> Robert
PS: I'm working in plain X.
******************************************************************************
* Robert Gasch	       * Der erste Mai ist der Tag an dem die Stadt ins      *
* Oracle Engineering   * Freihe tritt und den staatlichen Monopolanspruch    *
* De Meern, NL	       * auf Gewalt in Frage stellt                          *
* rgasch@nl.oracle.com *                           - Einstuerzende Neubauten *
******************************************************************************
From: beck@irzr17.inf.tu-dresden.de (Andre Beck)
Subject: Re: Animation with XPutImage()?
Organization: Dept. of Computer Science, TU Dresden, Germany.
Lines: 37
Distribution: world
Reply-To: Andre_Beck@IRS.Inf.TU-Dresden.DE
NNTP-Posting-Host: irzr17.inf.tu-dresden.de
In article <1993Apr21.154620.16330@infodev.cam.ac.uk>, dcr@mail.ast.cam.ac.uk (Derek C. Richardson) writes:
|> Two years ago I wrote a Sunview application for fast animation
|> of raster files. With Sunview becoming rapidly obselete, I've
|> finally decided to rewrite everything from scratch in XView.
|> I put together a quick test, and I've found that XPutImage()
|> is considerably slower (factor of 2 on average?) than the
|> Sunview command pw_rop() which moves image data from memory
|> pixrects to a canvas. This was on a Sparc IPX. It seems that:
|> (1) the X protocol communication is slowing things down; or
|> (2) XPutImage is inefficient...or both! My question is, what
The protocol has to move the whole image from process memory to server
memory, this is the hog. The conversions in the XPutImage() are
fast.
|> is the fastest way in X11R5 to dump 8 plane image data to
|> a window? Can I take advantage of the fact that the client is
|> running on the same machine as the server? Or am I stuck with
Yes, by utilizing the MIT-SHM extension, that provides an XPutImage
derivate that uses shared memory. Fine fast.
|> XPutImage() (in which case I might as well give up now...)?
|>
No. You can still XPutImage all of the frames onto pixmaps (thus moving
them to server memory) and then replay them fastest using XCopyArea()
BUT be aware, this is a major server memory bummer !
--
+-o-+--------------------------------------------------------------+-o-+
| o |                \\\-  Brain Inside -///                       | o |
| o |                    ^^^^^^^^^^^^^^^                           | o |
| o | Andre' Beck (ABPSoft) mehl: Andre_Beck@IRS.Inf.TU-Dresden.de | o |
+-o-+--------------------------------------------------------------+-o-+
From: pmcgilla@hp.uwsuper.edu (Mr. Patrick L. McGillan)
Subject: DXF format display
Organization: University of Wisconsin - Superior
Lines: 17
NNTP-Posting-Host: 137.81.1.3
X-Newsreader: TIN [version 1.1 PL7]
HI,
I am looking for an X app that will display dxf files. These are
ascii text files that are normally associated with autocad. I have
a large 9 meg. file of the state of wisconsin that i would like to
views and or cut into smaller chunks.
I also would like to find a complete file layout for dxf files.
Any information would be appreciated.
--
Patrick L. McGillan
Computer Systems Specialist
University Of Wisconsin     Ph:  (715) 394-8191
Superior, Wisconsin         pmcgilla@uwsuper.edu
From: eks@daimi.aau.dk (Eigil Krogh S|rensen)
Subject: X-window for PC
Organization: DAIMI: Computer Science Department, Aarhus University, Denmark
Lines: 7
If a X-window package exists, that runs om PC, DOS (and maybe MS-windows)
I would be very happy to hear about it.
Thanx in advance.
-- Eigil Krogh Sorensen
From: operator@mast.mast.queensu.ca (Me)
Subject: Vanishing font problem....
Organization: Department of Mathematics, Queen's University at Kingston
Lines: 25
A colleague has a bizarre font problem on his new MIPS workstation.
When he first logs on (via xdm), he has a single xterm window appear
with the mwm window manager running.  In this configuration, X windows
applications (particularly xdvi) work fine.  However, if he opens up a
second xterm application, suddenly xdvi cannot start in either window,
giving the error: Unable to load ISO 8859-1 font.
The only difference between the two xterm windows is that the initial
one references a different name in the Xsession file, with prettier
colours and other slight changes.  Further investigation shows that only
opening a default xterm causes this behaviour, and more significant, ALL
X applications can no longer load any fonts if they are invoked from the
command line in either window.  If I start the xterm with a different
font (using the -fn option), no problems.  It would seem that the
default xterm is loading a font which somehow causes the server to lose
all of its fonts.  Note: xlsfonts in either window shows all of the
fonts available, so there doesn't appear to be a problem in the font
directories/hash-tables.
Other than rewriting the XTerm app-defaults file to use a different
font and hope for the best, does anyone have any ideas?
More info:  This is the most recent MIPS workstation (R4000 I believe),
with the most current operating system and running X11R5.
It is not mwm's fault, as the same problems occur under twm, etc.
From: sp1henhj@edit (Henrik Balthazar Hjort)
Subject: PostScript on X-terminal
Lines: 15
X-Newsreader: Tin 1.1 PL3
I have a problem when I'm using PostScript. When I am working local
on a SUN SPARCstaton IPC the PostScript works good, but when I connect
to the SUN from a X-terminal I just get error messages that the
PostScript cannot connect to the news-display.
Why doesn't PostScript work on an X-terminal?
Is there any way to make it work?
Henrik "Henrik Hjort" Hjort
From: scornd4@technet.sg (HIANLEONG ONG)
Subject: Re: ..Image processing Packages under X..
Nntp-Posting-Host: solomon.technet.sg
X-Newsreader: TIN [version 1.1 PL9]
Lines: 20
Prateek Mishra (mishra@cs.sunysb.edu) wrote:
: I am looking for a package that implements standard
: image processing functions (reading/writing from
: standard formats), clipping, zoom, etc. implemented
: under X. Both public domain and private packages
: are of interest. The particular application area I
: have in mind is medical imaging, but a package meant
: for a more general context would be acceptable.
: Please reply to me; I will summarize on the net if
: there is general interest.
: - prateek mishra
: mishra@sbcs.sunysb.edu
keep tabs with the FAQ in sci.image.processing. There is quite a
comprehensive compilation of image processing s/w (X included). I've
ftp'ed ImageMagick and its great. Check out the FAQ its all there.
From: jdhuse@sedona.intel.com (Jon Dhuse~)
Subject: a strange problem with text
Organization: Intel Corporation
Lines: 28
Distribution: world
NNTP-Posting-Host: tasmania.intel.com
Originator: jdhuse@sedona
Hello,
I am testing a port of X11R5 to Coherent, a unix clone OS for Intel architecture
machines.  I am seeing a strange problem with text in clients like xvt (a simple
terminal emulator program).
The problem manifests it self when the shell echoes typed characters back to the
server for display, one at a time.  The characters appear to be too closely
spaced, with the result being that the 2nd character echoed destroys the
rightmost edge of the first character, then the 3rd character destroys the
rightmost edge of the second character, and so on.  It looks like there is an
invisible boundary around a character which obscures a portion of the previous
character.  There is no problem between the characters when the shell returns
a complete line of text... only when the output is a series of individual
characters.
If anyone has any ideas what the problem might be, or where I should look to
find it, it would be much appreciated.
Regards and thanks, Jon Dhuse.
--
Jon Dhuse              |     Internet: jdhuse@sedona.intel.com
Intel  Corp.  CH3-69   |     Phone: (602)-554-2685
5000 W. Chandler Blvd. | Any opinions expressed are my own,
Chandler, AZ  85226    | not my employer's.
From: egreshko@twntpe.cdc.COM (Ed Greshko)
Subject: cxterm on MIPS
Organization: The Internet
Lines: 13
To: xpert@expo.lcs.mit.edu
Hello,
Has anyone built cxterm (X11R5) on a MIPS platform.  If you have,
please send me email as I don't read this group.  I've a bunch of questions...
:-)
Thanks
Edward M. Greshko			Control Data Taiwan
Voice: +886-2-715-2222 x287		6/F, 131 Nanking East Road, Section 3
FAX  : +886-2-712-9197			Taipei, Taiwan R.O.C
From: trevor@telesoft.com (Trevor Bourget @ignite)
Subject: Re: REPOST: Accelerators/Translations
Keywords: Accelerator, case
Organization: Alsys Group, San Diego, CA, USA
Lines: 75
In <sdennis.735423404@aa.cad.slb.com> sdennis@osf.org writes:
>I posted this a while ago and didn't receive one reply, and now we
>have another bug report on the same subject. Can anybody help me out?
The problem is that Motif uses XGrabKey to implement menu accelerators,
and these grabs are specific about which modifiers apply.  Unfortunately,
the specification for XGrabKey doesn't allow AnyModifier to be combined
with other modifiers, which is exactly what would be desired in this case:
"Ctrl Any<Key>q".
>In ORA Vol. 6, in the section on accelerators it says "For information
>on how to specify translation tables see Vol. 4...", this is so you
>know what to put for the XmNaccelerator resource.  If you go to
>Vol. 4 it says, "Likewise, if a modifier is specified, there is
>nothing to prohibit other modifiers from being present as well. For
>example, the translation:
>	Shift<Key>q:	quit()
>will take effect even if the Ctrl key is held down at the same time as
>the Shift key (and the q key).
This is true for accelerators and mnemonics, which are implemented using
event handlers instead of grabs; it's not true for menu accelerators.  If
you're a Motif implementor, I'd suggest lobbying to get the Xlib semantics
changed to support the feature I described above.  Otherwise, change the
documentation for menu accelerators to properly set the user's
expectations, because menu accelerators are NOT the same thing as
translations.
>Is it possible to supply > 1 accelerator for a menu entry?
If you mean "menu accelerator", no it's not possible.  That's according to
the definition of the XmNaccelerator resource in the XmLabel manual page.
>Keep in mind when answering this question that when using Motif you
>can't use XtInstallAccelerators().
I can't think of a reason why not.
>How can you ensure that accelerators work the same independent of
>case?  What I want is Ctrl+O and Ctrl+o to both be accelerators on one
>menu entry.
There is a workaround for Motif users.  In addition to the normal menu
accelerator you install on the XmPushButton[Gadget], set an XtNaccelerators
resource on the shell (TopLevel or Application).  Install the shell's
accelerators on itself and all of its descendants with
XtInstallAllAccelerators (shell, shell).
For example,
applicationShell - mainWindow - menuBar - fileCascade
-- filePulldown - openPushbutton
- exitPushbutton
*openPushbutton.accelerator = Ctrl<Key>O
*openPushbutton.acceleratorText = Ctrl+O
*exitPushbutton.accelerator = Ctrl<Key>Q
*exitPushbutton.acceleratorText = Ctrl+Q
*applicationShell.accelerators = #override\n\
Ctrl<Key>O: PerformAction(*openPushbutton, ArmAndActivate)\n\
Ctrl<Key>Q: PerformAction(*exitPushbutton, ArmAndActivate)
You have to write and add the application action PerformAction, which you
can implement by using XtNameToWidget on the first argument and then
XtCallActionProc with the rest of the arguments.
I tested out something similar to this.  To shorten development time, I
used TeleUSE's TuNinstallAccelerators resource to install the accelerators
on the shell, and I directly invoked the Open and Quit D actions instead
of asking the pushbuttons to do it for me, but the more general approach I
described above should work.
-- Trevor Bourget (trevor@telesoft.com)
From: rgooch@rp.CSIRO.AU (Richard Gooch)
Subject: Re: Animation with XPutImage()?
Organization: CSIRO Division of Radiophysics/Australia Telescope National Facility
Lines: 51
In article <1993Apr22.092830.2190@infodev.cam.ac.uk>, dcr@mail.ast.cam.ac.uk (Derek C. Richardson) writes:
> I just implemented this and it seems I can just about achieve the display
> rates (20 400x400x8 frames / sec on IPX) that I get with Sunview, though
> it's a bit "choppy" at times. Also, loading the data, making an XImage,
> then XPut'ing it into a pixmap is a bit cumbersome, so the animation is
> slower to load than with Sunview. Is there a better way to load in the
> data?
>
> rgooch@rp.CSIRO.AU (Richard Gooch) writes:
> >  If you need speed, and your client can run on the same host as the X server,
> >  you should use the shared memory extension to the sample X server (MIT-SHM).
> >  xdpyinfo  will tell you if your server has this extension. This is certainly
> >  available with the sample MIT X server running under SunOS.
> >  A word of warning: make sure your kernel is configured to support shared
> >  memory. And another word of warning: OpenWindows is slower than the MIT
> >  server.
> >  I have written an imaging tool (using XView for the GUI, by the way) which
> >  yields over 10 frames per second for 512*512*8 bit images, running on a Sparc
> >  IPC (half the cpu grunt of an IPX). This has proved quite sufficient for
> >  animations.
> >
> >				Regards,
> >
> >					Richard Gooch....
>
> Shared memory PutImage (also mentioned by nkissebe@delphi.beckman.uiuc.edu,
> Nick Kisseberth) looks interesting, but I need someone to point me to some
> documentation. Is this method likely to give better results than server-
> resident pixmaps? I'd also be interested in looking at the XView code
> mentioned above...
>
> Thanks for the help so far. If I get something decent put together, I'll
> definitely post it to the Net.
>
The MIT tapes come with documentation written by Keith Packard on the Shared
Memory Extension to X. Look in:  mit/doc/extensions/mit-shm.ms
I found this invaluble. Unfortunately, there is a bit of work to set up the
shared memory segments, making an XImage from it, etc. Also, there is an
extension query to determine if the server supports it, but you still need to
test if the server is running on the same host and if shared memory is enabled
in the kernel. I have written layers of convience routines which make all this
transparent.
As for the XView code, well, I doubt that would be considered interesting.
The interesting stuff is done in a C object library. People interested in this
code can Email me.
Regards,
Richard Gooch,
rgooch@atnf.csiro.au
From: egan@phony25.cc.utah.edu (Egan F. Ford)
Subject: Need Help with key bindings
Reply-To: egan%phony25.cc.utah.edu@hellgate.utah.edu
Organization: Call Business Systems
Lines: 21
I need help binding some value to the HOME and END keys on my keyboard.  I have an
rs/6000 w/ aix3.2.3ext running X11R5pl19 mit dist.  I'm using a PC running eXceed
for windows as my xterminal.  The HOME and END keys do not send a value, and my
application needs them to be defined.  I used this in my Xdefaults to define the
keys:
varnet*VT100.Translations: #override \
<Key>Home: string("\033[8~") \n\
<Key>End: string("\033[7~")
Then I xterm -name varnet.  This works perfect, however the 7 and the 1 key on my
keypad are also defined as \033[8~ and \033[7~.
Any ideas?  Help please.
Thanks.
--
Egan F. Ford
egan%phony25.cc.utah.edu@hellgate.utah.edu
From: marc@pinet.aip.org (Marc Wiener)
Subject: core dump from getcons(?)
Organization: American Institute of Physics
Lines: 11
We are getting a memory fault and a core dump whenever we end a Motif
session under Ultrix 4.3, running on a DEC 5000/240. An examintion of the
core file leads us to believe it's from getcons. Does anyone know what
this is all about?
marc
--
Marc Wiener                    |    marc@aip.org
American Institute of Physics  |
500 Sunnyside Blvd.            |    Voice: (516)576-2329
Woodbury, NY 11797             |    Fax:   (516)349-7669
From: dcr@mail.ast.cam.ac.uk (Derek C. Richardson)
Subject: Re: Animation with XPutImage()?
Nntp-Posting-Host: ioas09.ast.cam.ac.uk
Reply-To: dcr@mail.ast.cam.ac.uk
Organization: Institute of Astronomy, Cambridge
Lines: 33
In article 17886@nrao.edu, rgooch@rp.CSIRO.AU (Richard Gooch) writes:
>   The MIT tapes come with documentation written by Keith Packard on the Shared
>   Memory Extension to X. Look in:  mit/doc/extensions/mit-shm.ms
>   I found this invaluble. Unfortunately, there is a bit of work to set up the
>   shared memory segments, making an XImage from it, etc. Also, there is an
>   extension query to determine if the server supports it, but you still need to
>   test if the server is running on the same host and if shared memory is enabled
>   in the kernel. I have written layers of convience routines which make all this
>   transparent.
>   As for the XView code, well, I doubt that would be considered interesting.
>   The interesting stuff is done in a C object library. People interested in this
>   code can Email me.
>
> 				Regards,
>
> 					Richard Gooch,
> 					rgooch@atnf.csiro.au
Thanks for docs info. It turns out that if I leave out colormap updates between
frames and use tvtwm, my tests with 100 400x400x8 frames on an IPX using the
server-resident pixmap method give an astonishing *50* frames per second! And
VERY smooth. I think I've found the best solution (thanks to the generous help
on this group!) However, I may have colormap questions later.....
Derek
-----------------------------------------------------------
| Derek C. Richardson    | Tel: (0223) 337548 x 37501     |
| Institute of Astronomy | Fax: (0223) 337523             |
| Cambridge, U.K.        |                                |
| CB3 0HA                | E-mail: dcr@mail.ast.cam.ac.uk |
-----------------------------------------------------------
From: Rob Earhart <earhart+@CMU.EDU>
Subject: Re: Animation with XPutImage()?
Organization: Pittsburgh Supercomputing Center
Lines: 38
<1993Apr22.092830.2190@infodev.cam.ac.uk>
NNTP-Posting-Host: po5.andrew.cmu.edu
In-Reply-To: <1993Apr22.092830.2190@infodev.cam.ac.uk>
dcr@mail.ast.cam.ac.uk (Derek C. Richardson) writes:
> Shared memory PutImage (also mentioned by nkissebe@delphi.beckman.uiuc.edu,
> Nick Kisseberth) looks interesting, but I need someone to point me to some
> documentation. Is this method likely to give better results than server-
> resident pixmaps? I'd also be interested in looking at the XView code
> mentioned above...
There's documentation on how to use the shared memory extension in the
X11R5 distribution.
Actually, I just finished writing a motif animation program...
(take-lots-of-image-data-and-display-it-pretty-darn-fast). When using
on-server pixmaps or shared memory, I had to insert a delay loop to keep
it from going too quickly :). Testing both methods side by side, they
were just about equal.
The advantage of SHM is that your X server doesn't grow to ridiculous
sizes; but pixmaps can work over a network and *are* removed if your
application dies (one tends to use ipcrm manually quite a bit when
debugging SHM apps).
Shared memory also has the problem that some operating systems (e.g.
Ultrix) seem to allow only a small number of segments (~6) to be
attached to a process at once; consequently, a redraw becomes
XShmAttach();XShmPutImage();XShmDetach(); on Dec systems. And Dec's 24
bit displays (like the ones I tend to use most often) don't seem to
support the extension (maybe someone compiled them wrong?), and using
pixmaps causes the X server to crash (failed mallocs), so one *has* to
use the local unix domain socket (which really isn't that bad; one
copies the info three times per redraw instead of one).
In short: allowing all three forms of display, within the program is a
Good Thing (minus SHM if running over a network), and let the user pick
whatever feels fastest.
(I just use an ximagehandler class and forget about it :)
)Rob
From: cwikla@morrison.wri.com (John Cwikla)
Subject: Pixmaps and colormaps sent through selections...
Summary: Selections and Pixmaps/Colormaps
Keywords: Selections
Nntp-Posting-Host: morrison.wri.com
Organization: Wolfram Research, Inc.
Lines: 18
I want to be able to send a Pixmap from one client to the next.
Along with this I want to send the Colormap and foreground and
background pixel values.  So far not a problem, I can do
this with no problem.
However, once I have the Pixmap id and the Colormap id, how
do I go about telling the server that the second (receiving)
client now wants to have associations with the two id's?
TIA,
John
--
o  John L. Cwikla                       o                            o
o  X Programmer                         o  X was never the first     o
o  Wolfram Research, Inc.               o   letter of the alphabet   o
o  cwikla@wri.com  (217) 398-0700       o                            o
From: gnohmon@ssiny.UUCP (Ralph Betza)
Subject: dynamic SqueezeTitle configuration in *twm
Keywords: TWM, twm, vtwm, tvtwm, ctwm
Organization: Systems Strategies, Inc., NY, NY
Lines: 123
I consider TWM-style Squeezed Titles indispensable in a window
manager. I like to have two tall xterm windows visible at the same
time, with no overlap; and since two windows aren't enough, I have
other xterm windows underneath them, with exactly the same positioning.
In case you're not familiar with Squeezed Titles, here's a crude
picture:
====================== Figure 1 ====================================
|
|    +---------+                   +---------+          +=========+
|    + title A +                   + title B +          + title C +
|    +------------------------+    +------------------------------+
|    +   this is the          +    + window B hides window C, but +
|    +     body of the        +    + you can still see C's title  +
|    +      window, window A  +    + which is squeezed right.     +
|    +------------------------+    +------------------------------+
|
====================== Figure 1 ====================================
Squeezed titles allow me to have about 5 such windows in each stack,
with easy access; and 3 per stack is usually more than I really
need, since I also insist on having a virtual WM.
The only problem is that the title location is static, that is,  it
is configured in .twmrc, and in order to change it you have to edit
that file and restart the window manager. Doing so is cumbersome and
time-consuming.
Therefore, I have implemented f.squeeze{ left, center, right }
functions in my own copy of vtwm; the idea being that with one click
of a button, you can change this:
+---------+
+ title A +
+------------------------+
+   this is the          +
+     body of the        +
+      window, window A  +
+------------------------+
to this:
+---------+
+ title A +
+------------------------+
+   this is the          +
+     body of the        +
+      window, window A  +
+------------------------+
===============
Okay. So far, so good. Now, how the heck do I get them to put this
into the next "official" twm, and the next tvtwm, and the next vtwm,
and the next ctwm? And the next xyztwm that I never heard of?
One way would be to post, in comp.windows.x, a description of this
enhancement, together with an explanation of why I think it is a
Very Good Thing, and hope that someone reads it. :-)
In case it isn't already clear why I think it's a Very Good Thing,
look back up at Figure 1, and picture window A moved over on top of
windows B and C; now window A's title hides Window B's title;
but when you hit f.squeezecenter, the result is:
+=========+   +---------+   +=========+
+ title B +   + title A +   + title C +
+-------------------------------------+
+   this is the body of the window,   +
+   window A, which is on top.        +
+-------------------------------------+
===================
The rest of this posting explains how to implement it, based on my
X11R4 copy of vtvwm.shar; it's just a sketch because posting the
full diffs would be too long.
The key to this enhancement is to add the following lines in the
ExecuteFunction() routine in menus.c:
#ifdef SHAPE
case F_SQUEEZELEFT:
{	static SqueezeInfo left_squeeze = { J_LEFT, 0, 0 };
if (DeferExecution (context, func, Scr->SelectCursor))
return TRUE;
tmp_win->squeeze_info = &left_squeeze;
SetFrameShape( tmp_win );
break;
}
.... and similarly for squeezeright ( J_RIGHT ) and
squeezecenter ( J_CENTER ) ...
#endif
( Of course, you also have to define F_SQUEEZELEFT in parse.h
and add
{ "f.squeezeleft", FKEYWORD, F_SQUEEZELEFT },
... and so forth ...
to parse.c
In order to use these functions, add something like the
following to your .twmrc file:
Button2 = m | s : w|v|d|r|i|t|door : f.squeezecenter
=================
About a year ago, I posted this, but our news was broken and I
*think* it didn't get out.
Since then, "blast" has appeared in comp.sources.x, Volume 19,
Issue 41; you could use blast to achieve a similar effect, by
chiseling away at an mwm-style wide title. Better to have a
twm-style window manager, I think.
--
Ralph Betza (FM),
uunet!ssiny!gnohmon         gnohmon@ssiny.com
"The question of whether a computer can swim is more interesting
than the question of whether a submarine can think" - Lenny Dykstra
From: whaley@sigma.kpc.com (Ken Whaley)
Subject: Re: Animation with XPutImage()?
In-Reply-To: dcr@mail.ast.cam.ac.uk's message of Thu, 22 Apr 1993 09:28:30 GMT
Organization: Kubota Pacific Computer Inc.
<1993Apr22.092830.2190@infodev.cam.ac.uk>
Lines: 38
|
| Shared memory PutImage (also mentioned by nkissebe@delphi.beckman.uiuc.edu,
| Nick Kisseberth) looks interesting, but I need someone to point me to some
| documentation. Is this method likely to give better results than server-
| resident pixmaps? I'd also be interested in looking at the XView code
| mentioned above...
There is no easy answer to this question: it depends on whether the display
device can hold pixmaps in off-screen memory, and if so, how efficiently
the server manages these resources (having to deal with limited off-screen
memory is the bane of the server implementor's existence!).
I have worked with graphics devices where the off-screen memory to
main display copy rate eclipses that of the main memory to display copy
rate, and with those where the main memory to display is *faster* than
off-screen to display (requires only a write to the framebuffer rather
than a read of the F.B. followed by a write)
If your server uses the cfb code or something like it to render into
pixmaps in CPU main memory, the rates you can get through MIT-SHM are
likely to be equal (maybe a tad slower, depending on your OS's implementation
of shared memory) to CopyArea from pixmap to window, which is also then
just a copy from CPU main memory to graphics device.
One advanage of MIT-SHM is that if your images are large, you don't end up
growing the size of the server process to hold them.
One disadvantage of the MIT-SHM is that, in its sample implementation,
there is no provision for elegantly cleaning up the shared memory segments
if the client dies a sudden, violent death (e.g., "kill").  You have to
be mindful of cluttering up the system with zombie shared memory segments.
Ken
--
Kenneth Whaley			 (408) 748-6347
Kubota Pacific Computer, Inc.	 Email: whaley@kpc.com
2630 Walsh Avenue
Santa Clara, CA.  95051
From: pramodmm@deforest.ee.washington.edu (Pramod Mahadev)
Subject: Help on xlib and include files
Article-I.D.: shelley.1r6om2INN3tf
Distribution: world
Organization: University of Washington, Seattle
Lines: 28
NNTP-Posting-Host: deforest.ee.washington.edu
Hi Xperts!
I have a Sparc-1 with very limited disk space on /usr partition.
previously, i was able to run all x-windows applications  and then
i upgraded my system to sun o.s. 4.1.3 and realized that , the hard
disk did not have enough space to load openwindows. My immediate alternative
was to load only the neccessary files to boot the system. This resulted in
not loading openwindows. As a result of which none of the X-libraries got loaded.
I am trying to load just the libraries and include files and bin/X11 files
required for running X-windows and compiling my programs written for Xlib and Xaw.
In a desperate effort to regain x-windows, i retrieved /usr/lib/libX*.* files from
the tape . /usr/bin/X11/*  and /usr/include/X11/* . Is this enough for running X-windows
BUt i did not get /usr/lib/X11/fonts/  sub directories . these are mainly 100dpi, 75dpi
and misc.
when i run xinit, the error message says /usr/lib/X11/fonts/100dpi etc are not in the
default path. But the problem is i cannot load any of those directories as there is no
disk space.
Are there any temporary suggestions before I get a 1.5 GB disk and load openwindows , to
just have my x-windows running.
Thanks
Pramod
--
From: nicholas@ibmpcug.co.uk (Nicholas Young)
Subject: Writing a Motif widget
X-Disclaimer: The views expressed in this article are those of the author
alone and may not represent the views of the IBM PC User Group.
Organization: The IBM PC User Group, UK.
Lines: 22
Can anyone give me some information, please ...
I need (probably) to write one or more new Motif widgets on the HP-UX
platform. Do I need the Motif private header files and source,
or can I make do with the public headers that are provided?
"Motif" includes Xt in this context.
One widget is a multi-column list (which lots of people have
already written, I am sure), and would therefore be probably be
a subclass of List rather than something simple like an Xt class.
Is this more difficult (in principle, not lines of code)?
Alternatively, if anyone has a multi-column list widget they
could sell me, this might save me from having to write one!
Does it by any chance exist in Motif 1.2 already (I do not
yet have the spec)?
Answers appreciated,
Nicholas.
--
Nicholas Young (+44 71 637 9111)
From: toml@blade.Boulder.ParcPlace.COM (Tom LaStrange)
Subject: Re: Forcing a window manager to accept specific coordinates for a window
Reply-To: toml@boulder.ParcPlace.COM
Organization: ParcPlace Boulder
Lines: 45
In article <1r5l8g$bub@wsinfo03.win.tue.nl>, rcb5@wsinfo03.win.tue.nl (Richard Verhoeven) writes:
|> bading@cs.tu-berlin.de (Tobias 'Doping' Bading) writes:
|> >
|> > try this after XCreateWindow:
|> > -----------------------------
|> > ...
|> >
|> >   xsizehints->flags = USPosition | USSize;	/* or = PPosition | PSize */
|> >   ...
|> >   XSetWMNormalHints (display, window, xsizehints);
|> >   ...
|> >
|> > These hints tell the window manager that the position and size of the window
|> > are specified by the users and that the window manager should accept these
|> > values. If you use xsizehints->flags = PPosition | PSize, this tells the window
|> > manager that the values are prefered values of the program, not the user.
|> > I don't know a window manager that doesn't place the window like you prefer
|> > if you specify the position and size like above.
|>
|> Sorry, but olwm and tvtwm don't do it. They place the title at that position
|> and the window at a position below it.
The reason they place their outside corner at the location you requested
is because that's what the ICCCM says they should do.
|> This becomes a problem when you want a program to be able to save its current
|> configuration and restore is later.
|>
|> Currently, my solution is:
|>
|> 	XCreateWindow(...);
|> 	XSetWMProperties(..);
|> 	XMapWindow(...);
|> 	XFlush(...);
|> 	XMoveWindow(...);
This code will almost certainly break.  Calling XMapWindow and then
XFlush does not guarantee that the window is visible and managed by the
window manager.  Even if this did work, there isn't a reliable way to
find out how much decoration the window manager placed around your
window, so you don't know how far to move it.  And what if the window
manager refuses to move your window?
--
Tom LaStrange        toml@boulder.ParcPlace.COM
From: gowen@jade.tufts.edu (G. Lee Owen)
Subject: Re: PostScript on X-terminal
In-Reply-To: sp1henhj@edit's message of 22 Apr 93 14:08:31 GMT
Lines: 20
Organization: Tufts University - Medford, MA
Distribution: na
> I have a problem when I'm using PostScript. When I am working local
> on a SUN SPARCstation IPC the PostScript works good, but when I connect
> to the SUN from a X-terminal I just get error messages that the
> PostScript cannot connect to the news-display.
>  Why doesn't PostScript work on an X-terminal
Because xterminals do not have a NeWS server.  xterminals have
speed by nature of their limited functionality: once you add NeWS and
everything else, you have a workstation.  There are workarounds, I've
heard, one involving a perl script.  What we are trying to do is
replace programs that need NeWS (like pageview) with programs that
don't (like ghostview).
Maybe someone else can elaborate on the perl workaround; I
have no personal experience with it.
Greg Owen  { gowen@forte.cs.tufts.edu, gowen@jade.tufts.edu }
Systems Programmer and TA, Tufts University Computer Science Dept.
230-   All transfers are disclaimed by my host name and boss's address.
230-   If you don't like this policy, disconnect now!
From: dyoung@media.mit.edu (David Young)
Subject: Q: Colormaps with dialog shells
Organization: MIT Media Laboratory
Lines: 17
I have an applicationShell which uses a colormap created with
XCreateColormap() and uses all of the colors available for my 8-bit
display.  When I move the cursor over the window I get the "Technicolor
Effect" - which is fine.  Basically, my program works.
My problem/question is: When I popup a dialogShell to prompt the user for
some input I want the XmNdialogStyle to be set to
XmDIALOG_PRIMARY_APPLICATION_MODAL.  The result is that if my cursor is
over the dialogShell I get my colormap, but if the cursor is over the
applicationShell (or any window other than the dialogShell) I get the
default colormap.  But I'd like it so that if my cursor is over _any_
window of my application, I get my colormap.
Any suggestions?  Thanks,
david,
From: banz@umbc.edu (Rob Banz)
Subject: Looking for an R5 Xserver for HP9000/385
Organization: University of Maryland, Baltimore County Campus
Lines: 14
Distribution: na
NNTP-Posting-Host: umbc7.umbc.edu
X-Auth-User: banz
Subject says it all...
Anyone know where I can find one.  Binaries are nice, but source would
do to.
Thanks in advance,
--
Rob Banz (banz@umbc.edu)
"If we give people an alternative to Microsoft...it will have been
a greater good."	         -Steve Jobs (UnixWorld, April 1993)
"Yes, Bill, we are your father!" -IBM OS/2 Presentation, FOSE'93
From: hoang1@litwin.com (Ted Hoang)
Subject: Wcl 2.02
Organization: Litwin Process Automation
Lines: 17
Hi,
I have a problem when compiled Wcl 2.02 in SCO ODT 2.0:
cc -c -Ox  -I.. -I/usr/include Xt4GetResL.c
Xt4GetResL.c
Xt4GetResL.c(47) : error C2065: '_XtConstraintBit' : undefined
*** Error code 1
Although I follow the instructions in file README_BUILD to build Wcl in SCO
platform, this problem didn't resolve.
So I have some questions related to this matter:
1. Does _XtConstraintBit exist in SCO ODT 2.0? ( Does _XtConstraintBit use
in X11R3 & X11R4? And What release does SCO ODT 2.0 use, X11R3 or X11R4?)
2. If not, Does someone know how to work around?
From: mikes@ase.co.UK (Mike Schofield-00000315)
Subject: xterm with status line and color
Organization: The Internet
Lines: 6
To: xpert@expo.lcs.mit.edu
I'm looking for a version of xterm which handles color and vt220 style status
lines. Can anyone out there help?
Thanks
From: wcl@risc.sps.mot.com (Wayne Long)
Subject: PROBLEM:  Running AIX info from a Sun rlogin shell.
Organization: Motorola (Austin,TX)
Lines: 22
NNTP-Posting-Host: ome.sps.mot.com
When I run our RS6000's "info" utility through a remote login
shell (rlogin) from my Sun Sparc 1+, I can no longer type
lower case in any of info's window prompt's.
I thought the prob. may have been due to my Sun window mgr.
(Openlook) being incompatible with the AIX Motif application
but I tried it under TVTWM also.  Same result.
So this is presumably an X11 key definition problem between
workstations - but my system admins. feign ignorance.
What do I need to do the be able to type lower case into
this remote AIX motif app. from within my local Openlook
window manager?
--
-------------------------------------------------------------------
Wayne Long - OE215              Internet: wcl@risc.sps.mot.com
6501 William Cannon Drive West  UUCP: cs.texas.edu!oakhill!risc!wcl
Austin, Texas 78735-8598        Phone (512) 891-4649  FAX: 891-3818
From: toml@blade.Boulder.ParcPlace.COM (Tom LaStrange)
Subject: Re: REPOST: Accelerators/Translations
Keywords: Accelerator, case
Reply-To: toml@boulder.ParcPlace.COM
Organization: ParcPlace Boulder
Lines: 68
In article <1993Apr22.162016.5923@telesoft.com>, trevor@telesoft.com (Trevor Bourget @ignite) writes:
|> In <sdennis.735423404@aa.cad.slb.com> sdennis@osf.org writes:
|>
|> >I posted this a while ago and didn't receive one reply, and now we
|> >have another bug report on the same subject. Can anybody help me out?
|>
|> The problem is that Motif uses XGrabKey to implement menu accelerators,
|> and these grabs are specific about which modifiers apply.  Unfortunately,
|> the specification for XGrabKey doesn't allow AnyModifier to be combined
|> with other modifiers, which is exactly what would be desired in this case:
|> "Ctrl Any<Key>q".
|>
|> >In ORA Vol. 6, in the section on accelerators it says "For information
|> >on how to specify translation tables see Vol. 4...", this is so you
|> >know what to put for the XmNaccelerator resource.  If you go to
|> >Vol. 4 it says, "Likewise, if a modifier is specified, there is
|> >nothing to prohibit other modifiers from being present as well. For
|> >example, the translation:
|> >	Shift<Key>q:	quit()
|> >will take effect even if the Ctrl key is held down at the same time as
|> >the Shift key (and the q key).
|>
|> This is true for accelerators and mnemonics, which are implemented using
|> event handlers instead of grabs; it's not true for menu accelerators.  If
|> you're a Motif implementor, I'd suggest lobbying to get the Xlib semantics
|> changed to support the feature I described above.  Otherwise, change the
|> documentation for menu accelerators to properly set the user's
|> expectations, because menu accelerators are NOT the same thing as
|> translations.
|>
|> >Is it possible to supply > 1 accelerator for a menu entry?
|>
|> If you mean "menu accelerator", no it's not possible.  That's according to
|> the definition of the XmNaccelerator resource in the XmLabel manual page.
|>
|> >Keep in mind when answering this question that when using Motif you
|> >can't use XtInstallAccelerators().
|>
|> I can't think of a reason why not.
|>
|> >How can you ensure that accelerators work the same independent of
|> >case?  What I want is Ctrl+O and Ctrl+o to both be accelerators on one
|> >menu entry.
I find this thread on motif accelerators absoultly amazing.  If I were
writing an interface to keyboard accelerators, I would have one
resource called "accelerators" that took a translation table, period.
I would also implement it so that programmer never has to do any work
to get the accelerators installed.  As soon as the end-user specified
one, it would be active and automatically installed.
To get multiple accelerators on a single menu item I'd do something like:
*menuItem.accelerators: #override \n\
Ctrl<Key>M:	fire() \n\
Shift<Key>L:	fire() \n
The accelerators would work exactly like translations and you would
automatically see a "Ctrl M" show up in your menuItem object.
Why in the world is the motif stuff so complicated with so many different
special cases depending on what type of widget you're dealing with?  There
has to be some reason.
Sorry for the political tone of this message...
--
Tom LaStrange        toml@boulder.ParcPlace.COM
From: rgooch@rp.CSIRO.AU (Richard Gooch)
Subject: Re: Animation with XPutImage()?
Organization: CSIRO Division of Radiophysics/Australia Telescope National Facility
Lines: 27
In article <WHALEY.93Apr22110027@sigma.kpc.com>, whaley@sigma.kpc.com (Ken Whaley) writes:
> One advanage of MIT-SHM is that if your images are large, you don't end up
> growing the size of the server process to hold them.
>
Correct. Most X servers use a version of  malloc(3)  which will not return
memory to the OS (ie. the X server might  free(3)  a Pixmap, but the heap does
not shrink).
> One disadvantage of the MIT-SHM is that, in its sample implementation,
> there is no provision for elegantly cleaning up the shared memory segments
> if the client dies a sudden, violent death (e.g., "kill").  You have to
> be mindful of cluttering up the system with zombie shared memory segments.
>
Well, part of the routines I mentioned do a dirty little trick to get around
that problem. First, I create the shared memory segment, attach the client,
attach the X server, and then remove (!) the segment. If you read the man
pages on removing of shared memory segments, you will see that the segment
only dies after all attachments are gone.
Now, if the client dies, that's one attachment gone (the OS cleans up for you)
and since the X server notices the client has dies, frees up it's resources,
including detaching from the segment: there goes the last attachment. No more
shared memory segment.
Terrible, but it works.
Regards,
Richard Gooch....
From: osyjm@cs.montana.edu (Jaye Mathisen)
Subject: XTERM patches for Alpha OSF 1.2?
Article-I.D.: coe.1993Apr22.233646.20017
Organization: CS
Lines: 24
Well, after massaging the Dec.cf, osf.def, (can't remember the exact names)
from OSF into my normal X11R5 distribution, everything compiles and links
fine, but xterm doesn't run.
Warning: Representation size 8 must match superclass's to override background
Warning: translation table syntax error: Modifier or '<' expected
Warning: ... found while parsing 'p^#j?;'P)=#'
X Error of failed request:  BadColor (invalid Colormap parameter)
Major opcode of failed request:  85 (X_AllocNamedColor)
Resource id in failed request:  0x0
Serial number of failed request:  18
Current serial number in output stream:  18
Other than this, all the other core X stuff seems to be working OK.  Any
hints/tips appreciated, patches would be primo.
Thanks.
--
Jaye Mathisen, COE Systems Manager                (406) 994-4780
410 Roberts Hall,Dept. of Computer Science
Montana State University,Bozeman MT 59717	osyjm@cs.montana.edu
From: bgendler@opus.starlab.CSc.COM (Bruce Gendler)
Subject: X/GL widget translation problem
Article-I.D.: opus.9304221524.AA05029
Organization: The Internet
Lines: 14
To: xpert@expo.lcs.mit.edu
I am writing a custom widget to support the display of graphics
and imagery.  The user of the widget will be able to specify,
when creating it, whether it is to operate in X or GL mode.
I have set up translations and actions to handle mouse button
presses.  They work fine when the widget is in X mode.  In GL
mode they only work when the widget (my GL/X widget) is a child
of a manager.  Put another way, the translations do not work
when the widget is configured in GL mode and is a child of a
shell.  Does anyone know why this is happening?
Thanks in advance.
Bruce Gendler
bgendler@csc.com
From: reznik@robios5.me.wisc.edu (Dan S Reznik)
Subject: Text field in dialog widget doesn't get focus
Organization: College of Engineering, Univ. Of Wisconsin-Madison
Originator: reznik@robios5.me.wisc.edu
Lines: 49
I am using the GLX widget + athena widgets on a mixed-model
application, under 4Dwm, but when the dialog gets popped up, its
text entry field does not have focus. Aimilar code works perfectly if
I use "pure X" (no mixed-model). HEre is the relevant portion of
the code.
{
int n;
Arg wargs[16];
Widget Button, PopUpShell, Dialog;
/* initialize TopLevel here */
.
.
.
n = 0;
XtSetArg(wargs[n], XtNlabel, "Foo"); n++;
Button = XtCreateManagedWidget("FooBtn", commandWidgetClass,
TopLevel, wargs, n);
PopUpShell = XtCreatePopupShell("PupShell", overrideShellWidgetClass,
Button, NULL, 0);
XtAddCallback(PopUpShell, XtNcallback, MyPopUp, (XtPointer)PopUpShell);
n = 0;
XtSetArg(wargs[n], XtNvalue, ""); n++;
Dialog = XtCreateManagedWidget("TheDialog", dialogWidgetClass,
PopUpShell, wargs, n);
.
.
.
}
void MyPopUp(w, popup_shell, call_data)
Widget w;
Widget popup_shell;
XtPointer call_data;
{
XtPopup(popup_shell, XtGrabExclusive);
}
---
A way I found to give focus to the text field is to move the
application window around a little bit and place it right behind the popup.
Any pointers would be greatly appreciated.
From: reznik@robios.me.wisc.edu (Dan S Reznik)
Subject: Correction on my last posting (GLX & lack of cous on Dialog Widget)
Organization: U. Wisconsin-Madison, Robotics Laboratory
In-reply-to: reznik@robios5.me.wisc.edu's message of 22 Apr 93 18:22:55 CDT
Lines: 13
On the code I sent, please replace the line:
XtAddCallback(PopUpShell, XtNcallback, MyPopUp, (XtPointer)PopUpShell);
by
XtAddCallback(Button, XtNcallback, MyPopUp, (XtPointer)PopUpShell);
---
The rest (and my question) remains the same...
Dan
From: dwex@cbnewsj.cb.att.com (david.e.wexelblat)
Subject: Re: Dell 2.2 EISA Video Cards
Organization: AT&T
Lines: 25
[This belongs in comp.windows.x.i386unix - I've redirected followups]
In article <C5ssHu.CBI@gator.rn.com> larry@gator.rn.com (Larry Snyder) writes:
> Does XFree86 support any EISA video cards under Dell 2.2?
> --
> Larry Snyder
> larry@gator.rn.com
I know for a fact that the EISA version of the Orchid ProDesigner IIS
works.  However, an EISA SVGA card is likely a waste of money.
When XFree86 2.0 comes out, with support for accelerated chipsets, ISA,
EISA, and VLB will all be supported.
The more important question is "what chipsets are supported?".  The bus
is basically irrelevent as a compatibility issue.
--
David Wexelblat <dwex@mtgzfs3.att.com>  (908) 957-5871  Fax: (908) 957-5627
AT&T Bell Laboratories, 200 Laurel Ave - 3F-428, Middletown, NJ  07748
XFree86 requests should be addressed to <xfree86@physics.su.oz.au>
"Love is like oxygen.  You get too much, you get too high.  Not enough and
you're gonna die."  -- Sweet, Love Is Like Oxygen
From: hildjj@jupiter.fuentez.COM (Joe Hildebrand)
Subject: Re: question regarding overlaying of graphics
Organization: The Internet
Lines: 30
To: venkatg@grace.cs.orst.edu (Gopal Venkatraman)
Cc: xpert@expo.lcs.mit.edu
> Let's say I have two rectangles on the canvas(see above)
> one intersecting the other...
> Now, I would like to delete one of the rectangles.
> The way I do it is to create another GC wherein I use the
> GXxor logical function and simply redraw the rectangle using the
newly
> created graphics context thus deleting it for all apparent purposes.
> A problem with this approach is that at the points of intersection
the pixel
> locations belonging to the other rectangle also become white, which
is
> something that should be avoided.
You could set up a bitmap with a mask in it.  Clear the
bitmap, draw the rectangle to be deleted with GXor.  Draw the one
that is to stay with GXclear.  Then GXxor the entire pixmap with
the screen.
Note that this is a pretty effective way of animation, if you ever
need to do that (replace the GXclear with a GXxor).
----------
Joe Hildebrand
hildjj@fuentez.com
Software Engineer
Fuentez Systems Concepts
(703)273-1447
Standard disclaimers apply
From: tim@kimba.catt.citri.edu.au (Tim Liddelow)
Subject: Keysym database problems
Keywords: X, Motif
Organization: CATT Centre at CITRI, Melbourne, Australia
Lines: 31
I am having problems with a  Motif application that when run on another machine
(with different X paths, etc) can't find the XKeysymDB file.   This causes a large
warning output:
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing '<Key>osfActivate:ManagerParentActivate()'
Warning: translation table syntax error: Unknown keysym name: osfCancel
Warning: ... found while parsing '<Key>osfCancel:ManagerParentCancel()'
Warning: translation table syntax error: Unknown keysym name: osfSelect
Warning: ... found while parsing '<Key>osfSelect:ManagerGadgetSelect()'
...
....
....
etc.
as the file is in a different location, but Xt seems to only look for it in
the place where it is on the machine the app was compiled on.  Is there any
way to read the XKeysymDB manually with an X/Xt call so that additions to
the XKeysymDB can be distributed with the application ?  I have used trace(1)
to find out what was going on, but I need a fix so that these translations in
the application can be recognised.
--tim
________________________________________________________________________________
Tim Liddelow                                          for(;;) fork();
Systems Programmer
Centre of Advanced Technology in Telecommunications   My brain on a bad day.
CITRI, Melbourne, Australia
internet : tim@kimba.catt.citri.edu.au
Phone : +61 3 282 2455   Fax : +61 3 282 2444
________________________________________________________________________________
From: pyeatt@Texaco.com (Larry D. Pyeatt)
Subject: Re: Mix GL with X (Xlib,Xt,mwm)
Nntp-Posting-Host: 211.2.1.65
Organization: Texaco
Lines: 24
In article <27808.9304211039@scorpion.dps.co.uk>, gerard@dps.co.UK (Gerard O'Driscoll) writes:
|>
|> pyeatt@Texaco.com writes:
|>
|> >> There is a widget already defined for GL.  It is the GlxMDraw (motif) or
|> >> GlxDraw (athena) widget.  It is similar to a XmDrawingArea, except that it
|> >> allows you to use GL calls to render into the window.  Look at glxlink,
|> >> glxunlink, glxgetconfig, and glxwinset in the man pages.
|>
|> Where do I get hold of these widgets?
|>
|>  	Gerard O'Driscoll (gerard.odriscoll@dps.co.uk)
|>  	Du Pont Pixel Systems Ltd.
They come with every Iris now.  Nth also ships it with their latest
version of Nth Portable GL.  I just got the update a couple of weeks
ago.  I would assume that Silicon Graphics would license the source
to you so that you can include it in your company's GL offering.
--
Larry D. Pyeatt                 The views expressed here are not
Internet : pyeatt@texaco.com    those of my employer or of anyone
Voice    : (713) 975-4056       that I know of with the possible
exception of myself.
From: drand@spinner.osf.org (Douglas S. Rand)
Subject: Re: Writing a Motif widget
In-Reply-To: nicholas@ibmpcug.co.uk's message of Thu, 22 Apr 1993 17:17:40 GMT
Organization: Open Software Foundation
Lines: 40
In article <C5wApJ.DD7@ibmpcug.co.uk> nicholas@ibmpcug.co.uk (Nicholas Young) writes:
I need (probably) to write one or more new Motif widgets on the HP-UX
platform. Do I need the Motif private header files and source,
or can I make do with the public headers that are provided?
"Motif" includes Xt in this context.
Yes.  You'll find it almost impossible without the source
at this point.  It does depend on how ambitious you are and
how concerned you are about compliance with the general
interface and items like traversal.
One widget is a multi-column list (which lots of people have
already written, I am sure), and would therefore be probably be
a subclass of List rather than something simple like an Xt class.
Is this more difficult (in principle, not lines of code)?
I'm not sure what you're asking.  You could create something
which is very much like a true multi-column list by placing
several lists within a geometry manager,  and putting that
manager within an automatic scrolled window.  This wouldn't
be good for very large lists,  but you might consider this
as an alternative.
Alternatively, if anyone has a multi-column list widget they
could sell me, this might save me from having to write one!
Does it by any chance exist in Motif 1.2 already (I do not
yet have the spec)?
Motif 1.2 does not have a multi-column list in it.  Have you
looked at commercial sets?  There are also some PD
widget sets,  one of these might have a multi-column list
you could port.
--
Douglas S. Rand <drand@osf.org>		OSF/Motif Dev.
Snail:         11 Cambridge Center,  Cambridge,  MA  02142
Disclaimer:    I don't know if OSF agrees with me... let's vote on it.
Amateur Radio: KC1KJ
From: rps@arbortext.COM (Ralph Seguin)
Subject: NumLock masking? interference with Meta/Compose/ExtendChar, ...
Organization: The Internet
Lines: 17
To: xpert@expo.lcs.mit.edu
> My question is this:  Is there a means of determining what the state
> of CapsLock and/or NumLock is?
Alright.  Ignore this.  I have delved a bit deeper (XKeyEvent) and
found what I was looking for.
ev->state   has a bunch of masks to check against (LockMask is the one
for CapsLock).  Unfortunately, it appears that the NumLock mask varies
from server to server.  How does one tell what mask is numlock and
which are for Meta (Mod1Mask, Mod2Mask, Mod3Mask, Mod4Mask, Mod5Mask).
eg, SGI's vendor server has Mod2Mask being NumLock, whereas Solaris
1.0.1 OpenWindows 3.0 has Mod3Mask for NumLock.  Is there an
unambiguous means of determining NumLock's mask at runtime for any
given server?  Sorry for the wasted bandwidth and my appalling ignorance.
Thanks, Ralph
From: davesimp@soda.berkeley.edu (David Simpson)
Subject: Trying to find papers by Rosenthal
Article-I.D.: agate.1r7k7o$feh
Organization: UC Berkeley, CS Undergraduate Association
Lines: 29
NNTP-Posting-Host: soda.berkeley.edu
I have the March/April version of the X Journal open in front of me.
I'll be working on programming x-clients this summer, and since I don't have
much experience with programming X, I thought this issue might be helpful
as it has a section on debugging, and a section on the 40 most common errors
in programming X.
At the end of the errors section, there are the following references for
tutorials on X programming style.  They are:
Rosenthal, David -   A simple X11 client program
Proceedings of the Winter 1988 Usenix Conference, 1988.
Lemke, D., and Rosenthal, D. -  Visualizing X11 clients
Proceedings of the Winter 1989 Usenix Conference, 1989.
Does anyone know where I could find these in printed or (preferably)
electronic form?
Or can you suggest any net resources devoted to the introduction to
programming X (I'll be looking at the bookstore for books, so I am really
only asking about what I can find on the net.)
Thanks,
David Simpson
davesimp@soda.berkeley.edu
From: cjhs@minster.york.ac.uk
Subject: Re: Xt intrinsics: slow popups
Organization: Department of Computer Science, University of York, England
Lines: 33
cjhs@minster.york.ac.uk wrote:
: Help: I am running some sample problems from O'Reilly volume 4,
: Xt Intrisics Programming Manual, chapter 3. popup
: dialog boxes and so on.
:
: In example 3.5, page 76 : "Creating a pop-up dialog box"
:
: The application creates window with a button "Quit" and "Press me".
: The button "Press me" pops up a dialog box. The strange feature of
: this program is that it always pops up the dialog box much faster the
: first time. If I try to pop it up a 2nd time (3rd, 4th .... time),
: it is *much* slower.
:
: Has anyone any experience with these sample programs, or why I get
: this behaviour - fast response time for the first time but slow response
: time from 2nd time onwards ?
: Anyone can give me some ideas on how to program popups so that each time
: they popup in reasonable fast response time ?
:
: Thankyou - Shirley
Thanks to those who responded.
We were able to prevent this behaviour by two methods:
1) running twm rather than olwm
2) keeping olwm, but putting "wmTimeout: 10" in the resources
It has been suggested that the difficuty was something to do with the
window manager positioning the popup window. Any guru who can analyse
what is going on from this information, please post and let us know.
Thanks -- Shirley
From: bshaw@spdc.ti.com (Bob Shaw)
Subject: question on "xon" in X11R5
Article-I.D.: bobasun.bshaw.735532995
Organization: TI Semiconductor Process and Design Center
Lines: 23
Nntp-Posting-Host: bobasun
Hi folks
Say, I'm new to R5 and have one quick question.
In using xon ( xon  <machine_name> )  , I notice that it
always comes up with a very small window .  I'm pretty
sure its the default font.  My xterms all work normally.
Is xon supposed to read your .Xresources for a font size ?
xrdb -q appears to show the right stuff.
I can use xon with arguments such as  xterm -fn 10x20    etc
and everything is correct.  Of course you could always do a
simple script to do this , but I have a feeling I'm missing
something simple here.
Comments / suggestions appreciated.
Thanks in advance
Bob
bshaw@spdc.ti.com    mm
From: seth@ponder.csci.unt.edu (Seth Buffington)
Subject: Re: GUI Study
Organization: University of North Texas, Denton
Distribution: na
Lines: 35
>Cutsie little Macintrash-like icons that are an instant recipe for
>mousitis IMHO. System 7 is undoubtedly the worst GUI I have used (out of
>that, RISCOS, MSWombles, and X11) simply because it does not provide enough
>keyboard shortcuts. Windows I must confess I quite like (cover your ears
>:-) ) because you can actually use it without having to ever touch the
>mouse.
[stuff delete]
>the user rather than making things _easier_ - and there should always be
>the option to do it your way if you want to, which is why I like the
>UNIX/X combination so much - it's so customizable.
Hear! Hear! I agree completely. One thing I can't stand about
the Mac interface is its shear determination to FORCE you to use
the mouse(what if your mouse breaks--your whole system is
down!).  I like the mouse--it is handy on some occassions such
as cut and past and moving icons around, etc.  But for most
work, the keyboard and hot keys are 10-20 times faster than
using the mouse. Sure it is a plus to be able to do something
simple if you are an inexperienced user, but how long is it
before your are experienced? A month? Two? (Speaking of PCs at
the moment.)
I don't think it is too much to ask that window
programmers provide not only a menu/mouse interface but also
look forward to those who would like to move on to hot keys and
command line interfaces, which usually allows you to do more in
less time IF you are experienced.
All of the above equally applies to windowing systems on
UNIX (especially since Unix is at least 500% more powerful than
DOS).
--
\---------------------------------------------------------------------/
\ Seth Buffington 	U.S.S. GAB 550 I   	817-565-2642         /
\ seth@cs.unt.edu	seth@gab.unt.edu	Unix Operator       /
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: abarden@tybse1.uucp (Ann Marie Barden)
Subject: X-Terminal Config. file question
Organization: Tybrin Corporation, Shalimar, FL
Distribution: usa
Lines: 19
QUESTION:
What is the EXACT entry (parameter and syntax please), in the X-Terminal
configuration file (loaded when the X-Terminal boots), to add another system
to the TCP/IP access control list?
BACKGROUND:
I have two unix systems, 1. an AT&T 3B2 running X11R3 and MIT's X11R4 and
2. a Sun SS10 without any X.
I want to have a window to the Sun and the 3B2 on the NCD X-Terminal at the
same time.  I can do this if I manually set the Network Parameter TCP/IP
Access Control List to off, then login to my telnet session. Not Great!
I've tried to get "xhost" to work and failed.  Either my syntax is wrong
or the X11R3 implementation is bogus.
I am trying to edit the NCD configuration file that is loaded when the
NCD boots.  No matter what entry I add or edit, the NCD still boots with
the TCP/IP Access Control list containing only the 3B2.
My manuals are worthless so any help would be most appreciated!!  Thanks!
Ann Marie Barden  	abarden@afseo.eglin.af.mil
From: davewood@bruno.cs.colorado.edu (David Rex Wood)
Subject: X Error of failed request:  BadPixmap (invalid Pixmap parameter)
Nntp-Posting-Host: bruno.cs.colorado.edu
Organization: University of Colorado, Boulder
Lines: 68
Could someone PLEASE give a guess as to why this simple little program
causes a BadPixmap error on the FOURTH (bizarre???) call to XtRelaizeWidget()?
Here is the code:
int stoploop = 0;
static void Callback(Widget, XtPointer, XtPointer);
main()
{
XtToolkitInitialize();
XtAppContext app = XtCreateApplicationContext();
while (1)
{
int junk = 0;
Display *dis = XtOpenDisplay(app, NULL, NULL, NULL, NULL, 0,
&junk, NULL);
Widget top = XtAppCreateShell(NULL, NULL,
applicationShellWidgetClass, dis, NULL, 0);
Widget box = XtVaCreateManagedWidget("x",
xmPushButtonWidgetClass,
top,
XmNheight, 25,
XmNwidth, 25, NULL);
XtAddCallback(box, XmNactivateCallback, Callback, NULL);
XtRealizeWidget(top);
while (!stoploop)
{
XEvent event;
XtAppNextEvent(app, &event);
XtDispatchEvent(&event);
}
stoploop = 0;
XtReleaseGC(top, XDefaultGCOfScreen(XtScreen(top))); // needed?
XtDestroyWidget(top);
XtCloseDisplay(dis);
}
}
static void Callback(Widget, XtPointer, XtPointer)
{
stoploop = 1;
}
The error I get (yes, the 4TH time I try to show the box) is:
X Error of failed request:  BadPixmap (invalid Pixmap parameter)
Major opcode of failed request:  55 (X_CreateGC)
Resource id in failed request:  0xd0000d
Serial number of failed request:  71
Current serial number in output stream:  85
Please respond via email.  Thanks very, very much!
(NOTE: I realize this program does nothing useful, its an ultra-trivialized
version fo a real library routine)
--
-------------------------------------------------------------------------------
David Rex Wood -- davewood@cs.colorado.edu -- University of Colorado at Boulder
-------------------------------------------------------------------------------
From: kriss@frec.bull.fr (Christian Mollard)
Subject: Re: Looking For David E. Smyth
Reply-To: Christian.Mollard@ec.bull.fr
Organization: Bull S.A. Echirolles
Lines: 23
In article <1993Apr9.144859.10535@nynexst.com>, zvi@nynexst.com (Zvi Guter) writes:
The author of Wcl (or the current care taker). His is the only name I found
in the dist tree. I have tried to mail him at: David.Smyth@ap.mchp.sni.de,
but the mail bounced back.
Any help in finding him will be greatly appreciated.
Try
david@ap542.uucp
david%ap542@ztivax.siemens.com
Xtian.
/     /                              Name:    Christian Mollard      /
/   /        __/                     Email:   C.Mollard@frec.bull.fr /
/     __/   /    __/     __/      Phone:   (33) 76 39 78 92       /
/        /     /  __  /   __  /      Bull:    229 78 92              /
__/  __/ __/   __/ _____/  _____/      Fax:     (33) 76 39 76 00       /
/
Address:	BULL S.A., B.P. 208, 38432 Echirolles Cedex, France  /
____________________________________________________________________/
From: detroch@imec.be (Stefan De Troch)
Subject: virtual mwm ?
Nntp-Posting-Host: nemesis
Reply-To: detroch@imec.be
Organization: IMEC, Kapeldreef 75  3001 Leuven  Belgium
Lines: 12
--
Hi netland,
I thought that I once read about the existance of a virtual mwm like vtwm.
On the usual ftp sites (gatakeeper.dec.com, export.lcs.mit.edu) I can't find
any trace of this program. Could anybody give me a hint where to find this
program or confirm/deny the existance of this program.
Regards,
Stefan
From: dsk@ravl.rice.edu (Dan S. Kirkpatrick)
Subject: Installation problem with X11R5
Organization: Rice University
Lines: 32
I am in the process of installing X11R5 on my Sun Sparcstation 2 and
have run into a problem.  I imagine it has something to do with a missing
screen driver, or something along those lines, but figured someone out there
in Internet land might be able to help.
I am installing it on a machine that already has OpenLook installed, and would
like to have both installed concurrently.  Thus, I set it up to compile to my
/usr/X11R5 directory.  I worked out all the kinks in getting it compiled (with
gcc), so that it compiles without any warnings.  I need it installed for PEX-SI,
so I set all those appropriate flags.  When I run it, however, I get a message
along the lines of:
Getting interface configuration : Operation not supported on socket
sunOpenFrameBuffer : Inappropriate ioctl for device
Fatal server error : no screens found
Any ideas on how I can fix it?  Please respond by e-mail at the below
address.
Thanks in advance.
-Dan
--
"I do not want to be immortalized through my works; I want to be
immortalized through not dying."  -Woody Allen
Dan Kirkpatrick                 | Dept of Electrical & Computer Engineering
~dsk@rice.edu                   | Rice University
uunet!rice.edu!dsk@uunet.uu.net | Houston, TX
From: dscheck@nextsrv1.andi.org (David Scheck)
Subject: Imake cpp problems on AIX
Keywords: imake
Organization: PRC, Inc.
Lines: 29
I am trying to build and use imake (X11R4) on an IBM RS/6000 running AIX V3.2.
I am having the following 2 problems.
(1) Many of my Imakefile's have contructs like
/**/#This is a makefile
at the start of lines to pass Makefile comments thru the C
preprocessor and into the Makefile.  Most of the C preprocessors that
I have used will not treat such a # as appearing at the start of the
line.  Thus the C preprocessor does not treat the hash symbol as the
start of a directive.
However the IBM cpp strips the comment and treats the hash symbol
as the start of a directive.  The cpp fails when it determines
that "This" is not a known directive.  I have temporarily hacked my
imake to handle this situation but would like to come up with a better
fix.
(2) Several Imakefiles use /**/ as a parameter to a macro when a particular
use of the macro does not need a value for the parameter.  The AIX cpp
gives warnings about these situations but continues to work OK.
If you are familiar with these problems and have solutions, I would appreciate
information about on your solutions.  (Perhaps, this is solved in a later
version of imake that I have not reviewed.)  Also, do you know of other cpp's
that behave similarly?
Since I do not have easy access to News, a response to
'white_billy@po.gis.prc.com' would be appreciated.
From: dscheck@nextsrv1.andi.org (David Scheck)
Subject: imake on DOS and Windows
Summary: porting imake to DOS
Keywords: imake
Organization: Association of NeXTSTEP Developers International
Lines: 6
Has anyone had experience porting imake to DOS using a Microsoft, Watcom, or
any other DOS compiler?
Since I do not have easy access to News, a response to
'white_billy@po.gis.prc.com' would be appreciated.
From: mlee@eng.sdsu.edu (Mike Lee)
Subject: Post script viewer
Organization: San Diego State University Computing Services
Lines: 8
NNTP-Posting-Host: eng.sdsu.edu
X-Newsreader: TIN [version 1.1 PL9]
Hello, recently I have been printing out a lot of files on school's laser printer and feeling guilty about it.  Please help me by showing me where to get a post script viewer for X-windows.  Thank you for your help.
A student trying to enhence his cybernatic ability.
From: bading@cs.tu-berlin.de (Tobias 'Doping' Bading)
Subject: Re: Forcing a window manager to accept specific coordinates for a window
Organization: Technical University of Berlin, Germany
Lines: 36
Distribution: world
<C5u667.Ln8@boulder.parcplace.com> <1r5l8g$bub@wsinfo03.win.tue.nl>
NNTP-Posting-Host: athene.cs.tu-berlin.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
In-reply-to: rcb5@wsinfo03.win.tue.nl's message of 22 Apr 1993 10:33:20 +0200
In article <1r5l8g$bub@wsinfo03.win.tue.nl> rcb5@wsinfo03.win.tue.nl (Richard Verhoeven) writes:
Sorry, but olwm and tvtwm don't do it. They place the title at that position
and the window at a position below it.
This becomes a problem when you want a program to be able to save its current
configuration and restore is later.
Currently, my solution is:
XCreateWindow(...);
XSetWMProperties(..);
XMapWindow(...);
XFlush(...);
XMoveWindow(...);
It works with olwm, but is less than elegant. All this leaves me wondering
if I'm overlooking something obvious.
Richard.
I know that the mwm has an resource to specify if positions are to be used for
the border of a window or for the "user" window. Maybe other window managers
have similar options.
Another way to figure out the difference between the "user" window position
and the window manager decoration window position is to subtract their
positions. You just have to use XQueryTree and remember that the window manager
decorations window is the parent of your window. Unfortunately, you can only
figure out the decoration width and height after the window has been mapped
this way.
Greeting,
Tobias (bading@cs.tu-berlin.de)
From: neideck@nestvx.enet.dec.com (Burkhard Neidecker-Lutz)
Subject: Re: Animation with XPutImage()?
Organization: CEC Karlsruhe
Lines: 14
NNTP-Posting-Host: NESTVX
In article <1993Apr22.215913.23501@nrao.edu> rgooch@rp.CSIRO.AU (Richard Gooch) writes:
>  ... remove the shared memory segment...
>  Terrible, but it works.
Why is that terrible ? That's exactly the way our code has been doing
it for two years now and is the way that temporary files in UNIX systems
are managed most of the time (open, unlink).
Burkhard Neidecker-Lutz
Distributed Multimedia Group, CEC Karlsruhe          EERP Portfolio Manager
Software Motion Pictures & BERKOM II Project         Multimedia Base Technology
Digital Equipment Corporation
neidecker@nestvx.enet.dec.com
From: cverond@nyx.cs.du.edu (Cristiano Verondini)
Subject: Image plotting source code needed
Organization: University of Denver, Dept. of Math & Comp. Sci.
Lines: 7
Hi,
I'm looking for source sample on how to create a window with an image
in it (actually a 2dim matrix of unsigned char). Any help will be appreciated!
:))
From: ks@n8pph52.nt.com (Kamlesh Shah)
Subject: Question on Motif Diaog Shell Widget under vuewm...
Organization: bnr
Distribution: usa
Lines: 16
Dear netters,
I have noticed something rather weared (I think) about creating a dialog shell
widget while running HP Vue's vuewm.
For some reason, every time I create a dialog shell the foreground and backgroun
d colors are different compared to my toplevel shell.
I am not doing anything special/different.
Does any body know anything about this problem?? How to fix it without hardcodin
g the colors ?
Please respond to kamlesh@salzo.cary.nc.usa ....
Thanks !
-Kamlesh
From: afielden@cbnewsb.cb.att.com (andrew.j.fielden)
Subject: X benchmarks
Keywords: benchmark
Organization: AT&T
Lines: 17
We are in the process of evaluating X-terminals. This includes running XRemote
over a serial line.
I would like to run some X benchmarks to determine comparative performance.
Has anyone written any such benchmarks, or know of any useful programs on the
net ? I heard of a program called "Xstone", but I couldn't locate it using
archie.
Please reply to afielden@mlsma.att.com, as I don't get to read this newsgroup
much.
Thanks in advance for any help.
--
+----------------------------------------+----------------------------------+
|Andrew Fielden. AT&T Network Systems UK |        Tel : +44 666 832023      |
|Information Systems Group (SUN support) |   Email : afielden@mlsma.att.com |
+----------------------------------------+----------------------------------+
From: queloz@bernina.ethz.ch (Ronald Queloz)
Subject: Hypercard for UNIX
Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
Lines: 10
Hi netlanders,
Does anybody know if there is something like Macintosh Hypercard for any UNIX
platform?
Thanks in advance
Ron.
From: lapp@waterloo.hp.com (David Lapp)
Subject: Re: NumLock masking? interference with Meta/Compose/ExtendChar, ...
Nntp-Posting-Host: hppadan.waterloo.hp.com
Organization: HP Panacom Div Waterloo ON Canada
X-Newsreader: TIN [version 1.1 PL8.9]
Lines: 34
Ralph Seguin (rps@arbortext.COM) wrote:
: > My question is this:  Is there a means of determining what the state
: > of CapsLock and/or NumLock is?
: Alright.  Ignore this.  I have delved a bit deeper (XKeyEvent) and
: found what I was looking for.
: ev->state   has a bunch of masks to check against (LockMask is the one
: for CapsLock).  Unfortunately, it appears that the NumLock mask varies
: from server to server.  How does one tell what mask is numlock and
: which are for Meta (Mod1Mask, Mod2Mask, Mod3Mask, Mod4Mask, Mod5Mask).
: eg, SGI's vendor server has Mod2Mask being NumLock, whereas Solaris
: 1.0.1 OpenWindows 3.0 has Mod3Mask for NumLock.  Is there an
: unambiguous means of determining NumLock's mask at runtime for any
: given server?  Sorry for the wasted bandwidth and my appalling ignorance.
You'll have to check the keysym(s) on each of the keys for each
modifier. The one with NumLock in its mapping is the modifier
you want. A bit ugly perhaps but I think its currently the only
way to do this (and it does have some precedent as keysyms are
used to differentiate CapsLock from ShiftLock for the Lock
modifier).
I don't know of an accepted strategy for handling ambiguous
assignments either. (ie. what if NumLock is mapped for more then
one modifier). I suppose first found is as good as any.
X doesn't handle locking modifiers that well.
Hope that helps,
Dave Lapp
Standard Disclaimer etc...
From: mitch@unidata.ucar.edu (Mitch Baltuch)
Subject: motif based graphing package
Organization: University Corporation for Atmospheric Research (UCAR)
Distribution: na
Lines: 15
i am in need of a motif-based graphing package to integrate into a large
software package under development for distribution to universities.  it
can be either public domain or commercial, although a commercial package
can't have royalties required for binary only distribution.  we need 2-d
graphing capabilities at a minimum, but 3-d  would be nice.  any info would
be appreciated and i will summarize if there is interest.
thanks,
mitch
--
_______________________________________________________________________________
Mitchell S. Baltuch					Unidata Program Center
mitch@unidata.ucar.edu					UCAR, PO Box 3000
303/497-8652						Boulder, CO 80307-3000
From: ccgwt@trentu.ca (Grant Totten)
Subject: Re: PostScript on X-terminal
Lines: 42
Reply-To: ccgwt@trentu.ca (Grant Totten)
Organization: Trent University
I tried to e-mail you but it bounced so...
Hi there,
In article <4263@his.UUCP> you write:
>From: sp1henhj@edit (Henrik Balthazar Hjort)
>Subject: PostScript on X-terminal
>
>
> I have a problem when I'm using PostScript. When I am working local
>on a SUN SPARCstaton IPC the PostScript works good, but when I connect
>to the SUN from a X-terminal I just get error messages that the
>PostScript cannot connect to the news-display.
>
> Why doesn't PostScript work on an X-terminal?
>
> Is there any way to make it work?
>
It might be that the X terminal doesn't support the "Postscript
Extensions to X" product.  I use the 'dxpsview' program on a
DECstation 5000 to view postscript files but when I moved to an
NCD X terminal, I couldn't use it any more.  So I ftp'd and
compiled GhostScript (GNU software).  Now we can view postscript
files on our X terminals.
Hope this helps.
Grant
>
> Henrik "Henrik Hjort" Hjort
>
>
>
>
--
Grant Totten, Programmer/Analyst, Trent University, Peterborough Ontario
GTotten@TrentU.CA            Phone: (705) 748-1653   FAX: (705) 748-1246
========================================================================
Take everything in stride.  Trample anyone who gets in your way.
From: tomk@skywalker.bocaraton.ibm.com (Thomas Chun-Hong Kok)
Subject: Re: Hypercard for UNIX
Organization: IBM Austin
Lines: 18
In article <1993Apr23.114028.17633@bernina.ethz.ch>, queloz@bernina.ethz.ch (Ronald Queloz) writes:
> Hi netlanders,
>
> Does anybody know if there is something like Macintosh Hypercard for any UNIX
> platform?
>
>
> Thanks in advance
>
>
> Ron.
--
Try MetaCard - a HyperCard-like programming environment on X.
Chun Hong
From: ethan@cs.columbia.edu (Ethan Solomita)
Subject: Re: Forcing a window manager to accept specific coordinates for a window
Organization: Columbia University Department of Computer Science
Lines: 18
In article <BADING.93Apr23105229@athene.cs.tu-berlin.de> bading@cs.tu-berlin.de (Tobias 'Doping' Bading) writes:
>
>I know that the mwm has an resource to specify if positions are to be used for
>the border of a window or for the "user" window. Maybe other window managers
>have similar options.
>Another way to figure out the difference between the "user" window position
>and the window manager decoration window position is to subtract their
>positions. You just have to use XQueryTree and remember that the window manager
>decorations window is the parent of your window. Unfortunately, you can only
>figure out the decoration width and height after the window has been mapped
>this way.
>
Another way would be to use GetGeometry to find out where
you are relative to the frame, and TranslateCoordinates to find
out where your window's upperleft corner really is.
-- Ethan
From: lanzo@tekelec.com (Mark Lanzo)
Subject: Re: Key definitions in Emacs + X
Reply-To: lanzo@tekelec.com (Mark Lanzo)
Organization: Tekelec Inc., Raleigh NC
Lines: 44
In a prior article ajaffe@oddjob.uchicago.edu (Andrew Jaffe) wrote:
> Hi.
>
> I use Emacs and I want to customize my keyboard better.
> When I set up stuff in my .emacs with a keymap and define-keys,
> I can only access certain of the keys on my X-Terminal's
> keyboard. I can't get e.g. F10, Home, End, PgUp, PgDn; they all
> seem to have either the same or no keycode. I have a feeling
> this can't be fixed in emacs itself, but that I need to do some
> xmodmap stuff. Can someone help me?
Unfortunately, the key event handling is pretty much hardwired into
emacs.  I ran into this problem a while back; my solution was to
change the source code so that all of these special keys generated
character sequences which basically encoded the keysym and modifier
state as escape sequences -- for example, the sequence "ESC [ 1 B 7"
would indicate that the "HOME" key was pressed, with the shift key
down.  You could also detect standard keys with odd modifiers, such
as "shift-Return".
If anybody wants these changes, they're welcome to them, but you'll
have to have the source available and be comfortable munging with
it a bit.  Basically you have to replace the keypress handling code
in the source file "x11term.c".  Maybe if someone at OSF is
interested, I can send them the tweaks, but I imagine they've got
bigger fish to fry (hopefully including the much talked about
emacs V19!).  If there's sufficient interest, I'll post the mods
somewhere, although this probably isn't the appropriate group for it.
Notes:
* This special code will only apply if you let emacs create
its own (X11) window.  If you run it in plain old tty mode (which
includes Xterm windows) then it's business as usual.
* The patches I made were to version 18.58, under Sun OS 4.1.2
[I also did this a while back under HP-UX].  The patches are
in a chunk of code between '#if sun ... #endif' but could
easily be adapted for anything else.
+-------------------------------------------------------+------- /// -----+
| Mark Lanzo   KD4QLZ  lanzo@tekelec.com   919-460-5576 |    \\\///       |
+-------------------------------------------------------+---- \XX/ -------+
From: lanzo@tekelec.com (Mark Lanzo)
Subject: Re: Title for XTerm
Reply-To: lanzo@tekelec.com (Mark Lanzo)
Organization: Tekelec Inc., Raleigh NC
Lines: 65
In a prior article naoumov@physics.unc.edu (Sergei Naoumov) writes:
> Hey guys!
> I work on many stations and would like this name and current logname
> to be in a title of Xterm when it's open and a machine name only
> when it's closed. In other words, I want $HOST and $LOGNAME to appear
> as a title of opened XTerm and $HOST when XTerm is closed.
> How can I do it?
[Apologies if I'm answering something already answered in the FAQ.
Our news feed has been losing a lot of articles lately - so I haven't
seen the FAQ lately to check.]
Two ways:
1) When you start the xterm, you can use command line options:
-n ICON_NAME           To set the icon label
-T WINDOW_TITLE        To set the window title
-title WINDOW_TITLE    Equivalent to -T WINDOW_TITLE
2) You can use escape sequences to change things on the fly:
The basic escape sequence is:
ESC ] <P> ; <SOME_ARBITARY_TEXT> BEL
where ESC and BEL are the ASCII ESCAPE and BELL characters,
<P> is an ASCII decimal digit -- '2', '1', or '0', depending
on whether you are trying to set the window or icon title,
or both, and <SOME_ARBITARY_TEXT> is your desired label string.
Hence, this command will set the window & icon title:
echo "\033]0;YOUR_TITLE_GOES_HERE\007\c"
To set just the icon title:
echo "\033]1;YOUR_TITLE_GOES_HERE\007\c"
To set just the window title:
echo "\033]2;YOUR_TITLE_GOES_HERE\007\c"
Of course, you may have to fiddle with exact syntax,
depending on how the echo command works on your system
and what shell you are using (I've shown System-V semantics
under Bourne or Korn shells).
[Hint for Sun OS users:  use /usr/5bin/echo instead of
/bin/echo or Csh's built-in echo.  Otherwise you'll have
to embed literal ESC and BEL characters in the string
instead of using convenient octal sequences.]
If you want your titlebar updated continously, say to show
your current directory, hostname, or somesuch, then you'll
have to see if you can coerce your shell into spitting out
the appropriate escape sequences when it prompts for commands.
Sometimes you can just put the appropriate escape sequence
in the prompt string itself, sometimes not ...
+-------------------------------------------------------+------- /// -----+
| Mark Lanzo   KD4QLZ  lanzo@tekelec.com   919-460-5576 |    \\\///       |
+-------------------------------------------------------+---- \XX/ -------+
From: lanzo@tekelec.com (Mark Lanzo)
Subject: Re: How do I find my AppContext?
Reply-To: lanzo@tekelec.com (Mark Lanzo)
Organization: Tekelec Inc., Raleigh NC
Lines: 12
In a prior article masc0442@ucsnews.sdsu.edu (Todd Greene) said:
> Is there an Xt call to give me my application context?
> I am fixing up an X/Motif program, and am trying to use XtAppAddTimeOut,
> whose first argument is the app_context.  What call can I use
> to give me this value?
XtAppContext XtWidgetToApplicationContext(Widget)
Of course, just using the app context returned from
XtCreateApplicationContext, XtAppInitialize, etc. is the
best option, unless that path is not available.
From: tracy@cs.ucf.edu (Tracy Rene Tolley)
Subject: HELP: xdm & Solaris2.1
Summary: help with xdm & Solaris2.1
Keywords: Solaris2.1 xdm
Organization: University of Central Florida
Distribution: comp
Lines: 7
I recently read here that Sun has a patch for xdm on
Solaris2.1.  I was wondering if anyone could give me the
patch number.
Thanks in advance,
Tracy Tolley
University of Central Florida - Technical Support
From: ziegenfE@moravian.edu (Eric W. Ziegenfus)
Subject: Re: PROBLEM: Running AIX info from a Sun rlogin shell.
Lines: 36
Nntp-Posting-Host: batman
In <1r74bcINN6ei@ome.sps.mot.com> wcl@risc.sps.mot.com (Wayne Long) writes:
>  When I run our RS6000's "info" utility through a remote login
>  shell (rlogin) from my Sun Sparc 1+, I can no longer type
>  lower case in any of info's window prompt's.
>  I thought the prob. may have been due to my Sun window mgr.
>  (Openlook) being incompatible with the AIX Motif application
>  but I tried it under TVTWM also.  Same result.
>
>  So this is presumably an X11 key definition problem between
>  workstations - but my system admins. feign ignorance.
>
>  What do I need to do the be able to type lower case into
>  this remote AIX motif app. from within my local Openlook
>  window manager?
>
>
>--
>-------------------------------------------------------------------
>Wayne Long - OE215              Internet: wcl@risc.sps.mot.com
>6501 William Cannon Drive West  UUCP: cs.texas.edu!oakhill!risc!wcl
>Austin, Texas 78735-8598        Phone (512) 891-4649  FAX: 891-3818
I have had the exact same problem, but have not figured out a solution.
I run a PC with Linux (free-unix) with X11r5 and OpenWindows 3.0, I
would appreciate any solutions.
ewz
--
/---------------------------------------------\
| INTERNET:  ziegenfE@moravian.edu              |
| UUCP:      ...!rutgers!lafcol!batman!ziegenfE |
\_____________________________________________/
From: christy@cs.concordia.ca (Christy)
Subject: XFree86 --- need help...
Organization: Computer Science, Concordia University, Montreal, Quebec
Lines: 23
Hi,
I just got XFree86 running on my pc with Consensys and encountered a few
minor (I hope) probems.
The pc is hooked up to a LAN where I want remote X applications to
connect to my X-server.  I believe the command to permit this is
xhost.  When I'm logged on my pc and type 'xhost + '  ,  I get the error message saying
"You must be on local machine to enable access".
what does this mean ?  ain't I already on the local machine?
Another problem I have is with the mouse movement.  I find that the
mouse cursor moves extremely slow and choppy.
How can I make the mouse cursor move more accurately?
thank in advance.
Any help is much appreciated.
please send replies to christy@alex.qc.ca.
Christy
From: bshaw@spdc.ti.com (Bob Shaw)
Subject: SUMMARY  xon and X11R5
Nntp-Posting-Host: bobasun
Organization: TI Semiconductor Process and Design Center
Lines: 15
Hi folks
Thanks to the ones that replied, however, my problem turned out
to be very simple.
In my .Xresources I had a space after XTerm*font:   10x20.
Removing this and xrdb fixed my problem.
Also, same symptom, was that some of my users did not have the
proper capitals for XTerm*font.
Thanks again
Bob
From: bkline%occs.nlm.nih.gov (Bob Kline)
Subject: X11 load on the Network
Organization: National Library of Medicine
X-Newsreader: TIN [version 1.1 PL8]
Lines: 12
Can someone point me in the direction of any papers (not necessarily
formally conducted studies) discussing how much traffic X apps generate
for the network, particularly in comparison with curses-bases apps
over telnet?  Also, does an X server typically buffer up user keyboard
input a line at a time?  Can the X client control this, asking for
keystrokes immediately?  Thanks in advance for any feedback!
--
/*----------------------------------------------------------------------*/
/* Bob Kline                                      Phoenix Systems, Inc. */
/* bkline@occs.nlm.nih.gov                        voice: (703) 522-0820 */
/*----------------------------------------------------------------------*/
From: curtiss@cs.UND.NoDak.Edu (Chuck Curtiss x3289)
Subject: Athena Widgets
Organization: University of North Dakota; Grand Forks, ND
Lines: 5
NNTP-Posting-Host: agassiz.cas.und.nodak.edu
X-Newsreader: TIN [version 1.1 PL8]
Where do I find the Athena Widgets that are needed for xtdm-2.4.8
Thanks in advance
From: min@stella.skku.ac.KR (Hyoung Bok Min)
Subject: subscribe
Organization: The Internet
Lines: 3
To: expert@expo.lcs.mit.edu
subscribe min@stella.skku.ac.kr
From: beck@irzr17.inf.tu-dresden.de (Andre Beck)
Subject: RE: need shading program example in X
Reply-To: Andre_Beck@IRS.Inf.TU-Dresden.DE
Organization: Dept. of Computer Science, TU Dresden, Germany.
Lines: 43
NNTP-Posting-Host: irzr17.inf.tu-dresden.de
In article <930421105641.100043a@TGV.COM>, mahan@TGV.COM (Patrick L. Mahan) writes:
|>
|> #
|> #Do anyone know about any shading program based on Xlib in the public domain?
|> #I need an example about how to allocate correct colormaps for the program.
|> #
|> #Appreciate the help.
|> #
|>
|> I don't know if this might help, but I've just started playing with a program
|> called POVRay (Persistance of Vision Raytracer) that also displays its output
|> via X Windows.  It does a fairly good job of allocating the colormap on my
|> Psuedo-Color 8-plane display.  I got the source from from a site in Canda.
|> The person I retrieved them from was David Buck (dbuck@ccs.carleton.ca).
|>
I think the original post was searching for existing implementations of
f.i. Gouroud-shading of triangles. This is fairly complex to do with plain
X. Simpler shading models are implemented already, f.i. in x3d (ask archie
where to get the latest version).
For Gouroud, a fast implementation will be possible utilizing some extension
only, either MIT-SHM to do the shade in an image and fast update the window
with it, or PEX/OpenGL which should be able to shade themselves. The portable
'vanilla X' way would be to shade in a normal XImage and use XPutImage(),
what would be good enough to do static things as f.i. fractal landscapes
or such stuff.
To speak about POVRay, the X previewer that comes with the original source
package is not that good, especially in speed, protocol-friendlyness and
ICCCM compliance. Have a look on x256q, my own preview code. It is on
141.76.1.11:pub/gfx/ray/misc/x256q/
The README states the points where it is better than xwindow.c from
POVRay 1.0
--
+-o-+--------------------------------------------------------------+-o-+
| o |                \\\-  Brain Inside -///                       | o |
| o |                    ^^^^^^^^^^^^^^^                           | o |
| o | Andre' Beck (ABPSoft) mehl: Andre_Beck@IRS.Inf.TU-Dresden.de | o |
+-o-+--------------------------------------------------------------+-o-+
From: stevedav@netcom.com (Steve Davidson)
Subject: MOOLIT and OLIT
Organization: NETCOM On-line Communication Services (408 241-9760 guest)
Lines: 10
Does anyone know the difference between MOOLIT and OLIT?  Does Sun
support MOOLIT?  Is MOOLIT available on Sparcstations?
I have recntly downloaded a copy of wkshTree written by Eric Wallengren
of Univel.  There are many widgets that are apparently available only
to MOOLIT but not OLIT.
Is there a wkshTree program available under OLIT?
steved@cfcl.com
From: andre@bae.bellcore.com (Andre Cosma)
Subject: Is authentication a planned feature for X11R6?
Nntp-Posting-Host: broccoli.bae.bellcore.com
Organization: Bellcore
Distribution: na
Lines: 15
Greetings,
My question is whether the upcoming release of X11R6 will provide
(strong) authentication between the X clients and server(s). If so,
will this feature be based on the Kerberos authentication mechanism
(and, if so, will Kerberos Version 5 be used)? Please reply via email.
Thanks,
--Andre
--
Andre S. Cosma         | RRC 1N-215          |  Bellcore - Security and
andre@bae.bellcore.com | 444 Hoes Lane       |       Data Services
(908) 699-8441         | Piscataway, NJ 08854|
----------------------------------------------------------------------
From: garym@ie.utoronto.ca (Gary Murphy)
Subject: X on Amiga 4000?
Organization: University of Toronto, Department of Industrial Engineering
Lines: 12
I'm new to the hardware and with a mandate to port some X-based
stereo-video software --- does anyone know of or have experience with
X on Amiga machines?  If I can retain the X event handling, it would
ease my plight considerably, and if I can keep all the Motif bits, so
much the better!
--
Gary Lawrence Murphy ---------------- garym@virtual.rose.utoronto.ca
University of Toronto, Industrial Eng Dept    fax:    (416) 971-1373
4 Taddle Creek Rd, Toronto, Ont M5S 1A4       voice:  (416) 978-3776
The true destination is always just here, now ----------------------
From: brian@nostromo.NoSubdomain.NoDomain (Brian Colaric  Sun Dallas DSE)
Subject: Help: OS2 Presentation Mgr port to X
Organization: Sun Microsystems
Lines: 17
Distribution: world
Reply-To: Brian.Colaric@dallas.Central.Sun.COM
NNTP-Posting-Host: nostromo.central.sun.com
I need to port several OS/2 PM applications to X (OpenWindows or Motif),
and desperately need any information on how to go about doing this (short
of a complete rewrite.
Are there any tool to make porting easer?
Any References?
Any talent out there to hire to do this?
I will even take an OS/2 Presentation Mgr emulator for sun!
Any, and all replies (except flames) welcome!
Brian Colaric
Brian.Colaric@dallas.Central.Sun.COM
From: cjhs@minster.york.ac.uk
Subject: Re: Xt intrinsics: slow popups
Organization: Department of Computer Science, University of York, England
Lines: 36
Bryan Boreham (bryan@alex.com) wrote:
: In article <735259869.13021@minster.york.ac.uk>, cjhs@minster.york.ac.uk writes:
: > The application creates window with a button "Quit" and "Press me".
: > The button "Press me" pops up a dialog box. The strange feature of
: > this program is that it always pops up the dialog box much faster the
: > first time. If I try to pop it up a 2nd time (3rd, 4th .... time),
: > it is *much* slower.
:
: The shell is waiting for the window-manager to respond to its
: positioning request.  The window-manager is not responding because
: it thinks the window is already in the right place.
:
: Exactly *why* the two components get into this sulk is unclear to
: me; all information greatly received.
Thanks for this clue, and thanks to Derek Ho also for a pointer in the
same direction.
One solution, due to Derek Ho: when the popup is popped up, we SetValue
its location -- which on repeat popups will be unchanged from the
previous popup. The slow response can be avoided by calling GetValue
first, and only using SetValue if the required location is different.
The problem can also be avoided by making a tiny alteration in the
location of the popup, so that the SetValue really does change the
location of the popup. (We tried this just for a double check on the
source of the problem.)
The solutions we have tried successfully are now as follows:
1) Use "twm" or "mwm" rather than "olwm"
2) Use "olwm", with resource "*wmTimeout: 10"
3) Only reset the location of the popup window if it is truely changed.
This is obviously working around some bug somewhere.
Thanks -- Chris Ho-Stuart
From: ge!severy%severy@uunet.UU.NET (severy)
Subject: Overriding window manager focus processing
Organization: GE Information Services, Rockville, MD
Lines: 44
NNTP-Posting-Host: cs.utexas.edu
Keywords: Window Manager Focus Motif
I am working on an X-Window based application that needs to
override some of the window manager focus processing.  I am
using X11R4 and Motif 1.1 currently, although I will also be
working with Open Look in the future.
What I need to do is under certain circumstances prevent the
user from switching from one window of the application to
another window.  Let's say, for example, that Window A is on top
of Window B in the window hierarchy.  Normally, if the user clicks
the mouse in Window B it will be brought to the top of the
window hierarchy and placed on top of Window A.  Under certain
circumstances if the user clicks the mouse in Window B I need to
beep and prevent Window B from being raised on top of Window
A.
From the research and testing I've done so far, it appears that
this window ordering is handled by the window manager, in this
case Motif.  I haven't found any way to override this default
processing through standard X Window functions.  I can tell
when this switching occurs through focus change and mapping
notify events, but I can't find any way to tell Motif not to make the
switch.
The temporary solution I've currently come up with is very
kludgy but it partially works.  When I detect such a window switch
in those cases when the switch is not allowed, I manually force
the formerly top window back on top with an XRaiseWindow call
and beep with the XBell function.  This provides the necessary
functionality but looks ugly when the windows switch places
twice.
Does anyone know how I can tell Motif (or preferably *any*
window manager) when I don't want the window order switch to
actually take place?  Respond either by e-mail or posting to this
newsgroup.
Cheers....     Randall
***************************************************************************
* Randall Severy                    *      UUNET: uunet!ge!severy         *
* GE Information Services           *   INTERNET: ge!severy@uunet.uu.net  *
* 401 N. Washington St.   MC05A     *      GENIE: RSEVERY                 *
* Rockville, MD  20850    USA       *      PHONE: +1-301-340-4543         *
***************************************************************************
From: jeremy@wildcat.npa.uiuc.edu (Jeremy Payne)
Subject: Re: Xt intrinsics: slow popups
Organization: Neuronal Pattern Analysis, University of Illinois
Lines: 49
In article <735516045.1507@minster.york.ac.uk>, cjhs@minster.york.ac.uk writes:
|> cjhs@minster.york.ac.uk wrote:
|> : Help: I am running some sample problems from O'Reilly volume 4,
|> : Xt Intrisics Programming Manual, chapter 3. popup
|> : dialog boxes and so on.
|> :
|> : In example 3.5, page 76 : "Creating a pop-up dialog box"
|> :
|> : The application creates window with a button "Quit" and "Press me".
|> : The button "Press me" pops up a dialog box. The strange feature of
|> : this program is that it always pops up the dialog box much faster the
|> : first time. If I try to pop it up a 2nd time (3rd, 4th .... time),
|> : it is *much* slower.
|> :
|> : Has anyone any experience with these sample programs, or why I get
|> : this behaviour - fast response time for the first time but slow response
|> : time from 2nd time onwards ?
|> : Anyone can give me some ideas on how to program popups so that each time
|> : they popup in reasonable fast response time ?
|> :
|> : Thankyou - Shirley
|>
|> Thanks to those who responded.
|>
|> We were able to prevent this behaviour by two methods:
|>
|> 1) running twm rather than olwm
|> 2) keeping olwm, but putting "wmTimeout: 10" in the resources
|>
|> It has been suggested that the difficuty was something to do with the
|> window manager positioning the popup window. Any guru who can analyse
|> what is going on from this information, please post and let us know.
|>
|> Thanks -- Shirley
I ran in to this problem I while ago, and from what I remember you should use
XtTranslateCoordinates etc. after realizing the main widget to calculate
the location of the popup, then use something like XtVaSetValues on the
popup widgets before ever using them.  Calling SetValues repeatedly (e.g.
every time something pops up) seems to be what slows you down.  I never
delved deep enough to figure out exactly why though...
---------------------------
Jeremy Payne
UIUC Neuroscience program /
College of Medicine
jrpayne@uiuc.edu
(217)244-4478
---------------------------
From: deloura@cs.unc.edu (Mark A. DeLoura)
Subject: Looking for X Window Server Frequency-of-Operations Data
Organization: The University of North Carolina at Chapel Hill
Lines: 22
NNTP-Posting-Host: monet.cs.unc.edu
Keywords: Frequency data X Server architecture
Hello--  I'm currently designing the architecture of a chip which is
intended to help speed up common operations on a windowing system such as
X.  A friend and I are designing the chip as the final course project for
an advanced computer architecture course taught by Dr. Fred Brooks at
UNC-Chapel Hill.  While we feel that we've got a pretty solid design
currently, we'd really like to get ahold of some frequency data from an
X-Windows server so that we can make the most effective use of our bit
budget.
Unfortunately, I've been unable to find anything of this sort in the
various X FAQs, or X manuals that I've seen.  Does anyone have some type of
frequency data, like how many Copy-rectangle operations vs draw-lines, and
things of that sort?  Or, barring that, a program that records requests to
the server into a logfile that I can munge on myself?
Any and all help would be very appreciated.
Many thanks,
---Mark
===============================================================================
Mark A. DeLoura       deloura@cs.unc.edu      U of North Carolina, Chapel Hill
From: dbrooks@osf.org (David Brooks)
Subject: Re: Q: Colormaps with dialog shells
Organization: Open Software Foundation
Lines: 29
dyoung@media.mit.edu (David Young) writes:
|
| I have an applicationShell which uses a colormap created with
| XCreateColormap() and uses all of the colors available for my 8-bit
| display....When I popup a dialogShell to prompt the user for
| some input I want the XmNdialogStyle to be set to
| XmDIALOG_PRIMARY_APPLICATION_MODAL.  The result is that if my cursor is
| over the dialogShell I get my colormap, but if the cursor is over the
| applicationShell (or any window other than the dialogShell) I get the
| default colormap.  But I'd like it so that if my cursor is over _any_
| window of my application, I get my colormap.
I *think* this is correct behavior.  Remember the default
colormapFocusPolicy is keyboard (meaning the cmap focus follows the
keyboard focus).  Since the dialog is modal, mwm won't allow keyboard
focus onto your main shell, and so it won't allow cmap focus either.
Since it sounds as though you have keyboardFocusPolicy:pointer, I
suggest you set colormapFocusPolicy:pointer also.  That way, the cmap
focus won't slavishly follow keyboard focus, but will beat its own path.
(if you have keyboardFocusPolicy: explicit, you can set cmap focus
explicit also, but you then need a binding to f.focus_color, probably on
MB1).
--
David Brooks					dbrooks@osf.org
Open Software Foundation			uunet!osf.org!dbrooks
Showres soote my foote
From: papresco@undergrad.math.uwaterloo.ca (Paul Prescod)
Subject: X Toolkits
Organization: University of Waterloo
Lines: 29
I am considering making a reasonably large application for free
distribution (probably copylefted).  I am going to use X.  Now I'm
bewildered by the huge number of "standards" that "open systems" has
created.
I've lived in a fairly tookit-sheltered environment.  Most of the tools
here were produced with the Athena Widget set, or X Intrinsics or Xw
(??).
In my humble opinion, they look like crap.  I don't know, however, if
this is a characteristic of the tookits, or just poor aestetic taste
in the programmers.
I would like my app to look a little more "sculptured" like mwm.  I
understand, however, that mwm isn't free like the other tookits.
I am getting Linux, so I will have InterViews, but I don't know how it
will look.  I get the impression Andrew is from the FSF, but I don't
know what it looks like either.
If you can help explain this toolkit mess to me, I would be much
obliged.  Which are free?  Which are the best?  Which are portable?  Which
looks nice?  Which is not a resource hog?
Also, if you happen to know which are available on Linux and/or Sun,
that would be a big help too.
Thanks in advance.
From: ben@dbsm.oz.au (Benjamin Stephen Kelley)
Subject: Problems with color Xterm
Reply-To: ben@thor (Benjamin Stephen Kelley)
Organization: SBC Dominguez Barry Ltd
Lines: 19
We have recently obtained a copy of color_xterm (from export.lcs.mit.edu) after
seeing it mentioned in a previous article. On compilation, it reports the
following undefined symbols:
_get_wmShellWidgetClass
_get_applicationShellWidgetClass
but still runs. When sending escape sequences to set the colour,
any colour comes out as black text on a black background. Any Ideas?
Has anyone used this program in colour successfully?
Can anyone point me to any other colour terminal emulators?
We are running OpenWindows 3 on Sun Sparcs running SunOS 4.1.3.
advaTHANKSnce  Ben Kelley.
ben@thor.dbsm.oz.au
From: barnett@grymoire.crd.ge.com (Bruce Barnett)
Subject: Re: Title for XTerm
In-Reply-To: lanzo@tekelec.com's message of Thu, 22 Apr 1993 17:35:46 GMT
Nntp-Posting-Host: grymoire.crd.ge.com
Reply-To: barnett@crdgw1.ge.com
Organization: GE Corp. R & D, Schenectady, NY
<C5oL74.3B1@aeon.in-berlin.de> <1993Apr22.173546.5198@gecko.uucp>
In article <1993Apr22.173546.5198@gecko.uucp> lanzo@tekelec.com (Mark Lanzo) writes:
[Hint for Sun OS users:  use /usr/5bin/echo instead of
/bin/echo or Csh's built-in echo.  Otherwise you'll have
to embed literal ESC and BEL characters in the string
instead of using convenient octal sequences.]
Bad idea. using /usr/5bin/echo is slower than the built-in echo.
This is what I do. It does execute `hostname` once per shell window,
and does read in one extra file. But manipluating the titles does not
require executing extra programs.
Oh yes, it does execute some programs once per each system.
But it stores them in a file for the next time...
if ( ! $?HOSTNAME ) then
setenv  HOSTNAME `hostname`
endif
# figure how how to generate escape, bell,
# and echo commands without a a line terminator
# I may have done this before. If so, the variable E is set
# have I executed this script before on this system?
if ( $?E ) then
#	echo "already set the echo variables">/dev/tty
else if ( -f ~/.echo.${HOSTNAME} ) then
source ~/.echo.${HOSTNAME}
else if ( `echo -n |wc -l`  == 0 ) then
#	echo "built in echo is bsd" >/dev/tty
# then berkeley style echo
echo 'set ech = "echo -n"' >~/.echo.${HOSTNAME}
echo "set E = `echo a | tr a '\033'`" >> ~/.echo.${HOSTNAME}
echo "set B = `echo a | tr a '\007'`" >> ~/.echo.${HOSTNAME}
echo 'set N = ""' >> ~/.echo.${HOSTNAME}
source ~/.echo.${HOSTNAME}
else
#	echo "built in echo is sysV" >/dev/tty
echo 'set ech = "echo"' >~/.echo.${HOSTNAME}
echo 'set E = "\033"' >> ~/.echo.${HOSTNAME}
echo 'set B = "\007"' >> ~/.echo.${HOSTNAME}
echo 'set N = "\c"' >> ~/.echo.${HOSTNAME}
source ~/.echo.${HOSTNAME}
endif
# Are we using shelltool, cmdtool or xterm?
# duplicate these aliases here to avoid problems
if ( $term =~ sun* ) then
# Sun Aliases
alias Header '${ech}  "${E}]l\!:1${E}\${N}"'
alias IHeader '${ech}  "${E}]L\!:1${E}\${N}"'
else if ( $term =~ xterm ) then
alias Header '${ech}  "${E}]2;\!:1${B}${N}"'
alias IHeader '${ech}  "${E}]1;\!:1${B}${N}"'
endif
--
Bruce Barnett <barnett@crd.ge.com> uunet!crdgw1!barnett
From: rao@cse.uta.edu (Rao Venkatesh Simha)
Subject: xrn , xarchie for HP's
Nntp-Posting-Host: cse.uta.edu
Organization: Computer Science Engineering at the University of Texas at Arlington
Lines: 10
Hi,
I need xrn and xarchie for the HP's (9000/730, version 8 OS), either in
the source form or, (preferably) in executable form. Please suggest
where I can find this,
Send e-mail to: rao@cse.uta.edu
Thanks in advance,
Rao.
--
SSC
From: skip@eco.twg.com (Skip Koppenhaver)
Subject: Pulldown menu periodically hangs application on OpenWindows 3.0
Nntp-Posting-Host: eco.twg.com
Reply-To: skip@eco.twg.com
Organization: The Wollongong Group (East Coast Operations)
Lines: 47
Has anyone found a fix for the following problem?
Client Software:	SunOs 4.1.1, X11R5
Server Hardware:	Sun IPC
Server Software:	SunOs 4.1.1, Open Windows 3.0 (w/ patch 100444-37)
A Motif 1.2.2 application will periodically hang when run against the
OpenWindows 3.0 server (xnews). The pulldown is displayed but then no
button actions have any effect. Sometimes pressing <Return> will
unstick the application but not usually. It looks like the pulldown is
grabbing the focus and never letting go. Other windows on the display
continue to get updated so the server isn't hanging. If I log in from
another terminal and kill the Motif application then everything gets
back to normal. The same application when run against other X servers
(including MIT X11R5 Xsun, DecWindows, Tektronix X terminal) has no
problems. This is obviously a OpenWindows problem but I need a
work-around since most of our customers are OpenWindows users.
I have tried the following things:
1. Installing the latest version of the OpenWindows server patch
(100444-37).
2. Using mwm (version 1.2.2) instead of olwm.
3. Applying the patch specified in the Motif FAQ (question 110).
This had the effect of disabling the point-and-click method of
menu interaction (as opposed to the click-and-drag method), and
screwing up the menu mnemonics keys. It did seem to help, but I
was still able to get the application to hang.
Repeat By:
This is an intermittent problem so you'll have to try several times.
Click and release on a menu heading (pulldown menu will pop up)
Click and release on a menu item
Repeat until application hangs
Any help would be appreciated. Thanks in advance.
--
Skip Koppenhaver
skip@eco.twg.com
From: ma201rs@prism.gatech.EDU (SHONKWILER R W)
Subject: screen problem in unix/xwindows/solaris
Keywords: unix xwindows solaris
Organization: Georgia Institute of Technology
Lines: 23
Experiment: From a Sun openwindows 4.1.3 xterm window log into a
Solaris 2.x machine using rlogin; now do an "ls" and get the first
character of each line display in the last column of the display
with the rest of the line wrapped to the next line of the display.
Log out and the condition persists.  Check stty all, try reset
with no effect.
Use telnet instead of rlogin and it doesn't occur.
Try it from a unix console and it doesn't occur.
(1) What's causing this?
(2) Can it be avoided?
(3) How can the terminal characteristics be reset?
Please send replies to shenk@math.gatech.edu
--
SHONKWILER R W
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp: ...!{allegra,amd,hplabs,seismo,ut-ngp}!gatech!prism!ma201rs
ARPA: ma201rs@prism.gatech.edu
From: jigang@dale.ssc.gov (Jigang Yang)
Subject: Re: internationalized menus & icon labels
Keywords: icon, motif, openlook
Nntp-Posting-Host: dale.ssc.gov
Organization: SSC Lab
Lines: 15
I have a problem with icon pixmap. My application has to run
under openwindow and motif. I wrote my program in Motif with pixmap and
icons. It runs fine under motif/motif window manager and X11R5/mwm. But
the icon pixmap does not show up under openwin/olwm and X11R5/olwm.
Has anybody got into this kind of problem? Need a clue. An
example which works in both X11R5/motif and openwindow will be great.
--
Jigang Yang, jigang@dale.ssc.gov, jyang@sscvx1.bitnet
2550 Beckleymeade Ave. MS 4011  Tel: 214-708-3498
Dallas, TX 75237                Fax: 214-708-4898
From: jigang@dale.NoSubdomain.NoDomain (Jigang Yang)
Subject: icon pixmap problem...
Keywords: icon, motif, openlook
Nntp-Posting-Host: dale.ssc.gov
Organization: Superconducting Super Collider Laboratory
Lines: 15
I have a problem with icon pixmap. My application has to run
under openwindow and motif. I wrote my program in Motif with pixmap and
icons. It runs fine under motif/motif window manager and X11R5/mwm. But
the icon pixmap does not show up under openwin/olwm and X11R5/olwm.
Has anybody got into this kind of problem? Need a clue. An
example which works in both X11R5/motif and openwindow will be great.
--
Jigang Yang, jigang@dale.ssc.gov, jyang@sscvx1.bitnet
2550 Beckleymeade Ave. MS 4011  Tel: 214-708-3498
Dallas, TX 75237                Fax: 214-708-4898
From: Gary Keim <gk5g+@andrew.cmu.edu>
Subject: Re: X Toolkits
Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA
Lines: 32
NNTP-Posting-Host: po4.andrew.cmu.edu
In-Reply-To: <C5y8wJ.3zE@undergrad.math.uwaterloo.ca>
Excerpts from netnews.comp.windows.x: 23-Apr-93 X Toolkits Paul
Prescod@undergrad.m (1132)
> I am getting Linux, so I will have InterViews, but I don't know how it
> will look.  I get the impression Andrew is from the FSF, but I don't
> know what it looks like either.
If you're on the internet and your site isn't sheltered from external
tcp/ip traffic, you can use the Remote Andrew Demo to see what the
Andrew Toolkit looks like:
Remote Andrew Demo Service
This network service allows you to run Andrew Toolkit applications
without the overhead of obtaining or compiling the Andrew software.  You
need a host machine on the Internet, and you need to be running the X11
window system.  A simple "finger" command will allow you to experience
ATK applications firsthand.  You'll be able to compose multimedia
documents, navigate through the interactive Andrew Tour, and use the
Andrew Message System to browse through CMU's three thousand bulletin
boards and newsgroups.
To use the Remote Andrew Demo service, simply run the following command
on your machine:
finger help@atk.itc.cmu.edu
The service will give you further instructions.
Gary Keim
Andrew Consortium
From: c2xjfa@kocrsv01.delcoelect.com (James F Allman III)
Subject: Re: GUI Study
Originator: c2xjfa@koptsw18
Organization: Delco Electronics Corp.
Distribution: na
Lines: 33
In article <1993Apr23.031744.19111@mercury.unt.edu>, seth@ponder.csci.unt.edu (Seth Buffington) writes:
> >Cutsie little Macintrash-like icons that are an instant recipe for
> >mousitis IMHO. System 7 is undoubtedly the worst GUI I have used (out of
> >that, RISCOS, MSWombles, and X11) simply because it does not provide enough
> >keyboard shortcuts. Windows I must confess I quite like (cover your ears
> >:-) ) because you can actually use it without having to ever touch the
> >mouse.
> [stuff delete]
> >the user rather than making things _easier_ - and there should always be
> >the option to do it your way if you want to, which is why I like the
> >UNIX/X combination so much - it's so customizable.
>
> Hear! Hear! I agree completely. One thing I can't stand about
> the Mac interface is its shear determination to FORCE you to use
> the mouse(what if your mouse breaks--your whole system is
> down!).  I like the mouse--it is handy on some occassions such
> as cut and past and moving icons around, etc.  But for most
> work, the keyboard and hot keys are 10-20 times faster than
> using the mouse. Sure it is a plus to be able to do something
> simple if you are an inexperienced user, but how long is it
> before your are experienced? A month? Two? (Speaking of PCs at
> the moment.)
> 	I don't think it is too much to ask that window
> programmers provide not only a menu/mouse interface but also
> look forward to those who would like to move on to hot keys and
> command line interfaces, which usually allows you to do more in
> less time IF you are experienced.
> 	All of the above equally applies to windowing systems on
> UNIX (especially since Unix is at least 500% more powerful than
> DOS).
>
And at least 500% more user unfriendly as well!
From: jh@cadre.com (Joe Hartley)
Subject: Re: X on Amiga 4000?
Article-I.D.: fripp.1993Apr23.195024.24932
Reply-To: jh@cadre.com
Organization: Cadre Technologies, Inc.
Lines: 28
Nntp-Posting-Host: xtc
In article 8yD@ie.utoronto.ca, garym@ie.utoronto.ca (Gary Murphy) writes:
>I'm new to the hardware and with a mandate to port some X-based
>stereo-video software --- does anyone know of or have experience with
>X on Amiga machines?  If I can retain the X event handling, it would
>ease my plight considerably, and if I can keep all the Motif bits, so
>much the better!
>
There is X for the Amiga, but it'll cost you.  GfxBase Inc., owned by
Dale Luck, one of the original Amiga architects, sells X for the Amiga.
There are many options available, including Motif.  Call 'em and get the
scoop.
GfxBase Inc.
1881 Ellwell Drive      Phone: 408-262-1469
Milpitas, CA 95035        Fax: 408-262-8276
I've got no connection with them, other than being a satisfied customer.
---
===============================================================================
Joe Hartley          | jh@cadre.com  -  Whenever you find that you are on the
Cadre Technologies   | side of the majority, it is time to reform. - M. Twain
222 Richmond St.     | --------------------------------------------------------
Providence, RI 02903 | Overman 1st Class - the Kilgore Trout Memorial Clench
(401) 351-5950 x266  |            of the Church of the SubGenius
===============================================================================
From: jimf@centerline.com (Jim Frost)
Subject: How to make simplest possible composite widget?
Organization: CenterLine Software, Inc.
Lines: 33
NNTP-Posting-Host: 140.239.3.202
Not being an Xt programmer by any stretch of the imagination, this is
driving me crazy and it's probably really simple to do.
I need to make a composite widget that does nothing at all but is
merely a placeholder in a widget instance heirarchy -- allowing me an
additional resource name level.
To illustrate I have an application with the following widget
heirarchy:
Shell Widget
|
Application Widghet
I want the following:
Shell Widget
|
Intermediate Widget
|
Application Widget
where the intermediate widget has a name but gets all its other
properties (and propagates down new values) from the shell widget.
I assume there's a simple way to do this but I can't find an example
and the documentation I have is rather vague about implementing
composite widgets.
Please respond via email.  Any help will be very much appreciated.
jim frost
jimf@centerline.com
From: tdunbar@vtaix.cc.vt.edu (Thomas Dunbar)
Subject: Re: X Toolkits
Summary: Get the Athena 3D widget set
Distribution: inet
Organization: Virginia Tech, Blacksburg, VA
Lines: 9
NNTP-Posting-Host: vtaix.cc.vt.edu
libXaw3d, the 3D Athena widget set will greatly improve the
"sculptured" look. In Linux, with its shared, jump-table libs, you
don't even have to recompile or relink. you merely have to:
ln -sf /lib/libXaw3d.so.3.0 /lib/libXaw.so.3
thomas
From: rar@schooner.otra.COM (Rich Rollman)
Subject: File Formats
Organization: The Internet
Lines: 15
To: xpert@expo.lcs.mit.edu
Hi folks,
Can anyone give me some information, the location of some
information, or some reference material for the following
file formats: WIFF, MO;DCA/IOCA, PCX.
If this is not quite the appropriate place to ask such
questions, please let me know a more appropriate one and
accept my apologies in advance.
Thanks for your help,
Rich Rollman
Dogleg Systems, Inc.
(908) 389-9597
From: smd@iao.ford.com (Steve Dahmen)
Subject: Changing colors on a label - HELP
Organization: Ford Motor Company -- standard disclaimers apply
Lines: 21
Distribution: world
Reply-To: smd@iao.ford.com (Steve Dahmen)
NNTP-Posting-Host: ope001.iao.ford.com
I have a toggleButton widget (yes widget) and I have a routine
which changes the color of the foreground and background of the
label.  Well, the background changes alright, but the label
text does not redraw itself.
I am guessing that I have to force it to redraw with an
XExposeEvent sent to it via XSendEvent.  Is this the best
way to get the text up again?  I can't seeem to get
XSEndEvent to work right.... if this is a good approach,
might anyone have an example lying around to show me how to
do this?  I've RTFM all evening and did not find a decent
example.
PS I keep getting Segmentation Faults in XSEndEvent, tho all
the values are as expected.
Thanks in Advance
Stephen M. Dahmen
From: egan@phony25.cc.utah.edu (Egan F. Ford)
Subject: color xterm
Keywords: color xterm
Reply-To: egan%phony25.cc.utah.edu@hellgate.utah.edu
Organization: Call Business Systems
Lines: 9
I'm look for current patches for color xterm for X11R5 pl19 ro higher.  Could
someone please tell me where to get them for e-mail them to me.
Thanks.
--
Egan F. Ford
egan%phony25.cc.utah.edu@hellgate.utah.edu
From: hasty@netcom.com (Amancio Hasty Jr)
Subject: Re: X Toolkits
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
Lines: 45
In article <C5y8wJ.3zE@undergrad.math.uwaterloo.ca> papresco@undergrad.math.uwaterloo.ca (Paul Prescod) writes:
>I am considering making a reasonably large application for free
>distribution (probably copylefted).  I am going to use X.  Now I'm
The following packages meet your criteria in that they are PD and
present an aesthetically pleasant graphical interface to the users.
If you can use 386bsd:
there is xview3 (OpenLook)
there is Interviews which looks a little like Motif
there is gopath a very nice C++ toolkit for Athena Widgets and Motif
which is simpler
and better than interviews and you will enjoy
technical support from Bull via e-mail
It has a nice draw program (it uses motif) which can be used
to create graphical front-end to programs.
The data format is called streams which you can feed
to your programs. I ported gopath on an internet machine
which is gone but if you use gcc-2.3.3 with minimal effort
gopath can be ported to 386bsd.
Last but not least, gopath interfaces to toolkits via a driver
module. They have an MS-Windows driver module for instance.
Also, many have written extensions to tk/tcl thus allowing powerful
applications. For instance, tcl_nm  has snmp extensions for tk/tcl.
With ease, I  can now combine snmp network operations with graphs,
photo-widget, graphical interface, file operations, database
operations,etc.. The author of tcl_nm mail me a simple network
management application which was about 80 lines long - it displayed
various environmental parameters from a router. I wrote  a simple
strip chart script for displaying Real-Time ip received
packets/seconds.
Hope this helps,
Amancio Hasty
--
This message brought to you by the letters X and S and the number 3
Amancio Hasty           |
Home: (415) 495-3046    |  ftp-site depository of all my work:
e-mail hasty@netcom.com	|  sunvis.rtpnc.epa.gov:/pub/386bsd/incoming
From: sivap-s@cs.buffalo.edu (S. Suresh)
Subject: Re: screen problem in unix/xwindows/solaris
Organization: UB
Lines: 16
Nntp-Posting-Host: talos.cs.buffalo.edu
X-Newsreader: TIN [version 1.1 PL9]
SHONKWILER R W (ma201rs@prism.gatech.EDU) wrote:
: Experiment: From a Sun openwindows 4.1.3 xterm window log into a
: Solaris 2.x machine using rlogin; now do an "ls" and get the first
: character of each line display in the last column of the display
: with the rest of the line wrapped to the next line of the display.
: Log out and the condition persists.  Check stty all, try reset
: with no effect.
The condition happens  when the TAB is not  set  to 8 spaces,  set and
then check out.
--
Suresh Sivaprakasam
Department of Computer Science,    SUNY Buffalo,    Amherst,   NY - 14260-0001
Internet :sivap-s@cs.Buffalo.EDU               Bitnet : sivap-s@SUNYBCS.BITNET
From: mcc@timessqr.gc.cuny.edu (George McClintock)
Subject: Re: XDM & DECnet ?
In-Reply-To: mahan@TGV.COM's message of 21 Apr 1993 00:59:04 -0400
Organization: Graduate School and University Center, C.U.N.Y, New York
Lines: 24
While I cannot answer questions about running XDM over a DECnet, I can
say that the following defines must be added to the site.def before
building R5 before any X clients will work over a DECnet.
From site.def
#define ConnectionFlags -DTCPCONN -DUNIXCONN -DDNETCONN
#define ExtraLibraries -ldnet
Hoping this helps,
George
--
/*******************************************************************
* The opinions expressed are those of the author and in no way     *
* represent the opinions of the CUNY Graduate School, its agencies *
* or personnel.  mcc@timessqr.gc.cuny.edu  ||  CMCGC@CUNYVM.BITNET *
*******************************************************************/
--
/*******************************************************************
* The opinions expressed are those of the author and in no way     *
* represent the opinions of the CUNY Graduate School, its agencies *
* or personnel.  mcc@timessqr.gc.cuny.edu  ||  CMCGC@CUNYVM.BITNET *
From: steerr@h01.UUCP (R. William Steer)
Subject: X-server for NT?
Organization: The Internet
Lines: 8
To: expo.lcs.mit.edu!xpert@tron.bwi
Has anybody generated an X server for Windows NT?  If so, are you willing
to share your config file and other tricks necessary to make it work?
Thanks for any information.
Bill Steer
Westinghouse
(412)374-6367
From: mppa3@syma.SUssex.ac.UK (Alan Richardson)
Subject: Now available: xvertext.4.0
Organization: University of Sussex
Lines: 25
To: xannounce@expo.lcs.mit.edu
Now available: xvertext 4.0
--------------
Summary
-------
xvertext provides you with four functions to draw strings at any angle in
an X window (previous versions were limited to vertical text). Rotation
is still achieved using XImages, but the notion of rotating a whole font
first has been dropped.
What's new?
-----------
I've added a cache which keeps a copy of previously rotated strings - thus
speeding up redraws.
Where can I get it?
-------------------
comp.sources.x (soon...)
export.lcs.mit.edu : contrib/xvertext.4.0.shar.Z  (now)
--
Alan Richardson,                             * "You don't have to be *
School of Maths & Physical Sciences,         *  old to be wise"      *
Univ. of Sussex, Brighton BN1 9QH, ENGLAND   * ******Judas Priest*****
UK: mppa3@uk.ac.sussex.syma         elsewhere: mppa3@syma.sussex.ac.uk
From: thor@surt.ATd.ucar.EDU (Richard E. Neitzel)
Subject: xcursor4.1
Organization: National Center for Atmospheric Research
Lines: 9
To: xannounce@expo.lcs.mit.edu
Xcursor version 4.1 is now on export as xcursor4.1.tar.Z. I've added
a new option to determine if a requested cursor size is OK. Of course,
your server may lie!
--
Richard Neitzel thor@thor.atd.ucar.edu          Torren med sitt skjegg
National Center For Atmospheric Research        lokkar borni under sole-vegg
Box 3000 Boulder, CO 80307-3000	                Gjo'i med sitt shinn
303-497-2057                                    jagar borni inn.
From: dcc@dcs.ed.ac.uk (David Crooke)
Subject: Bitplaned ("non-chunky" pixel) cfb????
Organization: Department of Computer Science, University of Edinburgh
Lines: 17
Is there a PD version of cfb, or other PD server stuff, which has a colour frame
buffer implementation which works in bitplaned mode, i.e. where the screen
memory is grouped so that "bit 0 of every pixel is here, bit 1 is there, etc."
The only such beast I know if at the moment is the GfxBase server for the
Commodore Amiga, and it is commercial. I don't know if they wrote their own cfb,
but I suspect they did.
Please respond by email, as I don't read this group.
Many thanks
Dave
--
David Crooke, Department of Computer Science, University of Edinburgh
Janet dcc@ed.dcs  :  Internet dcc@dcs.ed.ac.uk  :  IP talk dcc@129.215.160.2
Work: JCMB Rm 3310, King's Bldgs, W Mains Rd., Edinburgh EH9 3JZ. 031 650 6013
Home: 2FL, 39 Woodburn Terr, M'side, Edinburgh EH10 4ST. Tel: 031 452 9067
From: humesdg1@netnews.jhuapl.edu (Dave Humes)
Subject: xwd segmentation fault
Keywords: xwd X11
Organization: JHU/Applied Physics Laboratory
Lines: 22
I was planning to use the following pipe to move some display data to a system
that has a color hardcopy unit:
xwd | xwud -display hostname:0.0
I had tested it with some simple windows like the OpenWindows file manager,
and it worked fine, but when I tried it with a more complex (larger) image,
the xwd part blew up with a segmentation fault.  I tried it without the pipe,
by redirecting xwd's output to a file and then used the file as input to xwud
and got the same error from xwud.  If I had to guess, it seems like it's
running out of memory, but this happened on a SPARC 10 with 64 megs, 128 meg
swap space, and only one user with minimal activity.  The file was about 3 MB.
This verion of xwd/xwud was supplied with the Sun OpenWindows 3.0 distribution
which I believe corresponds to X11 R4.
Any ideas?  Thanks in advance.
--
--------------------------------------------------------------------------
Dave Humes        |    Johns Hopkins University Applied Physics Laboratory
(410) 792-6651    |    humesdg1@aplcomm.jhuapl.edu
---------------------------------------------------------------------------
From: martinh@cac.washington.EDU (Martin Hunt)
Subject: Announcing tcpview: A Motif-based TCP/IP protocol analyzer
Organization: UW Networks and Distributed Computing
Lines: 89
Keywords: protocol analyzer TCP/IP
To: xannounce@expo.lcs.mit.edu
Tcpview is the result of several problems we had at UW.  We have several
Network General Sniffers which are heavily used to help debug problems on
several hundred subnets. These are good tools, but they are 1) heavy,
2) hard to find when you need one, 3) limited in their software expandibility,
4) difficult to use to upload data for analysis, 5) cannot be remotely
operated, and 6) cannot resolve names with DNS, requiring much manual
manipulation of the name table.  We also sometimes use tcpdump, but we found
it 1) too difficult for most people, 2) did not have enough information for
many protocols, 3) could not be used interactively, 4) could not handle
TCP streams and 5) could not read Sniffer files.  However, tcpdump did do
a reasonable job of decoding a large number of protocols, and could be easily
modified.  Tcpview is an attempt to resolve these problems
by adding a Motif interface to tcpdump and expanding its features.
Tcpview has been tested on a DECstation 5000 and Sun 4 under Ultrix 4.2 and
SunOS 4.1 respectively.  It should work on the same systems as tcpdump.
It compiles with cc and gcc on the DEC and Sun.  To build tcpview you will
need Motif 1.1 or better.
The following files are available for anonymous ftp from
ftp.cac.washington.edu in /pub/networking
tcpview-1.0.tar.Z	tcpview and tcpdump source code
tcpview-1.0.sun.tar.Z	Sun4 binaries
tcpview-1.0.dec.tar.Z	DEC Mips Ultrix 4.2 binaries
What tcpview adds to tcpdump:
- easier interface
- enhanced protocol decoding
- hex display of frame
- capture based on time, number of frames, or user interrupt
- can show ethernet addresses with manufacturer's name
- ethernet address host table
- can easily follow a stream, highlighting out-of-order frames
- can send TCP data to an external file or filter for additional
processing.
-------------------------------------------------------------------------------
CHANGES TO TCPDUMP 2.2.1
New features:
Now reads and writes Network General Sniffer files.  When used with '-r', the
file type will be automatically detected.
Can now read in (and use) an SNMP MIB file.
The hex format has been changed.
New time options have been added.
Options were added to allow viewing and processing of the data in TCP packets.
Bugs were fixed in the relative TCP sequence numbers. (-S flag)
New flags:
-R	read Sniffer file.  Not usually needed, except for reading from stdin
-ttt	prints delta times
-tttt	prints times relative to the first frame
-W	write a Sniffer save file (use with -w)
-x	print frame (minus link-level header) in hexdump format.
Sample output:
16:36:23.349851 jeff.cac.washington.edu.1285 > nic.funet.fi.ftp: S 0:0(0) win 16384
0000  45 00 00 28 8a 98 00 00 3c 06 7c 9c 80 5f 70 02   |  E..(....<.|.._p.
0010  80 d6 06 64 05 05 00 15 5b 19 4a 00 00 00 00 00   |  ...d....[.J.....
0020  50 02 40 00 4e 13 00 00 00 00 00 00 00 00         |  P.@.N.........
-X	print TCP data in hexdump format (used with -Z)
-z	write TCP data to stdout (use with -t to eliminate timestamp)
-Z	write frames and TCP data to stdout
Martin M. Hunt
martinh@cac.washington.edu
Networks & Distributed Computing
University of Washington
--
-------------------------------------------------------------------------------
Martin Hunt                            martinh@cac.washington.edu
Networks and Distributed Computing     University of Washington
From: inoue@crd.yokogawa.co.jp (Inoue Takeshi)
Subject: How to see characterset from wchar_t
Nntp-Posting-Host: emu
Distribution: comp
Organization: Yokogawa Electric Corporation, Tokyo, Japan
Lines: 137
We developed a toolkit running on the X Window System.
The toolkit copes with any languages based on X11R5's i18n
facility. As you know, there are 2 kinds of i18n implementation from MIT's
X11R5 release -- Xsi and Ximp. Our original implementation of the toolkit
uses Xsi.
Our toolkit manages each character's size based on our own font management system.
In order to do that, the 'wchar_t' typed character strings must be decomposed
to character sets. This means that if one wchar_t type compound string with
ASCII and Kanji mixed, for example, is given, each element of the wchar_t
array must be checked its corresponding character set based on a bit layout
and application environment's locale. In this case if the locale is 'japanese',
each wchar_t character will be classified either to iso8859-1, jisx0208 or so.
We need a function to do this. The function must check how many characters
from the top are the same character set and what the character set is.
We could not find any public X11R5 function to do that and inevitably, used
Xsi's internal functions to construct that function. The following is the
source code of that function 'decomposeCharacterSet()'.
//I18N.h
// This may look like C code, but it is really -*- C++ -*-
// $Id: I18N.h,v 1.1 1992/01/21 12:05:24 iima Exp iima $
#ifndef _I18N_H
#define _I18N_H
#include <X11/Xlib.h>
extern int decomposeCharacterSet(const wchar_t *wc_str,	/* IN */
int wc_len,		/* IN */
char *buf,		/* OUT */
int *buflen,		/* IN/OUT */
int *scanned_len,	/* OUT */
char **charset);	/* OUT */
extern XmString wcharToXmString(const wchar_t *wc_str);
extern XmStringCharSet charsetOfWchar(const wchar_t wc);
#endif /* _I18N_H */
//I18N.cc
/* $Id: I18N.cc,v 1.1 1992/01/21 12:05:05 iima Exp $ */
#include <stdlib.h>
#include <X11/Xlibint.h>
#include <Xm/Xm.h>
#include "I18N.h"
extern "C" {
#include <X11/wchar.h>
#define _XwcDecomposeGlyphCharset XXX_XwcDecomposeGlyphCharset
#define _Xmbfscs XXX_Xmbfscs
#define _Xmbctidtocsid XXX_Xmbctidtocsid
#include "Xlocaleint.h"
#undef _XwcDecomposeGlyphCharset
#undef _Xmbfscs
#undef _Xmbctidtocsid
extern int _XwcDecomposeGlyphCharset(XLocale, const wchar_t*, int,
char*, int*, int*, int*);
extern Charset *_Xmbfscs(XLocale, _CSID);
extern _CSID _Xmbctidtocsid(XLocale, _CSID);
};
int decomposeCharacterSet(const wchar_t *wc_str,/* IN */
int wc_len,		/* IN */
char *buf,		/* OUT */
int *buf_len,		/* IN/OUT */
int *scanned_len,	/* OUT */
char **charset)	/* OUT */
{
XLocale xlocale = _XFallBackConvert();
int ctid;
int status;
Charset *xcharset;
status = _XwcDecomposeGlyphCharset(xlocale, wc_str, wc_len, buf,
buf_len, scanned_len, &ctid);
if (status == Success) {
xcharset = _Xmbfscs(xlocale, _Xmbctidtocsid(xlocale, ctid));
*charset = (xcharset) ? xcharset->cs_name : NULL;
}
else
*charset = NULL;
return status;
}
----------------
An included file above, "Xlocaleint.h", is also Xsi internal and we copied
the file to the toolkit directory and compiled.
A serious issue occured when we tried to compile a toolkit application on
our HP machine with its OS version of HP-UX9.01.
When we tried to link an application based on our toolkit,
link errors occured saying that the following functions are missing:
_Xmbctidtocsid (code)
_Xmbfscs (code)
_XwcDecomposeGlyphCharset (code)
_XFallBackConvert (code)
We had used MIT release version of X11R5 and its Xsi implementation until
HP-UP9.0 and ran applications successfully. One of the reasons to use Xsi was that
because HP did not release HP's X11R5 until the OS 9.0 and we had no way to
know how HP's R5 would be implemented. We had hoped Xsi's popularity and used
its internal functions.
The HP's linker complains that there are no Xsi internal functions implemented.
We observe from HP's libX11.a, they used some Ximp implementation but we are
not sure if they used MIT's vanilla Ximp version or their own version of Ximp and
therefore, finding just counter part functions in MIT's Ximp for Xsi does not
seem to lead us a solution.
My question and goal is to know how we can construct a function like
'decomposeCharacterset()' listed above. Is there any function to check
character set of each element of wchar_t type strings depending on locales?
If it is a public function, that is perfect but even if it is not, we
want to use any internal functions in HP's X11R5 as we did for MIT's R5.
In order to render a 'wchar_t' type string, there must be some machinery
to judge character sets and that is how the proper fonts are selected for
the string. We have no way to find out that without any HP's X11R5 source
files. We want to know how we can use that for our goal.
Any help or comments would be highly appreciated.
I also appreciate if anyone tell me about Ximp treating around this area
even if it is not HP's implementation.
Thank you.
--
Takeshi Inoue
inoue@crd.yokogawa.co.jp
Yokogawa Electric Corporation
Open Systems Laboratory	0422(52)5557
From: mike@hopper.Virginia.EDU (Michael Chapman)
Subject: Re: Looking for a filemanager under X11R5
Organization: ITC/UVA Community Access UNIX/Internet Project
Lines: 12
In article <1993Apr21.130259.3773@atlastele.com> brians@atlastele.com (Brian Sheets) writes:
>Does anyone have a file manager that runs under UNIX/X11R5??
>
xdtm is working looking at, as is ftptool.  There really isn't anything of
any quality that I've seen though, and I'm seriously considering writing one
on my own.
--
mike@hopper.acs.virginia.edu
"I will NOT raise taxes on the middle class." -Unknown
From: tim@kimba.catt.citri.edu.au (Tim Liddelow)
Subject: Installing MIT X11R5 on Apollo
Organization: CATT Centre at CITRI, Melbourne, Australia
Lines: 14
Can any Apollo GURUS out there let me know of their experiences building MIT X11R5,
with or without GCC 2.3.3.  In particular, is there anything I should watch out for.
Thanks in advance
--tim
________________________________________________________________________________
Tim Liddelow                                          for(;;) fork();
Systems Programmer
Centre of Advanced Technology in Telecommunications   My brain on a bad day.
CITRI, Melbourne, Australia
internet : tim@kimba.catt.citri.edu.au
Phone : +61 3 282 2455   Fax : +61 3 282 2444
________________________________________________________________________________
Organization: Ministry of Education, Computer Center NETNEWS system V2.3
From: <CHLBS079@TWNMOE10.BITNET>
Subject: change default visual
Lines: 5
My HP720 workstation uses PseudoColor (id 0x21, 255 colors) as the
default visual.  How can I start X with different visual as default?
From: usun@mcl.ucsb.edu (Sonnie)
Subject: X bitmap -> Postscript
Lines: 10
Hey folks,
on the course to develope a X window application, we encountered
a problem. How could I transform a X window bitmap into a postscript
files ? Is there any library routines or source code I can call to
do the job ?
Thank you in advance.
p.s. Email reply please. I seldom read this newsgroup. =)
From: toml@boulder.parcplace.com (Tom LaStrange)
Subject: Re: Forcing a window manager to accept specific coordinates for a window
Organization: ParcPlace Boulder
Lines: 29
In article <C5xxq0.18M@cs.columbia.edu> ethan@cs.columbia.edu (Ethan Solomita) writes:
>In article <BADING.93Apr23105229@athene.cs.tu-berlin.de> bading@cs.tu-berlin.de (Tobias 'Doping' Bading) writes:
>>
>>I know that the mwm has an resource to specify if positions are to be used for
>>the border of a window or for the "user" window. Maybe other window managers
>>have similar options.
>>Another way to figure out the difference between the "user" window position
>>and the window manager decoration window position is to subtract their
>>positions. You just have to use XQueryTree and remember that the window manager
>>decorations window is the parent of your window. Unfortunately, you can only
>>figure out the decoration width and height after the window has been mapped
>>this way.
>>
>	Another way would be to use GetGeometry to find out where
>you are relative to the frame, and TranslateCoordinates to find
>out where your window's upperleft corner really is.
As I've said before, there's no reliable way to find out the size of
the window manager decoration.  If your window has been reparented, you
can't assume that the window you're parented to is the window that
holds all of the window manager decoration.  There may be several
layers of windows.  Doing multiple XQueryTree's until you get to the
root will work in most cases, but there's no guarantee that the outside
decoration window is parented to the root window of the display (tvtwm).
--
Tom LaStrange        toml@boulder.ParcPlace.COM
From: theslim@anathema.engin.umich.edu (Eric Michael Slimko)
Subject: Real-Time Data Display Tool
Organization: University of Michigan Engineering, Ann Arbor
Lines: 12
Distribution: world
NNTP-Posting-Host: anathema.engin.umich.edu
Originator: theslim@anathema.engin.umich.edu
Hi,
I'm looking for a X-Windows tool that can display data (in a
2D plot) in real time with a couple different signals.
Anybody know of such a gem?  Please Email me as I do not read
this group often.
Thanks much!
Eric Slimko
theslim@caen.engin.umich.edu
From: clay@cs.scarolina.edu (F Rodney Clay)
Subject: Slider Position of Vertical Scrollbars
Summary: Slider Position of a List Widget's Vertical Scrollbar
Organization: USC  Department of Computer Science
Distribution: comp
Lines: 10
I need help positioning the slider of a List widget's horizontal scrollbar.  I am displaying the full
path of a selected file in a list widget.  The horizontal's slider defaults to the left side of the
list widget; however, I need the slider on the right side.  This is so the user can SEE the file name
they selected.  I know it's possible, because when files are displayed in a file selection dialog box,
the slider is on the right side.
Thanking any and all who can help in advance,
Rodney F. Clay
clay@cs.scarolina.edu
From: rao@cse.uta.edu (Rao Venkatesh Simha)
Subject: xrn, xarchie for HP 9000/730 - ASAP
Nntp-Posting-Host: cse.uta.edu
Organization: Computer Science Engineering at the University of Texas at Arlington
Lines: 10
Hi,
I need xrn and xarchie for the HP's (9000/730, version 8 OS), either in
the source form or, (preferably) in executable form. Please suggest
where I can find this,
Send e-mail to: rao@cse.uta.edu
Thanks in advance,
Rao.
--
SSC
From: matt@centerline.com (Matt Landau)
Subject: Re: Asynchronous X Windows?
Organization: CenterLine Software, Inc.
Lines: 45
Distribution: inet
NNTP-Posting-Host: 140.239.1.32
In <ellis.735675321@nova> ellis@nova.gmi.edu (R. Stewart Ellis) writes:
>>Is there anyway to use X Windows over an async line?  Clearly you could use
>                                x
>It is X window.
No, it isn't.  It is the "X Window System", or "X11", or "X" or any of
a number of other designations accepted by the X Consortium.  In fact,
doing "man X" on pretty much any X11 machine will tell you:
The X Consortium requests that the following names  be  used
when referring to this software:
X
X Window System
X Version 11
X Window System, Version 11
X11
There is no such thing as "X Windows" or "X Window", despite the repeated
misuse of the forms by the trade rags.  This probably tells you something
about how much to trust the trade rags -- if they can't even get the NAME
of the window system right, why should one trust anything else they have
to say?
With regard to dialup X11 implementations, there are several.  You can
buy serial X11 terminals from a couple of companies, including both
GraphOn and NCD.  (In fact, I'm composing this from an NCD running X11
over serial lines across 14.4 kbaud connection.)
NCD also sells a software-only package that provides XRemote (which is
NCD's implementation of serial X11) for PC's.  There may be other such
software packages available.
X11R6 is supposed to include a standardized compression scheme for running
X11 over low-speed connections.  It's called Low Bandwidth X (LBX), and
is based on improved versions of the techniques used in NCD's XRemote.
It seems likely that once LBX is released as a Consortium standard, there
will be several vendors willing to supply implementations for various
sorts of hardware.
Followups directed to comp.windows.x
--
Matt Landau			Waiting for a flash of enlightenment
matt@centerline.com			  in all this blood and thunder
From: herzog@dogwalk.Eng.Sun.COM (Brian Herzog - SunSoft Product Engineering)
Subject: Re: Xsun not running on SPARCclassic
Organization: Sun
Lines: 18
Distribution: world
NNTP-Posting-Host: dogwalk
In article <1r3th9INNdtp@tom.rz.uni-passau.de> rank@winf.uni-passau.de (Christian Rank) writes:
>I've installed X11R5 with patches for Solaris 2.1 on our SPARCstation LX /
>SPARCclassic pool. On the LX, X11R5 runs fine, but on the classics,
>after giving the command startx, Xsun prints the following messages:
>	WARNING: cg3_mmap: can't map dummy space!
>	Mapping cg3c: No such device or address
>and exits.
>
>Does anybody know how to fix this problem?
I'm just guessing here, but I'd guess that X11R5 expects the CG3 to have
1152x900 resolution, and the version of the CG3 in the SPARCclassic is
1024x768.
--
--------------------------------------------------------------------------------
Disclaimer: I do not represent SunSoft, Inc., Sun Microsystems, Inc., etc., etc.
Brian Herzog, SunSoft          herzog@Eng.Sun.COM             ...!sun!eng!herzog
From: mike@hopper.Virginia.EDU (Michael Chapman)
Subject: Tektronix
Organization: ITC/UVA Community Access UNIX/Internet Project
Lines: 6
I remember seeing something in the X distribution mentioning support
for a Tektronix terminal in an X server.  Is this accurate?
--
mike@hopper.acs.virginia.edu
"I will NOT raise taxes on the middle class." -Unknown
From: rj@rainbow.in-berlin.de (Robert Joop)
Subject: Re: tvtwm & xsetroot, X11R5 and Sparc 10 keyboard
Lines: 26
NNTP-Posting-Host: rainbow.in-berlin.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
barr@pop.psu.edu (David Barr) writes:
>Did you install the sunkbd patch?  It's in the contrib directory on export.
>All the keys on my keyboard send events properly, except the following:
>The End, PageUp, PageDown on the 6-key cluster aren't recognized.
>Even the compose key works.  (Though I can't seem to get the composed
>characters in an xterm to get passed.)
>Anyone have a fix for the last two?
fix the table in .../X11R5/mit/server/ddx/sun/ or
use xmodmap(1).
put
stty pass8; setenv LC_CTYPE iso_8859_1; setenv LESSCHARSET latin1
in your .login. the first prevents the stripping of bit 7.
the second sets the locale. the third makes less(1) show the character
instead of the octal representation.
rj
--
__________________________________________________
Robert Joop
rj@{rainbow.in-berlin,fokus.gmd,cs.tu-berlin}.de
s=joop;ou=fokus;ou=berlin;p=gmd;a=dbp;c=de
From: dick@bart.starnet.com (Dick Montgomery)
Subject: Re: X-window for PC
Organization: StarNet Communications Corp.
Lines: 23
Briefly, StarNet Communications has four PC X server packages.
Micro X-lite		$ 75.00
Includes integrated tcp/ip, runs in 640KB, no arcs().
Micro X-enlite		$150.00
Includes integrated tcp/ip, runs under DOS, shape extension
"     interface to Novell tcp/ip
Micro X-DOS		$345.00		($225 ea. in a 5-pack)
Includes integrated tcp/ip, runs under DOS, shape extension
"     interface to Novell tcp/ip, FTP's PC/TCP, & PC-NFS.
Micro X-WIN		$425.00		($300 ea. in a 5-pack)
Includes Lanera TCPOpen tcp/ip stack & utilities
"     interface to FTP's PC/TCP, Sun's PC-NFS, & WinSock.
For more information contact:
----------------------------------------------------------------
StarNet Communications		FAX:	   1-408-739-0936
3073 Lawrence Expressway	Voice:	   1-408-739-0881
Santa Clara, Ca.  95051		E-mail     microx@starnet.com
----------------------------------------------------------------
From: amathur@ces.cwru.edu (Alok Mathur)
Subject: How to get 24bit color with xview frames ?
Organization: Case Western Reserve University
Lines: 55
Distribution: world
NNTP-Posting-Host: amethyst.ces.cwru.edu
Hi !
I am using Xview 3.0 on a Sparc IPX under Openwindows along with a XVideo board
from Parallax which enables me to use 24 bit color. I am having some problems
utilizing the 24 bit color and would greatly appreciate any help in this matter.
I use Xview to create a Frame and then create a canvas pane inside which I use
to display live video. My video input is 24 bit color.
The problem is that my top level frame created as
frame = (Frame) xv_create(NULL,FRAME,NULL);
seems to have a depth of 8 which is propagated to my canvas.
I would like to know how I can set the depth of the frame to be 24 bits.
I tried using the following Xlib code :
XVisualInfo visual_info;
int depth = 24;
Colormap colormap;
XSetWindowAttributes attribs;
unsigned long valuemask = 0;
Window *win;
Xv_opaque frame;
win = xv_get(frame,XV_XID);
XMatchVisualInfo(display,screen,depth,TrueColor,&visual_info);
/* So far so good */
colormap = XCreateColormap(display,win,visual_info,AllocNone);
/* It dies here with a BadMatch error :( */
attribs.colormap = colormap;
valuemask |= CWColormap;
XChangeWindowAttributes(display,w,valuemask,&attribs);
XSetWindowColormap(display,win,colormap);
Am I using a completely wrong approach here ? Is it possible to set the depth
and colormap for a window created by Xview ? What am I doing wrong ?
Thanks in advance for any help that I can get. I would prefer a response via
email although a post on the newsgroup is also okay.
Thanks again,
Alok.
---
ALOK MATHUR
Computer Science & Engg, Case Western Reserve Univ, Cleveland, OH 44106
11414 Fairchild Road, #2, Cleveland, OH 44106
Off - (216) 368-8871 Res - (216) 791-1261, email - amathur@alpha.ces.cwru.edu
From: azn30@RUTS.ccc.amdahl.com
Subject: Compiling X programs
Reply-To: azn30@RUTS.ccc.amdahl.com ()
Distribution: usa
Organization: Amdahl Corporation, Sunnyvale CA
Lines: 53
Hi Guys,
It has been a long time since I wrote a program using X. I am trying to
get myself re-familiarize with X. I would appreciate your help regarding
the following problem.
I am trying to compile a simple X program on sun running sunOS 4.1.2.
using
cc -o ex ex.c -lXaw -lXmu -lXt -lXext -lX11 -lm
I am getting an error
ld: Undefined symbol
_get_wmShellWidgetClass
_get_applicationShellWidgetClass
The simple program I tried to compile is given below.
#include <stdio.h>
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <X11/Xaw/Form.h>
main(argc,argv)
int 	argc;
char	**argv;
{
Widget	topLevel;
Widget	frame;
topLevel = XtInitialize("ex","Ex",NULL,0, &argc,**argv);
frame = XtCreateManagedWidget("Form",formWidgetClass,topLevel,NULL,0);
XtRealizeWidget(topLevel);
XtMainLoop();
}
I got the same error when I tried to build "xpostit" using the Imakefile
provided with the software.
I have compiled X programs before (not on this machine, but on other
machines running sunOS 4.0 and X11 R4). I did not get this error message
Can anybody tell me why I am getting these messages.
I would appreciate if you can email your responses to me at
azn30@ruts.ccc.amdahl.com.
Thanks
Anand
From: raney@teal.csn.org (Scott Raney)
Subject: Re: Hypercard for UNIX
Nntp-Posting-Host: teal.csn.org
Organization: Colorado SuperNet, Inc.
Lines: 35
queloz@bernina.ethz.ch (Ronald Queloz) writes:
>Hi netlanders,
>Does anybody know if there is something like Macintosh Hypercard for any UNIX
>platform?
There are several products you might investigate.  If you've got
$20,000 per seat and high-end hardware, Gain Momentum might be a good
choice.  It isn't compatible with HyperCard, but has a similar
architecture (and *way* more functionality).  I don't have contact
information, but they were recently purchased by Sybase who shouldn't
be too hard to find.
If you're running News on SPARC, check out HyperLook
(hyperlook@turing.com).  It uses Postscript as a scripting language
which is good if you need to do lots of display oriented scripting,
but not so good for non-programmers.  It was $995, last I heard.
You might also look at our product MetaCard.  We're alpha-testing
direct importing of HyperCard stacks (we've even made the test release
available for anonymous FTP), so we're obviously the closest in
functionality.  MetaCard runs on most UNIX workstations and costs
$495.  Email to info@metacard.com for more details.
Scott
>Thanks in advance
>Ron.
--
***********************************************************************
* Scott Raney  303-447-3936            Remember: the better you look, *
* raney@metacard.com                   the more you'll see -- Lidia   *
***********************************************************************
From: megan@cs.uq.oz.au (Megan Grenenger)
Subject: Regression Testing and X
Summary: info required on capture/playback testing tools for X clients
Keywords: X Regression
Reply-To: megan@cs.uq.oz.au
Lines: 10
I'd appreciate any feedback on capture/playback tools for use with X clients.
I have pulled XTM from public domain but it appears to be set up to test
X servers not X clients.
Any comparisons/comments on regression testing tools would be great -
particularly XTM, XRunner, Autotester, and SRI's CAPBAK, SMARTS and EXDIFF.
Megan Grenenger
megan@cs.uq.oz.au
From: mahan@TGV.COM (Patrick L. Mahan)
Subject: Re: need shading program example in X
Organization: The Internet
Lines: 35
NNTP-Posting-Host: enterpoop.mit.edu
To: beck@irzr17.inf.tu-dresden.de, xpert@expo.lcs.mit.edu
#
# I think the original post was searching for existing implementations of
# f.i. Gouroud-shading of triangles. This is fairly complex to do with plain
# X. Simpler shading models are implemented already, f.i. in x3d (ask archie
# where to get the latest version).
# For Gouroud, a fast implementation will be possible utilizing some extension
# only, either MIT-SHM to do the shade in an image and fast update the window
# with it, or PEX/OpenGL which should be able to shade themselves. The portable
# 'vanilla X' way would be to shade in a normal XImage and use XPutImage(),
# what would be good enough to do static things as f.i. fractal landscapes
# or such stuff.
#
# To speak about POVRay, the X previewer that comes with the original source
# package is not that good, especially in speed, protocol-friendlyness and
# ICCCM compliance. Have a look on x256q, my own preview code. It is on
#
# 141.76.1.11:pub/gfx/ray/misc/x256q/
#
# The README states the points where it is better than xwindow.c from
# POVRay 1.0
#
The version I have is using the x256q code instead of the default X Windows
code.  I have it currently running on a DEC Alpha running OpenVMS AXP and
so far have been pretty impressed.  The only "side-effect" of x256q is that
it requires xstdcmap -best be run before it will work, annoyning but not a
show stopper.
Patrick L. Mahan
--- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------
Waking a person unnecessarily should not be considered  - Lazarus Long
a capital crime.  For a first offense, that is            From the Notebooks of
Lazarus Long
From: mahan@TGV.COM (Patrick L. Mahan)
Subject: Re: Tektronix
Organization: The Internet
Lines: 15
NNTP-Posting-Host: enterpoop.mit.edu
To: mike@hopper.virginia.edu, xpert@expo.lcs.mit.edu
#
# I remember seeing something in the X distribution mentioning support
# for a Tektronix terminal in an X server.  Is this accurate?
#
Xterm supports 401x emulation.
Patrick L. Mahan
--- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------
Waking a person unnecessarily should not be considered  - Lazarus Long
a capital crime.  For a first offense, that is            From the Notebooks of
Lazarus Long
From: dcr@mail.ast.cam.ac.uk (Derek C. Richardson)
Subject: Allocated colors...
Nntp-Posting-Host: ioas09.ast.cam.ac.uk
Reply-To: dcr@mail.ast.cam.ac.uk
Organization: Institute of Astronomy, Cambridge
Lines: 20
Can anyone out there tell me how to get the total number of color cells
allocated in the default colormap?
e.g.   colormap = DefaultColormap(mydisplay, myscreen);
The MAXIMUM number of allocated cells is given by DefaultCells(mydisplay,
myscreen), but in general the number of cells actually allocated will be
much less than this, depending on the color requirements of the windows
currently in place. I'd like a way to determine this number. Thanks in
advance!
Derek
-----------------------------------------------------------
| Derek C. Richardson    | Tel: (0223) 337548 x 37501     |
| Institute of Astronomy | Fax: (0223) 337523             |
| Cambridge, U.K.        |                                |
| CB3 0HA                | E-mail: dcr@mail.ast.cam.ac.uk |
-----------------------------------------------------------
From: mknewman@blkbox.COM (Marc Kraker Newman)
Subject: Unsubscribe pancamo@blkbox.comm
Organization: The Internet
Lines: 5
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
Please unsubscribe pancamo@blkbox.com.  This user has become inactive and I
wish to discontinue his participation in this mailing list.
Marc Newman
mknewman@lkbox.com
From: Iris_-_Smith@cup.portal.com
Subject: Re: Drawing Lines (inverse/xor)
Organization: The Portal System (TM)
<1993Apr21.111919.5281@alf.uib.no> <DRAND.93Apr21114830@spinner.osf.org>
Lines: 3
You can also set the Foreground to the XOR of the foreground and background
colors:  XSetForeground(..., fg ^ bg);    This works great for me (at least
with TrueColor visuals).
From: tim@hssc.scarolina.edu (Tim White)
Subject: Re: X11 load on the Network
Organization: USC  Department of Computer Science
Lines: 18
bkline%occs.nlm.nih.gov (Bob Kline) writes:
>Can someone point me in the direction of any papers (not necessarily
>formally conducted studies) discussing how much traffic X apps generate
>for the network, particularly in comparison with curses-bases apps
>over telnet?  Also, does an X server typically buffer up user keyboard
>input a line at a time?  Can the X client control this, asking for
>keystrokes immediately?  Thanks in advance for any feedback!
Ncd has an excellent document titled "Host Loading Considerations in the X
environment". I received my copy by emailing support@ncd.com. This may
help out.
--
==============================================================================
Tim White				 University of South Carolina
tim@otis.hssc.scarolina.edu	   Humanities and Social Sciences Laboratory
(803)-777-7840 		  		     Columbia, S.C. 29208
From: mike@hopper.Virginia.EDU (Michael Chapman)
Subject: Re: Tektronix
Organization: ITC/UVA Community Access UNIX/Internet Project
Lines: 14
In article <930424212154.1000227@tgv.com> mahan@TGV.COM (Patrick L. Mahan) writes:
># I remember seeing something in the X distribution mentioning support
># for a Tektronix terminal in an X server.  Is this accurate?
>Xterm supports 401x emulation.
What I was talking about was using an Tek terminal as your X display.  I
should be possible to write an X server that does this as far as I can
tell, but what I'm asking is if there is already one.
--
mike@hopper.acs.virginia.edu
"I will NOT raise taxes on the middle class." -Unknown
From: proberts@informix.com (Paul Roberts)
Subject: How to mask the left button?
Organization: Informix Software, Inc.
Lines: 32
Originator: proberts@moose
[I am posting this for a friend whose news service is "fubared as usual".
I will forward replies to him, or if you want to try to reply directly,
try: Return-Path: <uunet!sunfse.ese.lmsc.lockheed.com!mcfar>    PR ]
I have an event handler working for a ButtonPressMask like:
XtAddEventHandler( plot_data->display, ButtonPressMask, FALSE,
show_mouse_position, plot_data);
but I would like to be able to have two types of actions: one to occur
with the left mouse, the other the right, and perhaps one with the
middle.  So my event handler would look more like:
XtAddEventHandler( plot_data->display, left-ButtonPressMask, FALSE,
show_left_mouse_position, plot_data);
XtAddEventHandler( plot_data->display, right-ButtonPressMask, FALSE,
show_right_mouse_position, plot_data);
However I don't know how to make my left-ButtonPressMask.  There didn't seem
to be one in the event mask lists I had on hand (although Button1MotionMask
looked promising).  My references also mentioned using "|" to or two
mask events.  Can you  use "&" to and two masks?  Would I want to in this
case?
Any help would be appreciated.
Thanks,
-lrm
From: kgrider@magnus.acs.ohio-state.edu (Keith A Grider)
Subject: Remote TEKTRONICS emulation
Nntp-Posting-Host: magnusug.magnus.acs.ohio-state.edu
Organization: The Ohio State University
Lines: 17
Hello,
I am looking for someone to help me with the proceedure for remote login, via
modem not ethernet, to our new silicon graphics iris machines.  I can log in to
them only as a vt100 terminal regardless of what I am emulating on my end.  I
have communication software, kermit, which supports tek 401x and vt102
emulation.  The x windows manual lists XTERM as the appropriate command to
change the terminal type.  When I try it the reponse is 'unable to open window'
Thanx in advance
Keith Grider
--
__________________________________________________________________________
Keith Grider		        	'Come on man, let's go do the crimes
kgrider@magnus.acs.ohio-state.edu	Yeah, Lets get sushi, and not pay'
Repo Man
From: hdr@ross.COM (Henry D. Reynolds)
Subject: X11R5 on Sun4/110 cg2 comes up Mono
Nntp-Posting-Host: mowog
Organization: ROSS Technology, Inc. Austin, Tx.
Lines: 14
The 4/100 prints out the following message about it's framebuffer
cgtwo0 at vme24d16 0x400000 vec 0xa8
cgtwo0: Sun-3 color board, fast read
Anybody know the story on this?
--
- Can I have an IMPULSE ITEM instead?
Henry D. Reynolds           hdr@ross.com -OR- hdr@nidhog.cactus.org
FONE: (512)892-7802 x253    ROSS Technology, Inc.
FAX:  (512)892-3036         5316 Hwy 290 West Suite 500 Austin, TX 78735
From: aa894@Freenet.carleton.ca (Terry MacLean)
Subject: How Do I Modify Key Map?
Organization: National Capital Freenet, Ottawa, Canada
Lines: 35
Hello folks,
I'm seeing these errors when I try to modify my key map:
mwm: invalid accelerator specfication, line x
I've added a line in the start up file before the line
that starts mwm. It looks like the following:
xmodmap keymapfile
mwm
I think that the problem has to do with a conflict between
function keys F1 through F7 which already have assigned
functions (e.g. Move, Minimize, etc).
The odd thing is that I don't see these errors if I run
xmodmap keymapfile
from an xterm.
Can anyone suggest a way to modify the key map, specifically
F1 through F7 AND not have mwm (Motif Window Manager) complain.
I realize this is a bit stupid, but we only have time to
implement, not time to learn how to implement.
Terry
From: r0506048@cml3 (Chun-Hung Lin)
Subject: Re: xman source
Nntp-Posting-Host: cml3.csie.ntu.edu.tw
Reply-To: r0506048@csie.ntu.edu.tw
Organization: Communication & Multimedia Lab, NTU, Taiwan
X-Newsreader: Tin 1.1 PL3
Lines: 15
jlong@b4pps40.Berkeley.EDU (John Long) writes:
:    Where can I get xman source?  I would like to get the binaries for
: xman for an HP 9000/700, but I would settle for source.
:
: --
Try xport.lcs.mit.edu, in direcotry /contrib.
--
--------------------------------
=================================================================
Chun-Hung Lin ( �L�T�� )
r0506048@csie.ntu.edu.tw
Communication & Multimedia Lab.
Dept. of Comp. Sci. & Info. Eng.
National Taiwan University, Taipei, Taiwan, R.O.C.
=================================================================
From: venky@engr.LaTech.edu (Venky M. Venkatachalam)
Subject: FAQ in comp.windows.x
Organization: Louisiana Tech University
Lines: 6
NNTP-Posting-Host: ee11.engr.latech.edu
X-Newsreader: TIN [version 1.1 PL8]
Is there any FAQ list for Programming in X windows?
Thankx for the info
bye
venky
From: aafc6@syma.sussex.ac.uk (Nightline)
Subject: Editres under Pie(TVT)wm
Keywords: editres twm failure
Organization: University of Sussex at Brighton
Lines: 14
Hi, looking for any advice or suggestions about a problem I'm
having with MIT X11R5's editres, in particular under twm variants.
For a start, 9 times out of 10 (but NOT always) editres won't
grab a widget tree when running on our NCD (Decwindows) Xterms,
which I'm told will be fixed when the R5 (not R4) XDm is installed.
OK, so I tried running it on a Sun, running real R5, on the same
network - I get a widget tree, but it's ALWAYS for 'TWM Icon Manager'
Anybody know of any patches for (a) twm or (b) editres that I should
look at?
Thanks,
K
From: yuri@physics.heriot-watt.ac.UK (Yuri Rzhanov)
Subject: REPOST: XView slider
Organization: The Internet
Lines: 37
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert <xpert@expo.lcs.mit.edu>
Hi Xperts,
this is a repost (no one responded to my desperate yell 8-(
I can't believe there is no XView wizards any more 8-)...
I'm using sliders in my XView apps, usually with editable numeric
field. But I seem to have no control over the length of this field.
In some apps it appears long enough to keep several characters,
in some - it cannot keep even the maximum value set by
PANEL_MAX_VALUE!
As I understand, PANEL_VALUE_DISPLAY_LENGTH, which controls
number of characters to be displayed in text items, doesn't
work in the case of slider, despite the fact that <panel.h>
contains the following bit:
/* Panel_multiline_text_item, Panel_numeric_text_item,
* Panel_slider_item and Panel_text_item attributes
*/
PANEL_NOTIFY_LEVEL	= PANEL_ATTR(ATTR_ENUM,			 152),
PANEL_VALUE_DISPLAY_LENGTH	= PANEL_ATTR(ATTR_INT,		 182),
which gives a hint that this attribute can be used for sliders.
But 1) setting this attribute gives nothing, and 2) xv_get'ting
this attribute gives warning: Bad attribute, and returns value 0.
Strange thing is that DEC's port of XView gives plenty of space
in a text fields, but not Sun's Xview...
Can someone share his experience in managing sliders in XView with me,
and clear this problem?
Any help is very much appreciated.
Yuri
yuri@uk.ac.hw.phy
From: roeber@vxcrna.cern.ch (Frederick Roeber)
Subject: 24-bit Static color: will clients like it?
Reply-To: roeber@cern.ch
Organization: CERN -- European Organization for Nuclear Research
Lines: 24
I'm writing an X server for some video-generation equipment.  The
hardware is "truecolor" in YUV space; in X terms it has a 24-bit
static color visual.  I would really like to have the server just
present this static visual, but I'm not sure if this will be
acceptable to "most" X clients.  The three problems I see are:
1) The colormap, though huge, is static.
2) All pixels would be 3 bytes wide.
3) Because the hardware actually lives in YUV space, the
translation RGB->YUV will introduce some rounding error.
Being more of a server guy than a client guy, I ask: will these
limitations thwart many X clients?  Or will most of the X stuff
floating around blithely accept what they're given?  I could write
the server to also present a pseudocolor visual of, e.g., 8 bits,
but I'd rather avoid this if not necessary.
I know there are no absolutes, but I'd appreciate hearing people's
opinions and suggestions.  Thanks!
--
Frederick G. M. Roeber | CERN -- European Center for Nuclear Research
e-mail: roeber@cern.ch or roeber@caltech.edu | work: +41 22 767 31 80
r-mail: CERN/PPE, 1211 Geneva 23, Switzerland | home: +33 50 20 82 99
From: pjaques@camborne-school-of-mines.ac.UK (Paul Jaques)
Subject: Polygon to raster converter required
Organization: The Internet
Lines: 12
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
Can anybody tell me if they know where I can obtain the source code for
a polygon filling algorithm, or any other graphics orientated mailing lists
that may be able to help me.
Thanks, Paul.
--
-----------------------------------------------------------------------------
| Paul Jaques                                                               |
| Systems Engineer, Camborne School of Mines,                               |
|                   Rosemanowes, Herniss, Penryn, Cornwall.                 |
| E-Mail: pjaques@csm.ac.uk Tel: Stithians (0209) 860141 Fax: (0209) 861013 |
-----------------------------------------------------------------------------
From: nicholas@ibmpcug.co.uk (Nicholas Young)
Subject: Graphics editor required
X-Disclaimer: The views expressed in this article are those of the author
alone and may not represent the views of the IBM PC User Group.
Organization: The IBM PC User Group, UK.
Lines: 21
See subject. An opportunity for sales-people (-persons? -entities?).
I am looking for a commercial/PD graphics editor with fairly limited
abilities that runs under X and preferably uses Motif widgets. It must
run on HP-UX version 9, either with or without the PEX extension. The
sort of things I want are simple drawing, resizing and moving of objects
such as lines, rectangles and text. Bounding rectangle operations are
sufficient for object selection. Ideally it should also allow the
creation and placement of more complex objects such as widgets (e.g.
text entry fields or labels), but this is not mandatory.
Does anyone have such an animal? If you do, please mail me with details
including price (especially run-time licensing since it must be
included in a product). Alternatively, send glossies to me at Logica,
68 Newman Street, London W1, including technical info please. For PD
stuff, I have some effort that could be put into porting.
Thanks for any help,
Nicholas Young.
--
Nicholas Young (+44 71 637 9111)
From: EEI.EEIIHY@memo.ericsson.SE (353-1-2800455)
Subject: help
Organization: The Internet
Lines: 5
NNTP-Posting-Host: enterpoop.mit.edu
To: XPERT@EXPO.LCS.MIT.EDU
--- Received from EEI.EEIIHY  353-1-2800455         93-04-26 12.28
-> VAX.XPERT..EXPO.LCS.MIT.EDU..INET
-: - - - - - - - - - - > MAIL USER IN VAX AND INTERNET
help
From: marc@pinet.aip.org (Marc Wiener)
Subject: core dump from getcons
Organization: American Institute of Physics
Lines: 12
We are getting a memory fault and a core dump whenever we end a Motif
session under Ultrix 4.3, running on a DEC 5000/240. An examintion of the
core file leads us to believe it's from getcons. Does anyone know what
this is all about?
marc
--
Marc Wiener                    |    marc@aip.org
American Institute of Physics  |
500 Sunnyside Blvd.            |    Voice: (516)576-2329
Woodbury, NY 11797             |    Fax:   (516)349-7669
From: rchui@nswc-wo.nswc.navy.mil (Raymond Chui)
Subject: A Question I Do Not Found In FAQ
Reply-To: rchui@opal.nswc.navy.mil
Organization: NAVSWC DD White Oak Det.
Lines: 52
I created a pixmap or drawable window, then used XDrawLine() function
drawed a line as below fingure:
width = 300
================================
|				|
|				|
|			p1	|
|			\	|
|			 \	| height = 300
|			  \	|
|			   \	|
|			    \	|
|			     \	|
|			      \	|
|			       \|p3
|				|
|===============================| \
\
p2
I created the pixmap or drawable window only with size 300x300.
But I draw line from p1(x1=270,y1=100) to p2(x2=500,y2=800).
My question is, dose the XDrawLine function can finger out that correct
p3(x3 and y3) for me? If you calculate x3 and y3.
x3 = 300;
@ = art tan (( 800 - 100)/(500 - 270)) = 71.81 degrees;
y3 = 100 + x3/tan(@) = 100 + 300/tan(71.81) = 198.58 ~= (integer) 199.
How do I prove XDrawLine() give me the right x3, y3 or not?
Please don't ask me why I don't created a 900x900 pixmap. No, I don't
wan to.
Thanks in advance!
--
Raymond H. Chui
NSWC N62
10901 New Hampshire Ave.
Silver Spring, MD 20903-5000
U.S.A.
Voice:1(301)394-3807 Ext. 45
FAX:1(301)394-4483
EMail:rchui@opal.nswc.navy.mil
_ __                                  _    ,    __
' )  )                           /    ' )  /    /  ) /
/--' __. , , ____   ______   __/      /--/    /    /_  . . o
/  \_(_(_(_/_/) ) )_(_) /) )_(_(_     /  ( o  (__/ / /_(_/_(_
/
'
From: rchui@nswc-wo.nswc.navy.mil (Raymond Chui)
Subject: Re: A Question I Do Not Found In FAQ
Reply-To: rchui@opal.nswc.navy.mil
Organization: NAVSWC DD White Oak Det.
Lines: 72
comp.windows.x
In article <1993Apr26.122007.25760@relay.nswc.navy.mil>, rchui@nswc-wo.nswc.navy.mil (Raymond Chui) writes:
Please igore my previouse calculation mistaked. Please see the correct
calculation. Sorry!
|> I created a pixmap or drawable window, then used XDrawLine() function
|> drawed a line as below fingure:
|>
|> 		width = 300
|> 	================================
|> 	|				|
|> 	|				|
|> 	|			p1	|
|> 	|			\	|
|> 	|			 \	| height = 300
|> 	|			  \	|
|> 	|			   \	|
|> 	|			    \	|
|> 	|			     \	|
|> 	|			      \	|
|> 	|			       \|p3
|> 	|				|
|> 	|===============================| \
|> 					    \
|> 					     p2
|>
|> 	I created the pixmap or drawable window only with size 300x300.
|> But I draw line from p1(x1=270,y1=100) to p2(x2=500,y2=800).
|> My question is, dose the XDrawLine function can finger out that correct
|> p3(x3 and y3) for me? If you calculate x3 and y3.
|>
x3 = 300;
@ = art tan (500 - 270)/(800 - 100)) = 18.19 degrees;
y3 = 100 + (300 - 270)/tan(@) = 191.29 ~= 191 integer
|>
|> How do I prove XDrawLine() give me the right x3, y3 or not?
|> Please don't ask me why I don't created a 900x900 pixmap. No, I don't
|> wan to.
|>
|> Thanks in advance!
|> --
|> Raymond H. Chui
|> NSWC N62
|> 10901 New Hampshire Ave.
|> Silver Spring, MD 20903-5000
|> U.S.A.
|> Voice:1(301)394-3807 Ext. 45
|> FAX:1(301)394-4483
|> EMail:rchui@opal.nswc.navy.mil
|>  _ __                                  _    ,    __
|> ' )  )                           /    ' )  /    /  ) /
|>  /--' __. , , ____   ______   __/      /--/    /    /_  . . o
|> /  \_(_(_(_/_/) ) )_(_) /) )_(_(_     /  ( o  (__/ / /_(_/_(_
|>           /
|>          '
--
Raymond H. Chui
NSWC N62
10901 New Hampshire Ave.
Silver Spring, MD 20903-5000
U.S.A.
Voice:1(301)394-3807 Ext. 45
FAX:1(301)394-4483
EMail:rchui@opal.nswc.navy.mil
_ __                                  _    ,    __
' )  )                           /    ' )  /    /  ) /
/--' __. , , ____   ______   __/      /--/    /    /_  . . o
/  \_(_(_(_/_/) ) )_(_) /) )_(_(_     /  ( o  (__/ / /_(_/_(_
/
'
From: beck@irzr17.inf.tu-dresden.de (Andre Beck)
Subject: Re: Title for XTerm
Organization: Dept. of Computer Science, TU Dresden, Germany.
Lines: 14
Distribution: world
Reply-To: Andre_Beck@IRS.Inf.TU-Dresden.DE
NNTP-Posting-Host: irzr17.inf.tu-dresden.de
Yet again,
the escape sequences you are speaking about here are non standard and
dangerous. In fact, an ANSI compliant sequence parser HANGS on them.
Why are there such strange ESC sequences instead of compatible DSC ?
--
+-o-+--------------------------------------------------------------+-o-+
| o |                \\\-  Brain Inside -///                       | o |
| o |                    ^^^^^^^^^^^^^^^                           | o |
| o | Andre' Beck (ABPSoft) mehl: Andre_Beck@IRS.Inf.TU-Dresden.de | o |
+-o-+--------------------------------------------------------------+-o-+
From: afielden@cbnewsb.cb.att.com (andrew.j.fielden)
Subject: X interactive performance
Keywords: benchmark
Organization: AT&T
Lines: 21
We recently got an NCD X-terminal to evaluate. This is running XRemote over
a serial line.
I wanted to get some measurement of response time, so I wrote a small Xlib
program which simply creates a window, maps it and sends the first Expose
event to itself. The program times the delay from sending the event, to
receiving it.  I thought this was the simplest way to test client/X-server
round-trip delays. It's a similar concept to the ping(8C) program.
Is this a valid test to perform ? I've also tried the xbench program, available
from ftp.uu.net, which bombards the server with graphics operations, but I
just wanted to get a quantative measure of what is "acceptable" interactive
response time. Has anyone got any ideas on this subject ?
Thanks.
Andrew. (afielden@mlsma.att.com)
--
+----------------------------------------+----------------------------------+
|Andrew Fielden. AT&T Network Systems UK |        Tel : +44 666 832023      |
|Information Systems Group (SUN support) |   Email : afielden@mlsma.att.com |
+----------------------------------------+----------------------------------+
From: michel@crnsu1.IN2p3.FR (6893)
Subject: creating a GIF file.
Organization: The Internet
Lines: 12
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
We are looking for a X client which can convert a xwd or a bitmap
file into a gif file for use on a Macintosh.
Thanks
michel@crnsu1.in2p3.fr
Laurent MICHEL
CRN - GTI
BP 20
67037 STRASBOURG cedex (France)
Phone (33) 88 28 62 76
From: rlee@ssdc.SSDC.Sterling.COM (Richard Lee)
Subject: Re: Pulldown menu periodically hangs application on OpenWindows 3.0
Organization: Sterling Software IMD. (Vienna,Va)
Lines: 26
Distribution: inet
NNTP-Posting-Host: ssdc.ssdc.sterling.com
X-Newsreader: TIN [version 1.1 PL6]
Skip Koppenhaver (skip@eco.twg.com) wrote:
:
: Has anyone found a fix for the following problem?
:
: Client Software:	SunOs 4.1.1, X11R5
: Server Hardware:	Sun IPC
: Server Software:	SunOs 4.1.1, Open Windows 3.0 (w/ patch 100444-37)
:
: A Motif 1.2.2 application will periodically hang when run against the
: OpenWindows 3.0 server (xnews). The pulldown is displayed but then no
: button actions have any effect. Sometimes pressing <Return> will
: unstick the application but not usually. It looks like the pulldown is
: grabbing the focus and never letting go. Other windows on the display
: continue to get updated so the server isn't hanging. If I log in from
: another terminal and kill the Motif application then everything gets
: back to normal. The same application when run against other X servers
: (including MIT X11R5 Xsun, DecWindows, Tektronix X terminal) has no
: problems. This is obviously a OpenWindows problem but I need a
: work-around since most of our customers are OpenWindows users.
I have seen the same problem using a SPARCStation 10, Solaris 2.1, OW 3.1.
In my case, it happens far more often than "periodically".
Help?
From: andreas@appel012.hydromech.uni-hannover.de (Andreas Dunker)
Subject: mail
Organization: University of Hannover, FRG
X-Newsreader: Tin 1.1 PL4
Lines: 12
Hello networld,
I'm looking for an X mailreader. Is there a Xelm?
Andreas
--
_______________________________________________________________________________
Andreas Dunker
andreas@appel012.hydromech.uni-hannover.de   We all live in a yellow subroutine
andreas@veeble.han.de                        The Beatles
From: gmh@hpfcso.FC.HP.COM (Greg Hughes)
Subject: Re: Looking for an R5 Xserver for HP9000/385
Organization: Hewlett-Packard, Fort Collins, CO, USA
Lines: 3
Update your 385 to HP-UX 9.0.  You get an R5 server and libraries.
Greg Hughes	gmh@fc.hp.com
From: duijnda@wldelft.nl (ArnoDuijndam)
Subject: Re: creating a GIF file.
Lines: 29
Organization: Delft Hydraulics
In article <9304261216.AA04485@crnsu1.in2p3.fr> michel@crnsu1.IN2p3.FR (6893) writes:
>Path: wldelft.nl!sun4nl!mcsun!uunet!gatech!enterpoop.mit.edu!INTERNET!news-mail-gateway
>From: michel@crnsu1.IN2p3.FR (6893)
>Newsgroups: comp.windows.x
>Subject: creating a GIF file.
>Date: 26 Apr 1993 10:43:28 -0400
>Organization: The Internet
>Lines: 12
>Sender: news@athena.mit.edu
>Message-ID: <9304261216.AA04485@crnsu1.in2p3.fr>
>NNTP-Posting-Host: enterpoop.mit.edu
>To: xpert@expo.lcs.mit.edu
>
>	We are looking for a X client which can convert a xwd or a bitmap
>file into a gif file for use on a Macintosh.
>
>	Thanks
>
>		michel@crnsu1.in2p3.fr
>		Laurent MICHEL
>		CRN - GTI
>		BP 20
>		67037 STRASBOURG cedex (France)
>		Phone (33) 88 28 62 76
Just look at the pbmplus package; it does everything you could ever ask
for in converting pbm to almost any format (gif, tga, pcx etc...)
Arno Duijndam
From: klute@tommy.informatik.uni-dortmund.de (Rainer Klute)
Subject: Re: Is it just me, or is this newsgroup dead?
Organization: CS Department, Dortmund University, Germany
Lines: 21
Distribution: world
NNTP-Posting-Host: tommy.informatik.uni-dortmund.de
In article <930419000332.60e01d81@TGV.COM>, mahan@TGV.COM (Patrick L.
Mahan) writes:
|> #
|> # I've gotten very few posts on this group in the last couple days.  (I
|> # recently added it to my feed list.)  Is it just me, or is this group
|> # near death?
|> #
|>
|> Seen from the mailing list side, I'm getting about the right amount of
|> traffic.
And seen from my point of view, I get far too much articles to keep up with
them. I am lucky if I can scan through the subjects from time to time.
--
Dipl.-Inform. Rainer Klute      I R B :  immer richtig beraten
Univ. Dortmund, IRB
Postfach 500500         |)|/    Tel.: +49 231 755-4663
D-W4600 Dortmund 50       |\|\    Fax : +49 231 755-2386
new address after June 30th: Univ. Dortmund, D-44221 Dortmund
From: epstein@trwacs.fp.trw.com (Jeremy Epstein)
Subject: WANTED: X & security posting
Organization: TRW Systems Division, Fairfax VA
Lines: 20
A few days ago there was a posting in this group by Andrea Winkler
titled "X and Security / X Technical Conference".  I was one of the
instructors of that tutorial.  Unfortunately, my system purged
the message before I had a chance to see it, and I don't have
Andrea's email address.  If someone has Andrea's address and/or
the posting, I would really appreciate it if you'd forward it to
me!
Thanks
--Jeremy
Jeremy Epstein			Internet: epstein@trwacs.fp.trw.com
Trusted X Research Group	Voice: +1 703/803-4947
TRW Systems Division
Fairfax Virginia
--
Jeremy Epstein			Internet: epstein@trwacs.fp.trw.com
Trusted X Research Group	Voice: +1 703/803-4947
TRW Systems Division
Fairfax Virginia
From: oleg@sdd.comsat.com (Oleg Roytburd)
Subject: HP 2623A graphics terminal emulators
Summary: Need application to emulate HP 2623A graphics terminal on X
Keywords: graphics terminal emulator
Organization: SDD, COMSAT Labs, Clarksburg, MD
Lines: 6
I would be grateful to anyone who knows about an X-windows application
that would emulate HP 2623A graphics in a manner similar to
the way TEK graphics windows are implemented in xterm.
Thanks for you help.
-- Oleg Roytburd (oleg@sdd.comsat.com)
From: Wilfred.Hansen@cs.cmu.edu
Subject: Andrew (was Re: X Toolkits)
Organization: Carnegie Mellon, Pittsburgh, PA
Lines: 40
Distribution: inet
NNTP-Posting-Host: po5.andrew.cmu.edu
In-Reply-To: <C5y8wJ.3zE@undergrad.math.uwaterloo.ca>
Excerpts from netnews.comp.windows.x: 23-Apr-93 X Toolkits Paul
Prescod@undergrad.m (1132)
> I get the impression Andrew is from the FSF, but I don't know what it
> looks like either.
The Andrew User Interface System is supported, maintained, enhanced, and
distributed by the Andrew Consortium, Carnegie Mellon.  The distribution
terms are those of the X consortium, not the GNU Public License.  Thus
anyone can commercially exploit the Andrew code without restriction.
(To encourage membership, however, we defer universal release of the
latest versions until Consortium members have had an opportunity to
explore the new capabilities.)
To se what AUIS looks like, you can try a remote demo.  You need an X
server (R5 is best) on a machine linked to the internet.  Give the
command
finger help@atk.itc.cmu.edu
for instructions.
NOTE:  The demo version does not use the Motif-look-and-feel scrollbar,
but one is available.  You can use it on the demo by changing an option
in the ~/preferences file and starting a new editor.
The Andrew Toolkit component of AUIS is ideal if you want to build
applications using compound documents.  Andrew's major feature is its
architecture for recursive embedding of objects: equation in table in
figure in text, for example.  This architecture extends to areas not
usually found in toolkits, including file stream formats, cut/paste, and
printing.
Andrew also provides some of the most commonly requested applications:
word processor, spreadsheet, drawing editor, and font editor (the latter
two are in version 5.2 which will be generally released on the XR6 tape
in December.)
Fred Hansen
Director, Andrew Consortium
From: arana@labein.ES (Jose Luis Arana)
Subject: X Graphics Accelerators
Organization: The Internet
Lines: 7
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
How can I obtain public information (documentation and sources)
about Xservers implemented with graphics processors?
I am specially interested in Xservers developed for the TMS34020
Texas Instruments graphic processor.
Please send answer to arana@labein.es
From: lehors@koala.inria.fr (Arnaud Le_Hors)
Subject: ** Xpm 3.2g is available **
Keywords: XPM
Organization: Koala Project, Bull Research France
Lines: 44
On export.lcs.mit.edu directory contrib, and avahi.inria.fr directory pub/xpm:
xpm-3.2f-to-3.2g.patch.Z
xpm-3.2g.tar.Z
/* Copyright 1990-93 GROUPE BULL -- See license conditions in file COPYRIGHT */
/**************************************************************************\
* 									   *
*  			HISTORY of user-visible changes			   *
* 									   *
\**************************************************************************/
3.2g	(93/04/26)
ENHANCEMENTS:
- much faster close colors
- piping from/to compressed files now handles GNU's gzip (.z)  format
- added XpmColorKey attribute - ability to specify which visual's
colors to use (ie: now it's possible to read in a pixmap in a
color visual, but use the colors specified for monochrome).
- added -mono, -grey4, -grey and -color options to sxpm to demonstrate
the XpmColorKey attribute.
- Jason Patterson <jasonp@fitmail.qut.edu.au>
BUGS CORRECTED:
- fixed bug where redefining "None" as a pixel stopped mask generation
- minor SVR4 defines for <string.h>
- fixed annoying closecolor bug related to read/write color cells
- fixed minor bug in color value -> pixel overloading
- manual updated to include new red/green/blue closeness attributes
- Jason Patterson <jasonp@fitmail.qut.edu.au>
- the top Imakefile was missing the depend target
- sxpm/Imakefile fixed so that -L../lib is set before the standard
library location.
- Vivek Khera <khera@cs.duke.edu>
- lib/xpmP.h now defines bcopy as memcpy for VMS (required by recent
versions of VMS)
- J. Daniel Smith <dsmith@ann-arbor.applicon.slb.com>
- the lib/Imakefile didn't work with X11R4.
--
Arnaud LE HORS - lehors@sophia.inria.fr - BULL Research France, Koala Project
From: gary@ioc.co.uk (Gary Phillips)
Subject: Re: Xt intrinsics: slow popups
Nntp-Posting-Host: ocelot.ioc.co.uk
Organization: Intelligent Office Company Ltd.
Lines: 26
In article <735525194.9026@minster.york.ac.uk>, cjhs@minster.york.ac.uk writes:
> Bryan Boreham (bryan@alex.com) wrote:
> : In article <735259869.13021@minster.york.ac.uk>, cjhs@minster.york.ac.uk writes:
> : > The application creates window with a button "Quit" and "Press me".
> : > The button "Press me" pops up a dialog box. The strange feature of
> : > this program is that it always pops up the dialog box much faster the
> : > first time. If I try to pop it up a 2nd time (3rd, 4th .... time),
> : > it is *much* slower.
> :
> : The shell is waiting for the window-manager to respond to its
> : positioning request.  The window-manager is not responding because
> : it thinks the window is already in the right place.
> :
> : Exactly *why* the two components get into this sulk is unclear to
> : me; all information greatly received.
The only time I've seen similar behaviour is when an X application forked a child
without setting close on exec on the X display connection file descriptor.
The shell waited for a ConfigureNotify event that never arrived because it got
picked up by the child.  Sometimes the shell correctly got the ConfigureNotify if
the timing was 'right'.
--
Gary Phillips		| Email:  gary@ioc.co.uk
Phone: +44 81 528 9864	|	  phones@cix.compulink.co.uk
Fax:   +44 81 528 9878	|
From: klute@tommy.informatik.uni-dortmund.de (Rainer Klute)
Subject: Re: imake - help needed
Organization: CS Department, Dortmund University, Germany
Lines: 18
Distribution: world
NNTP-Posting-Host: tommy.informatik.uni-dortmund.de
In article <1993Apr20.101306.21536@def.bae.co.uk>, paul@def.bae.co.uk (Paul
Byrne) writes:
|> Can someone please give me some pointers to setting up imake in a SUN
|> OPENWINDOWS
|> enviornment ? I've checked through all the documentation but can not
|> find any clues.
Sun's OpenWindows imake is broken. I suggest installing imake-pure, MIT's
X11R5 imake. You can get it from ftp.germany.eu.net in file
/pub/X11/misc/imake/imake-pure.tar.Z (117807 Byte).
--
Dipl.-Inform. Rainer Klute      I R B :  immer richtig beraten
Univ. Dortmund, IRB
Postfach 500500         |)|/    Tel.: +49 231 755-4663
D-W4600 Dortmund 50       |\|\    Fax : +49 231 755-2386
new address after June 30th: Univ. Dortmund, D-44221 Dortmund
From: steerr@h01.UUCP (R. William Steer)
Subject: X server for NT?
Organization: The Internet
Lines: 5
NNTP-Posting-Host: enterpoop.mit.edu
To: cognac!sunpitt!expo.lcs.mit.edu!xpert@sunpitt.East.Sun.COM
Does anybody have an X server for NT that they're willing to share files
or experiences?
Bill Steer
Westinghouse
From: hughm@brwal.inmos.co.uk (Hugh McIntyre)
Subject: Sun3/60 + X11R5 -> undeletable console messages.
Keywords: sun sun3 X11R5 console
Organization: INMOS Limited, Bristol, UK
Lines: 23
We have an old Sun3/60 here which gets occasional use.  When X11R5 is started
on it any console messages during startup are undeletable.  After X is fully
started we run an xterm as the "console" - the problem is that any messages
that arrive before this starts go to the plain console.  "Refresh window" fails
to remove them.  The messages are a real pain since they sit in the middle of
the screen obscuring anything else below them.
At boot time the 3/60 lists two framebuffers  -  /dev/cgfour0 and /dev/bwtwo1.
We're running X in color, and I suspect that maybe the offending messages are
on the B/W framebuffer, and thereby not getting deleted.
My question is: has anyone else seen this, and is there an easy way to get rid
of these messages?
Please reply by e-mail to hughm@inmos.co.uk.
Hugh McIntyre.
INMOS Ltd., Bristol, UK.
(BTW: SunOS 4.0.3, X11R5, mwm).
PS: I know I can redirect output of the relevant commands to /dev/null - I'm
looking for a more general solution).
From: beck@irzr17.inf.tu-dresden.de (Andre Beck)
Subject: Re: 24-bit Static color: will clients like it?
Organization: Dept. of Computer Science, TU Dresden, Germany.
Lines: 37
Distribution: world
Reply-To: Andre_Beck@IRS.Inf.TU-Dresden.DE
NNTP-Posting-Host: irzr17.inf.tu-dresden.de
In article <1993Apr26.123918.1@vxcrna.cern.ch>, roeber@vxcrna.cern.ch (Frederick Roeber) writes:
|>
|> I'm writing an X server for some video-generation equipment.  The
|> hardware is "truecolor" in YUV space; in X terms it has a 24-bit
|> static color visual.  I would really like to have the server just
|> present this static visual, but I'm not sure if this will be
|> acceptable to "most" X clients.  The three problems I see are:
|>
|>   1) The colormap, though huge, is static.
|>   2) All pixels would be 3 bytes wide.
|>   3) Because the hardware actually lives in YUV space, the
|>      translation RGB->YUV will introduce some rounding error.
|>
|> Being more of a server guy than a client guy, I ask: will these
|> limitations thwart many X clients?  Or will most of the X stuff
|> floating around blithely accept what they're given?  I could write
|> the server to also present a pseudocolor visual of, e.g., 8 bits,
|> but I'd rather avoid this if not necessary.
|>
Even 24Bit TrueColor machines are in most cases running an emulated
8 bit PseudoColor visual, only to get standard x clients, motif apps and
thelike to run. I strongly suppose you to emulate at least:
> 24 Bit TrueColor. Should be no problem, only some translation. Rounding
should not make big misfits
> 8 bit PseudoColor. More of a problem, you have to emulate a colormap,
pixel indices, conversion stuff. Furthermore, you should run your default
screen on this visual.
--
+-o-+--------------------------------------------------------------+-o-+
| o |                \\\-  Brain Inside -///                       | o |
| o |                    ^^^^^^^^^^^^^^^                           | o |
| o | Andre' Beck (ABPSoft) mehl: Andre_Beck@IRS.Inf.TU-Dresden.de | o |
+-o-+--------------------------------------------------------------+-o-+
From: chudel@watarts.uwaterloo.ca (Chris Hudel)
Subject: 4-plane Xterminal (Do I want one?)
Keywords: plane, Xterminal
Organization: University of Waterloo
Lines: 12
I've been offerred an old 4-bits/pixel greyscale Xterminal.  Aside from the
"real people have already upgraded to RISC architecture R5 servers", do I want
this Xterminal?
I'm concerned about the 4-planes...I've only ever heard of 1 (mono) and 8
(colour) planes -- will I have any concerns with this 4-plane unit?
[Specifically related to 4-planes vs 1 or 8]
Thanks!
-C-
PS: all R5 apps run on R4/R3 servers,right?
From: slosser@ntsc-rd.navy.MIL (Steve Slosser)
Subject: UNIX interest group:  Where is it?
Organization: The Internet
Lines: 17
NNTP-Posting-Host: enterpoop.mit.edu
To: "xpert" <xpert@expo.lcs.mit.edu>
I know that this is not the correct place to post this, but I have
exhausted all other logical options.  I used to be on the INFO-UNIX
newsgroup mailer.  The mailers mysteriously quite coming around the end of
last year.  All e-mails requesting that I be placed back on the list have
been ignored.  I have been unable to locate the administrator of this list.
If anyone knows of the internet address that I can send a the request to
get back on this list, can you please send it to me.  If you don't know
of this specific newsgroup mailer, I would appreciate the address of *any*
UNIX-related newsgroup.  Thanks.
Cutoff,
Steve
slosser@ntsc-rd.navy.mil
PS - Sorry for the non-X-related question.
From: whaley@sigma.kpc.com (Ken Whaley)
Subject: Re: 24-bit Static color: will clients like it?
In-Reply-To: beck@irzr17.inf.tu-dresden.de's message of 26 Apr 1993 17:54:12 GMT
Organization: Kubota Pacific Computer Inc.
Lines: 21
|
|Even 24Bit TrueColor machines are in most cases running an emulated
|8 bit PseudoColor visual, only to get standard x clients, motif apps and
|thelike to run. I strongly suppose you to emulate at least:
|
|> 24 Bit TrueColor. Should be no problem, only some translation. Rounding
|  should not make big misfits
Depends on the nature of the "rounding."  X allows the user to do bit
arithmetic on pixel values, (i.e.,  XOR foreground and backgroun pixel
values together to calculate a foreground color that when used with a
function of GXxor fill change foreground to background and vice-versa).
If your rounding does not preserve these types of calculations then
clients that use them will break.
Ken
--
Kenneth Whaley			 (408) 748-6347
Kubota Pacific Computer, Inc.	 Email: whaley@kpc.com
2630 Walsh Avenue
Santa Clara, CA.  95051
From: tomk@skywalker.bocaraton.ibm.com (Thomas Chun-Hong Kok)
Subject: Re: MOOLIT and OLIT
Organization: IBM Austin
Lines: 12
In article <stevedavC5y2Jz.3D7@netcom.com>, stevedav@netcom.com (Steve Davidson) writes:
> Does anyone know the difference between MOOLIT and OLIT?  Does Sun
> support MOOLIT?  Is MOOLIT available on Sparcstations?
>
--
MoOLIT (Motif/Open Look Intrinsic Toolkit allows developers to build
applications that can switch between Motif and Open Look at run-time,
while OLIT only gives you Open Look.
--
Internet: chunhong@vnet.ibm.com
From: gutenkun@fzi.de (Kai Gutenkunst)
Subject: Archie-Client ?
Organization: Forschungszentrum Informatik (FZI), Karlsruhe, Germany
Lines: 4
Distribution: world
Reply-To: gutenkun@fzi.de
NNTP-Posting-Host: ikarus.fzi.de
xgetftp-1.2 needs an archie client program.
Does anybody know, where I can get it?
Thanks in advance, Kai
From: pmartz@dsd.es.com (Paul Martz)
Subject: Re: 24-bit Static color: will clients like it?
Nntp-Posting-Host: bambam
Reply-To: pmartz@dsd.es.com (Paul Martz)
Organization: Evans & Sutherland Computer Corp., Salt Lake City, UT
Lines: 38
In article <1993Apr26.123918.1@vxcrna.cern.ch>, roeber@vxcrna.cern.ch (Frederick Roeber) writes:
> I'm writing an X server for some video-generation equipment.  The
> hardware is "truecolor" in YUV space; in X terms it has a 24-bit
> static color visual.  I would really like to have the server just
> present this static visual, but I'm not sure if this will be
> acceptable to "most" X clients.  The three problems I see are:
>
>   1) The colormap, though huge, is static.
>   2) All pixels would be 3 bytes wide.
>   3) Because the hardware actually lives in YUV space, the
>      translation RGB->YUV will introduce some rounding error.
We tried to ship an X server once that only supported a 24bit
TrueColor visual. The main problems we encountered were:
1) Clients written with logic like the following:
if (DefaultDepth() != 1)
/* Assume default depth is 8bit */
These clients need an 8bit deep visual in the root window
to run correctly.
2) Other clients didn't even bother to do that much, and just
outright assumed they had a *dynamic* visual class, with a
dynamic colormap. XStoreColors doesn't work on cmaps
associated with Static or TrueColor visual classes, but
many clients don't bother to check, they just start
throwing XStoreColor calls at you.
Though both are clearly client error, this is the case with so many
clients that it's easier for you to expose 8bit PseudoColor as a
default root window visual, than it ever would be for all these client
writers to change their clients to do the right thing.
--
-paul	pmartz@dsd.es.com
Evans & Sutherland
From: moore@halley.est.3m.com (Richard Moore)
Subject: Using message passing with XtAddInput
Organization: 3M Company, 3M Center, Minnesota, USA
Distribution: comp.windows.x
Lines: 7
In the past, I have used named pipes to communicate between processes using
the XtAddInput function to set up the event handling in Motif. Does anybody
know of a way to do this with message passing ( IPC ) ? I tried it here and
no luck so far.
Thanks
From: vidya-v@acsu.buffalo.edu (vidyaranya)
Subject: Red color on button on enter window.
Distribution: usa
Organization: UB
Lines: 7
Nntp-Posting-Host: beatrix.eng.buffalo.edu
This may be an FAQ, but I dont know where to get the FAQ list!
My OpenLook application has a few buttons. The first button turns
red(gets highlighted?) as soon as the sprite(mouse) is moved into the
application window. How do I suppress this?
Vidyaranya
From: gerard@dps.co.UK (Gerard O'Driscoll)
Subject: Re: Asynchronous X Windows?
Organization: The Internet
Lines: 55
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
>> No, it isn't.  It is the "X Window System", or "X11", or "X" or any of
>> a number of other designations accepted by the X Consortium.  In fact,
>> doing "man X" on pretty much any X11 machine will tell you:
>>
>>      The X Consortium requests that the following names  be  used
>>      when referring to this software:
>>
>>                                   X
>>                            X Window System
>>                              X Version 11
>>                      X Window System, Version 11
>>                                  X11
>>
>> There is no such thing as "X Windows" or "X Window", despite the repeated
>> misuse of the forms by the trade rags.  This probably tells you something >> about how much to trust the trade rags -- if they can't even get the NAME
>> of the window system right, why should one trust anything else they have
>> to say?
I used to think this way, and not just about X. For example, incorrect
English constructs such as "its raining" or "it's window id" annoy me.
However, there comes a time when popular usage starts to dictate the way
things really are in the world. Indeed, the fact that X won out over NeWS
was really down to popular opinion (I know, we all think it's(!) technically
superior as well!).
On a related topic, who is to say that "color" is more or less correct
than "colour" - being Irish, and hence using English English as opposed
to American English, I always use the latter except, of course, for API
terms such as "XAllocColor" and "colormap".
In a world that uses the term "Windows" to refer to Microsoft Windows,
perhaps the time has come to accept "X Windows" as a valid term for X.
I think that this is a more concise and uncluttered term than, say,
"the X Window System" and, let's face it, almost everyone uses it.
Ultimately, we all need product sales to more than just X-literate
people. In this respect, product recognition is important and a short,
snappy, descriptive title ("X" is positively obscure) will help
when dealing with the average punter (it's sad - I thought I was a
software engineer!). Indeed it is unfortunate that X did not become
popularly known as Windows and let MS worry about whether it should
be called "Microsoft Windows" or "the Microsoft Window System" or
how about just plain "Microsoft"!
To summarise (or should that be "summarize") the point of this message:
I think there are far more pressing issues facing the X community than
worrying about subtle distinctions in the naming of the window system
(or should that be "windowing system"). Whatever gets recognised is
fine by me. I agree that one should be careful in interpreting what
trade papers say. However, I would be reluctant to come to this
conclusion purely on the basis of how they name the X Window System.
Gerard O'Driscoll (gerard.odriscoll@dps.co.uk)
Du Pont Pixel Systems Ltd.
From: mwchiu@tigr.org (Man-Wai Chiu)
Subject: Xm1.2.1 and OW server
Organization: UTexas Mail-to-News Gateway
Lines: 43
Distribution: inet
NNTP-Posting-Host: cs.utexas.edu
We have a program written with X11R5 and Motif 1.2.1.  It runs fine on the Sun
X11R5 server and MacX.  When that program is run under the Sparc 2 and the
OW server, the program crashed itself along with the server.  It crashed before
the first window had showed up.
I got the following error from X.
XIO:  fatal IO error 32 (Broken pipe) on X server "perot:0.0"
after 62 requests (59 known processed) with 0 events remaining.
The connection was probably broken by a server shutdown or KillClient.
I have run the program with xmon and below is the last twenty lines or so from
xmon before both the program and server crashed.
............REQUEST: GetProperty
delete: False
window: WIN 00900001
property: ATM 00000074
type: ATM 00000074
long-offset: 00000000
..............REPLY: GetProperty
format: 00
type: <NONE>
bytes-after: 00000000
............REQUEST: GetInputFocus
..............REPLY: GetInputFocus
revert-to: Parent
focus: WIN 0040000d
............REQUEST: ChangeProperty
mode: Replace
window: WIN 00900001
property: ATM 00000074
type: ATM 00000074
format: 08
data: 42 00 00 01 00 00 00 10 00 00 00 75 00 00 00 00
............REQUEST: GetInputFocus
Please email to me if you have any idea of the above problem.
Thanks in advance.
--
MW Chiu
mwchiu@tigr.org
From: matt@centerline.com (Matt Landau)
Subject: Re: Asynchronous X Windows?
Organization: CenterLine Software, Inc.
Lines: 42
NNTP-Posting-Host: 140.239.1.32
In <1382.9304261508@zztop.dps.co.uk> gerard@dps.co.UK (Gerard O'Driscoll) writes:
>>> No, it isn't.  It is the "X Window System", or "X11", or "X" or any of
>>> a number of other designations accepted by the X Consortium....
>>>
>>> There is no such thing as "X Windows" or "X Window", despite the repeated
>>> misuse of the forms by the trade rags.
>I used to think this way, and not just about X. For example, incorrect
>English constructs such as "its raining" or "it's window id" annoy me.
>However, there comes a time when popular usage starts to dictate the way
>things really are in the world.
Well, yes and no.  I don't particularly want this discussion to spark
a lengthy debate, but I do think it's worth pointing out that "popular
usage" is not always sufficient excuse.
In this case, for example, I think an appropriate parallel may be found
in the pronunciation of proper names: if people commonly misspelled or
mispronounced your name, would you feel compelled to change it?  Probably
not.
The same is true of X.  "The X Window System", "X", "X11", and related
monickers are proper names in the same sense that any product name is a
proper name.  In fact, some of them are *trademarked* names.  The fact
that many people get them wrong is largely beside the point.
As for the trade publications that promulgate things like "X Window" or
"X.windows" or any of the other nonsensical variants one often sees,
consider the fact that these publications are supposedly written by
*journalists*.  Would you trust the facts of a journalist who couldn't
be bothered to get the name of his/her source right?  Would you trust
a product review by someone who got the name of the product wrong?
Popular usage is as it may be, but I for one am all for holding people
who claim to be journalists to a higher standard of correctness.
>Indeed, the fact that X won out over NeWS
>was really down to popular opinion (I know, we all think it's(!) technically
>superior as well!).
X11 technically superior to NeWS?  Well, in *some* alternate universe
perhaps ...
From: mikell@cactus.org (Mikell Vanderlaan)
Subject: Unisys 22403 emulation
Keywords: xterm term emulation
Organization: Capital Area Central Texas UNIX Society, Austin, Tx
Lines: 11
Has anyone seen source to an xterm package ready
to perform UNISYS 22403 TERMINAL EMULATION.
Got a clunker... and ...  Got a connect!
return: mikell@cactus.org
--
////////////////////////////mikell@cactus.org/////////////////////////
////////////////////Calame Linebarger Graham & Pena///////////////////
//////////////////////////////Attys AT Law////////////////////////////
From: Wilfred.Hansen@CS.CMU.EDU
Subject: CFP: Andrew Technical Conference
Organization: Carnegie Mellon, Pittsburgh, PA
Lines: 61
NNTP-Posting-Host: enterpoop.mit.edu
To: xannounce@expo.lcs.mit.edu
*Reminder*   Plan now for the Andrew Conference.
*Date* The dates are as noted below.  (We have not changed them.)
*Submission extension*   We are still accepting papers.
*Tutorial topic*
_Converting Andrew source code to C++_
This tutorial will discuss the steps necessary to convert a site from C
(extended with classC) to C++.  Conversion of the source code requires
only a couple of steps:
run the converter
fill in missing type information
Describing this will not take long.  The remainder of the day will be
spent learning how to write objects in C++ and practicing.
------------------------------
1993 Andrew Technical Conference and Consortium Annual Meeting
June 24-25, 1993
Carnegie Mellon University
Pittsburgh, PA
The conference will be held on the last Thursday and Friday in June.  A
tutorial will be on Thursday the 24th and the conference proper on the
25th with the annual meeting at the dinner on the evening between the
two days.  All conference attendees are welcome at the annual meeting,
though only Consortium members will be able to vote.
This year's theme is
Application Construction by Non-Programmers
Much of the effort on X toolkits has been aimed at programmer
construction of applications.  There have, however, been some excellent
UIMS systems built on top of X.  Papers addressing the theme will
consider questions such as
What is needed for application construction by non-programmers?
Can we avoid programming altogether, or is a simple language needed?
Is it sufficient to create applications, or must users be able to
create new widgets?
Should widgets and applications be able to print themselves?
Your participation in the conference is welcome.  Papers are appropriate
on the theme or any aspect of the Andrew User Interface System, including
applications
experience with users
new objects
reviews of and proposals for revision of
internal Andrew protocols
We expect to have an RS/6000 with video projector available if you would
like to do a demonstration.
Paper proposals should be submitted by 15 May 1993.
Acceptance will be 1 June with final papers due by 15 June.
Send papers via electronic mail to wjh+@andrew.cmu.edu.
Fred Hansen
Director, Andrew Consortium
From: ferguson@cs.rochester.EDU (George Ferguson)
Subject: Xarchie-2.0 available on export
Organization: Department of Computer Science, University of Rochester
Lines: 40
NNTP-Posting-Host: enterpoop.mit.edu
To: xannounce@expo.lcs.mit.edu
[Please accept the following announcement for comp.windows.x.announce. -gf]
A completely revamped version of the X11 browser interface to Archie,
Xarchie, is now available as
export.lcs.mit.edu:/contrib/xarchie-2.0.tar.Z
For those not familar with Archie or Xarchie, I include part of the
manpage intro:
Xarchie is an X11 browser interface to the Archie Internet information
system using the Prospero virtual filesystem protocol.  Archie
provides information about files available for ftp anywhere on the
Internet; Xarchie displays this information using an easy-to-use,
point-and-click interface.  Xarchie allows you to further explore ftp
sites by examining directories returned as query matches, and allows
you to retrieve files located this way.
Xarchie 2.0 has been extensively tested on R4, R5, and a variety of
other flavors of X, and on a wide range of machines. A summary of the
new features (from the README) follows:
* Major improvements include:
- Multiple selections allowed in browser for use with other new
features (FWF MultiList widget).
- Ability to expand directories in browser.
- Real fully-integrated ftp implementation.
- Ability to save and reload query results, as well as print them.
- Ability to resort results, and sort results by user-definable
pseudo-weights.
- Online help browser.
- Color resources, done so that they don't break mono displays.
- FWF FileSelector widget for local file operations.
- Makefile.dst's supplied for the imake-impaired.
George
--
George Ferguson                 ARPA: ferguson@cs.rochester.edu
Dept. of Computer Science       UUCP: rutgers!rochester!ferguson
University of Rochester         VOX:  (716) 275-2527
Rochester  NY  14627-0226       FAX:  (716) 461-2018
From: bill@west.msi.com (Bill Poitras)
Subject: Re: Regression Testing and X
Reply-To: bill@msi.com
Organization: Molecular Simulations, Inc.
X-Newsreader: TIN [version 1.1 PL8]
Lines: 17
Megan Grenenger (megan@cs.uq.oz.au) wrote:
: I'd appreciate any feedback on capture/playback tools for use with X clients.
: Any comparisons/comments on regression testing tools would be great -
: particularly XTM, XRunner, Autotester, and SRI's CAPBAK, SMARTS and EXDIFF.
How about starting where I could find ANY of these.  For the commercial
ones, at least a phone number would be appreciated.
--
+-------------------+----------------------------+------------------------+
| Bill Poitras      | Molecular Simulations Inc. | Tel (617)229-9800      |
| bill@msi.com      | Burlington, MA 01803-5297  | FAX (617)229-9899      |
+-------------------+----------------------------+------------------------+
|FTP Mail           |mail ftpmail@decwrl.dec.com | Offers:ftp via email   |
|                   |Subject:<CR>help<CR>quit    |                        |
+-------------------------------------------------------------------------+
From: hue@island.COM (Pond Scum)
Subject: Re: How to get 24bit color with xview frames ?
Organization: Island Graphics Corp.
Lines: 17
amathur@ces.cwru.edu (Alok Mathur) writes:
>I would like to know how I can set the depth of the frame to be 24 bits.
>I tried using the following Xlib code :
>Am I using a completely wrong approach here ? Is it possible to set the depth
Yes.
>and colormap for a window created by Xview ? What am I doing wrong ?
Look up XV_DEPTH.  Also, you might want to try using XView colormap segments
instead of Xlib for your colormap stuff.  They will probably be easier
for you to use, and since you are using a TrueColor visual, you won't
be losing anything compared to straight Xlib.
-Jonathan		hue@island.COM
From: rvloon@cv.ruu.NL (Ronald van Loon)
Subject: Announcing the Motif++ mailing list
Organization: University of Utrecht, 3D Computer Vision Research Group
Lines: 132
NNTP-Posting-Host: enterpoop.mit.edu
Keywords: mailinglist, motif++
To: xannounce@expo.lcs.mit.edu
I am glad and proud to announce the new mailing-list for the PD Motif C++
bindings. I got over 40 replies in about one week of people interested in
such a list, and the software has now been properly installed, so the list
is now up and running. For those interested in joining, please send e-mail
to that extend to 'motif++-request@cv.ruu.nl' or 'rvloon@cv.ruu.nl'.
The blurb everyone who joins gets follows, as well as the original
announcement for where Motif++ can be obtained.
Enjoy!
8< - 8< -
Welcome to the Motif++ Mailing List!
The Motif++ mailing list is a mailing list dedicated to Motif++, the PD C++
wrapper library for Motif, where people can ask questions about Motif++,
swap stories, and give new ideas about new directions and improvements for the
bindings.
All requests of an administrative nature, like subscription, removal, etc.
should be directed to motif++-request@cv.ruu.nl
All e-mail sent to motif++@cv.ruu.nl will be sent to the entire list, so
please make sure when using 'vacation' type programs that will reply to
messages automatically, that the address for the mailing-list is excluded
from auto-replies.
Enjoy!
Ronald van Loon     | In theory, there is no difference
(rvloon@cv.ruu.nl)  | between theory and practice.
3DCV Group, Utrecht |
The Netherlands     | In practice however, there is.
8< - 8< -
Hello Motif World,
over the past half year there have been a lot of relatively minor changes to
the Motif++ bindings. Imake support has been improved, a few defaults have
been changed, and a lot of other small things have been added.
This is basically a release which drops the 'gamma' status. Next release will
incorporate some improvements by Stefan Schwarz, and possibly will support
X11R5 and Motif 1.2.x.
Note to all of those who keep copies of the archive: please retrieve this
distribution (during off-peak hours), and delete all previous copies.
Here is the original ANNOUNCEMENT:
HISTORY
The University of Lowell, supported by a grant of the Open Software Foundation,
has developed a wrapper-library, that encapsulates Motif widgets in C++
classes. All resources of these Widgets can now be set through
member-functions, while objects can be used in callback-functions. The library
was made available for free or nominal cost for anonymous ftp at 129.63.1.1.
However, the library contained a large number of bugs and oversights, and only
worked under X11R3. Due to lack of subsequent fundings, the bindings are no
longer actively supported by the University of Lowell.
I, Ronald van Loon, at a certain point last year, have taken the Lowell
bindings, fixing the bugs I came across, adding missing memberfunctions, and
enhancing functionality and made the bug-fixed library available for the
general public for anonymous ftp (made possible by Rick Murphy at DEC).
NEW RELEASE
I am now pleased to announce a new and updated release of the Motif++
bindings.
This release offers:
- Full Motif1.1 and X11R4 support
- Support for Xbae widgetset
- Two additional widgets, written by myself, that can be used to indicate
progress in an application.
- Imake support. NB: this release relies heavily on the existence of imake
and its config files on your site. I have tried to
provide the bindings with a standard Makefile, tweakable
for those unfortunates without imake. I have not severely
tested the standard Makefile though. Contact me if you
have problems. The reason for calling this a gamma
release lies in the fact that I do not have a multitude
of platforms to test the Imake-files on.
- Lots of testfiles (even somewhat useful programs)
- An article I wrote on the usage of Motif, X and C++, previously posted
on Usenet.
WHERE TO GET THE NEW MOTIF BINDINGS
Ftp:
Anonymous ftp at decuac.dec.com (192.5.214.1), directory /pub/X11.
Note:
Please be patient as the network link is quite slow. Please do not FTP large
files during working hours.
Also note that there is also a motif++.31.jan.92.tar.Z file at this site; this
is an old version of the bindings.
E-mail:
Those who don't have ftp can send me e-mail, and I will send the bindings by
e-mail.
REQUEST
Those who use the bindings and find bugs, or see room for improvement, please
contact me, and I will try to incorporate them in a future release (in case of
bugs, a bug-fix of course ;-).
MORE INFORMATION
Contact me at "rvloon@cv.ruu.nl".
If you are desperate, then you can call me at
+31 30 506711 (that is Utrecht, the Netherlands; those within the Netherlands
call 030-506711).
Enjoy!
--
Ronald van Loon     | In theory, there is no difference
(rvloon@cv.ruu.nl)  | between theory and practice.
3DCV Group, Utrecht |
The Netherlands     | In practice however, there is.
From: tom@CapMgtSci.COM (Thomas Tulinsky)
Subject: MANUAL unsubscribe REQUEST
Organization: The Internet
Lines: 13
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
I am on the list under two addresses, I think:
tom@capmgtsci.com
and
zuma!tom@netcomsv.netcom.com
Please delete the second one,
zuma!tom@netcomsv.netcom.com
Thanks. Sorry for the screw up.
----------------------------------------------------------------------------
Tom Tulinsky		Capital Management Sciences	    West Los Angeles
tom@CapMgtSci.com	        310 479 9715
From: matt@centerline.com (Matt Landau)
Subject: Looking for updated XView textedit source (w/d-n-d support)
Article-I.D.: armory.1ri2o2$3hm
Organization: CenterLine Software, Inc.
Lines: 28
NNTP-Posting-Host: 140.239.1.32
The XView version 3 source distribution included in the contrib section
of X11R5 included the source to the textedit program.  I'd like to take
the sources and modify them to add support for a ToolTalk-like message
server, and maybe for ToolTalk while I'm at it, since the Sun-supplied
textedit binary doesn't seem to speak tooltalk.
However, the sources in the R5 contrib area seem to be for an older
version of textedit than the version shipped with OpenWindows 3.  For
example, the OWN 3.0 textedit includes drag and drop support and a
dropsite in the main control area, while the source in contrib/xview
knows nothing about drag and drop.
The textedit.c included in the xview sources says it's version 15.50,
dated 5/22/90, while doing a 'what textedit' on the OWN 3.0 binary says:
textedit.c 2.62 91/09/14 Copyr 1990 Sun Micro
dragdrop.c 1.26 91/09/14 Copyr 1990 Sun Micro
tooltalk.c 2.16 91/09/14 Copyr 1990 Sun Micro
ds_relname.c    1.7 91/09/14 Copyr 1990 Sun Micro
So, does anyone know if the 9/14/91 sources to textedit are available?
I'd really like to work from the latest source if possible.
Please reply by email, and I'll post a summary if there's enough
interest.
--
Matt Landau			Waiting for a flash of enlightenment
matt@centerline.com			  in all this blood and thunder
From: barnettj@pookie.crd.ge.com (Janet A Barnett)
Subject: Input Focus to a Window Other Than Where the Pointer Is
Nntp-Posting-Host: pookie.crd.ge.com
Organization: GE Corp. Research & Development, Schenectady, NY
Lines: 21
I have noticed in FrameMaker 3.1X on both the SGI and SUN platforms
that certain dialogs, such as "Column Layout..." for example, respond
to keyboard traversal even though the pointer is NOT in the dialog
window and even though the window manager keyboard focus policy is
POINTER.
How is this done?
I would like to emulate this behavior in my application. It seems a
reasonable behavior since when a dialog is popped up from a keyboard
action, the dialog is not guaranteed to be under the pointer and the
user should not have to reach for the mouse just to move the focus.
Alternatively, I'm open to any suggestions as to what is the "right"
way to insure that popups get the focus when they appear, particularly
when they are invoked from the keyboard and one's keyboard focus
policy is pointer.
Allen Barnett
(whose wife graciously allowed to use her account)
From: ian@csc.liv.ac.uk (Ian Finch)
Subject: Which X events are generated on application exit?
Organization: Knee Deep in Sky High
Lines: 18
Nntp-Posting-Host: rib.csc.liv.ac.uk
X-Newsreader: TIN [version 1.1 PL9]
I'm writing an application running under X (using Motif), and I need to do
some stuff when the application quits.  Now, when I shut down my X Windows
session, it doesn't seem to send a SIGTERM (or whatever) signal to my
application (I'm trapping various signals like that).  Therefore, I thought
I could use an X signal to check for my top level window being destroyed.
However I seem to get DestroyNotify events whenever I move windows.  Is
there any way for me to check that the window is actually being destroyed
(some field to check or some combination of events?).
Replies by e-mail please and I will summarise.
Thanks for any help,
Ian
--
//                             //
// ian@compsci.liverpool.ac.uk //
//                             //
From: rei@tsl.cl.nec.co.jp (Rei Hamakawa)
Subject: Xavier (AV Extension to InterViews)
Article-I.D.: tsl.1993Apr27.043112.25052
Organization: C&C Systems Research Labs, NEC Corporation, Kawasaki, Japan
Lines: 58
Nntp-Posting-Host: hyperion.tsl.cl.nec.co.jp
Dear Folks:
It's a pleasure to be able to announce the release of a new freeware program,
Xavier, an audio and video  extension to InterViews.
Xavier(eXtension AV class for IntERviews) is a C++ class library
that adds multimedia capability to InterViews. It allows composite
multimedia objects to be built from media objects.
Specifically, it adds audio and video objects to the classes available
in InterViews 3.0.1/3.1, and it does so without changing the
source code for the original classes (though several configuration
files for InterViews need to be changed via a patch file).
Currently, the Xavier audio classes are only supported on SUN
workstations with an audio interface, such as the SPARCstation2.
Xavier has been tested in the following environments:
SUN:
Machine : SPARCserver470 SPARCstation-IPC
OS      : SUN-OS4.1.1 or later
C++     : SUN C++ ver2.1
NEC(EWS):
Machine : EWS4800/210,230
OS      : EWS-UX/V(Rel4.0) WSOS41 Release5.1,Release5.2
C++     : C++ Release3.1
It can be obtained via anonymous ftp from
interviews.stanford.edu in /pub/contrib/
(Xavier.large-demo.tar, and Xavier.tar)
We are preparing a mailing-list for information regarding Xavier.
If you are interested, please contact
xavier@tsl.cl.nec.co.jp.
I will add your e-mail address to our list.
[Reference]
o Rei Hamakawa, Hizekazu Sakagami, Jun Rekimoto:
Audio and Video Extension to Graphical Interface Toolkits,
The Third International Workshop on Network and Operating
System Support for Digital Audio and Video, San Diego, 1992
***********************************************************************
* _                                                                   *
*  \ \      Rei Hamakawa (e-mail: rei@tsl.cl.nec.co.jp)               *
*   |o|                                                               *
*   |o|     C & C Systems Research Laboratories                       *
*   |o| __  NEC Corporation                                           *
*  O| || /  1-1, Miyazaki 4-Chome,      TEL : +81-44-856-2271         *
*  O| || |  Miyamae-ku, Kawasaki,       FAX : +81-44-856-2232         *
*  O| \/ |  Kanagawa 216 JAPAN                                        *
*    \__/                                                             *
***********************************************************************
From: barmar@think.com (Barry Margolin)
Subject: Re: Pulldown menu periodically hangs application on OpenWindows 3.0
Organization: Thinking Machines Corporation, Cambridge MA, USA
Lines: 22
Distribution: inet
NNTP-Posting-Host: gandalf.think.com
In article <1rgt23INNonv@ssdc.SSDC.Sterling.COM> rlee@ssdc.SSDC.Sterling.COM (Richard Lee) writes:
>: A Motif 1.2.2 application will periodically hang when run against the
>: OpenWindows 3. server (xnews).
>I have seen the same problem using a SPARCStation 10, Solaris 2.1, OW 3.1.
>In my case, it happens far more often than "periodically".
I don't know if there's a corresponding patch for Solaris 2.1, but this
sounds like the following bug which is supposedly fixed in 100492-06, the
Solaris 1.x olwm Jumbo patch:
1108642 - window system can hang in an errant pointer grab
Actually, I suspect that the OW 3.1 problem may be different, since the
README file says that this patch is just a SunOS 4.x version of the OW 3.1
olwm (but maybe that line came from an earlier version of the patch, and
they forgot to take it out in the -06 version).
--
Barry Margolin
System Manager, Thinking Machines Corp.
barmar@think.com          {uunet,harvard}!think!barmar
From: hedrick@geneva.rutgers.edu (Charles Hedrick)
Subject: Re: Xsun not running on SPARCclassic
Organization: Rutgers Univ., New Brunswick, N.J.
Lines: 24
herzog@dogwalk.Eng.Sun.COM (Brian Herzog - SunSoft Product Engineering) writes:
>I'm just guessing here, but I'd guess that X11R5 expects the CG3 to have
>1152x900 resolution, and the version of the CG3 in the SPARCclassic is
>1024x768.
I've used X11R5 with classics set for both 1024x768 and 1152x900 (you
can choose which resolution you want in the PROM monitor before
booting).  One person had trouble with X11R5 that was fixed by
using the multi-screen version.  Here's how our version was built.
(You can just copy /usr/local/X11R5/bin/Xsun from farside.rutgers.edu
if you just want to see whether this version will work.)
R5 distribution installed,
from pub/R5/mit-[1-4] and contrib-[1-3] on export.lcs.mit.edu
patches 1 - 23 installed,
from pub/R5/fixes on export
R5 Xsun Multi-screen patches installed,
from contrib/R5.Xsun.multi-screen* on export, 22-Mar-93
Solaris 2.1 patches installed, release 1/update 2,
from contrib/R5.SunOS5.patch* on export, 22-Mar-93
Compilation is with gcc 2.3.3.  Configuration is standard, except that
the root is /usr/local/X11R5, per Rutgers conventions.
From: oj@world.std.com (Oliver Jones)
Subject: Re: A Question I Do Not Found In FAQ
Organization: Shawsheen Software
Lines: 11
In article <1993Apr26.122007.25760@relay.nswc.navy.mil> rchui@opal.nswc.navy.mil writes:
>I created a pixmap or drawable window, then used XDrawLine() function
>to draw a [clipped] line ... = 300
...
>I created the pixmap or drawable window only with size 300x300.
>But I draw line from p1(x1=270,y1=100) to p2(x2=500,y2=800).
>My question is, dose the XDrawLine function can finger out that correct
>p3(x3 and y3) for me? If you calculate x3 and y3.
If you're asking, "does the X server perform clipping
correctly when drawing lines," the answer is "yes."
From: folkert@capints.UUCP (Folkert Boonstra)
Subject: comp.windows.x
Organization: The Internet
Lines: 17
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
I would like to keep track of X development on:
- A/UX
- ULTRIX
- OpenWindows
Currently I cannot use the newsgroup comp.windows.x
and would like to use the Email based info.
Thanks,
Folkert Boonstra
Cap Gemini Innovation		Dutch Research Centre
Burg.Elsenlaan 170		Phone:	+31 70 3957 239
P.O. Box 3027			Fax:	+31 70 3957 237
2280 GA Rijswijk (NL)		e-mail:	boonstra@capints.uucp
From: pjaques@camborne-school-of-mines.ac.UK (Paul Jaques)
Subject: Problem with dni and OW 3.0
Organization: The Internet
Lines: 44
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
Can anybody help me?
I am having a problem displaying images greater than 32768 bytes on a Sparc
IPC running Openwindows 3.0 and dni. My program runs on a Vax and displays
images on the IPC with no problems if I use Openwindows 2.0. The program uses
the following lines to display the image - it is the XPutImage() routine
that crashes.
XImage          *ximage;
ximage = XCreateImage(myDisplay, DefaultVisual(myDisplay, myScreen),
ddepth, ZPixmap, 0, image,
xwid, ywid, 8, 0);
XPutImage(myDisplay, myWindow, myGC, ximage, 0, 0,
xpos, ypos, xwid, ywid);
The error I get is:-
XIO:  fatal IO error 65535  on X server "galaxy::0.0"
after 30 requests (18 known processed) with 0 events remaining.
%XLIB-F-IOERROR, xlib io error
-SYSTEM-F-LINKDISCON, network partner disconnected logical link
%TRACE-F-TRACEBACK, symbolic stack dump follows
module name     routine name                     line       rel PC    abs PC
000773B9  000773B9
00077BBE  00077BBE
0007259D  0007259D
00072741  00072741
00072840  00072840
00072A27  00072A27
MYXSUBS         my_imtoiks                       3184      00000093  000010AF
TEST            main                              293      000000E5  00000EE5
I have a simple test program if anyone would like to test it !!
Thanks Paul.
--
-----------------------------------------------------------------------------
| Paul Jaques                                                               |
| Systems Engineer, Camborne School of Mines,                               |
|                   Rosemanowes, Herniss, Penryn, Cornwall.                 |
| E-Mail: pjaques@csm.ac.uk Tel: Stithians (0209) 860141 Fax: (0209) 861013 |
-----------------------------------------------------------------------------
From: jgealow@mtl.mit.edu (Jeffrey C. Gealow)
Subject: Standard Colormaps
Organization: MIT Microsystems Technology Laboratories
Lines: 49
Distribution: world
NNTP-Posting-Host: mtl.mit.edu
I'm working on an X11R5 application and have concerns regarding
standard colormaps.
The X11R5 documentation says: "Usually, a window manager creates
these colormaps."  I wonder what window manager the writer had
in mind.  Neither twm or mwm seem to create standard colormaps.
Of course, one can use xstdcmap to create standard colormaps.
However, xstdcmap doesn't seem to try very hard to avoid
conflicts with the default colormap.  When I use standard
colormaps created by xstdcmap, the rest of my display goes black.
So it seems as if use of standard colormaps causes the very
problem standard colormaps are intended to avoid.  Perhaps
if every application used standard colormaps, things would
be wonderful.  But not many applications seem to use
standard colormaps.
Finally, the operation of the functions XmuGetColormapAllocation,
XmuStandardColormap, and XmuCreateColormap seem inconsistent
with the section 14.3 of the X11R5 XLIB documentation.
According to the section 14.3 of the X11R5 XLIB documentation (p. 436):
For GrayScale colormaps, only the colormap, red_max, red_mult, and
base_pixel members are defined.  The other members are ignored.
To compute a GrayScale pixel value, use the following expression:
(gray * red_mult + base_pixel) &0xFFFFFFFF
XmuGetColormapAllocation, defined in mit/lib/Xmu/CmapAlloc.c, is
used by XmuLookupStandardColormap, defined in mit/lib/Xmu/LookupCmap.c
to select red_max, green_max, and blue_max values for the
call to XmuStandardColormap.  When the RGB_GRAY_MAP property is
specified, XmuGetColormapAllocation sets red_max to 30% of the
total number of cells in the gray scale, sets green_max to 59%
of the total number, and sets blue_max ot 11% of the total number.
Referring to section 14.3, one would expect XmuGetColormapAllocation
to set red_max to the total number of cells in the gray scale.
When the RGB_GRAY_MAP property is specified, XmuStandardColormap,
defined in mit/lib/Xmu/StdCmap.c, sets red_mult, green_mult,
and blue_mult all equal to 1.  Referring to section 14.3,
one would expect green_mult and blue_mult to be ignored.
When red_mult, green_mult, and blue_mult all equal 1,
XmuCreateColormap, defined in mit/lib/Xmu/CrCmap.c, constructs
a gray map. The sum of red_max, green_max, and blue_max gives
the maximum gray value.  Referring to section 14.3, on would
expect red_max to give the maximum gray value.
From: ccdw@kudu.ru.ac.za (Dave Wilson)
Subject: Xlib timeouts?
Summary: How to do timeouts using Xlib
Keywords: Xlib timeouts
Article-I.D.: kudu.ccdw.735917051
Organization: Rhodes University, Grahamstown, South Africa
Lines: 12
I am in the process of modifying an X application that uses Xlib.  I'd
like to include a timer-driven facility (for network polling), but cannot
see how to do it using Xlib.  I know it can be done with Xaw, using
XtAppAddTimeout and XtTimerCallBackProc.  How do I do the same using
Xlib?
Thanks for any help.  Please email.
--
Dave Wilson
Computing Centre, Rhodes University
Grahamstown, South Africa
From: phil@flex.eng.mcmaster.ca (Phil Nguyen)
Subject: How to unsubscribe from mailing list
Keywords: unsubscribe
Nntp-Posting-Host: flex.eng.mcmaster.ca
Organization: McMaster University, Hamilton, Ontario, Canada
Lines: 20
I try to unsubscribe from this group by sending an email but that doesn't work.
Could some one tell me the listserv address and command for me to unsubcribe ?
I am leaving this Friday (30th April 93) and the mail box will overflow
soon after that.
Thanks
-----------------------------------------------------------------
Philip Nguyen
Research Engineer
Flexible Manufacturing Research and Development Centre (FMR&D)
McMaster University
1280 Main St. West
Hamilton, On L8S 4L7
Voice: (416) 529-7070 ext 2902 or 7343
Fax: (416) 572-7944
e-mail: phil@flex.eng.mcmaster.ca
-----------------------------------------------------------------
From: gcw@met.ed.ac.uk (Gordon Watson)
Subject: How can get a pixel value from a Drawable ??
Keywords: lots
Reply-To: gcw@met.ed.ac.uk
Distribution: world
Organization: Meteorology Department, Edinburgh University, Scotland
Lines: 21
How can get a pixel value from a Drawable, without having to copy it to the client
as an XImage and use XGetPixel ?? - I want to select pixels from an animating
window on the server, without having to copy the whole lot back to my client.
(X11R5).
Any pointers appreciated,
Gordon.
=====================================================================
Gordon C. Watson,                                    _------_
{  {     }
Meteorology Department, Edinburgh University,      (__________)
Scotland.                   /  /  /  /
JANET - G.C.Watson@uk.ac.ed   INTERNET - gcw@met.ed.ac.uk
=====================================================================
From: edwind@lims01.lerc.nasa.gov (Tom NGUYEN)
Subject: How to resolve different font formats ...?
Organization: NASA Lewis Research Center
Lines: 21
Distribution: world
NNTP-Posting-Host: lims01.lerc.nasa.gov
News-Software: VAX/VMS VNEWS 1.41
Hi All!
I tried to run SoftPC, a PC emulation software program, installed on a Silicon
Graphics workstation from a Human Design System (HDS) X terminal, and
everything went fine, except the fonts could NOT be converted from one type
of format to the other - HDS uses different font format from SGI worksation.
So, I have the following questions:
1. How do you resolve different font formats from different machines?
2. Is there a program to convert one type of font format to another?
If you have similar problems/experiences and have found a solution, please
let me know.  Your help will be greatly appreciated!
Thank you in advance for your help and information.
Tom Nguen
edwind@lims01.lerc.nasa.gov
From: beck@irzr17.inf.tu-dresden.de (Andre Beck)
Subject: Re: Archie-Client ?
Organization: Dept. of Computer Science, TU Dresden, Germany.
Lines: 8
Distribution: world
Reply-To: Andre_Beck@IRS.Inf.TU-Dresden.DE
NNTP-Posting-Host: irzr17.inf.tu-dresden.de
Get Xarchie 2.0 instead.
--
+-o-+--------------------------------------------------------------+-o-+
| o |                \\\-  Brain Inside -///                       | o |
| o |                    ^^^^^^^^^^^^^^^                           | o |
| o | Andre' Beck (ABPSoft) mehl: Andre_Beck@IRS.Inf.TU-Dresden.de | o |
+-o-+--------------------------------------------------------------+-o-+
From: pmartz@dsd.es.com (Paul Martz)
Subject: Re: Standard Colormaps
Nntp-Posting-Host: bambam
Reply-To: pmartz@dsd.es.com (Paul Martz)
Organization: Evans & Sutherland Computer Corp., Salt Lake City, UT
Lines: 50
In article <1rjdk8INNcnh@senator-bedfellow.MIT.EDU>, jgealow@mtl.mit.edu (Jeffrey C. Gealow) writes:
> I'm working on an X11R5 application and have concerns regarding
> standard colormaps.
>
> The X11R5 documentation says: "Usually, a window manager creates
> these colormaps."  I wonder what window manager the writer had
> in mind.  Neither twm or mwm seem to create standard colormaps.
Standard colormaps were spec'd with the intention that window managers
would make them available. This doesn't mean that every window manager
author in the world immediately dropped everything they were doing and
implemented this at top priority.
The ESGE server we ship makes the XA_RGB_BEST_MAP available at
startup. It doesn't wait for window managers to do it.
> Of course, one can use xstdcmap to create standard colormaps.
> However, xstdcmap doesn't seem to try very hard to avoid
> conflicts with the default colormap.  When I use standard
> colormaps created by xstdcmap, the rest of my display goes black.
> So it seems as if use of standard colormaps causes the very
> problem standard colormaps are intended to avoid.  Perhaps
> if every application used standard colormaps, things would
> be wonderful.  But not many applications seem to use
> standard colormaps.
Does your hardware have only one CLUT? Since standard colormaps
typically devour all 256 entries, there is no way it can avoid
displacing the entire default colormap if your hardware has only one
CLUT.
I don't believe standard colormaps are intended to aboid possible
colormap flashing between clients using the default coilormap. Rather,
colormap flashing will be avoided between two clients that use the
same standard colormap. An example would be two clients that need a
full color range would both use XA_RGB_BEST_MAP (or whatever it's
called under X11R5).
If you are trying to avoid colormap flashing with the default
colormap, your best bet is to try to load all the colors you use into
that colormap. If you can't do that, then you'll get flashing on a one
hw CLUT framebuffer.
Now if your window manager used the same standard colormap as your
client, this flashing could also be avoided. Perhaps some window
managers have command line options for selecting standard colormaps?
--
-paul	pmartz@dsd.es.com
Evans & Sutherland
From: klute@tommy.INformatik.uni-dortmund.DE (Rainer Klute)
Subject: Imake support for xmosaic
Organization: CS Department, Dortmund University, Germany
Lines: 20
NNTP-Posting-Host: enterpoop.mit.edu
To: xannounce@expo.lcs.mit.edu
Imake support for xmosaic
=========================
Although xmosaic is a great program in general, it unfortunately comes
without Imake support. So I created one. Until Marc Andreessen finds the
time to incorporate it in an official xmosaic release, you can easily do it
yourself. Use anonymous FTP to get
ftp.germany.eu.net:/pub/X11/misc/xmosaic.Imake.tar.z
The file's size is 3200 Byte. You will need gzip to unpack it. Have fun!
--
Dipl.-Inform. Rainer Klute      I R B :  immer richtig beraten
Univ. Dortmund, IRB
Postfach 500500         |)|/    Tel.: +49 231 755-4663
D-W4600 Dortmund 50       |\|\    Fax : +49 231 755-2386
new address after June 30th: Univ. Dortmund, D-44221 Dortmund
From: julia@netcom.com (Julia Miller)
Subject: Posix Message Catalogs
Keywords: Posix
Organization: NETCOM On-line Communication Services (408 241-9760 guest)
Lines: 17
Can someone tell me in 25 words or less how to compile posix
message catalogs so that I can use them with catgets, catopen, etc.
I know what the format for the catalogs is, but don't know how
to compile them.
Please reply to chas@blackwhite.com
Thanks in advance,
chas
Black & White Software, Inc.   	| Leaders in Systems & Software Solutions
2155 S. Bascom Ave. Suite 210   | Contact Black & White for information on
Campbell, CA 95008   		| X Windows & OSF/Motif Software & Support
(408) 369-7400   		| OSF/Motif & MS-Windows GUI Builders
(408) 369-7406   		| Add on Widgets, Editors and Help Systems
info@blackwhite.com   		| C++ and Ada Motif Bindings
From: susan+@andrew.cmu.EDU (Susan Straub)
Subject: REGISTRATION:  Andrew Tutorial & Technical Conference
Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA
Lines: 81
NNTP-Posting-Host: enterpoop.mit.edu
To: xannounce@expo.lcs.mit.edu
1993 Andrew Tutorial
and
Technical Conference
When:  Thursday and Friday, June 24 and 25, 1993
(Deadline for Registration:  June 4, 1993)
Where:  Carnegie Mellon University in Pittsburgh, Pennsylvania.
Sponsor:  Andrew Consortium of CMU's School of Computer Science.
Schedule:  The Tutorial  will be on Thursday, followed by dinner and the
Annual Meeting.  The Conference proper will be on Friday.  All
Conference attendees are welcome at the Annual Meeting.
Wednesday, June 23
Check in:  After 4:00 PM
Informal Reception:  7:30 PM
Thursday, June 24
Tutorial:  9:00 A.M. - 5:00 PM
Conference Dinner:  6:30 PM
Annual meeting:  8:00 PM
Friday, June 25
Technical Conference:  9:00 AM - 5:00 PM
Cost:
Tutorial fee includes breaks, lunch and tutorial materials:  $100
Conference fee includes conference dinner, breaks and proceedings: $100
Rooms (student housing):  $50 / night
Housing is tight around the campus area, so please register soon.  If you
prefer to stay in off-campus housing, please contact us for suggestions.
Mary Anne Cowden will be handling registration.  You can contact her by
email,  mc8b+@andrew.cmu.edu,  or by phone, (412) 268-6710.
 Registration Form
Please complete the attached form and return it to:
Mary Anne Cowden
Andrew Consortium Technical Conference
Carnegie Mellon University
Smith Hall 106
5000 Forbes Avenue
Pittsburgh, PA 15213-3890
<-       cut along here       ->
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - -
Name:              ______________________________________________
Address: 	______________________________________________
______________________________________________
Organization: 	______________________________________________
Email:               ______________________________________________
Phone:              ______________________________________________
Tutorial		$ ___________     $100
Conference		$ ___________     $100
Housing		$ ___________      $50/night
TOTAL ENCLOSED     $ ___________
Please make checks payable to Carnegie Mellon University.
From: darcym@fpddet4.mentorg.com (Darcy McCallum)
Subject: Keyboard mapping and window placement questions
Nntp-Posting-Host: fpddet4.mentorg.com
Organization: mentor
Keywords:
Lines: 27
These are two common subjects so I hope someone has had to deal with these
specific questions.
1.  If my application depends on modifiers, what is the best lookup method?
My choices are to call XGetModifierMapping() for each key press with a
modifier, or make the call once at the init of the app and store the modifiers
in a lookup table.  I would like to do it the second way, but I can't seem to
get the notify when the user uses xmodmap to remap the modifiers.  I know that
when an app calls XSetModifierMapping() a MappingNotify event is generated
(non-maskable) which I can pick up and modify my internal table.  But, I don't
seem to get any notify events when the user uses xmodmap.  If I use Xt, all
O'Reilly has to say is '...is automatically handled by Xt...'.  If I use Xlib, ala XNextEvent(), I get nothing.  This all stems from problems with users of
the Sun 4/5 keyboard and the NumLock; plus various Alt/Meta/etc. modifier
requirements.
2.  I would like to place a popup so that it will be to the immediate right
of my main window.  I want it at the same y coord, and their right/left
sides touching.  What I need to ask for is the x,y coord of the window
manager's border for the main window.  This should ring a bell with anyone
who has called XtMoveWidget(), immediately checking the x,y after the move
and seeing that it is right, and in their next callback asking for the x,y
and seeing that it is now offset by the WM border.
Any help would be most appreciated.
Darcy
darcy_mccallum@mentorg.com
From: hans@xelion.nl (Hans Bos)
Subject: Save Under with X11R5
Keywords: Save Under, X11R5
Organization: Xelion bv
Lines: 26
I have the following problem on X11R5 servers.
When a window of my is obscured by a pop up window which has
the Save Under attribute set, the subwindows of my window are not restored.
Normally, the subwindows are redrawn when the parent window gets an expose
event, but because the save under attribute is used for the pop up window
that obscured my window, no expose event is sent.
When ExposureMask is set for the child windows, those windows are correctly
updated when the popup window disappears, however then the application
gets too many expose events and you see extra redraws.
Everything works fine with X11R4.
Is this something that is changed between X11R4 and X11R5 (obvious)?
Is it something I do wrong?
Is there something that the popup window should do (which is also mine)?
Is this a bug in X11 release 5?
Greetings,
--
----------------------------------------------------------------------
Hans Bos                     	   domain : hans@xelion.nl
Xelion BV                          uucp   : ...!sun4nl!xelion!hans
Postbus 88                         phone  : +31 15 622121
From: rgasch@nl.oracle.com (Robert Gasch)
Subject: Overriding default WM Behaviour
Organization: Oracle Europe
Lines: 48
X-Newsreader: TIN [version 1.1 PL8]
I posted this about tow weeks ago but never saw it make it (Then again
I've had some problems with the mail system). Apologies if this appears
for the second time:
Usually when I start up an application, I first get the window outline
on my display. I then have to click on the mouse button to actually
place the window on the screen. Yet when I specify the -geometry
option the window appears right away, the properties specified by
the -geometry argument. The question now is:
How can I override the intermediary step of the user having to specify
window position with a mouseclick? I've tried explicitly setting window
size and position, but that did alter the normal program behaviour.
Thanks for any hints
---> Robert
PS: I'm working in plain X, using tvtwm.
******************************************************************************
* Robert Gasch        * Der erste Mai ist der Tag an dem die Stadt ins      *
* Oracle Engineering   * Freihe tritt und den staatlichen Monopolanspruch    *
* De Meern, NL        * auf Gewalt in Frage stellt                          *
* rgasch@nl.oracle.com *                           - Einstuerzende Neubauten *
******************************************************************************
----------------------- Headers ------------------------
>From uupsi7!expo.lcs.mit.edu!xpert-mailer Thu Apr 22 17:24:28 1993 remote from aolsys
Received: from uupsi7 by aolsys.aol.com id aa19841; Thu, 22 Apr 93 17:10:35 EDT
Received: from srmftp.psi.com by uu7.psi.com (5.65b/4.0.071791-PSI/PSINet) via SMTP;
id AA02784 for ; Thu, 22 Apr 93 12:04:36 -0400
Received: from expo.lcs.mit.edu by srmftp.psi.com (4.1/3.1.072291-PSI/PSINet)
id AA17104; Thu, 22 Apr 93 10:19:31 EDT
Received: by expo.lcs.mit.edu; Thu, 22 Apr 93 06:57:38 -0400
Received: from ENTERPOOP.MIT.EDU by expo.lcs.mit.edu; Thu, 22 Apr 93 06:57:37 -0400
Received: by enterpoop.MIT.EDU (5.57/4.7) id AA27271; Thu, 22 Apr 93 06:57:14 -0400
Received: from USENET by enterpoop with netnewsfor xpert@expo.lcs.mit.edu (xpert@expo.lcs.mit.edu);contact usenet@enterpoop if you have questions.
To: xpert@expo.lcs.mit.edu
Date: 22 Apr 93 08:09:35 GMT
From: rgasch@nl.oracle.com (Robert Gasch)
Message-Id: <3873@nlsun1.oracle.nl>
Organization: Oracle Europe
Subject: Overriding Default Behaviour
From: Gary Keim <gk5g+@andrew.cmu.edu>
Subject: Re: X Toolkits
Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA
Lines: 10
NNTP-Posting-Host: po2.andrew.cmu.edu
In-Reply-To: <199304271930.AA07991@rebels.b23b.ingr.com>
Excerpts from misc: 27-Apr-93 Re: X Toolkits Sivesh Pradhaan@rebels.b (423)
> I do not have finger!!! So is there any other way of accessing this service
> like mail server or telnet or ftp?
You can use telnet:
% xhost +atk.itc.cmu.edu
% telnet atk.itc.cmu.edu 79
run-demo
From: lakshman@ms.uky.edu (Lakshman K)
Subject: Realtime X-tensions
Organization: University Of Kentucky, Dept. of Math Sciences
Lines: 8
Hi,
Iam looking for information on any work that deals with real-time
support in X-windows????!!
Would be happy if you could provide any pointers or information
thanks
Lakshman
lakshman@ms.uky.edu
From: neal@grover.stat.washington.edu (Phil Neal)
Subject: Wierd xdm behavior
Organization: U. Washington Dept. of Statistics
Lines: 48
Distribution: world
NNTP-Posting-Host: grover.stat.washington.edu
Originator: neal@grover.stat.washington.edu
Dear sun and windows people,
I am running sun workstations with SunOs 4.1.1 and
vanilla X11 R5. I have a bunch of xterminals as well.
Today I had my xdm fail. At about 9:30
it was impossible to login to a host from an xterminal.
The message was the "xdm too many retransmissions".
In my xdm-errors file I had the following entries:
>error (pid 7423): Server for display :0 terminated unexpectedly:
>256
>error (pid 7927): WARNING: keyboard on display :0 could not be
>secured
>error (pid 7423): Server for display :0 terminated unexpectedly:
>
>I also had:
>
>error (pid 7457): WARNING: keyboard on display :0 could not be
>secured
>error (pid 7423): Server for display :0 terminated unexpectedly:
>256
>error (pid 7462): WARNING: keyboard on display :0 could not be
>secured
>error (pid 7423): Server for display :0 terminated unexpectedly:
>256
Also, at the console, the login box would come up for
about 2 seconds and then
it would go away. It would do this continuously.
I could login from another workstation to the hosts in question,
however, I could not login on the console.
I tried killing xdm and restarting it but that didn't help.
I finally rebooted all the hosts. (Which hurts when done in the
middle of the day).
Any help would be appreciated.
Thanks,
Phil
--
Phil Neal, Systems Programmer, Statistics Department GN-22
University of Washington, Seattle, Wa. 98195 USA  | 206-685-1627
----------------------------------------------------------------
"Look, another bit!" -- Repo Man (the movie)
From: black@westford.ccur.com (Samuel Black)
Subject: Re: Realtime X-tensions
Organization: Concurrent Computer Corp.  Westford, MA
Lines: 19
>	I am looking for information on any work that deals with real-time
>	support in X-windows????!!
>	Would be happy if you could provide any pointers or information
Concurrent has a product called RealTimeX (tm) that is a set of real-time
extensions to the X Window System.  RealTimeX is currently supported on
the Concurrent Series 7000 and Series 8000 with the GA5000 graphics
accelerator.  If you need/want more info, let me know.
- sam black
-------------------------------------------------------------------------------
Once you remove the absurdity from human existence, there isn't much left.
__________
/  _______/__
/__/______/  /	black@westford.ccur.com
Concurrent /_________/
Computer Corporation
-------------------------------------------------------------------------------
From: moore@halley.est.3m.com (Richard Moore)
Subject: Re: X interactive performance
In-reply-to: afielden@cbnewsb.cb.att.com's message of Mon, 26 Apr 1993 14:20:40 GMT
Organization: 3M Company, 3M Center, Minnesota, USA
Lines: 4
For image display, about 10 frames per second seems to be the lower limit
for interactive operations. For just bringing up an image for viewing less
than 1 second seems to be a good number. Of course the measure of response
time should be based on the applications you are planning to run.
From: panvalka@cs.unc.edu (Anay Panvalkar)
Subject: Frame buffer question for X11R5 (Sun)
Organization: The University of North Carolina at Chapel Hill
Lines: 22
Distribution: world
NNTP-Posting-Host: hatteras.cs.unc.edu
X Window installation on a Sun4/470 with CG6 alone and with CG2 as
screen:0.0 and CG6 as screen:0.1.
Questions:
1)  Are there any hardware configuration changes on the CG2 and/or
CG6 devices that need to be made other than pulling out and inserting the
CG2 frame buffer in the vme bus?
2)  The CG6 is called a 'graphics accelerator' as apposed to a 'frame buffer'.
What is the significance of this to the X server and how do we install
the SunOS driver / X to be compatable.
-----------------------
I would appreciate any information on this.
I am posting this on the behalf of Dr. John Charlton (who does not have net
access). Please reply to him directly at charlton@bme.unc.edu or just send
it at this address and I will forward it.
Thank you for your help!
-Anay
panvalka@cs.unc.edu
From: mike@hopper.Virginia.EDU (Michael Chapman)
Subject: Re: 4-plane Xterminal (Do I want one?)
Keywords: plane, Xterminal
Organization: ITC/UVA Community Access UNIX/Internet Project
Lines: 12
In article <C63srv.57w@watserv1.uwaterloo.ca> chudel@watarts.uwaterloo.ca (Chris Hudel) writes:
>
>
>PS: all R5 apps run on R4/R3 servers,right?
The 4-bit server should work fine.  As far as I know, Xterminals
running older versions can run the latest apps as long as the host
machine has the R5 libraries installed. I could be wrong though.
--
mike@hopper.acs.virginia.edu
"I will NOT raise taxes on the middle class." -Unknown
From: gse9k@uvacs.cs.Virginia.EDU (Scott Evans)
Subject: MenuButton Widget Question
Reply-To: thrash@virginia.edu (Scott Evans)
Organization: make it stop
Lines: 9
I'm trying to create a button that has both a label and a bitmap using
the MenuButton widget.  Is this possible?  Right now, all I get is the
bitmap -- no sign of the label.
Any help would be appreciated.
scott
From: herlock@lclark.edu (Jon Herlocker)
Subject: How to access 24-bit color on cg8?
Article-I.D.: lclark.1993Apr28.000956.12004
Organization: Lewis & Clark College, Portland OR
Lines: 15
X-Newsreader: TIN [version 1.1 PL8]
We have a Sun 3/80 and we have just acquired a cg8 frame buffer card.
The cg8 is supposed to support both a 24-bit color visual and a monochrome visual.
The default visual for the xnews server is the monochrome, and we are unable to change it to
the 24-bit visual. We have tried using XGetVisualInfo to get a visual of depth 24, but had no
success.  xdpyinfo gives no information about a 24-bit deep visual, only monochrome.
There are two possible solutions:
If someone has patches for X11R5 Xsun server, could they forward them to us?
Otherwise, could someone instruct us how to access the 24-bit color in openwindows?
--
Jon Herlocker		email:  herlock@lclark.edu
Lewis & Clark College
Portland, OR 97219
From: joel@zodiac.z-code.COM (Joel Reymont)
Subject: Xsun not finding default font (Sol2.1)
Organization: The Internet
Lines: 20
NNTP-Posting-Host: enterpoop.mit.edu
To: xpert@expo.lcs.mit.edu
Hi, netters!
I've just built X11R5 pl 21 under Solaris 2.1. I've used the multi-screen
patch, as well as the R5.SunOS... patch and everything builds great, except
for that error message Xsun gives me upon startup. It says:
"Cannot set default font path '[stuff deleted]'" and "Cannot set default font
'fixed'". If I supply the -fp option, it doesn't complain about the font path
but still complains about the font. I have symlinks from /usr/lib/ to the
place where my distribution lives.
Could somebody help me?
-joel
--
-----------------------------------------------------------------------------
Joel Reymont    !   Z-Code Software Corporation    ! e-mail: joel@z-code.com
-----------------------------------------------------------------------------
4340 Redwood Hwy, Suit B.50, San Rafael, CA 94903
-----------------------------------------------------------------------------
From: gpatapis@boyd.tansu.com.au (George Patapis)
Subject: Re: DESQview/X on a PC and network Traffic
Organization: AOTC - CSSC
Lines: 71
Distribution: world
Reply-To: gpatapis@boyd.tansu.com.au
NNTP-Posting-Host: boyd.cssc-syd.tansu.com.au
In article 1369@qdeck.com, support@qdeck.com (Technical Support) writes:
>In article <1qtk84$rn5@picasso.cssc-syd.tansu.com.au> gpatapis@boyd.tansu.com.au writes:
>
>>What sort of traffic is generated with the X-calls?  I am curious to find
>>out the required bandwidth that a link must have  if one machine running
>>DV/X is supporting multiple users (clients) and we require adequate response
>>time.  Anyone have any ideas ??
>
>I expect the limiting factor will be your server machine, not the network
>itself. To give you a real-world example, here at Quarterdeck we have
>roughly 100 people using DVX to talk to a bunch of unix boxes, novell
>file servers, and each other. It's not _too_ much of a load on our
>Ethernet (with maybe 4 concentrators, so you have 20-30 people on each
>segment). If you had a badly loaded net, or the apps you wanted to run
>were very network intensive, you could run into some slowdowns.
>
>But the biggest problem would be the machine itself. Say you have a 486
>33 with plenty of ram and a fast hard disk and network card. If you have
>10 people running programs off it, you're going to see some slowdowns
>because you're now on (effectively) a 3.3 MHz 486. Of course, DVX will
>attempt to see if tasks are idle and make sure they give up their time
>slice, but if you have 10 working programs running, you'll know it.
>
Well I can buy a bigger and more powerful server machine because of the
significant drop in price year after year.  The link I want to use
though (ISDN 64K) is costly and the bandwidth limited.  That's why my
interest lies in seeing if such a link can be used and see what traffic
goes through it.
>Having said that, if you can tweak the programs being run (by adding
>in calls to give up time slices when idle and that sort of
>thing), you could probably run 15-20 people on a given machine before
>you started seeing slowdowns again (this time from network bandwidth).
Hmmm.  Has anyone at your centre monitored the traffic at all?  Are you
running any standard MS-Windows programs like Word ?  What sort of
packets go blazing through? What size link do you have (2Mb or 10Mb ?).
What is the average traffic flow going through your network or do you
have few high peaks and then many low points?
>It all really depends on what the programs are doing (ie. you're going
>to see a slowdown from X-bandwidth a lot sooner if your apps are all
>doing network things also...)
>--
What do you mean by network things?  I vision using MS Windows and other
Windows applications over the network were the processes are running on
the server and all I am getting are the displays.  I am wondering how
good is the X and subsequently DV/X protocol in transferring these
images with X-calls and displaying them on a client's machine.
>       Quarterdeck Office Systems - Internet Support - Tom Bortels
> Pricing/Ordering : info@qdeck.com  |  Tech Questions : support@qdeck.com
>  BBS: (310) 314-3227 * FAX: (310) 314-3217 * Compuserve: GO QUARTERDECK
>   Q/Fax: (310) 314-3214 from touch-tone phone for Technotes On Demand!
---
__/ __/ George Patapis ---------------------PAN METRON ARISTON---------- __/ __/
__/ __/ Telecom C.S.S.C Lane Cove---email:gpatapis@cssc-syd.tansu.com.au __/ __/
__/ __/ P.O.Box A792 Sydney South --fax  :(02) 911 3 199---------------- __/ __/
__/ __/ NSW, 2000, Australia.-------voice:(02) 911 3 121---------------- __/ __/
From: jeffcop@i88.isc.com (Jeff Copeland)
Subject: HP Interface Architect
Nntp-Posting-Host: laila.i88.isc.com
Organization: INTERACTIVE Systems Corporation, Naperville, IL
Distribution: usa
Lines: 15
Hey GUI folks,
Does anyone out there have experience with the HP Interface Architect
(GUI dev tool)?  If so, can I call you and ask a couple of quick
questions?  I promise I'll be brief, the questions are simple, and of
course I'll call on my nickel.
Jeff Copeland
jeffcop@i88.isc.com
708-505-9100 x330
INTERACTIVE Systems Corp. (now a Systemhouse co.)
--
Jeff Copeland
jeffcop@i88.isc.com          708-505-9100   x330
From: bradley@grip.cis.upenn.edu (John Bradley)
Subject: XV 3.00 has escaped!
Organization: GRASP Lab, University of Pennsylvania
Lines: 13
Nntp-Posting-Host: grip.cis.upenn.edu
No, not another false alarm, not a "It'll certainly be done by *next* week"
message...  No, this is the real thing.  I repeat, this is *not* a drill!
Batten down the hatches, hide the women, and lock up the cows, XV 3.00 has
finally escaped.  I was cleaning its cage this morning when it overpowered
me, broke down the office door, and fled the lab.  It was last seen heading
in the general direction of export.lcs.mit.edu at nearly 30k per second...
If found, it answers to the name of 'contrib/xv-3.00.tar.Z'.
Have a blast.  I'm off to the vacation capital of the U.S.:  Waco, Texas.
--jhb
From: fabian@vivian.w.open.de (Fabian Hoppe)
Subject: Searching CAD-software
Nntp-Posting-Host: vivian
Organization: SubNet - The NeXT Generation
Lines: 13
Hi out there!
I'm looking for (mechanic-construction)CAD-software either PD-sources
or Sun 3-binaries (respective the licence.. :-).
Who knows _ANY_ package (and a source/site to get it..) ?
Thx, Fabian
--
Fabian Hoppe				Phone  : ++49 2332 12580
Elsternstr. 57				Fax    : ++49 2332 83741
W-5820 Gevelsberg			EMail  : fabian@vivian.w.open.de
Germany
From: fish@daacdev1.stx.com (John Vanderpool)
Subject: is there a simple way to check what action a mouse button will take?
Organization: NASA Goddard Space Flight Center - Greenbelt, MD USA
Lines: 10
w/o actually executing it? somehow one of my xterminal users has made it
so that a click of MB3 (right) automatically kills all clients - oh my :-(
thanx,
fish
--
John R. Vanderpool     INTERNET: fish@eosdata.gsfc.nasa.gov
NASA/GSFC/HSTX         VOX: 301-513-1683
"So you run, and you run, to catch up with the sun, but it's sinking,
racing around to come up behind you again." -rw/dg
From: fish@daacdev1.stx.com (John Vanderpool)
Subject: anybody have patched version of xroach for tvtwm???
Organization: NASA Goddard Space Flight Center - Greenbelt, MD USA
Lines: 19
i read about the code you can put in to most applications so that
the virtual desktop stuff in tvtwm doesn't confuse them (or is the
application confusing the virtual-ness? [chicken & the egg?]
but wanted to see if it has been applied to a version of xroach
i never could quite get ssetroot to work either? any suggestions.
luckily xv -root -quit does the trick for the most part
also, i'ld be quite interested in hearing more about the icon region
for each virtual window under tvtwm that i read a thread on last week
here
thanx,
fish
--
John R. Vanderpool     INTERNET: fish@eosdata.gsfc.nasa.gov
NASA/GSFC/HSTX         VOX: 301-513-1683
"So you run, and you run, to catch up with the sun, but it's sinking,
racing around to come up behind you again." -rw/dg
To: gnu-gdb-bug@gatech.edu
Distribution: world
From: deepak@expert.cc.purdue.edu (Deepak Mulchandani)
Subject: Help in developing a X-Windows interface for GDB
Organization: Motorola, Semiconductor Products Sector
Lines: 39
Hi,
I am trying to write an X-windows based interface that runs on top of GDB. Could
anyone help me in understanding the way we are supposed to "fork" GDB off as a
subprocess ?? I currently use pipes but when I try and debug this program, the
following happens :
PROGRAM :
main()
{
int x;
printf("enter x : ");
scanf("%d", &x);
printf("x = .%d.\n", x );
}
OUTPUT :
The program hangs without returning the output of the printf statement. When I type
in a value (like 5), then all the printf's output comes out at one time.
Is there any other way, besides using PIPES to do this i.e., like ioctl or something else ??
Thanks,
Deepak
--------------------------------------------------------------------------------------------
Deepak Mulchandani
Advanced Products Research and Development Laboratory
Motorola, Semiconductor Products Sector
Austin, TX
(512) 928-7642 							     deepak@inxs.sps.mot.com
From: steve@smartstar.com
Subject: Motif Server for ASCII terminals
Organization: SmartStar Corporation / Signal Technology
Lines: 2
Nntp-Posting-Host: louie
Does anyone know of an X server for character cell terminals?
Doesn't have to be anything fancy, as long is it works.
From: sti@cs.hut.fi (Sami-Jaakko Tikka)
Subject: Re: finding out state of state keys (eg, CapsLock and NumLock)
Organization: Helsinki University of Technology, CS lab
Lines: 23
Distribution: inet
NNTP-Posting-Host: tahma.cs.hut.fi
In <9304211637.AA03386@blue.arbortext.com> rps@arbortext.COM (Ralph Seguin) writes:
>My question is this:  Is there a means of determining what the state
>of CapsLock and/or NumLock is?
I don't know any way except to see what modifiers are on in th
Keypress event.  Of course if there is some reason why you need to
always know the state of modifiers even if your windows don't have the
keyborads focus you can always ask for KeyPress events from the root
window.  Then you get all the KeyPresses and you always know what have
been pressed.
>An even more pointed question: Is there an easy means of making an X
>keyboard act like a PC keyboard?  ie, CapsLock is active, and the user
>presses shift-a, I'd like to get a lowercase 'a' instead of 'A'.
I think this is just a question of how to implement XLookupString.
You can always write another function that interprets the KeyPresses
as you like.  You can look at the implementation of XLookupString from
the Xlib sources and then modify it a little bit.
--
Sami.Tikka@hut.fi | /G=Sami/S=Tikka/O=hut/ADMD=fumail/C=fi/
"Live Long and Prosper!"
From: greg@Software.Mitel.COM (Gregory Lehman)
Subject: Looking for drawing packages
Organization: Mitel. Kanata (Ontario). Canada.
Lines: 24
Greetings.
I am developing an application that allows a *user* to interactively
create/edit/view a visual "model" (i.e. topology) of their network, and
I was wondering if anyone knew of any builder tools that exist to
simplify this task.
In the past I have used Visual Edge's UIM/X product to develop other
GUIs, so I am familiar with UIMSs in general.
The topology will support objects and connecting links.  Once the
topology is created, I want to provide the user with capabilities to
support grouping, zooming, etc.
I am looking for some form of a higher abstraction other than X drawing
routines to accomplish this.  Specifically, the zooming and grouping
aspects may prove difficult, and certainly time consuming,  if I have
to "roll my own".
Suggestions?
-greg
greg@software.mitel.com
From: kedz@bigwpi.WPI.EDU (John Kedziora)
Subject: Motorcycle wanted.
Organization: Worcester Polytechnic Institute
Lines: 11
Expires: 5/1/93
NNTP-Posting-Host: bigwpi.wpi.edu
Followup-To:kedz@wpi.wpi.edu
Distribution: ne
Organization: Worcester Polytechnic Institute
Keywords:
I am looking for an inexpensive motorcycle, nothing fancy, have to be able to do all maintinence my self. looking in the <$400 range.
if you can help me out, GREAT!, please reply by e-mail.
From: myoakam@cis.ohio-state.edu (micah r yoakam)
Subject: BOAT for SALE
Organization: The Ohio State University Dept. of Computer and Info. Science
Lines: 14
Distribution: USA
Expires: +60days
NNTP-Posting-Host: eucalyptus.cis.ohio-state.edu
BOAT For SALE
1989 23' IMPERIAL FISHERMAN featuring
Walkaround Cuddy Cabin, 305 V8 with VOLVO DUO PROP OUTDRIVE /\/\/\/
AM-FM Cassette Stereo, VHF RADIO, 4x6 HUMMINGBIRD Fishfinder, ALL  Safty
equipment, Covers, and MUCH MORE.
18000 LB.  Capacity
includes Storage Trailer
Hardly used:  LESS Than 100 Hrs
Asking: $15,000 OR Best OFFER.
For Further information contact Gerald at 1-(419)-756-2950
Mansfield, OH
From: gt1706a@prism.gatech.EDU (Maureen L. Eagle)
Subject: WANTED Brother P-Touch
Article-I.D.: hydra.91500
Distribution: usa
Organization: Georgia Institute of Technology
Lines: 12
As it says, I'm interested in buying one of the little
label-makers, and I can't afford a new one.  Anybody
tired of theirs?
E-mail Maureen gt1706a@prism.gatech.edu
--
Maureen L. Eagle
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp:	  ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt1706a
Internet: gt1706a@prism.gatech.edu
From: Mike Diack <mike-d@staff.tc.umn.edu>
Subject: Make your own talking elevators !
X-Xxmessage-Id: <A7E6E68422016542@dialup-slip-1-66.gw.umn.edu>
X-Xxdate: Tue, 6 Apr 93 07:49:24 GMT
Nntp-Posting-Host: dialup-slip-1-66.gw.umn.edu
Organization: persian cat & carpet co.
X-Useragent: Nuntius v1.1.1d7
Lines: 7
Complete standalone system (no computer required) for burning
sound files into EPROMs - consists of :
Apollo Eprom programmer (designed specifically for this job - wont
do anything else)
Microphone
Logical Devices Eprom eraser (to wipe the mistakes)
Brand New - $230 + freight
From: jvinson@xsoft.xerox.com (Jeffrey A Vinson)
Subject: 4rent: timeshare week
Lines: 16
X-Received: by usenet.pa.dec.com; id AA02982; Mon, 5 Apr 93 11:54:26 -0700
X-Received: by inet-gw-1.pa.dec.com; id AA02009; Mon, 5 Apr 93 11:54:25 -0700
X-Received: from xsoft.xerox.com ([13.242.72.2]) by alpha.xerox.com with SMTP id <11671>; Mon, 5 Apr 1993 11:53:13 PDT
X-Received: from aerie ([13.242.56.32]) by xsoft.xerox.com (4.1/SMI-4.1)
id AA24096; Mon, 5 Apr 93 11:53:00 PDT
X-Received: by aerie (4.1/SMI-4.1)
id AA11021; Mon, 5 Apr 93 11:53:06 PDT
X-To: misc.forsale.usenet
Timeshare week for rent / must use before July / Best offer!!
Week can be "traded" to anywhere in the world (Hawaii, Austria,
Far East, U.S. etc.) under Interval International.
Will answer questions about that, and help you trade (we have
the paperwork and phone numbers in order to that).
Contact:
Jeff Vinson
vinson@migration.com
415.813.7492 (daytime or leave msg)
From: hungjenc@usc.edu (Hung-Jen Chen)
Subject: test
Article-I.D.: phakt.1pqgltINN9dg
Distribution: na
Organization: University of Southern California, Los Angeles, CA
test
Lines: 6
NNTP-Posting-Host: phakt.usc.edu
From: thouchin@cs.umr.edu (T. J. Houchin)
Subject: FOR SALE: FARENHEIT 1280 24bit
Article-I.D.: umr.1993Apr5.231308.3558
Distribution: usa
Organization: University of Missouri - Rolla
Lines: 12
Nntp-Posting-Host: mcs213c.cs.umr.edu
Originator: thouchin@mcs213c.cs.umr.edu
FOR SALE:
Orchid Fareheit 1280 24bit color card
-1 meg
-almost new
$200 or best offer
This is a post for a friend
Call him (Thuan Pho) at 314-368-3624
T.J. Houchin
From: kssimon@silver.ucs.indiana.edu (kenneth steven simon)
Subject: Re: Deal gone bad! What to do?
Summary: small claims - you have to be there
Nntp-Posting-Host: silver.ucs.indiana.edu
Organization: Indiana University
Lines: 24
rjkoppes@news.weeg.uiowa.edu (Randy Koppes) writes:
>Have you head of small claims.  You may have to put money up
>front for the filing fees, and then possibly having the local
>sheriff of his/her city to deliver the bad news.  In the end
>the other party will end up paying for his/her mistake with
>interest from the time of the filing to the pay date of the
>defendent
I think the problem with small claims court is that you have to go to
the location of the person you're taking action against.  It seems to
me the time and money involved in travelling out there (unless this
person is close to you) wouldn't be worth it for a small claim.
It really depends on how much money you're out.
If I am wrong about any of this, someone please correct me! ;)
--
-----------------------------------------------------------------
Kenneth Simon               Dept of Sociology, Indiana University
Internet: KSSIMON@INDIANA.EDU              Bitnet: KSSIMON@IUBACS
-----------------------------------------------------------------
From: gt0463b@prism.gatech.EDU (Michael Davis Smith)
Subject: REAL ESTATE SALE
Article-I.D.: hydra.91506
Organization: Georgia Institute of Technology
Lines: 71
RESIDENTIAL LOT FOR SALE
I have a nice residential lot available.  It is approx-
imately 1/2 acre in size.  It is located in the development
called Belvedere Plantation in Pender County, eastern North
Carolina, north of Wilmington.  The lot is near the Intra-
Coastal Waterway.  Golf and tennis are located on the
development property.  Belvedere Plantation also has a mar-
ina facility on the ICW.  This lot is nearby to all of the
facilities mentioned.
I own the lot outright but it does not look like I will
get back to the area anytime soon.  I would like to sell it
for that reason.  Make an offer.
If interested please send E-mail.
gt0463b@prism.gatech.edu.  - Mike Smith
--
Michael Davis Smith
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp:	  ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt0463b
Internet: gt0463b@prism.gatech.edu
From: re_sims@vax.cns.muskingum.edu
Subject: Misc. radio and related equipment
Organization: Muskingum College
Lines: 112
Lots of misc and radio related items for sale!
Still trying to lighten my load for moving!
Motorola VHF pager, digital, no voice or readout $15
2 Capacitor checkers
HP 200CD audio oscillator 5 hz to 600 Khz.
1200 feet + brand new 1/2" hardline for tv
with new connectors, this is in 5 pieces
lots of Gain mobile antennas for VHF and UHF
UHF *amp*, input on 75 Mhz in milliwatts and
output on 450 Mhz, 30 watts out. with service
manual, this came out of a Motorola mobilephone.
make reasonable offer. looking for $40 + shipping
or trade for?
RCA tac 300 UHF dash mount 2channel w/service
manual, great condition,  currently on GMRS
frequency 462.725 repeater and simplex with
PL of 151.4 hz
$100
Nobratron QR 75-2 power supply by Sorensen, w/service
manual, this is a 2 amp variable power supply, I
have used it at 80 vdc. weight is 45lbs  $45.
Motorola tone remote model #1926A, works great,
with monitor button, $75   This unit is used
to remote a base station with only two wires.
Also have tone remote board from Mitrek Super
consolette, make offer, could be used with
above remote! model #TRN-6744A w/schmetics
Both for $100.
Motorola Handhelds, MH-10 (4) w/charger, speaker
mic, leather case, currently on 34.830, w/dpl
DPL decks from Motorola moxy radios
very reasonable esp. if you take all, anyone
offer $10 each for all or trade for?
PL reeds, I have some (30 or so I think)
also dpl code plugs
e-mail if you need some or I will sell all
cheep.
Transmit tubes for GE radios, new in box.
5 DB gain UHF mobile antennas by motorola,
used, sold new for $90, make reasonable offer.
sell 3 for $45 + shipping
Motorcycle control head and cable with frequency
selector and speaker all in one, 4 channel, I
believe this came from a Micom.
Asking $20 + shipping
channel elements for motorola micor, mitrek, motrac
3 sets of vhf micor,
uhf micor, low band motrac, more
Mobile microphones for GE, Motorola, and RCA
reasonable offer.
Motorola DC remote adaptor model #TLN-1127apr
$75
I still have a few business band service manuals
esp. GE and Motorola, e-mail for details.
Phone restrict toll boxes (2) use quarters
DTMF mobile mic
GE Master Pro UHF mobile, not working, with accessories,
this is a trunk mount radio.  $20 + shipping
6' GE base cabinet w/19" rack
Duplexer cabinet from vhf duplexers
19" rack base cabinet, Johnson
HD satellite dish jack or arm
2 Spools multi-conductor wire, w/shield, thickness is approx 1/2"
GE Master pro mobile control heads and cables
Eagle model #2 level sensor, tells how full a container is
The above prices do not include shipping!
Some of the above items are pickup only because of
size or weight, locations is Eastern Ohio.
if interested e-mail me or you can call
Jim Sims sr. N4JDP  (614) 439-2177 before 9 PM Eastern
re_sims@vax.cns.muskingum.edu
From: pat@wrs.com (Patrick Boylan)
Subject: Airline ticket R/T between US/Canada and Europe/Carrib/LatinAm
Keywords: airline ticket
Lines: 69
Nntp-Posting-Host: delaware
Reply-To: pat@wrs.com
Organization: Wind River Systems
I have one round-trip ticket good for travel between USA or Canada and
Europe, Hawaii, Latin America, or the Caribbean.  It is fully transferable
and can be used originating here or there.
I had intended  to use it to visit my grandfather who was sick, but he died
before I got there so I have no use for it now.
I'm looking for $500 or best offer, but act fast it will be gone on April 15
no matter what.
-Patrick (pat@wrs.com)
From: beng@cae.wisc.edu (Beng Ting)
Subject: Madison/Chicago --> Italy Air Ticket Wanted
Keywords: Madison/Chicago, Milan, Italy
Article-I.D.: doug.1993Apr5.193913.14385
Organization: U of Wisconsin-Madison College of Engineering
Lines: 13
Hi,
I am looking for a round trip Madison/Chicago --> Milan (Italy)
air ticket. Anybody who has a transferable ticket but will
not use it please contact me at beng@cae.wisc.edu. Open-jaw
ticket highly desired.
Thank you.
B. T. Ting
beng@cae.wisc.edu
From: hgomez@magnus.acs.ohio-state.edu (Humberto L Gomez)
Subject: MULTISYNC 3D NEC MONITOR FOR SALE
Article-I.D.: magnus.1993Apr6.012451.3540
Distribution: usa
Organization: The Ohio State University
Lines: 8
Nntp-Posting-Host: magnusug.magnus.acs.ohio-state.edu
I have an NEC multisync 3d monitor for sale. great condition. looks new. it is
.28 dot pitch
SVGA monitor that syncs from 15-38khz
it is compatible with all aga amiga graphics modes.
leave message if interested. make an offer.
--
From: hungjenc@phakt.usc.edu (Hung-Jen Chen)
Subject: Forsale: Sony D-22 diskman
Article-I.D.: phakt.1pqm89INNja1
Distribution: na
Organization: University of Southern California, Los Angeles, CA
Lines: 4
NNTP-Posting-Host: phakt.usc.edu
Newsgroups: rec.audio,misc.forsale
Distribution: na
Subject: Forsale: Sony D-22 diskman
From: jmilhoan@magnus.acs.ohio-state.edu (JT)
Subject: *** NeXTstation 8/105 For Sale ***
Article-I.D.: magnus.1993Apr6.013611.3796
Distribution: usa
Organization: The Ohio State University
Lines: 32
Nntp-Posting-Host: bottom.magnus.acs.ohio-state.edu
NeXTstation 25MHz 68040 8/105
Moto 56001 DSP
Megapixel (perfect - no dimming or shaking)
keyboard/mouse (of course :)
2.1 installed
2.1 docs
Network and System Administration
User's Reference
Applications
The NeXT Book, by Bruce Webster (New Copy)
Black NeXTconnection modem cable
30 HD disks (10 still in unwrapped box, others for backing up
apps)
I NEED to sell this pronto to get a car (my engine locked up)!
Machine runs great... only used in my house.  Has been covered when
not in use on the days I wasn't around.
$2,300 INCLUDING Federal Express Second Day Air, OR best offer, COD to
your doorstep (within continental US)!!  I need to sell this NOW, so
if you don't agree with the price, make an offer, but within reason.
;)
Thanks,
JT
(please no letters asking me to donate for a tax break)
From: abou@dam.cee.clarkson.edu
Subject: Re: computer books for sale (UPDATED LIST)
Article-I.D.: news.1993Apr6.013433.16103
Organization: Clarkson University
Lines: 76
Nntp-Posting-Host: dam.cee.clarkson.edu
UPDATED  LIST
Hi everybody
I have the following books for sale. Some of these books are brand new.
If you find any book you like and need more information about it, please
feel free to send me an E-Mail. The buyers pays the shipping fees.
Thanks.
abou@sun.soe.clarkson.edu
========================================================================
TITLE   : Windows Programming: An Introduction
AUTHOR  : William H. Murray, III & Chris H. Pappas
PUBLISH.:  Osborne McGraw-Hill
pp.     : 650
COVER   : Soft
NOTE    : Covers up to Windows 3.0
ASKING  : $15
======================================================================
TITLE   : Harvard Graphics: The Complete Reference
AUTHOR  : Cary Jensen & Loy Anderson
PUBLISH.: Osborne McGraw-Hill
pp.     : 1073
COVER   : Soft
NOTE    : Covers Releases Through 2.3 & Draw Partner
ASKING  : $15
=======================================================================
TITLE   : High Performance Interactive Graphics: Modeling, Rendering,
and Animating
AUTHOR  : Lee Adams
PUBLISH.:Windcrest
pp.     : 402
COVER   : Soft
NOTE    : Full of examples programs in BASIC
ASKING  :$15
========================================================================
TITLE   : Science and Engineering Applications on the IBM PC
AUTHOR  : R. Severin
PUBLISH.: Abacus
pp.     : 262
COVER   : Soft
NOTE    : A lot of Examples in BASIC
ASKING  :$ 10
=========================================================================
TITLE   : Graphics for the Dot-Matrix Printer: How to Get Your Printer
to Perform Miracles
AUTHOR  : John W. Davenport
PUBLISH.: Simon & Schuster
pp.     : 461
COVER   : Soft
NOTE    : Full of examples Programs in BASIC
ASKING  : $10
==========================================================================
TITLE   : Programming With TURBO C
AUTHOR  : S. Scott Zimmerman & Beverly B. Zimmerman
PUBLISH.: Scott, Foresman and Co.
pp.     : 637
COVER   : Soft
NOTE    : Some of the pages are highlighted
ASKING  : $10
==========================================================================
TITLE   : Introduction to Computer Graphics
AUTHOR  : John Demel & Michael Miller
PUBLISH.: Brooks/Cole Engineering Division
pp.     : 427
COVER   : Soft
NOTE    : Example Programs in BASIC and Fortran
ASKING  : $10
==========================================================================
TITLE   : Hard Disk Mangement: The Pocket Reference
AUTHOR  : Kris Jamsa
PUBLISH.: Osborne McGraw-Hill
pp.     : 128
COVER   : Soft
NOTE    : Pocket Size
ASKING  : $ 4
==========================================================================
From: abou@dam.cee.clarkson.edu (Abou Bakr,Damon 317,268-6611,265-8419)
Subject: Re: Forsale and Wanted (HD/Fax/Typewriter)
Article-I.D.: news.1993Apr6.013847.16309
Organization: Clarkson University
Lines: 29
Nntp-Posting-Host: dam.cee.clarkson.edu
From article <1pf5qe$b3b@seven-up.East.Sun.COM>, by jorge@erex.East.Sun.COM (Jorge Lach - Sun BOS Hardware):
>
> I'm looking to *buy* the following items:
>
> Fax machine: a plain one, don't need any extras, just the basic model. Good
> 	working order only. These sell in stores for dirt cheap, so don't
> 	make me any offers like "it cost me $599 but I'll sell it for $400"
>
> PC-AT Hard Drive: MFM type, 40 Mbytes, half-height only. I have a Seagate
> 	ST-151 (3.5") on my machine, looking for same or similar type
>
>
> I have the following item for *sale*:
>
> Electronic Typewriter: Panasonic, with 22K memory, small LCD display. I'm
> 	selling it bundled with a Panasonic computer interface for this
> 	typewriter. You can connect it to any PC parallel port (sorry, no
> 	cable). It works perfect, even in Windows (TTY printer). It's
> 	great if you need to send letter with "typewriter look". In
> 	stand-alone mode it has 3 pitches, and several "effects" like
> 	underline, bold, overstrike. Built-in dictionary and character/word/
> 	line correction. Asking $150 for both the typewriter and the
> 	interface
>
> -------------------------------------------------------------------------------
> Jorge Lach			Sun Microsystems Computer Corporation
> Jorge.Lach@East.Sun.Com		East Coast Division, Chelmsford, MA
> -------------------------------------------------------------------------------
>
From: hungjenc@phakt.usc.edu (Hung-Jen Chen)
Subject: Forsale Sony D-22 discman
Article-I.D.: phakt.1pqnsjINNlmd
Organization: University of Southern California, Los Angeles, CA
Lines: 21
NNTP-Posting-Host: phakt.usc.edu
Sony D-22 portable Diskman forsale
Good condition, flawless.
Costomer AC adapter : 6v DC power supply ( tested 9v DC)
* The factory adapter was tested 12v DC (AC 110v input) at the
time I bought it three years ago. When using it, a lot of heat
was generated inside the CD machine. Of course I wouldn't use
it to risk this baby's life. Maybe that's why so many owners
always complain about their portable machine going kaput after
a short time usage.
* 9v DC factory suggested
LED display
asking $ 55  plus shipping, contact Harry if interested
From: creol@netcom.com
Subject: Intel memory board for sale
Article-I.D.: netcom.creolC51GrD.Ln6
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
Lines: 8
I have an Intel Above Board (16 bit) with 2 megs of ram
that I would like to sell ASAP. Please email me offers
if interested!
Thanks
Fred
From: mike@pyrdc.UUCP (Mike Whitman)
Subject: 49cm Womens bike for sale
Organization: Pyramid Technology, Government Systems
Lines: 29
I have the following bike for sale:
type:		Dave Scott Centurion 1989 model
size:		47 cm c-c
grouppo:	Shimano 105
cranks:		165 cm
pedals:		Shimano 105 P1050 with clips and straps
frame:		Tange II Double butted steel
gearing:	front: 52/42 rear: 24-22-19-17-15-13
seat:		Terry womens gel seat
computer:	Avocet 30
extras:		double water bottle cages
extra rear tire
24" front/700c rear setup
My wife is asking for $350 obo. Let me know if you are interested at the
address below. Thanks,
-- mike --
--
-=---------  Michael C. Whitman
---===-------  National System Engineer - Telecom
-----=====-----  Pyramid Technology Corporation
-------=======---  1921 Gallows Road, Suite 250
---------=========-  Vienna, VA 22182
Phone: (703) 848-2050	Pager: (800)sky-page pin# 45300
mike@pyrdc.va.pyramid.com -or- uunet!pyrdc!mike
From: gscott@b64542.STUDENT.CWRU.Edu (George Scott)
Subject: Roland D-50 For Sale
Organization: Case Western Reserve University, Cleveland, Ohio, USA
Lines: 18
Distribution: usa
NNTP-Posting-Host: b64542.student.cwru.edu
For sale:
Roland D-50: $700 or best offer.
Excellent condition.
Includes over 1000 patches on disk (In cakewalk sysex format)
Buyer must pay COD shipping.
Please e-mail responses to:
gms2@po.cwru.edu
Thanks.
George
--
George Scott (gscott@b64542.student.cwru.edu)
(gms2@po.cwru.edu)
From: rob@mother.bates.edu (Rob Spellman)
Subject: 3M DC6150s for sale
Organization: Bates College, Lewiston, ME
Lines: 10
We no longer use quarter inch tape for backups, and have a case of
unopened DC6150s for sale.  I'll sell the lot, or in boxes of 5 tapes
each.
--
Rob Spellman
rob@mother.bates.edu
Computing Support Services
Bates College
Subject: Books For Sale [Ann Arbor, MI]
From: david@ganglion.ann-arbor.mi.us (David Hwang)
Reply-To: david@ganglion.ann-arbor.mi.us
Distribution: na
Organization: D.J. Services
Lines: 68
BOOKS FOR SALE
================
Tally up any and all of the books you want and send me a message.
Shipping will be by US Mail Parcel Post/Book Rate.  Payment in advance
or COD accepted.
All books are in good to excellent condition.  Paperbacks, unless noted.
Quantity Discounts.
This list is updated continually.  The latest list can be requested by
e-mail. This list supercedes all previous lists.  Not responsible for typos.
!!!! = New To Listing  **** = Claimed, but not paid for yet
===============================================================================
David Hwang, Ann Arbor, Michigan                 david@ganglion.ann-arbor.mi.us
-------------------------------------------------------------------------------
List of: February 27, 1993
===============================================================================
Computers
---------
Using Wordperfect 5 (QUE, Stewart)............................... $10.00
Using Clipper (QUE, Tiley)....................................... $10.00
TRS-80 Assembly Language Programming [Barden].................... $ 1.00
57 Practical Programs & Games in Basic [Tracton]................. $ 1.00
First Book of Wordperfect 5.1 [Barnes]........................... $ 8.00
Corvettes
---------
1984-1986 Y Car Parts and Illustration Catalog [GM Manual]....... $ 7.50
Secrets of Corvette Detailing [Antonick]......................... $ 7.50
Eckler's Complete Guide to Corvette Fiberglass Repair............ $ 7.50
Corvette Owners' Workshop Manual [Haynes] [84-87]................ $ 7.50
Chevrolet Power Catalog [GM Manual] 6th. Edition................. $ 3.50
Corvette Driver/Owner Guide For 1953-1988 Models [Antonick]...... $ 7.50
Chevrolet Small Block V8 Speed Equipment Buyers Guide [Lamm]..... $10.00
Chilton's Easy Car Care, 2nd. Edition............................ $10.00
Medicine
--------
Ophthalmology Study Guide For Medical Students................... $ 4.00
Washington Manual or Medical Therapeutics, 26th. Ed.............. $10.00
Respiratory Physiology-The Essentials [West], 3rd. Ed............ $ 9.00
Langman's Medical Embryology, 5th. Ed. [Sadler] -hardcover-...... $18.00 SOLD
Essentials of Human Anatomy, 7th. Ed. [Woodburne] -hardcover-.... $18.00 SOLD
Cardiology Reference Book, 3rd Ed. [Kloner]...................... $ 4.00
Handbook of Antimicrobial Therapy 1992 [Mandell]................. $ 4.00
Guide to Antimicrobial Therapy 1991 [Sanford] ................... $ 1.00
--> or free with $10.00 of Med Books
Comprehensive Review of the Basic Sciences....................... $10.00 SOLD
How to Get Into Medical & Dental School, 3rd. Ed................. $ 2.00
Sexual Interactions [Allgeier], 2nd Ed. -hardcover-.............. $25.00
On Call: Principles and Protocols [Ruedy]........................ $ 9.00
Physicans' Desk Reference [PDR], 46th Ed., 1992 -hardcover-...... $10.00
Introduction to General Pathology [Spector], 2nd Ed. ............ $ 8.00
Medical School Admissions: Strategy For Success [Weschler] 1982.. $ 4.00
Getting Into Medical School [Brown] 1981 ........................ $ 1.00
Ten Point Plan For College Acceptance [Graham] 1981 ............. $ 2.00
Other
-----
College Accounting, 9th Ed., 1972 [Carson] -hardcover-........... $ 2.00
--
David W. Hwang, M.D.           //    University of Michigan Medical School
1050 Wall Street, Suite 10C   //           Telephone: 313/663-5557
Ann Arbor, Michigan 48105    //    Internet: david@ganglion.ann-arbor.mi.us
Subject: Music for sale...
From: jpurcell@vax1.umkc.edu (The force is strong with you...but you are not a Jedi yet.)
Reply-To: jpurcell@vax1.umkc.edu (The force is strong with you...but you are not a Jedi yet.)
Organization: University of Missouri - Kansas City
NNTP-Posting-Host: vax1.umkc.edu
Lines: 23
THe following listed tapes are priced to sell.  A friend of mine wants
to get rid of them, so let's just have some bids, why don't we?
All Are Tapes, BTW.
AC/DC 		Back in Black  		good condition
Razor's edge   		excellent
Poison 		Open up and... 		Excellent
Flesh & Blood  		Excellent
Guns & Roses    Appetite for Destr..    Fair
Use your Ill.  #1	good
USe your Ill.  #2	good
Skid Row	Bside ourselves		Tape OK, Case cracked
Slave to the grind	excellent
Jackyl		Jackyl			Excellent
Bon Jovi	Keep the Faith(single)  Excellent
THis is for her, not for me...
Jason
From: gregh@hprnd.rose.hp.com (Greg Holdren)
Subject: 40 Meg IDE Harddrive
Organization: Hewlett Packard Roseville Site
Lines: 12
NNTP-Posting-Host: hprnd.rose.hp.com
X-Newsreader: TIN [version 1.1 PL8.8]
Western Digital 3.5" IDE 40 Meg Hard drive.
$95 or BO.
+ shipping
Greg Holdren  (916)785-7481
gregh@hprnd.rose.hp.com
geh@mothra.rose.hp.com
From: srfergu@rufus.erenj.com (Scott Ferguson)
Subject: Re: What's wrong with this picture?
Nntp-Posting-Host: rufus.erenj.com
Organization: Exxon Research & Engineering Co.
Lines: 20
In article <1993Apr3.152922.12050@iscsvax.uni.edu>, harter5255@iscsvax.uni.edu writes:
|> Fellow netters,
|>
|> Is anybody awake out there?  When someone posted a message telling people to
|> stop posting computer ads to the misc.forsale group, he got about thirty
|> response here, not to mention the rash of E-Mail I'm sure he received.  Yet,
|> another person posts a message with the subject line "blow me" and an even
|> worse text, and only 3 or 4 people have the guts to say anything.  The majority
Not to mention the thread about selling someone's wife. I am a guy, therefore
not overly bummed by it, but a little common sense would dictate that this
is offensive to many women, and not really necessary.
--
----------------------------------------------------------------------
Scott Ferguson                        Exxon Research & Engineering Co.
Project Engineer                      New Jersey
----------------------------------------------------------------------
All opinions, not official view of Exxon.
"I must ask the question...are we going to play Stonehenge tonight?"
From: tlin@badger.Berkeley.EDU (Tony Lin)
Subject: WANTED:  SPI's "War of the Ring"
Organization: Statistics Dept., U. C. Berkeley
Lines: 9
Distribution: world
NNTP-Posting-Host: badger.berkeley.edu
The subject line says it all -- I'm trying to locate a copy of SPI's
board game "War of the Ring."  Anyone have a copy with which they are
willing to part?
Thanks a million ...
-- Tony
(tlin@stat.berkeley.edu)
From: jiml@strauss.FtCollinsCO.NCR.COM (Jim L)
Subject: Need Sharp 6220, T2000 parts, information
Distribution: world
Organization: NCR Microelectronics Products Division (an AT&T Company)
Lines: 23
I'm looking for a Sharp 6220 or TI Travelmate 2000 for parts.  Mine has
a bad RAM chip on the motherboard and I want to see what I can get for
parts before sending it off to Sharp for repairs.  If you have one,
drop me a line.
Also, I'm trying to set one up for a friend who needs to read his old
5 1/4 inch diskettes.  Anyone have the pinout of the diskette expansion
connector on the back of the 3.5 inch floppy box?
If you respond, please include a phone number. I can't always get through
with email.
As always,
Thanks,
Jim Lewczyk
--
Mailer address is buggy!  Reply to: jiml@strauss.FtCollinsCO.NCR.com
James Lewczyk                                   1-303-223-5100 x9267
NCR-MPD Fort Collins, CO             jim.lewczyk@FtCollinsCO.NCR.COM
From: martimer@bigwpi.WPI.EDU (jonathan Sawitsky)
Subject: Re: What's wrong with this picture?
Organization: Worcester Polytechnic Institute
Lines: 25
NNTP-Posting-Host: bigwpi.wpi.edu
In article <1993Apr5.203212.28284@erenj.com> srfergu@rufus.erenj.com (Scott Ferguson) writes:
>In article <1993Apr3.152922.12050@iscsvax.uni.edu>, harter5255@iscsvax.uni.edu writes:
>|> Fellow netters,
>|>
>|> Is anybody awake out there?  When someone posted a message telling people to
>|> stop posting computer ads to the misc.forsale group, he got about thirty
>|> response here, not to mention the rash of E-Mail I'm sure he received.  Yet,
>|> another person posts a message with the subject line "blow me" and an even
>|> worse text, and only 3 or 4 people have the guts to say anything.  The majority
>
>Not to mention the thread about selling someone's wife. I am a guy, therefore
>not overly bummed by it, but a little common sense would dictate that this
>is offensive to many women, and not really necessary.
>
Good point, but I was just thinking.. I wanted to sell my HP28sx
calculator here in this newsgroup... It is called a calculator, but really
it is a computer, albeit a small one, but it does function as one... How
come car adds are acceptable? They cant run without computers nowadays....
Where does one draw the line? Accept it, live with it, and if you care to,
avoid it....
jonathan
--
I have lots of common sense...
I just choose to ignore it....     Calvin
..jonathan Sawitsky       'some random wierdo'         martimer@wpi.wpi.edu...
From: sponna@eos.ncsu.edu (SRIKANTH  PONNAPALLI)
Subject: Super Scope6 for sale (SNES)
Organization: North Carolina State University
Lines: 17
Hello folks, I've a super scope 6 for sale, it comes with a
CRT and all boxes and instructions included $50 shipping included.
I got that only a month back and used only twice.
--
,,,                                ,,,
(o o)                              (o o)
_______oOO__(_)__OOo______________________oOO__(_)__OOo________
|                               |                               |
|  Srikanth Ponnapalli          |      E-mail address:          |
|      PoBox: 5604,             |                               |
|  Raleigh N.C. 27650-5604      |      sponna@eos.ncsu.edu      |
|  Phone:(919) 781-5448         |      ponna-s@aza.csc.ncsu.edu |
|  (after 9:00 pm)              |      sponnapa@math.ncsu.edu   |
|                               |                               |
_______________________________________________________________
(__)    (__)                       (__)    (__)
From: nmohan@opal.tufts.edu
Subject: SALE-CANON EOS ELAN OUTFIT
Lines: 28
Organization: Tufts University - Medford, MA
FOR SALE
CANON EOS ELAN OUTFIT
INCLUDED
-EOS elan body
-28-80 mm EF 1:3.5-5.6 USM lens
-100-300 mm EF 1:4.%-5.6 USM lens
-2 B&W UV filters
-Hoya circular polarising filter
-Canon RC-1 remote controller
-Pentax lens cloth
-Lowe Pro camera bag
-Galen Rowell Photoflex lens bag
-Sapre lithium battery
-Hove Foto bokk user guide to Canon EOS elan
All as new condition
The whole lot $800 (firm)
Contact David 617-227-7326
617-956-6905
Please do not e-mail your queries. All talks only by phone.
Subject: Re: Value of Kathy St.Pat'sDay stand?
From: bjbartlett@miavx1.acs.muohio.edu (Bart)
Organization: Shady Rest Home
Lines: 10
In article <dsblack.733712807@pv6807.vincent.iastate.edu>, dsblack@iastate.edu (Vilkata TDK) writes:
> I heard on one of these newsgroups a week or two ago that the Kathy Ireland
> Budweiser posters were popular.  There are supposedly half-size and life-size
> posters.  Well, someone I know got a life-size stand-up cardboard (thick, damn
> good quality) one, and was wondering what it was worth.  Anybody?
What about the St. Pat. posters from last year?  I have a stack of about
twenty, and two of the card-board cutouts.  (No, they are NOT for sale, I
collect them.)
From: vvl2h@galen.med.Virginia.EDU (Victor V. Levenson)
Subject: HELP: How to get a SCUMSTER
Summary: Need advice
Keywords: HD, cash/check, no delivery
Organization: University of Virginia
Distribution: usa
Lines: 34
Hi, everyone;
I need an advice on what is the best way to get a scumster.
Several weeks ago I posted an article on behalf of a friend who wanted
an external HD for mac. The scumster - R.E.P. - called my friend and
they agreed on a price. My friend (unexperienced and not too fluent in
English) paid by check, requesting R.E.P. to call him back when the check
arrives and the HD is send. Well, the check was cashed 3/24 and that is
that. Phone # that R.E.P. gave is on the answering machine all the time
and there is no reaction when the message is left; e-mail address does not
bounce but again there is no answer. I know, that R.E.P. is a student at
University of Delaware; I have his e-mail address, his US postal address
and his (?) phone#. The question is: WHAT IS THE BEST WAY TO PROCEED?
Thanks in advance for any advice.
Sincerely,
Victor Levenson (VVL2H@virginia.edu)
P.S. The reason I did not put R.E.P.'s full name is that I still hope...
P.P.S. If I get enough responses I will post a summary, maybe even on a
regular basis.
VL
--
====================================
Dr.Victor V.Levenson               Tel (804) 924 2370 lab
Dept. of Biochemistry              Internet VVL2H@virginia.edu
From: coutsoft@cheshire.oxy.edu (Michael Coutsoftides)
Subject: Sampler for Sale
Organization: Occidental College, Los Angeles, CA.  USA
Lines: 17
Ok people, I really need to sell this sampler to pay off bills, so
I'm even going to include 3 sample cds worth at least 200 separately in
this deal.....
It's an Emax II with standard memory and 16 bit stereo sampling
It's rackmount and has at least 24 voice pol., It's got a brand new
Connor (sp.?) 170 meg internal scsi drive (4 wk old, never used)
it works perfect and runs perfect. In addition access to a friends
sound library of over 1gig of sounds is available... All this for
only $1600.. The sample cd's are based on dance/house/techno stuff.
Email or call 213-341-4425
thanks
Mike
From: stxtnt@rs733.GSFC.NASA.Gov (Nigel Tzeng)
Subject: Re: << AMIGA 3000, etc FOR SALE >> as of 4/2/93
In-Reply-To: dwilson@csugrad.cs.vt.edu's message of 2 Apr 93 20:09:59 GMT
Organization: Goddard Space Flight Center, Greenbelt, Md, USA
Lines: 26
In article <1pi6in$isg@csugrad.cs.vt.edu> dwilson@csugrad.cs.vt.edu (David Wilson) writes:
~~~~~~~~~~FOR SALE as of 5PM 4/02/93~~~~~~~~~~
1       AMIGA 3000UX    25mhz, unix compatible machine w/100 meg Hard
Drive, 4 meg RAM, no monitor, keyboard (ESC and ~ keys
broken)
ASKING PRICE:   $1700 OBO.
Mind my asking why you're selling a used machine with a damaged
keyboard for the about the same price as a brand new A4000/030
(A4000-EC030/4 megs/120meg IDE HD/HD Floppy/v3.0 OS - $1899)?
I'd like to get an A3000 locally for something reasonable like less
than 1K without monitor.  Brand new the A3000-25mhz/50 meg HD/HD
floppy/2.1 ROM isn't running for more than $1400 or so.
Considering it's damaged, probabably has a real old version of the OS
I'll offer $700.  Don't laugh...my A2000 isn't worth more than
$250-$300 these days.
N. Tzeng
--
Nigel Tzeng
.sig under construction
From: Doug <usergdef@um.cc.umich.edu>
Subject: Re: For Sale: Book of Life multi-volume book set unopened
Organization: University of Michigan
Lines: 6
Distribution: world
NNTP-Posting-Host: 141.211.110.79
X-UserAgent: Nuntius v1.1.1d17
X-XXDate: Mon, 5 Apr 93 23:26:58 GMT
I was wrong! I guess they are closer to $800 new! I will
probably still sell them for the above implied $300 obo.
Email me if you want more specifics. This is a really
attractive set of books, kind of a Bible encyclopedia set.
Also email me if you know more about these books or post
the information here.
From: khiet@crystallizer.ecn.purdue.edu (Peter Thanh Khiet Vu)
Subject: Wanted: AIRCONDITIONER
Keywords: WANTED
Organization: Purdue University Engineering Computer Network
Lines: 4
I am looking for a good used window air conditioner.  A small
one is preffered.  Call 495-2056 (Peter) and we'll talk about it.
Or email me.  "khiet@cn.ecn"
From: khiet@crystallizer.ecn.purdue.edu (Peter Thanh Khiet Vu)
Subject: WANTED:  FUTON
Keywords: WANTED:  FUTON
Organization: Purdue University Engineering Computer Network
Lines: 5
I am looking for a large futon and frame.
call Peter 495-2056
or e-mail me "khiet@cn.ecn"
From: radley@gibbs.oit.unc.edu (Keith Radley)
Subject: Misc Electronic Eqpt
Summary: electronics for sale
Nntp-Posting-Host: gibbs.oit.unc.edu
Organization: University of North Carolina at Chapel Hill
Distribution: usa
Lines: 20
Panasonic KX-T3000H, Combo black cordless & speaker phone all in one.
new- $160, now- $100 + shipping OBO.
Curtis Mathes VHS VCR Remote included and it works with universal remotes.
Works great but I replaced it with a Stereo VCR.
paid $300 years ago, will sell for $125 delivered OBO.
Radio Shack stereo amp.  2 inputs, tone, and left and right volume.  Speakers
not included.  $20 plus shipping.
If you are interested in either of the above mail me at
radley@gibbs.out.unc.edu.
_
_  //       Major: Computer Science              /<eith Radley
\\//        Minor:     English              Radley@gibbs.oit.unc.edu
\/      Computer:   AMIGA 3000           University of North Carolina
From: cxs2341@ultb.isc.rit.edu (C.X. Sawran)
Subject: Bernoulli 44 Removeable SCSI Drive & Disks
Nntp-Posting-Host: ultb-gw.isc.rit.edu
Organization: Rochester Institute of Technology
Distribution: usa
Storage space for sale:
Iomega 44 MB removeable HD for sale w/ 16 cartridges.
Total storage space comes out to be about 750 MB.  6 cartridges still in
original shrinkwrapping, unused.  Note:  this is NOT compatible with
SysQuest 45 cartridges.
SCSI interface required... plugs right into the back of Macintoshes,
but I don't have a controller for the IBM.  All utilities I have for it
are for the Mac.  If you have a Mac, then this is for you!  I have a
ton of software on these disks that I don't use anymore, because I sold
my mac system.  Stuff included:  Most of the PD stuff from info-mac
site, LOTS of GIF's, and LOTS of sound effects.  (1 entire disk with
just sounds)
I am asking $900 for all, plus shipping.
For more information, send me mail (cxs2341@ultb.isc.rit.edu) or call
(716) 427-0701... ask for Sawran
cheers
chris
cxs2341@ultb.isc.rit.edu
cxs2341@ritvax.isc.rit.edu
From: radley@gibbs.oit.unc.edu (Keith Radley)
Subject: Electronics
Summary: here they are
Nntp-Posting-Host: gibbs.oit.unc.edu
Organization: University of North Carolina at Chapel Hill
Distribution: usa
Lines: 20
Panasonic KX-T3000H, Combo black cordless & speaker phone all in one.
new- $160, now- $100 + shipping OBO.
Curtis Mathes VHS VCR Remote included and it works with universal remotes.
Works great but I replaced it with a Stereo VCR.
paid $300 years ago, will sell for $125 delivered OBO.
Radio Shack stereo amp.  2 inputs, tone, and left and right volume.  Speakers
not included.  $20 plus shipping.
If you are interested in either of the above mail me at
radley@gibbs.out.unc.edu.
_
_  //       Major: Computer Science              /<eith Radley
\\//        Minor:     English              Radley@gibbs.oit.unc.edu
\/      Computer:   AMIGA 3000           University of North Carolina
From: bpang@tuba.calpoly.edu (Brennan Lawrence Pang)
Subject: Hard drives, etc... for sale
Organization: California Polytechnic State University, San Luis Obispo
Lines: 35
HARD DRIVES: (all drives include manuals, warranty)
------------
Fujitsu 1.2 GIGabyte SCSI hard drive
$1000
Quantum 240 MEG SCSI prodrive
$350
Fujitsu 90 MEG SCSI hard drive
$175
Apple "zero footprint" hard drive case with power supply
$75
ACCELLERATED VIDEO:
-------------------
Apple 8/24GC (accellerated) graphics card with software (init)
Millions of colors, FAST!
$700
HARDCOPY:
---------
Apple Imagewriter II printer with spare print head (these aren't cheap)
$300
FAX machine: 9600 baud with leather travel case and many other accessories
$200
To discuss the purchase of any of these items, call John at (408) 268-1769
If you get the answering machine, please leave a message with your name and
phone number, letting me know which piece you are interested in.
John
(408) 268-1769
DO NOT REPLY TO THIS ACCOUNT!
From: Tami Grudzinski <tg2n+@andrew.cmu.edu>
Subject: Your Custom Resume on Disk!!
Organization: Freshman, Mathematics, Carnegie Mellon, Pittsburgh, PA
Lines: 29
NNTP-Posting-Host: po5.andrew.cmu.edu
Your Custom Resume On Disk!
*Macintosh or IBM compatible!*
Never pay the high cost of copy service again. We will completely
develop and format your custom resume package and mail you the disk or
transmit the information via electronic mail within 48 hours! With over
25 years experience in  the employment industry and a member of the
National Resume Writer's Association you can leave the burden of
developing your resume to us!  You can easily custom edit all
information to target each company and position.
Complete $40.00 package includes:
-> Custom developed resume
-> Custom cover letter
-> Custom follow-up letter
-> Custom interview thank you letter
-> Custom job acceptance letter
-> Custom job decline letter
-> Custom resignation letter
Laser printed copies on high-quality paper available upon request.
Contact Vicki Burns via:
E-mail:  tg2n@unix.andrew.cmu.edu
Telephone: (216) 493-6303
From: pfc@jungle.genrad.com (Paul F. Cappucci)
Subject: Seagate Hard Drive Forsale
Organization: GenRad, Inc.
Lines: 10
NNTP-Posting-Host: jungle.genrad.com
Brand new never been used Seagate ST351 A/X 40meg hard drive forsale.
Paid $135 (includes mounting brackets).
I bought it and then ended up buying a new computer.
BRO takes it.
From: pat@wrs.com (Patrick Boylan)
Subject: 1985.5 Porsche 944
Keywords: porsche 944
Lines: 69
Nntp-Posting-Host: delaware
Reply-To: pat@wrs.com
Organization: Wind River Systems
Distribution: usa
1985.5 Porsche 944
- Turbo trim (spoilers)
- graphite black
- all around excellent condition
- removable factory sunroof
- leather interior
- new A/C
- new timing belt
- bra
- 90k miles
$9900 OBO
- Patrick
--
Patrick Boylan, - Wind River Systems, Alameda, CA - pat@wrs.com
From: srscnslt@telesciences.com (SRS Consultant)
Subject: Bunch-O-PC-Stuff for sale
Organization: TeleSciences CO Systems, Inc.
Distribution: na
Lines: 35
Got a few things I want to get rid of...
Paradise EGA480/Casper EGA Monitor
1 12 MHz '286 motherboard (DRAM/SIPP)
1 16 MHz '286 momboard (DRAM only)
1 Hayes "Prodigy special" 2400b external modem
1 1Meg SIPP
1 256K SIPP
about 2 Megs DRAM (I believe there's 1M of 120ns, and one of 100 or
80ns, but not absolutely sure).
Also have an XT with 640K, serial board, Hercules board and amber
monitor.  The only thing this system is missing is the power supply.
Make an offer on any/all of this stuff, and thanx for contributing
to Mitch's V.32bis modem fund.
Mitch
NOTE:  Cross-posted to several forsale froups; followups redirected back to me!
There's a reason for that - I don't read these groups.
--
Mitch Gorman	srscnslt@telesciences.com	"Things are not what they seem."
"Through a crack in Mother Earth,
Blazing hot, the molten rock spills out over the land.
And the lava's the lover who licks your boots away..."
From: radley@gibbs.oit.unc.edu (Keith Radley)
Subject: Electronics
Summary: new address
Nntp-Posting-Host: gibbs.oit.unc.edu
Organization: University of North Carolina at Chapel Hill
Distribution: usa
Lines: 21
Panasonic KX-T3000H, Combo black cordless & speaker phone all in one.
new- $160, now- $100 + shipping OBO.
Curtis Mathes VHS VCR Remote included and it works with universal remotes.
Works great but I replaced it with a Stereo VCR.
paid $300 years ago, will sell for $125 delivered OBO.
Radio Shack stereo amp.  2 inputs, tone, and left and right volume.  Speakers
not included.  $20 plus shipping.
If you are interested in either of the above mail me at
radley@gibbs.oit.unc.edu or call me, Keith, at 919-968-7779.
PS- I made a type on my email address the first posting.  It is now correct.
_
_  //       Major: Computer Science              /<eith Radley
\\//        Minor:     English              Radley@gibbs.oit.unc.edu
\/      Computer:   AMIGA 3000           University of North Carolina
From: hatton@socrates.ucsf.edu (Tom Hatton)
Subject: Re: Microsoft DOS 6.0 Upgrade for sale
Organization: UCSF Computer Graphics Lab
Lines: 19
adn6285@ritvax.isc.rit.edu writes:
>In article <1pctnfINN6dp@eve.usc.edu>, yuanchie@eve.usc.edu (Yuan-Chieh Hsu) writes:
>>	MS DOS 6.0 Upgrade for sale	best offer over $45
>>	(opened, unregistered)
>So, does anyone care to enlighten us whether DOS6.0 is worth upgrading to?
>How good is it's compression, and can it be turned on/off at will?
>Any other nice/nasty features?
According to reports, if you don't have DOS yet, and don't have any
utilities (QEMM, Stacker, PCTools, Norton, ...) then DOS6 may be worth it.
For people who have DOS5, and some sort of utility, DOS6 doesn't offer
much. You'd never know it from the usual hype that marketing is able
to create, however. :-)
--
Tom Hatton
hatton@cgl.ucsf.edu
(415)-476-8693
From: isifisher@aol.com
Subject: FAX VIA E-MAIL
Article-I.D.: aol.9304060119.tn29392
Organization: UTexas Mail-to-News Gateway
Lines: 57
NNTP-Posting-Host: cs.utexas.edu
Finally a fax service to all Internet users in the continental U.S. without
prepayment of any kind. This service is provided by Information System
International based in Fishers, Indiana at isifisher@aol.com. As an Internet
user, your credit has been automatically approved. So you can start sending
faxes RIGHT NOW.
1. How to send a fax
To use this service, e-mail to: isifisher@aol.com in the following format:
-Your name
-Your phone number
-Your mailing address
- the number you send fax to
- the recipient's name and company
- the address and phone number of the recipient (optional)
=====================================
- fax content
Your fax will be sent out within 24 hours. Every fax will include a standard
cover sheet free of charge which contains: (1) your name; (2) your phone
number; (3) your address; (4) the recipient's name and company.
Upon sending out your fax, a receipt will be sent for your record.
IMPORTANT: If this is your first time to use the fax service, you MUST
include the following paragraph at the beginning of your e-mail:
I hereby authorize Information System International to open a fax account
for me. I agree to pay all charges incurred upon receiving my monthly bill..
2. What format is acceptable
Only plain ASCII format and Rich Text Format (RTF) are acceptable.
(1) For plain ASCII format, Times New Roman fonts of 12-point size will be
used.
(2) For RTF format, your fax document will appear exactly the same as it
would appear on your local laser printer. In almost all word processing
software on PC, Mackintosh, Sun workstation, etc., you can save your document
in RTF format.
3. How to pay
The first time you use our fax service, we will open an account for you
under your name. You will be billed each month if you have a balance or when
your balance has been over $50.00 - whichever comes first.
4. Cost
The cost for continental U.S (excluding Hawaii & Alaska) is only $1.50 for
the first page, $0.75 for each additional page. Each fax will include a cover
sheet which is free.
If you plan to use this service, you should save the entire
text posted above.
Subject: Price quote wanted
From: sam.halperin@cccbbs.UUCP (Sam Halperin)
Reply-To: sam.halperin@cccbbs.UUCP (Sam Halperin)
Distribution: world
Organization: Cincinnati Computer Connection - Cincinnati, OH - 513-752-1055
Lines: 46
From: sam.halperin@cccbbs.uceng
486 DX 50 mHz in Zero Insertion Force Socket
Empty over-drive socket
EISA motherboard with 256k cache
-->2 32 bit EISA Slots
-->2 32 bit VESA local bus slots
-->4 16 bit ISA slots
8 MB 70ns RAM
-->8 SIMMS sockets filled with 1mb strips (0 sockets open)
32 bit EISA IDE hard drive controller
330 Meg IDE hard disk drive w/ 64k cache (12ms)
Diamond Viper Weitek 9000 VESA local bus graphics card w/ 2mb
15" MAG MX15F monitor
2 Serial(NS16550AFN UART), 1 parralell & 1 game ports
Full tower case
-->250 Watt power supply
-->5 X 5.25" bays
-->2 X 3.5" bays
-->2 X Hard Drive bays
1.2MB 5.25" & 1.33MB 3.5" Floppy Drives
Enhanced 101 key keyboard
Hi-Resolution 400 DPI Serial Mouse
MS DOS 5.0 and MS Windows 3.1 or newer
AMI BIOS
Joint Data Motherboard
30 Day Money Back Gaurantee
Unconditional 2 Year Parts Warranty
Lifetime Labor Warranty
One year Nationwide on site service
This system is currently availble from Comtrade, the company that
won some of the highest (over dell, gateway and IBM) awards in
recent PC magazine reviews.  Your price must be highly
competitive, without sacrificing any of the quality standards
listed above.
PLEASE RESPOND TO sam.halperin@cccbbs.uceng
VIA E-MAIL
From: wchau@acsu.buffalo.edu (Wun-Chun Chau)
Subject: MFM controller, copy card for sale
Organization: UB
Lines: 13
Nntp-Posting-Host: buttercup.eng.buffalo.edu
16 bit MFM FD/HD controller 	- $25/b.o.
copy card w/ software and cable	- $30/b.o.
(can copy any protected software)
if interested, please reply to this account
--
==wun-chun Chau===============================What a crazy world!=============
INTERNET:wchau@eng.buffalo.edu UUCP: ...!{rutgers,uunet}!cs.buffalo.edu!wchau
INTERNET:wchau@cs.buffalo.edu  BITNET: wchau%cs.buffalo.edu@ubvm.bitnet
===============Do you want to die young? If you know what I mean :) ==========
From: ll12@quads.uchicago.edu (li  liu)
Subject: Florida vacation package forsale
Article-I.D.: midway.1993Apr6.060213.211
Reply-To: ll12@midway.uchicago.edu
Organization: University of Chicago
Lines: 24
The package is called Sun and Sand, it includes:
--5 days/ 4 nights(2+2) accommodations in Orlando and Daytona beach;
--hotels are selected from major hotel chains and family resorts;
--two adults and up to three children;
--fully transferable;
--expires at 09/93, $20 for extention of one more year;
--it needs a 45 days advance reservation (esp. for peak season),
the reservation department will offer a coupon book which may
give you saving up to $150.
--price: I bought it for $199, which is a good deal for peak
seasons. For now, I will not turn down any reasonable offers.
must sell.
It doesn't include transportation. And you have to pay $3/day for hotel
tax.
Please e-mail your respond.
From: jmilhoan@magnus.acs.ohio-state.edu (JT)
Subject: Re: Your Custom Resume on Disk!!
Nntp-Posting-Host: bottom.magnus.acs.ohio-state.edu
Organization: The Ohio State University
Lines: 11
In article <0fk=zHq00Uh_88eb0u@andrew.cmu.edu> Tami Grudzinski <tg2n+@andrew.cmu.edu> writes:
>                       Your Custom Resume On Disk!
>
>                     *Macintosh or IBM compatible!*
>
>	   Never pay the high cost of copy service again. We will completely
>develop and format your custom resume package and mail you the disk or
> [blah blah blah deleted]
Who's "We"?  Carnegie Mellon?
From: curry@doe.carleton.ca (Simon Curry)
Subject: House for Sale, Mediterranean Coast Spain
Summary: House for Sale in Javea, Alicante, Spain
Keywords: House, seaside,Spain
Organization: Dept. of Electronics, Carleton University
Lines: 35
Mediterranean Investment property for Sale
------------------------------------------
Javea, Alicante Spain (Costa Blanca)
Villa on a large lot in the wooded (pine) hills "above the noise".
2 bedrooms, living-dining room + glassed-in sun-porch; kitchen &
bathroom. Large lot surrounded by traditional white wall with
wrought iron gates: room for an in-ground pool. 2 minutes from the
sea and supermarket; 10 minutes from town and full amenities. Area
has specially favourable microclimate, mentioned in a WHO climate
report.
Seat (Fiat) runabout Car, 3 years old may be included, in the deal.
Ideal for retirement or as a family holiday resort.
Must sell for family reasons.
Asking $150,000.
Reply by EMAIL or call Canada (613)591-0507
---------------------------------------------------------------------
Simon Curry, Executive Director                   Tele: (613)991-9001
The Royal Society of Canada                       Fax:  (613)991-6996
PO Box 9734, Ottawa K1G 5J4              Email: curry@doe.carleton.ca
--
---------------------------------------------------------------------
Simon Curry                                       Tele: (613)991-9001
The Royal Society of Canada                       Fax:  (613)991-6996
PO Box 9734, Ottawa K1G 5J4              Email: curry@doe.carleton.ca
From: dietrijj@mentor.cc.purdue.edu (dietrijj)
Subject: delay/sampler
Organization: Purdue University Computing Center
Lines: 8
Hey!  I am interested in buying a digital delay pedal, preferably
capable of sampling and infinite repeat.  (If you're familiar
with Phil Keaggy, I want to mimic, or at least as close as possible,
what he does in concert, i.e., click the pedal, play something, click
it again, and what he played between clicks repeats infinitely while
he playes leads over it)  Anyway, let me know.....
-Jason			dietrijj@mentor.cc.purdue.edu
From: Wil.Chin@launchpad.unc.edu (Wilson Chin)
Subject: Re: DATman for sale.
Nntp-Posting-Host: lambada.oit.unc.edu
Organization: University of North Carolina Extended Bulletin Board Service
Lines: 19
In article <bdavisC4yuM3.K3J@netcom.com> bdavis@netcom.com (Bryan Davis)
writes:
>Sony TCD-D3 DAT walkman for sale.  Hardly used, still under
>warrantee.  Comes with optical digital input/output as well as standard
>RCA analog cables. Includes recharable battery, charger, and AC adaptor.
>$650.00 or best offer.
Just to inform the readers of newsrc Sony has just introduced a new DATman,
the TCD-D7 which is smaller and less expensive than the D3.  Also, the D7
has a coaxial jack which the D3 lacks.  Oh, the D3 has always been
available through mail-order houses for less than $700 dollars new... with
the new model coming out, I suspect the now obsolete D3 will be selling for
even less.
--
The opinions expressed are not necessarily those of the University of
North Carolina at Chapel Hill, the Campus Office for Information
Technology, or the Experimental Bulletin Board Service.
internet:  laUNChpad.unc.edu or 152.2.22.80
From: jlange%radian@natinst.com (John Lange)
Subject: WANTED: Used audio mixer
Distribution: usa
Nntp-Posting-Host: zippy.radian.com
Organization: Radian Corporation, Austin, Texas
Lines: 9
I'm looking for a used/inexpensive audio mixer.  I need at least
4 channels of stereo input and 1 channel of stereo output, but I would
prefer 8 or more input channels.  Each channel needs to have at least a
volume control.  I'll consider buying broken equipment.  The mixer needs
to be fairly small (I haven't got a lot of space for it).
John Lange (jlange@zippy.radian.com)
Radian Corp. (512)454-4797      Box 201088      Austin, TX 78720-1088
From: Hans Meyer <hmmeyer@silver.ucs.indiana.edu>
Subject: Logitech Scanman 256
Organization: Indiana University
Lines: 15
I would like to sell my Logitech Hand-held 256 Gray Scale Scanner. I
originally bought it as a toy and have no practical use for it. Hardly
ever used it.
Package includes:
-board
-Scan-Mate software
-Ansel Image Editing software
-All original manuals, box, etc.
Originally bought for $350 in Jan '92.
Selling for $150.
If interested, let me know.
-Hans Meyer
From: suresh@pa.dec.com (Suresh Balasubramanian)
Subject: *****Twin Size Mattress/BoxSprng/Frame for SALE $75*****
Organization: Digital Equipment Corporation
Lines: 29
Distribution: ba
NNTP-Posting-Host: tmax4.pa.dec.com
!-*-!-*-!-*-!-*-!-*-!-*-!-*-!-*-!-*-!-*-!-*-!-*-!-*-!-*-!-*-!-!-*-!-*-!-!-*-!-*!
Twin Size - Mattress, Box Spring and Frame for SALE.
** Medico-Pedic [type of mattress?]
** Excellent condition
** 2 yrs old
** Well maintained
-- You come and pick it up, stuff is located in PaloAlto
Asking for: $75
Contact:
Suresh
(415)-617-3522 [W]
(415)-324-9553 [H]
E-Mail: suresh@pa.dec.com
!-*-!-*-!-*-!-*-!-*-!-*-!-*-!-*-!-*-!-*-!-*-!-*-!-*-!-*-!-*-!-!-*-!-*-!-!-*-!-*!
--
o o o o o o o . . .   ______________________________ _____=======_||____
o      _____           ||Suresh Balasubramanian      | |suresh@pa.dec.com|
.][__n_n_|DD[  ====_____  |Digital Equipment Corp.     | | (415) 617-3522  |
>(________|__|_[_________]_|____________________________|_|_________________|
From: hickson@pop.psu.edu (Darryl Hickson)
Subject: 16 Space Rack FOR SALE (Lower Price)
Article-I.D.: genesis.1prc8l$u63
Distribution: usa
Organization: Penn State Population Research Institute
Lines: 7
NNTP-Posting-Host: zelinski.pop.psu.edu
I am posting this message for a friend of mine who does not have a computer
account, if you have any questions please call Dan at (814)238-1804.
Equipment Rack For Sale
=======================
16 space EIA rack(19 in), carpet covered, on wheels.
$125 + shipping
From: hickson@pop.psu.edu (Darryl Hickson)
Subject: DJ Equipment, NES Carts, Cordless Phone FOR SALE (Lower Prices)
Article-I.D.: genesis.1prc95$u10
Distribution: usa
Organization: Penn State Population Research Institute
Lines: 35
NNTP-Posting-Host: zelinski.pop.psu.edu
I have a few things to sell. All items are in great condition. All
prices include shipping. If you have any questions contact me by
E-Mail or call me at (814)234-4439.
Darryl
DJ Equipment
=======================================================================
- Mixer Case (with pop-up rails)                                    $60
- (2) Patch Cords (3 meters, Gold Tips)                             $15
Records
=======================================================================
Casualties Of War (12 inch single)        Eric B. & Rakim            $2
Get Some (12 inch single)                 EYC & Boo-Ya Tribe         $2
Black's Magic                             Salt & Pepa                $2
Heart Break                               New Edition                $2
The Right Stuff                           Vanessa Williams           $2
Misc
=======================================================================
Toshiba FT6000 Cordless Phone                                       $50
Books (Each book is priced as marked)
=======================================================================
1. Microcomputers For Management       P. Fuhrman & G. Buck         $5
Decison Making (1st Edition)
2. Statistics: A fresh Approach        D. Sanders, R. Eng &         $5
A. Murph
3. Quantitative Approaches to          R. Levin, D. Rubin &         $5
Management                          J. Stinson
From: jb@access.digex.com (John Baker)
Subject: FOR SALE: U.S. Robotics 2400 baud modem  $25/OBO
Article-I.D.: access.1prf3a$kn3
Distribution: na
Organization: Express Access Online Communications, Greenbelt, MD USA
Lines: 12
NNTP-Posting-Host: access.digex.net
I am upgrading my computer systems to FAX modems, and am selling my
2 2400/1200/300 baud USR modems without FAX or error correction.
One is internal ($25), the other is external ($30).
Both are U.S. Robotics (the highest rated modem manufacturer).
Add $4 shipping or pick up in the Washington DC area.
Offers welcome.  (I would trade either for a 1x3x70ns SIMM.)
John Baker
From: jamiller@kuhub.cc.ukans.edu
Subject: 4 Sale: Computer misc, books, RPG stuff, etc.y
Article-I.D.: kuhub.1993Apr6.004808.48862
Organization: University of Kansas Academic Computing Services
Lines: 85
In article <1993Apr6.004325.48859@kuhub.cc.ukans.edu>, jamiller@kuhub.cc.ukans.edu writes:
> The following are for sale (duh...:)
>
> Golden Image 400dpi B&W Hand Scanner & Dpaint III
> 	$70
>
> Amiga Vision - mulitmedia authorizing software
> 	$30
>
> Baud Bandit - terminal communication software
> 	$10
>
> The Bard's Tale III: Thief of Fate - graphic RPG
> 	$15
>
> F-29 Retaliator - flight simulator
> 	$15
>
> Future Wars - fantasy/scifi graphic RPG
> 	$15
>
> RVF Honda - Motocycle simulation
> 	$10
>
> Patlabor Ingram and Phantom Labor models - Japanese Anime models
> 	$15
>
> Robotech RPG books (English):
>
> The Ingrid Invasion
> 	$10
>
> Southern Cross
> 	$10
>
> Battletech Books (English):
>
> The Fox's Teeth: Exploits of McKinnon's Raiders
> 	$5
>
> Gray Death Legion
> 	$5
>
> Mercenary's Handbook
> 	$15
>
> CityTech
> 	$15
>
> Aerotech
> 	$15
>
> Mechwarrior
> 	$15
>
> AD&D Books:
>
> Monster Manual
> 	$5
>
> Monster Manual II
> 	$5
>
> Fiend Folio
> 	$5
>
> Lots of books in Japanese and English on subjects of: Japanese
> Culture, Asian Art History, Japanese Language, Socio-linguistics,
> Ethnography, Linguistics, Physics, Calculaus (Menum and Folis), Unix
> and Amiga Programming, Economics (Micro, Macro, Intl. Trade & Finance,
> American Economic Development), and Philosophy (Language, Ethics,
> Cognition, Science).  If there's something you think you might be
> interested in let me know and I'll tell you what I have.
> --
> jamiller@kuhub.cc.ukans.edu
> James Miller
>
> _chicchai .sig no ho ga ichiban iin janai ka..._
>              Enlightenment Happens?
--
jamiller@kuhub.cc.ukans.edu
James Miller
_chicchai .sig no ho ga ichiban iin janai ka..._
Enlightenment Happens?
From: mace@kilowatt.UUCP (Mace)
Subject: Intel 96oo Ex Modem
Organization: Kilowatt Computers, Deer Park, LI
Lines: 12
For Sale:
Intel 96oo Baud Modem
External
V32/V42bis
Very Good Working Condition
Never had any problems
$160 oBo
Leave daytime number for fastest response.
The Kilowatt BBS - Deer Park, LI NY
From: davis@b11.b11.ingr.com (Chris Davis)
Subject: For Sale or Trade: IBM Games
Organization: Intergraph Corp. Huntsville, AL
Lines: 29
***** IBM GAMES FOR SALE OR TRADE *****
o ADVENTURE
Eric the Unready -- Legend -- $35
King's Quest V -- Sierra -- CD-ROM edition -- $35
o SPORTS
Michael Jordan In Flight -- Electronic Arts -- $35
Mike Ditka's Ultimate Football -- Accolade -- $30
David Ledbetter's Greens -- Microprose -- $30
o STRATEGY
Risk -- Virgin -- $10
This software comes with all original packaging and manuals.
Price includes ground shipping to continental US.
I will trade for current games; send me your list...
--
chris davis
ccdavis@nuwave.b11.ingr.com
205-730-6236
From: fields@cis.ohio-state.edu (jonathan david fields)
Subject: Misc. Stuff for Sale
Article-I.D.: penguin.1po5lqINN749
Distribution: usa
Organization: The Ohio State University Dept. of Computer and Info. Science
Lines: 46
NNTP-Posting-Host: penguin.cis.ohio-state.edu
Misc. Items for sale:
Walkman:  Aiwa Model HS-T30, 1 year old, mint condition, hardly used,
autoreverse, 3 band Equalizer, Super Bass, Dolby Noise Reduction,
AM FM tuner..........Paid $70.......Asking $40+shipping.
Mount Plate:  Sony Model CPM-203P, mounting plate for Sony portable CD players
for Portable: plugs into car lighter, snaps onto the bottom of any Sony
CD Player:    Portable CD player, perfect condition. Will also throw in a
cassette adapter in SO SO condition.
Paid $45...............Asking $30+shipping.
AM FM:	    Factory Stereo from Toyota with AM FM radio, autoreverse cassette
Cassette:   deck, digital tuning, like new condition only in car 6 months,
Car Stereo: Asking $60+shipping.
Car Speakers:	Sherwood 5 1/4" two way car speakers, in car for 7 months,
5 1/4 inch:	excellent condition, Paid $65............Asking $40+shipping.
4 inch:	    Factory Speakers from Toyota excellent condition
Asking $20+shipping.
Nintendo:   Nintendo Game Boy, Light Boy, Tetris, Super Mario Land,
Gameboy:    NFL Football, Castlevania Adventure, Hyper Lode Runner, 4 years
+ games:    old	all in working condition, Asking $70+shipping.
Accessories:
Whole Internet:	The Whole Internet: User's Guide and Catalog by ED Krol,
book:		guide to using the internet, where to fing information and
resources.   Paid $30..........Asking $20+shipping.
MicroSoft:    Never Used, came with my computer, Asking $ 60+shipping.
Visual Basic:
MicroSoft:  For Windows, never used, came with my computer,
Quick C:    Sells new Student edition for $95............Asking $70+shipping.
Please resond to fields@cis.ohio-state.edu
Thanks,
Jonathan D. Fields
From: clim@cis.ohio-state.edu (chia-fang lim)
Subject: Vacation
Organization: The Ohio State University Dept. of Computer and Info. Science
Lines: 24
Distribution: usa
NNTP-Posting-Host: maple.cis.ohio-state.edu
Hi netters,
I have the following  vacation  packages  for  sale:
1>  Bahamas  Vacation.
2  round  trip  tickets to freeport,  Grand Bahamas.
Double  occupancy, hotel accomodation.
at  $ 27  per person  per  night.
2>  Orlando Florida  +
Las  Vegas  +
Reno/ Lake Tahoe  Vacation
One round trip airline ticket.
(from  major  US  airports to the 3 of the above mentioned
destinations)
Hotel  Accomodation  for 1 or 2 people.
(for 3 days/ 2 Nights).
For  those  who  are  interested,
drop  me  a mail  at  clim@cis.ohio-state.edu.
From: dtmedin@catbyte.b30.ingr.com (Dave Medin)
Subject: Re: Shipping costs
Reply-To: dtmedin@catbyte.b30.ingr.com
Organization: Intergraph Corporation, Huntsville AL
Lines: 71
In article <1pd24e$745@usenet.INS.CWRU.Edu>, kxj6@po.CWRU.Edu (Kijin Jung) writes:
|>
|> In a previous article, tomc@arezzo.oas.olivetti.com (Tom Carlino) says:
|>
|> >Recently I bought a musical instrument through the internet and had
|> >it shipped to me via UPS ground. The shipping was done through a
|> >mail box service, Mailboxes, Etc.  Being somewhat surprised at the
|> >price, I compared prices of shipping this way to shipping directly
|> >through UPS and this is a summary.  I am not making any endorsements
|> >or condemnations but merely presenting the facts from which you may
|> >draw your own conclusions.
|> >
|>
|> I've encountered the same thing with Mailboxes, Etc. and I suggest
|> anyone to use the original UPS service if at all possible. Shipping
|> to Virginia from Cleveland was around $20 for 12 pounds, and C.O.D.
|> was $8.00, as opposed to $4.50 for UPS.
I'll third the opinion about this outfit/franchise. Now, when I
buy over the net and pick up the shipping costs, I'll specify that I
only pick up the normal UPS charges (as if delivered directly to
UPS), as I've been burned by $10 shipping charges for a $2.49 pkg.
I will never use a mailing service unless I don't have the
right box and the buyer needs whatever IMMEDIATELY. I'll also
tell the person, if they agreed to pick up shipping, what is going on.
Other things to watch out for/consider:
The rates are $5 to $30 higher than UPS direct.
For a non-UPS (truck) package, they quoted a rate
of $85. Fed Ex economy air was only $85 for the
same weight! RPS (a trucking package company, in many
cities) only wanted $18. Guess who got it. The Mailbox
operator told me I was not telling the truth about
competitors' rates, said RPS was unreliable (I've used them
before with NO problems), etc. Right.
A COD check goes to the mailing service. Our local
Mailbox then takes its sweet time mailing me the
remade check. All this for an additional $3.00 over the
UPS COD charge. What a deal.... :-)
For packages over $100, they charge you about double over
what UPS charges them for insurance. I've never had
a claim, but other netters (is Ralph Seguin out there?)
have told horror stories about them...
All package traces have to be done through Mailbox by
Mailbox.
Our local Mailbox operator told me I was lying when I
asked him why their rates were stratospheric compared
to direct UPS. Does he ever check? Probably not...
Their UPS ground rates come close to Fed Ex's economy
air rate, and Fed Ex will pick up!
UPS will pick up for a $5 charge in most areas!
--
--------------------------------------------------------------------
Dave Medin			Phone:	(205) 730-3169 (w)
SSD--Networking				(205) 837-1174 (h)
Intergraph Corp.
M/S GD3004 		Internet: dtmedin@catbyte.b30.ingr.com
Huntsville, AL 35894		UUCP:  ...uunet!ingr!b30!catbyte!dtmedin
******* Everywhere You Look (at least around my office) *******
* The opinions expressed here are mine (or those of my machine)
From: Arthur_Noguerola@vos.stratus.com
Subject: HEAVY METAL (the magazine) for sale (NOT the MUSIC)
Organization: Stratus Computer Inc, Marlboro MA
Lines: 19
NNTP-Posting-Host: m21.eng.stratus.com
I  am  cleaning  out  the coffers.  I have a virtually
MINT collection of HEAVY METAL magazine.  This is  NOT
a  music  mag  but the really neato mag with Giger and
Moebius  artwork,  et  al.  Jam  packed  with  amazing
sci-fi  and  fantasy artwork by many masters.  All are
mint with the exception of the 3 that have split  seam
on  the  cover  only but are otherwise perfect, no cut
outs or missing pages.  I have Sep, Nov and Dec issues
for 1978, ALL issues for 1979, 1980, 1981, 1982,  1983
and  Jan  thru  Sep  for  1984  (72  issues  in  all i
believe).  I will not break  them  up.  They  will  be
sold  as  a  single  lot.  Send  your  offers  to  me.
Shipping not included,  these  are  pretty  heavy.  Of
course  if  you are local (Mass, USA) you can come get
'em in person.
arthur_noguerola@vos.stratus.com
From: Arthur_Noguerola@vos.stratus.com
Subject: FOR SALE: Old JAZZ magazines
Organization: Stratus Computer Inc, Marlboro MA
Lines: 40
NNTP-Posting-Host: m21.eng.stratus.com
The  following  jazz  magazines  will  go for the best
OFFER  received.  Shipping  not  included,  these  are
pretty  heavy.  Of course if you are local (Mass, USA)
you can come get 'em  in  person.  All  are  in  GREAT
condition!!  These  will  go  as  one lot.  I will not
break them up.
Metronome   -  Sep  1947, Feb  1948, June 1948,
Nov  1950, Dec  1950, June 1952
Nov  1953
Downbeat    -  Jan 15,1947 (was newspaper sized..folded)
Jan 18,1962, Feb 15,1962, Dec 19,1963,
Mar 12,1964, Apr  9,1964, May  7,1964,
May 21,1964, Jun  4,1964, Jul 16,1964,
Sep 10,1964, Dec 17,1964, Dec 31,1964,
Aug 26,1965, Oct  7,1965, Oct 21,1965,
Dec 16,1965, Dec 30,1965, Jan 13,1966,
Apr 21,1966, Jul 28,1966, Sep  8,1966,
Dec 29,1966, Feb  9,1967, Feb 23,1967,
Jun 15,1967, Nov 15,1967, Apr  4,1968,
Aug  8,1968, Sep  5,1968, Oct  3,1968,
Oct 31,1968, Feb  6,1969, Mar  6,1969,
May 15,1969, Jun 12,1969, Jul 10,1969,
Jul 24,1969, Aug 21,1969, Sep  4,1969,
Dec  2,1969, May 14,1970, May 28,1970,
Jun 11,1970, Jun 25,1970, Jul  9,1970,
Aug 19,1971, Mar 15,1973, Mar 29,1973,
May 10,1973, May 24,1973, Nov 1985
Also  I  will  toss in (free):
Jazz Journal (Feb 1979,Apr 1979) and
CODA Magazine (Jun 1985, Dec 1985)
arthur_noguerola@vos.stratus.com
From: AGRGB@ASUACAD.BITNET
Subject: Re: CDs priced for immediate sale
Article-I.D.: ASUACAD.93096.004253AGRGB
Organization: Arizona State University
Lines: 10
Hey now,
The following cds are still available. Offers/trades considered.
Gowan - Lost Brotherhood
Katrina & the Waves - Break of Hearts
Joe Cocker - Live
Charles Neville - Diversity
Thanks,  Rich
From: st1g9@rosie.uh.edu (Lee Preimesberger)
Subject: Re: Microsoft DOS 6.0 Upgrade for sale
Article-I.D.: rosie.5APR199322063854
Distribution: world
Organization: University of Houston
Lines: 26
NNTP-Posting-Host: rosie.uh.edu
News-Software: VAX/VMS VNEWS 1.41
In article <hatton.733706165@cgl.ucsf.edu>, hatton@socrates.ucsf.edu (Tom Hatton) writes...
#adn6285@ritvax.isc.rit.edu writes:
#>So, does anyone care to enlighten us whether DOS6.0 is worth upgrading to?
#>How good is it's compression, and can it be turned on/off at will?
#>Any other nice/nasty features?
#
#According to reports, if you don't have DOS yet, and don't have any
#utilities (QEMM, Stacker, PCTools, Norton, ...) then DOS6 may be worth it.
#For people who have DOS5, and some sort of utility, DOS6 doesn't offer
#much. You'd never know it from the usual hype that marketing is able
#to create, however. :-)
IMHO, it seems to be worth the $40 to upgrade.  DoubleSpace seems a bit
saner than Stacker 2.0 (which I've replaced).  MemMaker is nowhere near as
aggressive as QEMM, but it doesn't hose my system like QEMM did (at least
it hasn't yet).  Microsoft AntiVirus is just the latest version (or a
reasonably recent one) of CPAV - mine was very aged, so this was quite welcome.
MS-DOS 6.0 ain't the end all, be all of operating systems - but it's
better than a sharp stick in the eye, unless you happen to be into that sort
of thing.  :-)
Lee Preimesberger
st1g9@jetson.uh.edu ----- Undergraduate Scum ----- University of Houston, USA
********
"There is freedom of choice for every choice but mine."
From: daw@jhunix.hcf.jhu.edu (Dave Webb)
Subject: Mattel Electronics Baseball for sale or trade.. BEST OFFER
Article-I.D.: jhunix.1ps2nbINN3m1
Distribution: na
Organization: Homewood Academic Computing, Johns Hopkins University, Baltimore, Md, USA
Lines: 9
NNTP-Posting-Host: jhunix.hcf.jhu.edu
If anyone's still interested, I have ONE Mattel electronic game left for sale
or trade. It's Baseball (Tan Case) and includes a 9-volt battery and the
original manual!  I was able to sell Soccer and Basketball 2 for $70.00 and
traded the Football game for a Genesis cart...  so, I was happy.  I will
entertain all offers.. cash or Genesis carts...  By the way, Baseball is in
Excellent condition and works perfectly..
Thanx in advance,
Dave
From: pcwood@astro.ocis.temple.edu (Paul Wood)
Subject: Re: Forsale:  GENESIS GAMES
Organization: Temple University
Lines: 20
Nntp-Posting-Host: astro.ocis.temple.edu
X-Newsreader: TIN [version 1.1 PL8]
Kelvin Williams (kwill@lunatix.uucp) wrote:
: 	These games are forsale (or trade):
: 			* Sonic Hedgehog II (two copies)
: 			  + manuals and cases ..
: 			$25 each..
: 			(brand new!)_
Hello, I am interested in Sonic II but when I send to the address below
I get mail bounced back with "Host unknow" error.
: 	Please reply to : kwill@lunatix.UUCP
: 		(subject: games)
--
-=( Paul Wood )=-
-=( pcwood@astro.ocis.temple.edu )=-
From: 02106@ravel.udel.edu (Samuel Ross)
Subject: Tech Books for sale!!! Cheap!!!
Nntp-Posting-Host: ravel.udel.edu
Organization: University of Delaware
Distribution: usa
Lines: 26
SOMEONE PLEASE BUY THESE BOOKS!!!!!  I AM NOT ASKING MUCH!!!!!!
LIQUIDATION!!!!!! Send me your offer!  No reasonable offer refused!
First come first served! I JUST WANT TO GET RID OF THESE BOOKS!!!
JUST MAKE ME AN OFFER!!!!!
* Calculus w/ Analytic Geometry by Authur B. Simon (copyright date 1982), below avg condition but still readable!  Give me $8 (shipping incl) and its yours!
* Writing good software in Fortran, Graham Smith.  $12 (shipp incl)
* General Chemistry Principles & Modern Applications, R. Petrucci, fourth
edition.  Big Book! (this book + following 2 books $20 for all 3!!)
* Solutions manual for Chemistry book.
* Study guide for Chemistry book.
Send me your offers via email at 02106@chopin.udel.edu
Sam
02106@chopin.udel.edu
From: donald@dswalker.EBay.Sun.COM (Don Walker)
Subject: Items for SALE
Article-I.D.: male.1ps3s4$6g
Reply-To: donald@dswalker.EBay.Sun.COM
Distribution: world
Organization: Sun Microsystems, Inc.
Lines: 19
NNTP-Posting-Host: dswalker.ebay.sun.com
ITEMS FOR SALE
1. Howard Miller Clock. It chimes like a grandfather clock. $250
2. Painting- A Tiger in the snow. It is a beautiful painting, the tiger
looks like it can jump off of the canvas and get you. $200
3. Mens Diamond Ring, size 10 - $500
a. 3 rows of diamonds
b. 18k gold
Call or email me.
Donald Walker
hm 408-263-3709
wk 408-276-3618
From: mgengelb@cs.ruu.nl (Marcel Engelbertink)
Subject: NO MORE ROLEX-IMITATIONS
Organization: Utrecht University, Dept. of Computer Science
Lines: 28
Jammer !
Dit is geen fantastische advertentie over nep-rolexen
maar een evenzo duidelijke mededeling hieromtrent :
Aangezien het alleen al aanbieden van deze horloges onder
vermelding van de echte merknaam niet geheel correct is,
wil ik met dit bericht duidelijk maken dat ik, Marcel Engelbertink,
niet meer zal adverteren met imitatie-horloges van het merk ROLEX.
Enig persoon die hierin geiinteresseerd is kan ik jammer genoeg ook niet
meer helpen.
For all the foreign people who can't even understand dutch ?!? :
In spite of earlier mailing about fake-rolex's, I announce that I
don't have any information available any longer and I won't use
the trade name ROLEX anymore for those fake models.
Yours fakefully,
M.G. Engelbertink
From: kohli@ecs.umass.edu
Subject: Mazda GLC for Sale.
Lines: 5
Want to sell a 1980 MAZDA GLC for $300 or b.o. Excellent working condition. Just
passed inspection. Has a sun roof. No marks on body.
Contact soon kohli@ecs.umass.edu or (413_549-4738.
kohli
From: Feng.Qian@launchpad.unc.edu (Feng Qian)
Subject: IRWIN 250 owners: don't miss this deal on tapes
Article-I.D.: samba.1993Apr6.152232.28010
Organization: University of North Carolina Extended Bulletin Board Service
Lines: 16
Nntp-Posting-Host: lambada.oit.unc.edu
IRWIN suggests the use of pre-formatted tapes for their tape drives, as
you often can't successfully format a tape and need  bulk-erase it before
you can format it again. Anyway, I have some new, preformatted tapes for
IRWIN 250 tape drives.
IRWIN accuTRAK series 120-250MB, $16/ea. New never used.
3M DC2120, RHOMAT Format.  $16/ea. Wraped.
Email if interested.
Feng
--
The opinions expressed are not necessarily those of the University of
North Carolina at Chapel Hill, the Campus Office for Information
Technology, or the Experimental Bulletin Board Service.
internet:  laUNChpad.unc.edu or 152.2.22.80
From: daw@jhunix.hcf.jhu.edu (Dave Webb)
Subject: Gameboy games: Trade for Genesis, Game Gear or Gameboy Games (Uupdate)
Organization: Homewood Academic Computing, Johns Hopkins University, Baltimore, Md, USA
Lines: 30
Distribution: na
NNTP-Posting-Host: jhunix.hcf.jhu.edu
I have the following GameBoy Games available for TRADE!
Pitfighter
Metroid II
Bases Loaded
Blades Of Steel
Malibu Beach Volleyball
World Cup Soccer
Tennis..
Spiderman
Robocop
Motocross Maniacs
Double Dribble 5 on 5 Basketball
Looking for:
Genesis Games
Missile Command (Gameboy)
Game Gear games
Please leave e-mail if interested!
Thanx
Dave Webb
P.S.
I'm still waiting to hear from Allen Thoren Jr. about trading MB Volleyball for
Missile Command... Please get in touch.
Also waiting to hear from Raul (rombh@cunyvm.cuny.edu) about Genesis trade...
From: mellis@magnus.acs.ohio-state.edu (Michael E Ellis)
Subject: **Web of Spiderman--Auction Update**
Summary: Auction update
Keywords: High bid at 52.00
Article-I.D.: magnus.1993Apr6.155739.14712
Distribution: usa
Organization: The Ohio State University
Lines: 30
Nntp-Posting-Host: top.magnus.acs.ohio-state.edu
Web of Spiderman--Auction List
ISSUES #1-92, ANNUALS 1-7
This set will be auctioned as a complete set (if there is enough interest).
The books have been quickly evaluated for grade.
All books are VF+ to NM unless noted below (These were ascertained when putting
the books into new bags with boards (2 books per bag)):
2-small dinks in spine; 4-spine slightly rolled; 5-2 small crease in front
cover, dinks in spine; 13-slight tear-edge front cover; 14-spine dinged up;
15-cover/pages crinkled from humidity; 19-crinkled form water damage; 21-cover
not flat; 22-shipping smudge on cover; 28-spine dinked up; 30-3 small dinks in
spine; 33-spine dinks; 35-tiny crease top left corner of cover; 38-dinks in
spine; 43-paper clip mark; 45- 2 small spine dinks; 47-slight spine roll, spine
dinks; 52-back cover crease; 92-cover wrinkled; Annual 1-slight spine roll,
cover marks
CURRENT HIGH BID: 52.00                     BIDDER: Jon (jon@tivoli...)
The successful bidder (assuming there is one) will have the books sent UPS,
COD-cash or money order.  $6.50 will be added to the total successful bid to
cover these charges, so bid accordingly.
Thanks
Mike
From: tligman@bgsu.edu (Simurgh)
Subject: Nintendo games and control deck
Article-I.D.: andy.C52JzL.DD4
Distribution: na
Organization: Bowling Green State Univ.
Lines: 35
Forsale:
Nintendo control Deck with two controllers and gun, one controller has
grips attached.
the NES will only connect to a composite monitor or TV with audio and
video RCA Input jacks and needs some repairs.
25$ or best offer
games for sale
15$  Tecmo Baseball
15$  Techmo Bowl
15$  Double Dribble
15$  Wayne Gretzky Hockey
15$  Golf
10$  Super Mario/Duck Hunt
15$  Super Mario II
20$  Super Mario III
15$  Teenage Mutant Ninja Turtles the Arcade game
15$  MegaMan 3
10$  Toobin'
10$  Spelunker
25$  Tecmo Super Bowl
============
175$ total, I'll give all of them to you for the best offer and throw
in the control deck...
I'll also accept the best offer for each of the games individually.
the oldest of these is two years old, most of them are less than a year old.
Email at tligman@andy.bgsu.edu
Phone at 1 (419) 372-5954
--
-Tom
<<<>>>Warning, signature under construction, ENTER at your own RISC<<<>>>
From: eric@enterprise.bih.harvard.edu (Eric J. Hansen)
Subject: Preamp and CD player forsale in MA
Article-I.D.: cheever.eric-060493114735
Organization: Center for Clinical Computing - Boston, MA.
Lines: 28
Forsale:
Proton P1100 preamplifier
========================= About 3.5 years old, originally $299, asking $150
or best offer.  Has inputs for tape 1, tape 2, CD, phono, video and tuner.
Separate listen and record selectors.  Bass EQ, subharmonic filter and mono
switch.  High quality volume potentiometer.  In excellent condition, with
original boxes and manual.
Sony D-88 portable Diskman
========================== This is the one designed to play the mini CD's.
You can play normal size CDs, but the disk sticks out the side.  Works
well,
but may skip occasionally - it should be tuned up (heads aligned, cleaned,
etc.)  In excellent condition.  It has not been used all that much.  With
carrying case.  Original list was (I think) $300, but I'll take $80 or best
offer.  It would be good for an office or just to sit on your desk.
Please email me <eric@enterprise.bih.harvard.edu> or telephone at
(617) 278-0068.
Eric
*---------------------------------------------------------------------*
| Eric J. Hansen .................... eric@enterprise.bih.harvard.edu |
| Center for Clinical Computing .......... Boston, MA  (617) 732-5925 |
| .... DOS/Mac programming, Ultrix administration, general chaos .... |
*---------------------------------------------------------------------*
From: glazier@isr.harvard.edu (Andrew Baker Glazier)
Subject: Re: HEAVY METAL (the magazine) for sale (NOT the MUSIC)
Article-I.D.: burrhus.1993Apr6.151840.3953
Organization: Harvard University, Cambridge, MA
Lines: 23
In article <1prs2t$eqp@transfer.stratus.com> Arthur_Noguerola@vos.stratus.com writes:
>
>          I  am  cleaning  out  the coffers.  I have a virtually
>          MINT collection of HEAVY METAL magazine.  This is  NOT
>          a  music  mag  but the really neato mag with Giger and
>          Moebius  artwork,  et  al.  Jam  packed  with  amazing
>          sci-fi  and  fantasy artwork by many masters.  All are
>          mint with the exception of the 3 that have split  seam
>          on  the  cover  only but are otherwise perfect, no cut
>          outs or missing pages.  I have Sep, Nov and Dec issues
>          for 1978, ALL issues for 1979, 1980, 1981, 1982,  1983
>          and  Jan  thru  Sep  for  1984  (72  issues  in  all i
>          believe).  I will not break  them  up.  They  will  be
>          sold  as  a  single  lot.  Send  your  offers  to  me.
>          Shipping not included,  these  are  pretty  heavy.  Of
>          course  if  you are local (Mass, USA) you can come get
>          'em in person.
>
>                      arthur_noguerola@vos.stratus.com
If you send offers to this guy, keep in mind that you can get mint back
issues from the publisher for $4 - $5 plus shipping, all except the very
first 2 or three issues.
From: delliott@access.digex.com (David N. Elliott)
Subject: Computer Stuff for sale
Article-I.D.: access.1psb9r$j8e
Distribution: usa
Organization: Express Access Online Communications, Greenbelt, MD USA
Lines: 25
NNTP-Posting-Host: access.digex.net
For sale in the Baltimore - DC Area
One Mac 2X 8/80 with Radius 24 Bit Color Dual Page display and adapter
Microtek 300Z color scanner
QMS ColorScript 10 Color Postscript Printer
2400 Baud Modem
Dyanfile with 360 K and 1.2Meg Floppies
30 Software packages including Pagemaker, Quark Express, Style, Photoshop, etc
$7000 OBO
One Compaq LTE 286 with internal modem and 1.5 Meg ram 20 Hard drive
$750 OBO
One Compaq SLT 286 with 5 Meg ram and 40 Meg Hard drive
$950 OBO
One Compaq 386N motherboard only Make an offer
this has just returned from Compaq Service.
Six Muxes with 9600 Baud modems built in.  Make an offer
20 S-100 CPU from a Multi-user TurboDos system Offer
Contact Elliott @ (703) 329-7773 office (410) 992-1734 Home
or delliott@digex.com internet
From: jrm@cbnews.cb.att.com (john.r.miller)
Subject: Humminbird Depth Sounder forsale
Keywords: sale depth
Article-I.D.: cbnews.1993Apr6.173100.11729
Distribution: na
Organization: AT&T
Lines: 34
Hi,
I have a Humminbird HDR200 Depth Sounder for sale. It
has been used for 1 season on my sailboat.
All parts are included as well as the installation
instructions. It is even packed in the original box it came in. There
is no damage to the unit or the transducer. In fact, the transducer
was mounted *inside* the hull in a piece of pipe glued to the hull.
So it led a "sheltered" life. The transducer can be mounted either inside
the hull as I did, or on the transom. It cannot be placed in a hole
drilled into your hull.
It is fully waterproof and fits into a 2" hole in a bulkhead
(that's where I had it installed) or into a standard dashboard on a
powerboat. It reads depth to 199' and has a backlit LCD display. It has
an adjustable shallow water alarm built in.
I am changing out my instruments to another manufacturer that
outputs the NMEA 0183 information. This little depth sounder works fine
and is very stable.
It is usually priced as low as 130$ in some catalogs, I paid 150$.
The first 80$ takes it, or best offer.
John R. Miller
Catalina 22, #4909 "Tinker Toy"
From: pnelson@minnow.rutgers.edu (warmonger)
Subject: South Jersey Condo
Keywords: forsale condo jersey
Article-I.D.: minnow.Apr.6.14.09.43.1993.15566
Organization: Rutgers Univ., New Brunswick, N.J.
Lines: 37
I have recently graduated and am looking to move into a bigger house,
leaving me with a condo to sell...  It was originally listed at
59,000, but is now listed at $54,900.  The following is a list of
features.
Master Bedroom 	14x11
Bedroom		11x10
Living Room	16x13
Dining Room	10x9
Kitchen		9x11 w/ extra cabinets
1 Full / Modern Bathroom
Full wtw carpeting /new/ excluding bath, Oil hot water heating
/converting to gas this summer/, central air, condo fee $183/mo
INCLUDING heat; hot water; landscaping; pool; tennis courts.
In addition: washer, dryer /both in condo/, refrigerator, dishwasher,
2 ceiling fans, all window treatments /I don't understand why I can't
call them curtains.../, and a mantle!
Large storage room in private basement, plenty of undesignated
parking.
If you'd like to free me for the bliss of regular homeownership,
please call Kathleen Sullivan at the Rohrer&Sayers Real Estate Agency:
609-546-0004.  She'll arrange for a showing off.
Now for that disclaimer caca:  Subject to errors, changes, ommissions,
withdrawls, and sales without notice.
This posting is not to benefit or at the request of any commercial
agency.  I simply want out.  Flames can be sent to /dev/null
Thanks,
pnelson@clam.rutgers.edu
Paul G. Nelson
Systems Hardware Integration Technician
From: casu@magnus.acs.ohio-state.edu (Ching Tzu Andrea Su)
Subject: Software Unlimited?
Article-I.D.: magnus.1993Apr6.195910.20328
Organization: The Ohio State University
Lines: 12
Nntp-Posting-Host: top.magnus.acs.ohio-state.edu
Sorry to waste the bandwidth. Does anyone know a software mail order company
called "Software Unlimited"? I ordered a software from them and they charged my
credit card but never did send the package to me.
I call them many times but nobody answer the phone. I also check Computer
Shoppers and found they don't advertise anymore. If you know if they are still
in business or you know how to contact them, please tell me.
Thank you very much.
Ching-Tze Su
From: walljm@sage.cc.purdue.edu (Joe Wall)
Subject: Incredible Car...Incredible Price
Article-I.D.: mentor.C52vIy.8Do
Distribution: usa
Organization: Purdue University Computing Center
Lines: 18
My brother is preparing to pay another year
of college expenses and asked me to post this.
1987 Alfa Romeo
Gold Milano Model
V-6 Engine
Power Everything!
Seats 4 comfortably
Looks / runs great
$3,600 O.B.O.
Contact:  Brian Wall
(214) 393-1216
if interested  (Dallas Area)
From: bigelos@hobo.ECE.ORST.EDU (Space Gigolo)
Subject: Laser Printer Forsale: Repost
Article-I.D.: flop.1po9ovINNqe4
Distribution: usa
Organization: ECE Dept.,OSU,Corvallis
Lines: 25
NNTP-Posting-Host: hobo.ece.orst.edu
The following is posted for a friend.  You can send replies to this email
address or call him at 503-752-1499.  (Glen)
I have a CITIZEN OVERTURE 110 Laser printer for sale.  It is in
excellent condition.  It has been used less than one year on this drum.
I am asking $500, but all offers will be considered.  Below are some
specs on it.
Toner lifespan:		2500 pages
Drum lifespan:		15,000 pages
Resolution:		300 DPI
Memory:			512K
Emulation:		Epson FX286
IBM ProPrinter
Diablo 635
Printing Capacity:	Quad-density graphics
Tray capacity:		250 sheets
Reason for sale:  	Financial--I need to pay tuition.
Thanks,
-Glen Anderson
bigelos@hobo.ece.orst.edu
From: cthulhu@sparky.cis.ufl.edu (Mark Kupper)
Subject: CDs for sale
Article-I.D.: snoopy.1pspmoINNmtq
Distribution: world
Organization: Univ. of Florida CIS Dept.
Lines: 10
NNTP-Posting-Host: sparky.cis.ufl.edu
The following are available for $7.00 each (includes postage if in USA):
Ted Nugent - Penetrator
Jah Wobble - Rising Above Bedlam
Black 47 - EP
Marshall Tucker Band - Long Hard Ride
Kid Frost - East Side Story
Coffin Break - Thirteen
Steve Wariner Band - I Got Dreams
From: forbes@sequent.com (Ellen E. Forbes)
Subject: Novice Beekeeper Seeks Tools of Trade
Summary: Looking for beekeeping garb
Keywords: bzz ... bzz ... bzz ... ouch!
Article-I.D.: sequent.1993Apr6.200009.15076
Distribution: usa
Organization: Sequent Computer Systems, Inc.
Lines: 10
Nntp-Posting-Host: crg1.sequent.com
If you'd like to find a home for that beekeeping equipment you'll never use
again, here's a likely victim, uh, customer.
To make a deal, call:
Laura Forbes (503)275-4483
during regular business hours, or, respond to me through e-mail and I'll
pass your message along.
From: yoshi@atlantis.CS.ORST.EDU (Digital Exodus 1993)
Subject: Reciever/CD Player/Keyboards for sale.
Article-I.D.: leela.1pqneqINN9h3
Organization: OSU CS Outreach Services, Corvallis, Oregon
Lines: 22
NNTP-Posting-Host: atlantis.cs.orst.edu
The following items are for sale:
1)      ONKYO TX-901/910 reciever/amplifier. Only 2 months old.
>PERFECT< condition. 45wpc (stereo), 4 speaker ability,
40 channel memory, has digital and direct tuning also.
Plus, it also have an earphone jack...
Bought for $350 new. Asking for no less than $250; best
offer gets it (obviously).
...PRICE DROPPED TO $230...
- No offers so far; what's the deal? No recievers needed? :(
2)	Two ZEOS IBM-External keyboards. Under a month old, bought
for $90 each new; selling for $35 a piece, or $65 for both.
I pay shipping.
(SNES has been sold, and the CD player still hasn't been sold; if
you offer $170 or more, I will instantly send it to you...)
(ask for stats. on the CD player)
Yoshi.