Skip to content

temm - a minimal terminal emulator built on the X11 framework

Notifications You must be signed in to change notification settings

GazPrash/terminal-emulator-x11

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note

Currently in development

temm - terminal emulator

  • tell (and) evaluate (on) my machine - terminal emulator
  • A very basic and minimal terminal built using the default X11/Xlib (X-Window System), hence making it capable of running on virtually every linux distribution

Demo

temm demo

How to use?

Pre-requisites

Setup

  • [1] First make sure you have a monospace font installed on your system, if not you can get one from the fonts directory and install it on your system.
  • [2] You can edit the preferred font by editing the following line of code in main.c; line=23:
    char *fontname = "<yourfontname>.ttf:size=15";
    
  • [3] You now have to select your preferred shell, I recommend using dash because in the current state, temm cannot render Nerd Fonts, hence if you are using any fancy prompts like oh-my-fish or starship then the results could be a little glitchy.
    • Check if you have dash installed:
    which dash
    
    • And if it is installed you should see:
    /usr/bin/dash
    
    • If you do not have dash installed, then you can select your preferred shell by editing main.c; line=27,28
    const char *shell = "/bin/dash";
    const char *login = "-/bin/dash";
    // Note: By convention, shells (like bash or dash) treat an argument starting 
      with "-" as an indicator to run in login mode.
    
  • [4] Now you can build!

Build:

  • [1] Create a build directory and cd build into it.
  • [2] cmake ..
  • [4] cmake --build .
  • [3] ./temm

Sources and References

About

temm - a minimal terminal emulator built on the X11 framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published