No description
![]() In the current implementation, the slave PTY (assigned to the variable `s') is always closed after duplicating it to file descriptors of standard streams (0, 1, and 2). However, when the allocated slave PTY `s' is already one of 0, 1, or 2, this causes unexpected closing of a standard stream. The same problem occurs when the file descriptor of the master PTY (the variable `m') is one of 0, 1, or 2. In this patch, the original master PTY (m) is closed before it would be overwritten by duplicated slave PTYs. The original slave PTY (s) is closed only when it is not one of the stanrad streams. |
||
---|---|---|
.gitignore | ||
arg.h | ||
config.h | ||
config.mk | ||
FAQ | ||
LEGACY | ||
LICENSE | ||
Makefile | ||
README | ||
README.md | ||
st.1 | ||
st.c | ||
st.h | ||
st.info | ||
TODO | ||
win.h | ||
x.c |
st - simple terminal emulator for X
This is my terminal that I use every day, and maybe it will work for you too.
- Based on st-0.8.4
- Default theme: Apprentice
- Default font: fantasque-sans
- Spare font:
Source Code Pro
Bindings
- Scrollback: with
shift-↑/↓
- Scrollback mouse:
shift
while scrolling the mouse - Change font size:
ctrl+shift-↑/↓
- Reset font size:
ctrl+shift-home
returns to default - Copy/Paste text: with
ctrl+shift-c
,ctrl+shift+v
andctrl+shift-insert
or right mouse click - Extract all visible URLs and present rofi/dmenu to select and open one:
ctrl+shift+U
Requirements
make
tool for buildinglibXft
library for fonts drawingXlib
header files for interacting with an X serverxurls
tool for extract urls from plain textFantasque
default font which you can change inconfig.h
Patches
- st-scrollback
- st-scrollback-mouse
- alpha
- externalpipe
- rightclickpaste
- font2
Simple installation
git clone https://github.com/ssilaev/st
cd st
sudo make install