Code Monkey home page Code Monkey logo

Comments (13)

borisfaure avatar borisfaure commented on June 1, 2024

I should have fixed it in df59f16. Thank you.

from terminology.

Kagetsuki avatar Kagetsuki commented on June 1, 2024

Sorry for the delay in responding - you patched it so quickly! Thank you!

Unfortunately it's still a bit off. Now ctrl+F2 will output ';5~' and shift+F2 will generate ';2~' right on the command line. It seems the escape sequences aren't completely making it to byobu/tmux?

Thanks!

from terminology.

borisfaure avatar borisfaure commented on June 1, 2024

Can you tell me which terminal emulator you currently use to do that?

from terminology.

Kagetsuki avatar Kagetsuki commented on June 1, 2024

I usually use gnome-terminal or just straight up VTs on servers. Byobu is only a wrapper for tmux or screen. Double checking I was able to use it on xfce terminal, sakura and guake. I think all those terminals (other than the non-X VTs) use libvte.

As a side note terminology won't accept input from input methods like iBus. Not that I'm using iBus when inputting shift+f keys or ctrl+f keys, but the issues could be related?

from terminology.

borisfaure avatar borisfaure commented on June 1, 2024

You should run:
ECORE_IMF_MODULE=ibus terminology

from terminology.

borisfaure avatar borisfaure commented on June 1, 2024

If you're using enlightenment, you should set it there, in settings → Language → Input Method Settings

from terminology.

Kagetsuki avatar Kagetsuki commented on June 1, 2024

I hate to say it but using ECORE_IMF_MODULE=ibus doesn't allow me to use it. Same with setting Input Method Settings (which I had already set up). Thing is I'm using a Japanese keyboard and I switch with the hankaku/zenkaku key... perhaps this the keycode is being eaten by terminology?

I'll fork and see if I can build and debug a bit. Don't have a lot of free time so I can't make any promises but I'll do my best.

from terminology.

Kagetsuki avatar Kagetsuki commented on June 1, 2024

I'm having trouble getting a clean build right now (moved on to Ubuntu 14.04 and there are some issues with enlightenment core libs and libpoppler). Regardless I think I may have found the issue.

While the individual key codes are the same, gnome-terminal and the like are interpreting say Shift+F2 as ^[O1;2Q but we're sending ^[[12;2~. I'm trying to figure out exactly where this mapping changed but I found a few snippets here and there of different projects changing over - mostly with comments suggesting VT220 or greater compatibility.

I think the key codes you added are for a different VT spec, whereas xterm and derivatives seem to be roughly shooting for VT220ish style. The most concise list of the key codes I think we're looking for were here: http://www.geocities.jp/sakachin2/xehelp/html/HID00000438.htm . I just wish I could find an actual document giving and actual full overview of the VT220 spec and how it differs... and perhaps some description somewhere of how xterm etc. are matching the spec or where they are not.

from terminology.

borisfaure avatar borisfaure commented on June 1, 2024

About ibus, you should ask on the enlightenment mailing list or on irc.
I will try to look into the issue with Ctrl/Shift this weekend.

from terminology.

Kagetsuki avatar Kagetsuki commented on June 1, 2024

I'll look into iBus myself first. It may be an unrelated thing and I actually have a suspicion about it.

Thanks again for being so proactive in handling this issue. I hope I'm not taking up much of your free time.

from terminology.

borisfaure avatar borisfaure commented on June 1, 2024

Someone reported the same issue without using ibus so it seems unrelated.

from terminology.

Kagetsuki avatar Kagetsuki commented on June 1, 2024

Aah, good. I had a suspicion it was unrelated and I had a suspicion it was related to dbus - as I was getting dbus errors which I initially assumed were unrelated but looking deeper it seems some enlightenment related libraries I have were compiled with an older/incompatible version of the dbus libs. Sorry to waste your time with the iBus red herring.

from terminology.

borisfaure avatar borisfaure commented on June 1, 2024

In 5bf2692, I should have fixed the issue with F1-4. Please tell me if it works better.

from terminology.

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.