[10174] in Athena Bugs

home help back first fref pref prev next nref lref last post

decmips 7.4G: zwgc

daemon@ATHENA.MIT.EDU (Albert Dvornik)
Mon Jan 4 03:53:52 1993

To: bugs@Athena.MIT.EDU
Date: Mon, 04 Jan 93 03:53:48 EST
From: "Albert Dvornik" <bert@Athena.MIT.EDU>

System name:		w20-575-71
Type and version:	KN02ba 7.4G
Display type:		PMAGB-BA

What were you trying to do?
	use verbatim(expr) function in my .zwgc.desc
	acting on a string containing consecutive @'s

What's wrong:
		verbatim("@")    returns "@"	which displays as @
		verbatim("@@")   returns "@@"	which displays as @
		verbatim("@@@")  returns "@@@"	which displays as @@
		verbatim("@@@@") returns "@@@@"	which displays as @@
	etc.

	(Things get more complicated on more complex expressions, but
	the same problem remains.)

What should have happened:
	According to the description in the zwgc manpage
		verbatim("@")    should return "@@"	  (ie, display as @)
		verbatim("@@")   should return "@@@@"     (ie, display as @@)
		verbatim("@@@")  should return "@@@@@@"   (ie, display as @@@)
		verbatim("@@@@") should return "@@@@@@@@" (ie, display as @@@@)
	etc.

	(Of course, other return values that display equivalently
	would be perfectly acceptable...)

Please describe any relevant documentation references:
	zwgc manpage says:

     verbatim(expr)
          Returns a string that will be displayed exactly as expr looks.

home help back first fref pref prev next nref lref last post