Giter Site home page Giter Site logo

thestinger / termite Goto Github PK

View Code? Open in Web Editor NEW
2.7K 2.7K 241.0 685 KB

Termite is obsoleted by Alacritty. Termite was a keyboard-centric VTE-based terminal, aimed at use within a window manager with tiling and/or tabbing support.

Home Page: https://github.com/alacritty/alacritty

Makefile 2.10% C++ 94.31% Python 3.59%

termite's People

Contributors

boblehest avatar evanpurkhiser avatar gtmanfred avatar holomorph avatar ixjlyons avatar janza avatar jck avatar jelly avatar jorise avatar kapsh avatar kohlerm avatar kyrias avatar lemonboy avatar mattikus avatar meribold avatar migueldvb avatar mikkeloscar avatar numerical avatar richard avatar ror0 avatar ryancarins avatar schoettl avatar thestinger avatar throsturx avatar tiredsounds avatar vodik avatar warepire avatar wurstnase avatar xecantur avatar xzfc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

termite's Issues

Source Code Pro Font Rendering Issues

I'm trying to use Source Code Pro on termite which is provided in OTF. The rendering is off slightly. For instance, the m is not properly spaced and the spacing of certain letters are off.

Gnome-terminal = top
Termite-git = bottom
20130207

true transparency (rgba visual) breaks hints mode, and w3m image overlays

Setting an rgba visual on the window does not mix with having the GtkDrawingArea in a GtkOverlay. Currently url hints and transparency both work, but not together. It can be hacked around to at least allow transparency, but it would be much better to really fix the problem. It's possible that the cairo rendering simply needs to be done in and offscreen buffer, but this could be a gtk bug.

This also causes the images overlaid by w3m to become invisible.

Urgent on bell stops working arbitrarily

I have set the urgent_on_bell options in termite.cfg and it works fine for a while, but then it stops working seemingly arbitrarily and remains broken until I close that instance of termite and open a new one. I first thought it was weechat's fault (I have weechat set up so that it fires a bell on IRC highlight) but then I tested a faulty terminal instance with netcat, using it to send a bell character from another window and it was still broken. I haven't delved into the code yet to see what might be causing this. Has anyone else encountered this problem?

Missing color support for some escape sequences

Expected behavior: colored output and not seeing the escape sequences.
What I got (there are some additional non-printable characters in it which you don't see here):

�[%?%p1%{8}%<%t37%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;7%;m�[%?%p1%{8}%<%t37%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;7%;mSome gray text (or white?) text
�[%?%p1%{8}%<%t37%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;7%;m�[%?%p1%{8}%<%t37%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;7%;m�[%?%p1%{8}%<%t32%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;2%;mSome green text

The example is from a mono application which uses System.ConsoleColor to color the output.
I tried for comparison with urxvt ($TERM=rxvt-unicode-256color, from AUR) and it works with it.

macros?

Keeoing with the vim theme, would be cool to have an option to create macros, IE bind v$y to a command to yank from here to end etc

best

Z

Cursor issue

When focused is lost to the termite window I don't get a transparent cursor with a border like in other terminals.
What is worse is the text color of the char the cursor is on doesn't change. This causes text to not show up under the cursor with my color settings:
2013-04-12-112756_556x104_scrot

The same does work in Xterm:
2013-04-12-113354_555x156_scrot

Can I configure this somehow or is this a bug?

termite stops updating the view

The following happens regularly:

  • Run a command.
  • Wonder why there is no output being shown.
  • Notice that the command exited in the meantime, but termite fails to update the view.
  • Try to type like wild (let's say jfaksldjflksadjfklasj). Still stuck.
  • Hit ctrl+c 10-15 times. termite lives again, now showing:
# the-command
... the command output ...
# jfaksldjflksadjfklasj
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#

So, the command ran and exited normally. The typed characters went through while the view was still stuck. All the ctrl+c commands went through until at some point the view came back to life.

I've been seeing this problem daily for a long time (maybe months). Currently running 1:6.8.g46ad894-1 (termital-git from AUR).

All or nothing config

When starting to tweak the config, I noticed that the mere existance of ~/.config/termite/config causes the defaults to change. That is, if I create an empty ~/.config/termite/config, all the colors change.

I think ~/.config/termite/config should only override the defaults that are actually defined in the file.

This might be related to #43 and #69.

custom keyboard binds

First of all holly crap termite is amazing..how the hell did i not hear about this before is mind bending..but i digress :)

would it be possible to have the option to get custom keybinds? some of the defaults conflict with other cool apps i use (dunst etc)

thx alot

Z

Feature Request: source files in termite.cfg

Changing colour schemes could be a hassle having to change all colours in one go.
Would it be possible to source separate sub files? That way several colourschemes could be defined and changing from one to the other would be a case of (un)commenting the appropriate lines.

Thanks.

Missing License

Could you add under which license Termite is released (seems to be GPL from you AUR package...) ?

--geometry

It'd be nice if it reacted to --geometry flag.

Configure double click selection behavior to allow selection of paths

With a double click it should be possible to select whole paths containing dots and slashes. For example:

/etc/rc.conf.pacnew

Currently, a double click selects either of these: / etc / rc . conf . pacnew

Some other terminals (e.g. urxvt, if I'm not mistaken) will extend the selection across slashes, dots and probably other characters. Some terminals allow the user to configure these characters.

easter egg fun #1

pink theme (or other) when some random command or key-sequence occurs to make the colors a nice pink and purple theme.

Url regex is not quite right

line regex link
#alias mb='mplayer -ao alsa:device=btheadset' ->  alsa:device=btheadset'
#[[ $TERM != "screen" ]] && tmux attach-session -t ${session:0:1} -2 -l -q && exit ->  session:0:1

also in buddylist.pl for weechat if you are in a /Q with someone, and Q is the first letter between the parenthesis, it likes to grab all of that

Url launching when none selected

if you go to select a url, and then something causes the text to scroll, if you hit return, it still launches the $browser from termite.cfg

Termite not reading ~/.config/termite/config

According to termite README, configuration files used are, first of all, $XDG_CONFIG_HOME/termite/config and ~/.config/termite/config (which are the same files in my case).
Anyway today I noticed that if I define my configuration in ~/.config/termite/config, termite doesn't read it; on the contrary I can easily define it in ~/.config/termite.cfg (which is not mentioned in the default config path).
I'm using termite stable 5-1on Arch64.

EDIT: Aw, seems like I run into really recent (few hours) changes.
16426ed
dc19f55

[Feature Request] Allow setting a different configuration file.

In my daily workflow I need differently configured terminals for specific applications, which means I have to set $XDG_CONFIG_HOME to some different directory (which contains the configuration file that I want) before running some instances of termite.
I believe that a command-line switch to source a specific file instead of the default one would make this easier and cleaner.

Key remapping (e.g. map C-Tab to F20)

Hi,

in urxvt it is possible to remap keys like C-Tab, C-Backspace, etc. to key sequences like F19 or F20. This comes in really handy for using these keys on the terminal, because terminal applications cannot handle the Ctrl modifier (This is generally not possible, took me a while to figure out, but there's plenty of info on the net why it is like that).

For example, part of my urxvt config reads like so:
URxvt.keysym.C-BackSpace: \033[34~

It would be awesome to have this as a feature in termite. :)

Vim keypad mappings broken

Using these four Vim mappings to resize split windows does not work in Termite:

map <kPlus> <C-W>+
map <kMinus> <C-W>-
map <kDivide> <C-W><
map <kMultiply> <C-W>>

Instead the letters "k", "m", "o", "j" are inserted respectively leaving myself in insert mode.

Works fine in urxvt.

Feature Request: -e or --hold addition

How about either an additional option or new param to both execute a command and not close the termite window after and allow for new commands (your shell) after the specified command is done executing.
MS CMD uses C for command+terminate, K for command+leave-open and allows for additional input; would be really handy in termite as well.

thanks

Garbled text in bitlbee inside tmux session

This is a rare condition that garbles the terminal text when the user has @ status in a weechat-curses buffer, running inside a tmux session of a termite window, while using the

Here's how to reproduce it:

  1. Get the buffers plugin for bitlbee.
  2. tmux -2 new-session -n weechat-curses -s weechat-curses "export TERM=screen-256color; weechat-curses"
  3. Switch to a buffer where you have operator status (I can only assume that this is what causes the problem, since it only happens on bitlbee for me. Might also have to do with the number of connected users).

Both weechat buffers end up having garbled text: http://i.imgur.com/avr1s.png (38.2K)

The makefile overrides external CFLAGS, namely -O

You append -O3 to the CFLAGS, which means your optimisation flag is used instead of the one chosen by the user. (At least when compiling with gcc.) A user who wants to compile your code with -O0 for debugging purposes will need to edit the makefile, which isn't very nice.

man page

A man page would be excellent - I'm sure there are some features I am not utilizing that the help message did not display.

complex commands dont work with -e

example:
-e /bin/bash -c "task && read" does not work in termite. it DOES work in gnome-terminal and roxterm tho, which are also vte3 based.

copy paste white space bug

Seems when copy-pasting text, either by highlighting text and middle-mouse-click'ing to paste, or ctrl-shift-c and ctrl-shift-v, some spaces are removed randomly from the pasted-text or sometimes a large amount of spaces are added to the end of a new line (or multiple)

Also using Openbox and client side of Synergy-foss so perhaps some sort of errors due to that; will test those 2 cases at another time.

Overzealous URL detection

Termite lets one open "URLs" like CSS properties typed without spaces:

color:#000;
list-style:disc;

I accidentally opened quite a few colors when trying to select text. Restricting URL detection to known protocols could be worthwhile.

Alt + NumPad not working

shortcuts binded to alt+numpad don't work ,
for example in weechat you can't switch to buffer 2 using alt+2

Block cursor becomes transparent rectangle when window focus changes

Sometimes when a Termite window gets and loses focus, the block cursor becomes a transparent rectangle with a black border.

The text color below this "new" cursor is not inverted so it remains readable. But one loses the ability to identify the focused window easily (the one with the black block cursor). Quite confusing.

Cursor related settings:

cursor_blink = off
cursor_shape = block
#cursor = #ffffff

Window manager: xmonad

URL search sometimes selects '['

Pressing 'u' in command mode with a terminal that is empty, except for a single prompt [dkasak@telperion ~]%, selects/highlights the first '[' of the prompt.

A similar "runoff" behaviour of #76 still occurs in this scenario: if 'u' or 'U' is pressed multiple times, the previously selected '[' gets unselected and then I am unable to replicate the problem again in the same terminal instance.

However, if 'u' or 'U' are not pressed multiple times after '[' has been selected, and I simply exit the command mode, a 'u' or 'U' in a new command mode session selects '[' again.

[Feature Request] Implement a -hold like option

Hello, I usually set in my WMs some keyboard shortcuts to perform various actions like upgrade my system and It's really important to keep the terminal open when the command is completed in order to read its output. I usually use the "-hold" option in urxvt and it would be great if you can implement an option like this in termite too.
Thanks for your work.

Problems with url search

Pressing 'u' in command mode with a terminal that is empty, except for a single prompt [dkasak@telperion ~]%, selects/highlights the first '[' of the prompt.

Also, pressing 'u' in command mode with a terminal containing only a single URL
(e.g. [dkasak@telperion ~]% http://www.google.com/) correctly selects the URL. However, if I press 'u' again, the selection disappears and further 'u' or 'U' do nothing until the cursor is moved. This behaviour is different from the behaviour when there are two or more URLs displayed, in which case the 'u' or 'U' will correctly wrap around to the top/bottom.

Question: Possible to set foreground colour of block cursor?

In my zshrc I use a function to set the block cursor to red in vi-cmd mode:

echo -ne "\033]12;red\007"

and grey in vi-ins mode:

echo -ne "\033]12;grey\007"

I prefer having a block cursor with blinking off.

The problem when setting a cursor colour in termite is that the foreground colours do not change, making the letter under the cursor difficult to read.

From the VteTerminal Manual Reference:

void                vte_terminal_set_color_cursor_rgba  (VteTerminal *terminal,
                                                     const GdkRGBA *cursor_background);

Sets the background color for text which is under the cursor.
If NULL, text under the cursor will be drawn with foreground and background colors reversed. 

Ideally, it'd be nice to be able to set a cursor_foreground colour to a colour defined in the 256 palette but at a minimum, text under a block cursor should be set to the defined background colour.

Is there some way to achieve this or is this currently a limitation of VteTerminal?

[Feature request] Working dir in title

Im currently using a minimalist PS1 and have no way to quickly know the current working dir, having it in the window title would help making less mistakes on my end :)
I'd roll a patch by myself but don't have time atm :(

Wrong characters

Hello, sometimes, when I'm using, e.g., ranger in termite, the wrong characters are shown --say, "8"s instead of "i"s. The correct character is printed when the application redraws the screen.

One way I can replicate this is by opening ranger and jumping to a quickmark (with 'p, say).

Cheers,
Manolo

Beep not beeping

Hey there,
$ grep bell .config/termite/config

audible_bell = true
visible_bell = true
urgent_on_bell = true

I'd expect it to beep when running echo -n $'\a', but nothing happens.
Doing the same thing in urxvt (rxvt-unicode) it beeps.

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.