[441] in Zephyr_Bugs

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

[bert@Athena.MIT.EDU: decmips 7.4G: zwgc]

daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Mon Jan 4 10:11:24 1993

Date: Mon, 4 Jan 93 10:11:18 -0500
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
To: bug-zephyr@Athena.MIT.EDU


----- Forwarded message
To: bugs@Athena.MIT.EDU
Subject: decmips 7.4G: zwgc
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.
----- End of forwarded message

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