Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Pretty sure your driver supports that (glxinfo |grep ARB_copy_image). Maybe you don't have GLEW >= 2.0?


With GLEW 2.0.0:

   ValueError: GLSL 35633 compilation failed: 
   0(29) : error C1020: invalid operands to "/"
   0(29) : error C1020: invalid operands to "/"
   0(29) : error C1020: invalid operands to "/"
   0(33) : error C1020: invalid operands to "+"
   0(34) : error C1020: invalid operands to "+"



It works, now.

Wow. It looks good. It fast. Very neat. Mouse works properly.

The only problems so far:

* ctrl-arrow and ctrl-shift-arrow combinations are not working in bash and mc;

* ctrl-ins/shift-ins, middleclick/shift-middleclick for copy/paste not working too (but ctrl-shift-c/ctrl-shift-v works).


Please report bugs your find on github, or I will lose track of them. There is no ctrl-ins, shift-ins, if you want those shortcuts you can add them in the config. What does ctrl-arrow do in bash? IIRC you have to map it to something it does not do anything by default. For kitty the codes to map are ^[OC and ^[OD


Ctrl-arrow jumps over words, like Alt-f/w.

Ctrl-pgup/pgdown jumps to top/bottom of the current screen in mcedit without moving it.

Shift-arrow selects text as cursor moves, ctrl-shift-arrow jumps over word and selects it in mceditor in mc.

Shift-del (cut), ctrl-ins (copy), and shift-ins (paste) are parts of IBM CUA guidelines since 1988. Only shift-ins is necessary to implement, because mouse selection is automatic (no need for ctrl-ins) and shift-del (cut) has no sense. Unlike ctrl-shift-v, shift-ins is pasting mouse (selection) buffer. I.e. I can select a text with mouse in Firefox and then immediately insert it with shift-ins (or middle mouse button or shift-middle if mouse is overriden by an application) in terminal.

Middle mouse button pastes mouse buffer. Shift-mouse click works when terminal program overrides mouse behavior. mc and mcedit are examples.

All these combinations are working properly in gnome-terminal and mate-terminal. Some of them are working in rxvt too.

Ctrl-arrow and ctrl-shift-arrow are huge performance boosts.


Yes, you are right. Thank you.

    > glxinfo |grep ARB_copy_image
      GL_ARB_copy_buffer, GL_ARB_copy_image, GL_ARB_cull_distance, 
      GL_ARB_conservative_depth, GL_ARB_copy_buffer, GL_ARB_copy_image, 

    > rpm -qa | grep -i glew
    libGLEW-1.13.0-2.fc24.x86_64
    glew-devel-1.13.0-2.fc24.x86_64


glew-2.0.0 is in Fedora Rawhide. Oded, thank you!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: