[comp.sys.amiga] Bugs in Dave Wecker's vt100 2.3 emulator

sdl@linus.UUCP (12/02/86)

Setting VOLUME to 0 in the vt100.init file doesn't work as it should.
The reason is line 176 in file init.c.  The variable p_volume (which
vt100.h causes to default to 64) is reset from vt100.init, only if it
is greater than zero:

		case 'v': /*volume*/
		if (sscanf(line,"%s %d",scr,&i) == 2)
		    if (i > 0) p_volume = i;
		break;


Simply change init.c, line 176, to

		    if (i >= 0) p_volume = i;


Now VOLUME can be 0 in vt100.init so that you get a visible (flashing)
"bell".

I still don't understand why I get no audible bell for values of
VOLUME greater than zero.  I have compiled with Lattice; perhaps
Lattice has some strange bug no one knows about.  Can someone please
try compiling vt100 v2.3 with Lattice to see if they can duplicate
this problem?


Steven Litvintchouk
MITRE Corporation

Fone:  (617)271-7753
ARPA:  sdl@mitre-bedford
UUCP:  ...{cbosgd,decvax,genrad,ll-xn,philabs,security,utzoo}!linus!sdl