[597] in testers
zwgc.desc @beep
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Fri Jan 5 18:54:50 1990
Date: Fri, 5 Jan 90 18:54:34 -0500
From: Ken Raeburn <Raeburn@ATHENA.MIT.EDU>
To: testers@ATHENA.MIT.EDU
I've got a
print "@beep()\n"
in my .zwgc.desc file which is used with tty output. Problem is,
sometimes it comes out with escape sequences around it:
^[ [ 1 m ^G ^[ [ m
This presumably wouldn't be so bad for real terminal output (what does
an inverse beep look like?), but in my case the output is being fed
directly to emacs, and I've got lisp code looking for the ^G with
newlines and linefeeds.
1. If the output file descriptor is not a terminal, it may make sense
for the escape sequences to be omitted altogether. Or, provide an
option to reverse whatever the default may be. (Someone may use a
filter before sending to the tty.)
2. Making the beeps be inverted (or whatever that sequence is supposed
to do) is silly. Converting @small to funky terminal modes *maybe*
I can understand, but that's also stretching it. (@b makes sense,
but size modifications?)
-- Ken