Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#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

  • 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.

     
  • Logged In: NO

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

     
  • ublkmove() segmentation fault bugfix

     
    Attachments
  • Logged In: YES
    user_id=208150

    Please, check attached diff.

     
  • Logged In: NO

    works fine, thanks!

     
  • Logged In: YES
    user_id=208150

    Bugfix is in the current CVS.

     
    • status: open --> closed