Re: setedit and elinks
Brought to you by:
set
From: Salvador E. T. <sal...@in...> - 2006-09-18 21:10:09
|
On 26/08/06 13:11, Witold Filipczyk wrote: >On Wed, Aug 23, 2006 at 01:37:52PM -0300, Salvador Eduardo Tropea wrote: > > >>On 19/08/06 22:38, Rohan Carly wrote: >> >> >> >>>Witold Filipczyk wrote: >>> >>> >>> >>> >>>>Another bug is a tvision bug. I use ATI framebuffer and >>>>cursor leaves trace. It's annoying. >>>> >>>> >>>> >>>> >>>I also had that problem using framebuffer, not sure if it was the ATI >>>one or not. From memory (it was a while ago) I found that if I deleted >>>/dev/vcs* (or maybe I just changed the permissions on those files- try >>>removing write access, or maybe read access) then the problem went away. >>> >>> >>> >>> >>> >>The UseVCS=0 solution is more elegant for such a problem. >> >> >I'm afraid that bytes 2 and 3 in /dev/vcsa? are read only properties for >framebuffers. > > Nope, they work (the cursor is moved), so they aren't read only. >This patch fixes the trace on the framebuffer > > That's a workaround and degradates the speed for non-framebuffer cases (or well implemented frame buffers). Do you know how to detect if the console is using framebuffer? This patch isn't a good solution, but I could add an option to enable such a workaround. SET >--- tvision/classes/linux/linuxdis.cc.old 2006-08-26 >17:28:08.264522736 +0200 >+++ tvision/classes/linux/linuxdis.cc 2006-08-26 18:02:59.305636168 >+0200 >@@ -75,11 +75,11 @@ > switch (mode) > { > case lnxInitVCSrw: >- setCursorPos=SetCursorPosVCS; >+ setCursorPos=SetCursorPos; > getCursorPos=GetCursorPosVCS; > break; > case lnxInitVCSwo: >- setCursorPos=SetCursorPosVCS; >+ setCursorPos=SetCursorPos; > getCursorPos=GetCursorPosGeneric; > // Set the cursor to a known position to avoid reading the > // postion. > SetCursorPos(0,0); > > > -- Salvador Eduardo Tropea (SET). (Electronics Engineer) Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Alternative e-mail: se...@co... se...@ie... Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013 |