**** BEGIN LOGGING AT Thu Dec 29 02:59:57 2011 Dec 29 05:19:07 Xuzz, pong? Dec 29 05:19:30 ka6sox-away: the phone I sent you was returned to me recently; I thought you had received it? Dec 29 05:19:40 should I send it again (same address?) Dec 29 05:19:53 I received a phone guess it wasn't yours! Dec 29 05:20:02 please...I should be able to get it. Dec 29 05:20:05 okay Dec 29 05:20:09 PM to verify address? Dec 29 05:20:21 sure/ Dec 29 05:21:46 weiiiird Dec 29 05:21:57 so now you have a mystery phone Dec 29 05:23:49 true Dec 29 05:24:00 I should look @ the box (if I still have it) Dec 29 05:26:02 mine is a Pre 3, Verizon Dec 29 05:26:05 what did you get? Dec 29 05:26:58 pre3 ATT version... Dec 29 05:27:05 oh, sorry Dec 29 05:27:09 european. Dec 29 05:27:11 heh Dec 29 05:27:13 weird. Dec 29 05:27:22 thats why I didnt thik anything of it Dec 29 05:27:30 because it is in the same sized box Dec 29 05:27:33 that's really strange Dec 29 05:27:42 well, i'll try and mail it Dec 29 05:30:17 tyvm Dec 29 16:39:02 dtzWill: you see my message yesterday? Dec 29 18:33:25 any C/C++ people wanna help debug somehting? Dec 29 18:44:43 my C is rusty Dec 29 18:44:59 but can always throw an eyeball at it when I have time Dec 29 18:48:21 * scoutcamper as well Dec 29 19:11:07 wellt he code for erasing lines in wTerm is broke, it only erases whole lines Dec 29 19:11:14 when it should be erasing parts of lines Dec 29 19:11:29 and the orig author uses memset here Dec 29 19:11:34 and something about that is not working Dec 29 19:14:02 where's your repo Dec 29 19:14:14 nevermind Dec 29 19:15:37 in src/plugin/util/databuffer.cpp Dec 29 19:15:45 line 269 Dec 29 19:15:49 that method i think is broken Dec 29 19:17:11 269 is } Dec 29 19:18:41 ok well inserted a bunch of syslog shit Dec 29 19:18:46 is the erase method Dec 29 19:18:48 the one with args Dec 29 19:19:50 you should see a line like: Dec 29 19:19:50 memset(m_buffer + startIndex, 0, size); Dec 29 19:20:01 if size is > 2 it erases the whole line Dec 29 19:20:39 the else of the if(bShift) ? Dec 29 19:21:14 char *tmp = (char *)malloc(tailSize); Dec 29 19:21:19 dude needs to check his return values =] Dec 29 19:22:16 im not worried about the code in the if (bShift) section Dec 29 19:22:21 that is not getting called right now Dec 29 19:22:36 something like erase(0,10,false); Dec 29 19:22:39 is what is getting called Dec 29 19:22:53 ok, I dunno how mcuh stuff you added Dec 29 19:23:06 I assume this is the ::clear() Dec 29 19:23:10 i've only added debug output Dec 29 19:23:12 no Dec 29 19:23:17 int DataBuffer::clear(int startIndex, size_t size, bool bShift) Dec 29 19:23:23 that is the problem function Dec 29 19:23:24 yea, ::clear Dec 29 19:23:28 ok Dec 29 19:24:08 so, clearing data, in the case where they're not shifting Dec 29 19:24:15 right Dec 29 19:24:27 (which I'm guessing means deleting from the end of the buffer) Dec 29 19:24:30 the term is made of up an array of the buffer lines Dec 29 19:24:40 so we are just clearing the data here Dec 29 19:24:47 erasing the text Dec 29 19:24:50 with no shifting Dec 29 19:28:10 that part seems ok, but it's not immediately apparent to me why there's a conditional on the m_size -= size Dec 29 19:28:22 but I've only been looking at this for a couple min Dec 29 19:29:33 ya that didnt make sense either Dec 29 19:30:46 in fact... Dec 29 19:30:51 assert((startIndex + size) <= m_size); Dec 29 19:31:00 if (bShift) Dec 29 19:31:03 { } else { Dec 29 19:31:08 if ((startIndex + size) >= m_size) Dec 29 19:31:26 so that'll only get reduced if startIndex+size == m_size Dec 29 19:31:54 so that must be trying to hit the "if this is the end of the buffer" Dec 29 19:35:56 what's the reproducible step to replicate? Dec 29 19:36:35 well u could use vvtest Dec 29 19:36:40 vttest Dec 29 19:36:50 or just echo some control sequences Dec 29 19:37:04 like 'echo -e -n "\033#8"' Dec 29 19:37:09 will fill the screen with E's Dec 29 19:37:24 if u combine that with a command to move the cursor somewhere Dec 29 19:37:35 and then erase from the top of the screen to the cursor Dec 29 19:37:38 u will see the error Dec 29 19:37:43 1 sec i will give u an example Dec 29 19:39:44 hey, shift \ gives 0 instead of | Dec 29 19:40:38 ya Dec 29 19:40:39 i know Dec 29 19:40:41 :( Dec 29 19:40:47 i will fix that while u look at this Dec 29 19:41:12 echo -e -n "\033#8\033[15;30f\033[1J" Dec 29 19:41:16 try that Dec 29 19:41:53 hmm Dec 29 19:41:56 that is working fine Dec 29 19:41:57 weird Dec 29 19:42:34 why is it broken in vttest :/ Dec 29 19:45:08 * dwc- doesn't remember all those vt/ansi escapes Dec 29 19:45:40 I got a bunch of blank lines, what's probably a tab, and then a shell prompt, followed by the real shell prompt Dec 29 19:46:08 no tabs Dec 29 19:46:13 there are 3 ansi codes there Dec 29 19:46:21 the first is the screen alignment sequence Dec 29 19:46:25 fills the whole screen with E's Dec 29 19:46:32 I didn't get any E's Dec 29 19:46:34 second moves cursor to 15,30 Dec 29 19:46:49 just do echo -e -n "\033#8" Dec 29 19:46:57 ohhh Dec 29 19:46:58 shit Dec 29 19:47:04 this might not work on 016 Dec 29 19:47:09 something is broke there Dec 29 19:47:12 oh hey, I'm on 016 Dec 29 19:47:39 alright, lunch approaches Dec 29 19:47:56 and I need to get some jobs kicked off before Dec 29 19:48:07 get 017 form box.net Dec 29 19:59:02 dwc-: scratch that, get 017 from preware Dec 29 22:22:58 PuffTheMagic_: so run the echo, then hit backspace? Dec 29 22:23:19 forget about that for now Dec 29 22:23:27 i think the issue is actually elswhere Dec 29 22:23:35 so im working on other code for the time being Dec 29 22:23:45 ok **** ENDING LOGGING AT Fri Dec 30 02:59:57 2011