Menu

#37 move block in rectangle mode

v2.9.7
closed
nobody
5
2002-01-21
2002-01-09
Anonymous
No

Hi there,
there's a bug in joe 2.8 still present in joe
2.9.8-pre1. The "block move" feature will almost always
fail when working in rectangle mode.

Example:
* enter in rectangle mode (^TX)
* write the following text
abc
def
ghi
* position the cursor over the letter 'a'
* begin a block (^KB)
* position the cursor over the letter 'e'
* end a block (^KK)
* position the cursor over letter 'c'
* move the block (^KM)

this leads to a segmentation fault both on my debian
2.2 and on a freshly-installed redhat 7.2

Discussion

  • Vitezslav Samel

    Vitezslav Samel - 2002-01-11

    Logged In: YES
    user_id=208150

    Works for me here. What's your compiler, architecture? If
    you are using gcc-3.0.x please upgrade to gcc-3.0.3, there
    should be some fixes which prevented joe to run in the past,
    but I didn't tested that yet.

     
  • Nobody/Anonymous

    Logged In: NO

    After few tests, I've found that the problem arises only if
    the -lightoff option is used in the config file

     
  • Vitezslav Samel

    Vitezslav Samel - 2002-01-15

    ublkmove() segmentation fault bugfix

     
  • Vitezslav Samel

    Vitezslav Samel - 2002-01-15

    Logged In: YES
    user_id=208150

    Please, check attached diff.

     
  • Nobody/Anonymous

    Logged In: NO

    works fine, thanks!

     
  • Vitezslav Samel

    Vitezslav Samel - 2002-01-21

    Logged In: YES
    user_id=208150

    Bugfix is in the current CVS.

     
  • Vitezslav Samel

    Vitezslav Samel - 2002-01-21
    • status: open --> closed
     

Log in to post a comment.