[6486] in Athena Bugs
vax 7.1H: Xqvss fails to understand -bp, -wp
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Wed Nov 28 17:58:56 1990
From: cfields@ATHENA.MIT.EDU
To: bugs@ATHENA.MIT.EDU
Date: Wed, 28 Nov 90 17:58:45 EST
System name: deus
Type and version: CVAXSTAR 7.1H
Display type: SM
What were you trying to do?
Use the -bp and -wp options as an alternate (and absolutely
reliable) way of specifying reverse video for all applications.
What's wrong:
I got a usage message. The -bp and -wp options were not
recognized.
What should have happened:
ddxProcessArgument in server/ddx/dec/qvss/qvss_io.c should
do the right thing, i.e. not just return zero. Here is a
possible fix:
*** qvss_io.c Wed Nov 28 17:34:39 1990
--- qvss_io.c.orig Wed Nov 28 17:27:09 1990
***************
*** 1150,1162 ****
char *argv[];
int i;
{
! if(strncmp(argv[i], "-bp:", 4) == 0 ||
! strncmp(argv[i], "-wp:", 4) == 0 ||
! strcmp(argv[i], "-bp") == 0 ||
! strcmp(argv[i], "-wp") == 0)
! return 2;
!
! return 0;
}
void
--- 1150,1156 ----
char *argv[];
int i;
{
! return 0;
}
void
Please describe any relevant documentation references:
Xqvss(1)