A fast, lightweight and minimalistic Wayland terminal emulator
Find a file
2019-11-19 00:01:55 +01:00
completions client/server: add -t,--term to footclient 2019-11-01 21:10:47 +01:00
doc doc: foot.5: don't upper case 'one' in the middle of a sentence 2019-11-03 16:28:00 +01:00
scripts generate-alt-random-writes: reduce output size 2019-09-20 22:39:09 +02:00
subprojects tllist: switch to codeberg repo + bump 2019-11-18 22:28:31 +01:00
.gitignore initial commit: maps an XDG toplevel window 2019-06-12 20:08:54 +02:00
.gitlab-ci.yml ci: run unit tests 2019-11-18 17:03:30 +01:00
.gitmodules tllist: switch to codeberg repo + bump 2019-11-18 22:28:31 +01:00
async.c async: add async_write(), a write primitive to write to a NONBLOCK:ing FD 2019-11-04 13:46:30 +01:00
async.h async: add async_write(), a write primitive to write to a NONBLOCK:ing FD 2019-11-04 13:46:30 +01:00
base64.c base64: implement encode() 2019-07-19 14:19:42 +02:00
base64.h base64: implement encode() 2019-07-19 14:19:42 +02:00
client.c server/client: harden reading of initialization data, and make async 2019-11-05 10:08:30 +01:00
commands.c scrollback: regression: fix rendering of scrollback diffs less than a screen 2019-10-29 21:09:37 +01:00
commands.h scrollback: initial support for mouse scrolling 2019-07-10 09:15:37 +02:00
config.c config: change default bright5 and bright 6 colors 2019-09-21 12:09:50 +02:00
config.h add config + command line option for setting initial window width/height 2019-08-23 17:26:41 +02:00
csi.c csi: implement "Send Device Attributes (Tertiary DA)" 2019-11-18 12:46:52 +01:00
csi.h performance improvements 2019-07-07 16:32:18 +02:00
fdm.c tllist: is now an external "library", so use <> includes 2019-11-17 19:19:55 +01:00
fdm.h fdm: add fdm_event_add() and fdm_event_del() 2019-11-03 00:52:24 +01:00
font.c font: cache loaded fonts globally 2019-11-01 20:40:42 +01:00
font.h font: load fallback fonts on demand 2019-10-17 17:53:03 +02:00
foot.desktop desktop: clean up, remove unsupported entries 2019-09-29 20:50:27 +02:00
foot.info terminfo: add tab stop related entries, hts and tbc 2019-11-18 13:03:35 +01:00
footrc config: change default bright5 and bright 6 colors 2019-09-21 12:09:50 +02:00
generate-version.sh meson: fix version generation from git 2019-10-19 22:09:52 +02:00
grid.c grid: remove commented out code 2019-08-23 20:07:27 +02:00
grid.h search: wip: initial search matching 2019-08-27 19:33:19 +02:00
input.c input: remove unneeded(?) term_reset_view() calls 2019-11-04 14:10:37 +01:00
input.h input: input_repeat() takes a 'struct wayland' pointer 2019-10-27 18:44:58 +01:00
keymap.h keymap: add meta modifier mappings for keypad keys 2019-08-15 20:07:33 +02:00
LICENSE add license 2019-06-12 20:10:12 +02:00
log.c scan-build: fix a couple of minor warnings from a scan-build run 2019-11-05 10:39:36 +01:00
log.h initial commit: maps an XDG toplevel window 2019-06-12 20:08:54 +02:00
main.c scan-build: fix a couple of minor warnings from a scan-build run 2019-11-05 10:39:36 +01:00
meson.build meson: add 'version' dependency to footclient 2019-11-18 17:01:34 +01:00
osc.c selection: text_from_{clipboard,primary}: add 'done' callback 2019-11-05 08:49:32 +01:00
osc.h ocs: renamed parameter size -> required_size in osc_ensure_size() 2019-07-19 09:56:00 +02:00
PKGBUILD PKGBUILD: need to execute footclient, to generate profiling data 2019-11-01 20:51:09 +01:00
README.md README: mention 'server mode' in the feature list 2019-11-19 00:01:55 +01:00
render.c term: add struct cursor 2019-11-17 09:44:31 +01:00
render.h wayland: move reload_cursor_theme() and update_cursor_surface() to wayland 2019-10-27 19:36:45 +01:00
search.c wayland: implement wayl_init() 2019-10-27 19:08:48 +01:00
search.h search: wip: re-direct input while searching, and build a search buffer 2019-08-27 17:23:28 +02:00
selection.c selection: buffer may be empty if only empty cells where selected 2019-11-16 10:56:10 +01:00
selection.h selection: document the asynchronous behavior of text_from_{primary,clipboard} 2019-11-05 09:13:47 +01:00
server.c tllist: is now an external "library", so use <> includes 2019-11-17 19:19:55 +01:00
server.h server: implement a --server mode 2019-11-01 20:39:09 +01:00
shm.c tllist: is now an external "library", so use <> includes 2019-11-17 19:19:55 +01:00
shm.h shm: automatic buffer purging is now delayed one cycle 2019-11-02 01:27:05 +01:00
slave.c slave: restore signals before calling exec() 2019-11-03 13:24:15 +01:00
slave.h slave: set TERM environment variable in slave process 2019-11-01 21:01:15 +01:00
stride.h refactor: break out stride calculation to new function 2019-08-18 17:59:43 +02:00
terminal.c term: report_mouse_click(): legacy mode only supports rows/cols up to 223. 2019-11-18 11:31:21 +01:00
terminal.h term: try to improve on a performance regression 2019-11-17 18:52:27 +01:00
tokenize.c slave: break out command line tokenizer 2019-07-17 09:46:45 +02:00
tokenize.h slave: break out command line tokenizer 2019-07-17 09:46:45 +02:00
vt.c Revert "vt: replace pre_print() with term_autowrap()" 2019-11-17 17:22:16 +01:00
vt.h Rename: vt_to_slave() -> term_to_slave() 2019-11-03 00:52:24 +01:00
wayland.c tllist: is now an external "library", so use <> includes 2019-11-17 19:19:55 +01:00
wayland.h terminal: call user-defined callback when destroying terminal 2019-11-01 20:34:32 +01:00

foot

foot is a fast Wayland terminal emulator.

Index

  1. Features
  2. Non-features
  3. What does not work?
  4. Fonts
  5. Shortcuts
    1. Keyboard
    2. Mouse
  6. Requirements
    1. Running
    2. Building
  7. Installing
    1. Arch Linux
    2. Other

Features

  • Fast (TODO insert benchmark results here)
  • Wayland native
  • DE agnostic
  • User configurable font fallback
  • Scrollback search
  • Color emoji support
  • "Server" mode (one master process, many windows)

Non-features

This is a non-exhaustive list of things some people might consider being important features (i.e. "must-haves"), that are unlikely to ever be supported by foot.

  • Tabs
  • Graphical elements (menu, buttons etc)

What does not work?

This is a list of known, but probably not all, issues:

  • Unicode combining characters

    Examples: á, 👪🏼 (may not be displayed correctly in your browser/editor)

  • Reflow text on window resize

  • GNOME; might work, but without window decorations.

    Strictly speaking, foot is at fault here; all Wayland applications must be able to draw their own window decorations (but foot is not).

    However, most people want a uniform look and feel on their desktop, including the window decorations. For this reason, a Wayland application can request Server Side Decorations (SSD). GNOME will reply with a "I here you, but sorry, I wont do that".

Fonts

foot supports all fonts that can be loaded by freetype, including bitmap fonts and color emoji fonts.

Foot uses fontconfig to locate and configure the font(s) to use. Since fontconfig's fallback mechanism is imperfect, especially for monospace fonts (it doesn't prefer monospace fonts even though the requested font is one), foot allows you, the user, to configure the fallback fonts to use.

This also means you can configure each fallback font individually; you want that fallback font to use this size, and you want that other fallback font to be italic? No problem!

If a glyph cannot be found in any of the user configured fallback fonts, then fontconfig's list is used.

Shortcuts

At the moment, all shortcuts are hard coded and cannot be changed. It is not possible to define new key bindings.

Keyboard

  • shift+page up/page down

    Scroll up/down in history

  • ctrl+shift+c

    Copy selected text to the clipboard

  • ctrl+shift+v

    Paste from clipboard

  • ctrl+shift+r

    Start a scrollback search

While doing a scrollback search, the following shortcuts are available:

  • ctrl+r

    Search backward for next match

  • ctrl+s

    Search forward for next match

  • escape, ctrl+g

    Cancel the search

  • return

    Finish the search and copy the current match to the primary selection

Mouse

  • left - single-click

    Drag to select; when released, the selected text is copied to the primary selection. Note that this feature is normally disabled whenever the client has enabled mouse tracking, but can be forced by holding shift.

  • left - double-click

    Selects the word (separated by spaces, period, comma, parenthesis etc) under the pointer. Hold ctrl to select everything under the pointer up to, and until, the next space characters.

  • left - triple-click

    Selects the entire row

  • middle

    Paste from primary selection

  • wheel

    Scroll up/down in history

Requirements

Running

  • fontconfig
  • freetype
  • pixman
  • wayland (client and cursor libraries)
  • xkbcommon

Building

In addition to the dev variant of the packages above, you need:

  • meson
  • ninja
  • wayland protocols
  • ncurses
  • scdoc

Installing

Arch Linux

Use makepkg to build the bundled PKGBUILD (run makepkg in the source root directory).

Note that it will do a profiling-guided build, and that this requires a running wayland session since it needs to run an intermediate build of foot.

Other

Foot uses meson. If you are unfamiliar with it, the official tutorial might be a good starting point.

I also recommend taking a look at the bundled Arch PKGBUILD file, to see how it builds foot.