[13] in bug-owl
owl
daemon@ATHENA.MIT.EDU (Jeremy Daniel)
Mon Jun 24 13:59:39 2002
To: bug-ktools@MIT.EDU
From: Jeremy Daniel <jdaniel@MIT.EDU>
Date: 08 Jun 2002 15:54:07 -0400
Message-ID: <skevg8th7hc.fsf@multics.mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Resent-To: bug-owl-mtg@spatula-city.mit.edu
Resent-From: "James M. Kretchmar" <kretch@MIT.EDU>
Sorry for not sending earlier things to the right email address, I
only just noticed it on another reading of things
more things:
* key requests
M-DEL should be backward delete word
C-t shold be transpose characters
/ should start a search forward in the current view (for some reason
I thought this already existed, I must be on crack)
pgup/dn the terminal versions of page up and page down should be mapped
to the appropriate functions
* core file in ~/Pickup/kretch, I'm not sure how to debug it further,
but here's the initial stack trace
---------
(gdb) bt
#0 0xff1b2e14 in strcpy () from /usr/lib/libc.so.1
#1 0xff1ce500 in strdup () from /usr/lib/libc.so.1
#2 0x3c064 in owl_strdup (
s1=0x44096c "If you're really a fan of the show,\n1) DVDs have vastly superior quality\n2) Shows in syndication are almost always cut\n3) Most shows have at least a couple of eps the networks won't show on TV\nany mor"...)
at util.c:307
#3 0x3d6f4 in owl_config_getmsg (m=0x451820, mode=0) at readconfig.c:185
#4 0x2d814 in main (argc=0, argv=0xffbeeec0, env=0xffbeeec4) at owl.c:229
---------
* I've had several other seg faults which did not produce core files.
There also appears to be nothing relevant in the owldebug file so if
there's additional debugging that can be turned on I can try to
trace these further when they happen again.
* impliment the zwgc protect function
step 1: make quoting work like in zwgc
ex. in "@bold( @< ... ) ... > )" the ')' should not close the region
----------
diff -c /mit/ktools/src/owl/src/fmtext.c fmtext.c
*** /mit/ktools/src/owl/src/fmtext.c Thu Jun 6 10:38:07 2002
--- fmtext.c Sat Jun 8 12:54:40 2002
***************
*** 146,151 ****
--- 146,161 ----
txtptr+=8;
owl_free(buff);
continue;
+ } else if (!strcmp(buff, "@")) {
+ /* deal with things like @< ... > used to protect the enclosed
+ braces and keep them from closing things they shouldn't */
+ attrstack[stacksize]=OWL_FMTEXT_ATTR_NONE;
+ chrstack[stacksize]=tmpptr[0];
+ stacksize++;
+ curattrs|=OWL_FMTEXT_ATTR_NONE;
+ txtptr+=2;
+ owl_free(buff);
+ continue;
} else {
/* if we didn't understand it, we'll print it. This is different from zwgc
-----------
step 2: write sub owl::protect($)
I think the version in /mit/jdaniel/project/owl/protect.pl will
suit quite well for this, but please give me feedback on it
* when I get personals I want to set appendtosepbar, but then I want
to be able to clear it after I've read the messages. I can't come
up with anything to do the clearing more automatically, maybe you
can. Maybe a hook that could be run based on an events like
switching views?
* bug: when the whole screen is full of messages marked deleted
next-nondel will only scroll one screen and the current message
marker will end up off the screen on the next non deleted message,
but with no way to move the screen there.
--
Jer
------------------------------------------------------------------
Tulgey Wood - tulgeywood@attbi.com Cell Phone: 617-429-8573 /
4 Farragut Ave (617-629-3983) jdaniel-phone@mit.edu
Somerville, MA 02144-1709 AIM: jdanielmit
Zephyr athena users over the web: http://webzephyr.mit.edu/