Code Monkey home page Code Monkey logo

Comments (22)

stefano-k avatar stefano-k commented on July 17, 2024

gnome-terminal 2.32 or 3.x ?

from mate-terminal.

supine avatar supine commented on July 17, 2024

$quoted_author = "Stefano Karapetsas" ;

gnome-terminal 2.32 or 3.x ?

Ah, I had tested with the gnome-terminal already on my system but...

$ gnome-terminal --version
GNOME Terminal 3.0.1

Downloaded the Ubuntu Natty version of gnome-terminal...

$ /tmp/gnome-term/usr/bin/gnome-terminal --version
GNOME Terminal 2.32.1

... and can confirm that scrolling insides curses based apps works there
too.

from mate-terminal.

szesch avatar szesch commented on July 17, 2024

What distro are you using?

from mate-terminal.

supine avatar supine commented on July 17, 2024

$quoted_author = "Steve Zesch" ;

What distro are you using?

Ubuntu 11.10

mate from 'http://packages.mate-desktop.org/repo/ubuntu oneiric main'

from mate-terminal.

szesch avatar szesch commented on July 17, 2024

This was a feature that the Ubuntu devs patched to gnome-terminal. It relies on a patched version of vte that, once again, the Ubuntu devs patched. Since these patches were either not contributed or rejected upstream, our code-base doesn't contain them. In the future, the Ubuntu devs will have to apply these patches to mate-terminal.

In other words, we can't build these because not every distro includes the patched version of vte that this feature requires.

from mate-terminal.

alexsl avatar alexsl commented on July 17, 2024

Is it possible to take source code of this patch and add this code to mate-terminal?
If this is possible, please do this.
Thank you.

from mate-terminal.

szesch avatar szesch commented on July 17, 2024

The code relies on patched versions of packages that we don't develop. In this case, vte.

from mate-terminal.

alexsl avatar alexsl commented on July 17, 2024

Why gnome-terminal 2.32 in Mate (without Gnome) can scroll by mouse wheel, but mate-terminal can't scroll? I think difference only between this two terminal programs. Or I am wrong?
If gnome-terminal source in Ubuntu repo have differences with original gnome-terminal, why we can't get Ubuntu's source of gnome-terminal and port some parts of code to mate-terminal?

from mate-terminal.

szesch avatar szesch commented on July 17, 2024

As I've previously stated, we cannot use Ubuntu's code because it relies on Ubuntu specific patches to other pieces of software like vte. If we were to use Ubuntu's code, then mate-terminal would fail to build for Debian, Fedora, Archlinux, Gentoo, etc.

from mate-terminal.

Xiong avatar Xiong commented on July 17, 2024

Agreed, patching VTE is... not my first choice. I'd be very happy to see this issue addressed cleanly. Mouse wheel is a big time saver, almost anywhere it's used.

from mate-terminal.

oliver-joos avatar oliver-joos commented on July 17, 2024

+1! Still a issue in mate-terminal 1.4.0.
If someone already forwarded this issue upstream (to Ubuntu, Debian, VTE, ...) then please leave a link here. Otherwise I will try.

from mate-terminal.

Xiong avatar Xiong commented on July 17, 2024

I have not looked into this closely so I'm not sure how deeply "mate-terminal would fail to build for..." goes. I'm running Mint 13 with MATE and I simply installed gnome-terminal from the repos; Works fine, nothing else broke.

Just for fun, I opened a lengthy document in both gnome-terminal and mate-terminal simultaneously. Scrolls with wheel in gnome-, doesn't in mate-; otherwise, both "terminals" work identically and look identical.

from mate-terminal.

Ri0n avatar Ri0n commented on July 17, 2024

thanks for tip about gnome-terminal :)

PS Gentoo has this feature too.

from mate-terminal.

monsta avatar monsta commented on July 17, 2024

Guys, does anyone here have the similar patch ready for MATE? Or at least an instruction about what to patch?
I'd like to patch mate-terminal 1.8 in Mint 17 (it's Ubuntu-based distro).

from mate-terminal.

oliver-joos avatar oliver-joos commented on July 17, 2024

I observe this issue for quite a while, but had not time to look into source code yet. There are patches, but not only for gnome-terminal but also for libvte. See here:
https://launchpad.net/bugs/947892
https://launchpad.net/bugs/358796

I'd also be very happy about a solution for Mint/Mate! So if you manage to port these patches to Mint 17 please write again. I'd definitely find the time to test them.

from mate-terminal.

monsta avatar monsta commented on July 17, 2024

These two reports seem to be about xfce terminal - I'm afraid this won't help much.

from mate-terminal.

monsta avatar monsta commented on July 17, 2024

Though I've followed some links and stumbled upon this upstream VTE bug report which clearly indicates that the Ubuntu patch have been finally accepted into the upstream VTE code on 2013-09-30.

Indeed, Ubuntu Trusty's VTE changelog states:

  • Remove debian/patches/93_add_alt_screen_scroll_toggle.patch: implemented
    upstream (differently).

from mate-terminal.

monsta avatar monsta commented on July 17, 2024

One thing I can't understand: why this scrolling works in mate-terminal in Debian when there are no vte patches?

I have LMDE with MATE 1.6 and vte without that alt.scrolling feature, and I also have Debian Testing with MATE 1.8 and vte with that feature already in the code. In both systems, scrolling in e.g. man works fine.

from mate-terminal.

monsta avatar monsta commented on July 17, 2024

Since MATE 1.8 is now available in Ubuntu 14.10 repositories, I've filed a bug report here. You can comment and/or click on "Does this bug affect you?" link.

from mate-terminal.

oliver-joos avatar oliver-joos commented on July 17, 2024

Thanks for filing the bug!
Let's continue there...

from mate-terminal.

monsta avatar monsta commented on July 17, 2024

I've made a patch for VTE library (instead of just MATE terminal), it's here.

from mate-terminal.

alexsl avatar alexsl commented on July 17, 2024

Please don't forget about Ubuntu 14.04 LTS release. For this release mate-terminal patch is needed because patching vte in this release is impossible IMO.

from mate-terminal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.