Changes between Initial Version and Version 20 of Ticket #67


Ignore:
Timestamp:
01/11/14 17:08:39 (6 years ago)
Author:
ossi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #67

    • Property Status changed from new to accepted
    • Property Severity changed from to no branch
    • Property Reporter changed from slavazanko to me4mc
    • Property Cc zaytsev, gotar@… added
    • Property Version changed from to master
    • Property Branch state changed from to no branch
    • Property Milestone changed from to Future Releases
    • Property Owner set to angel_il
  • Ticket #67 – Description

    initial v20  
    77||Release:||4.6.1||Operating System:||GNU/Hurd|| 
    88 
    9 Discussion: 
     9Original submission: 
    1010{{{ 
    11 Thu 26 Apr 2007 04:16:10 PM UTC, comment #8: 
     11i managed to find another x problem: 
     12when you are in the *term and select some text all newlines are lost 
     13 and filled up with spaces. 
    1214 
    13 Does it help if you disable "Return does autoindent" from 
    14 Options -> General in the editor ? 
    15         Pavel Tsekov <ptsekov> 
    16 Project Administrator 
    17 Sun 22 Apr 2007 09:32:43 PM UTC, comment #7: 
     15i managed to find the problem in the 
     16editordraw.c in print_to_widget 
     17the hline draws blanks at the rest of the line. 
    1818 
    19 bug in a bugfix... 
    20 i noticed bad flicker in the console and realized that the setcolor  
    21 function does force a screen redraw. 
     19i understand that behaviour but there is a possibility to do this right: 
    2220 
    23 therefore i moved its call to edit.c init() 
     21SLtt_set_color (DEFAULT_COLOR_INDEX, NULL, "default", "default"); 
     22SLsmg_erase_eol(); 
     23or 
     24clrtoeol() 
    2425 
    25 now i get a green blinking _ in the console (no X) when i quit mc -  
    26 much less anoying than the flicker. 
     26however, i tryed to create that behaviour and failed because i  
     27cannot set the default color index (0) to blue/white. 
     28the problem is that users with other color settings (me:  
     29black/green) could be angy if i hardcode blue/white 
    2730 
    28 any suggestions how to fix that? 
    29         me <me4mc> 
    30 Sun 22 Apr 2007 09:56:32 AM UTC, comment #6: 
     31the default state is black/white - looks ugly but works. 
    3132 
    32 mhh i browsed this menu @savannah and found that there is a  
    33 difference between patch and bug and the bugs i submitted could have 
    34  been patches - sorry for the trouble that might have caused, will  
    35 use patches in future 
    36         me <me4mc> 
    37 Sun 22 Apr 2007 09:50:04 AM UTC, comment #5: 
     33if you could suggest how to properly set the fg/bg 
    3834 
     35should i create a new function in src/color.h? 
     36 
     37any suggestions?  
     38}}} 
     39 
     40Comment 1 by Pavel Tsekov <ptsekov> at Sat 21 Apr 2007 11:20:23 AM UTC: 
     41{{{ 
     42Please, calm down. Finding a problem is the easy part - describing  
     43it properly, so that others can reproduce it, is of great importance 
     44 if you want to get the problem solved. 
     45 
     46From you bug report it is clear that you see some problem related  
     47the way copy/paste works in relation to the internal editor.  
     48However, I cannot understand what is actually wrong - please, do the 
     49 following: 
     50 
     511) explain what do you do - copy/paste from where to where ? 
     522) explain what happens 
     533) explain what do you expect to happen 
     54}}} 
     55 
     56Comment 2 by Oswald Buddenhagen <ossi> at Sat 21 Apr 2007 11:41:25 AM UTC: 
     57{{{ 
     58i understood immediately what he means. :-P 
     59 
     60me: you can configure most *terms to strip trailing whitespace from  
     61the selection. without this, i would have freaked out long ago. :) 
     62}}} 
     63 
     64Comment 3 by me <me4mc> at Sun 22 Apr 2007 09:22:16 AM UTC: 
     65{{{ 
     66i dont like the idea of changing the terminal just because a  
     67application misbehaves. my workarround for several years is to cat  
     68the current file - hopefully it's not a 60M log... 
     69 
     70therefore created a patch (that only works for slang and mc 4.6.1)  
     71that uses a clear eol function to perform the action of clearing the 
     72rest of the current line. 
     73selection works fine for me now, but the display flickers on  
     74movement - something i can handle 
     75 
     76@pavel: did you even read the post? the solution was in it - i hope  
     77in future we can improve understanding! 
     78 
     79to make it work as described i had to create a new function in  
     80color.c&h that resets the color index 0. if anything simmilar exists 
     81 please adopt the idea. 
     82 
     83i dont care if this ever ends up in the main tree - it would save me 
     84 the trouble of patching. once a year.. 
     85 
     86gentoo ebuild with use flag in testing phase maybe apears in sunrise 
     87 overlay 
     88 
     89peace 
     90me 
     91}}} 
     92 
     93Comment 4 by Pavel Tsekov <ptsekov> at Sun 22 Apr 2007 09:31:31 AM UTC: 
     94{{{ 
     95Is it so hard to write a proper bug report ? I want to reproduce the 
     96 problem myself and I couldn't - I failed because the lack of  
     97information. It is not correct to assume that everything has the  
     98same problem as you do. And how can I apply a patch if I do not  
     99understand what's going on. 
     100 
     101I am sure Oswald can explain the problem to me but after all it is  
     102up to the submitter to describe the bug it sees. 
     103}}} 
     104 
     105Comment 5 by me <me4mc> at Sun 22 Apr 2007 09:50:04 AM UTC: 
     106{{{ 
    39107yes it is! 
    40108because it is a feature that already works in other situations  
     
    74142 
    75143peace 
    76         me <me4mc> 
    77 Sun 22 Apr 2007 09:31:31 AM UTC, comment #4: 
     144}}} 
    78145 
    79 Is it so hard to write a proper bug report ? I want to reproduce the 
    80  problem myself and I couldn't - I failed because the lack of  
    81 information. It is not correct to assume that everything has the  
    82 same problem as you do. And how can I apply a patch if I do not  
    83 understand what's going on. 
     146Comment 6 by me <me4mc> at Sun 22 Apr 2007 09:56:32 AM UTC: 
     147{{{ 
     148mhh i browsed this menu @savannah and found that there is a  
     149difference between patch and bug and the bugs i submitted could have 
     150 been patches - sorry for the trouble that might have caused, will  
     151use patches in future 
     152}}} 
    84153 
    85 I am sure Oswald can explain the problem to me but after all it is  
    86 up to the submitter to describe the bug it sees. 
    87         Pavel Tsekov <ptsekov> 
    88 Project Administrator 
    89 Sun 22 Apr 2007 09:22:16 AM UTC, comment #3: 
     154Comment 7 by me <me4mc> at Sun 22 Apr 2007 09:32:43 PM UTC: 
     155{{{ 
     156bug in a bugfix... 
     157i noticed bad flicker in the console and realized that the setcolor  
     158function does force a screen redraw. 
    90159 
    91 i dont like the idea of changing the terminal just because a  
    92 application misbehaves. my workarround for several years is to cat  
    93 the current file - hopefully it's not a 60M log... 
     160therefore i moved its call to edit.c init() 
    94161 
    95 therefore created a patch (that only works for slang and mc 4.6.1)  
    96 that uses a clear eol function to perform the action of clearing the 
    97 rest of the current line. 
    98 selection works fine for me now, but the display flickers on  
    99 movement - something i can handle 
     162now i get a green blinking _ in the console (no X) when i quit mc -  
     163much less anoying than the flicker. 
    100164 
    101 @pavel: did you even read the post? the solution was in it - i hope  
    102 in future we can improve understanding! 
     165any suggestions how to fix that? 
     166}}} 
    103167 
    104 to make it work as described i had to create a new function in  
    105 color.c&h that resets the color index 0. if anything simmilar exists 
    106  please adopt the idea. 
    107  
    108 i dont care if this ever ends up in the main tree - it would save me 
    109  the trouble of patching. once a year.. 
    110  
    111 gentoo ebuild with use flag in testing phase maybe apears in sunrise 
    112  overlay 
    113  
    114 peace 
    115 me 
    116         me <me4mc> 
    117 Sat 21 Apr 2007 11:41:25 AM UTC, comment #2: 
    118  
    119 i understood immediately what he means. :-P 
    120  
    121 me: you can configure most *terms to strip trailing whitespace from  
    122 the selection. without this, i would have freaked out long ago. :) 
    123         Oswald Buddenhagen <ossi> 
    124 Sat 21 Apr 2007 11:20:23 AM UTC, comment #1: 
    125  
    126 Please, calm down. Finding a problem is the easy part - describing  
    127 it properly, so that others can reproduce it, is of great importance 
    128  if you want to get the problem solved. 
    129  
    130 From you bug report it is clear that you see some problem related  
    131 the way copy/paste works in relation to the internal editor.  
    132 However, I cannot understand what is actually wrong - please, do the 
    133  following: 
    134  
    135 1) explain what do you do - copy/paste from where to where ? 
    136 2) explain what happens 
    137 3) explain what do you expect to happen 
    138         Pavel Tsekov <ptsekov> 
    139 Project Administrator 
    140 Sat 21 Apr 2007 10:25:44 AM UTC, original submission: 
    141  
    142 i managed to find another x problem: 
    143 when you are in the *term and select some text all newlines are lost 
    144  and filled up with spaces. 
    145  
    146 i managed to find the problem in the 
    147 editordraw.c in print_to_widget 
    148 the hline draws blanks at the rest of the line. 
    149  
    150 i understand that behaviour but there is a possibility to do this right: 
    151  
    152 SLtt_set_color (DEFAULT_COLOR_INDEX, NULL, "default", "default"); 
    153 SLsmg_erase_eol(); 
    154 or 
    155 clrtoeol() 
    156  
    157 however, i tryed to create that behaviour and failed because i  
    158 cannot set the default color index (0) to blue/white. 
    159 the problem is that users with other color settings (me:  
    160 black/green) could be angy if i hardcode blue/white 
    161  
    162 the default state is black/white - looks ugly but works. 
    163  
    164 if you could suggest how to properly set the fg/bg 
    165  
    166 should i create a new function in src/color.h? 
    167  
    168 any suggestions?  
     168Comment 8 by Pavel Tsekov <ptsekov> at Thu 26 Apr 2007 04:16:10 PM UTC: 
     169{{{ 
     170Does it help if you disable "Return does autoindent" from 
     171Options -> General in the editor ? 
    169172}}}