Skip to content

Releases

KofTerm 0.9.1

Choose a tag to compare

@DATAdotPDF DATAdotPDF released this 24 Oct 02:38
v0.9.1
f948536

Emoji no longer close KofTerm, and a narrow window says why the column is gone. Everyone on 0.9.0 should update. Tested by Pedro in QTerminal on Kali.

Fixed

  • KofTerm 0.9.0 closed (substring cannot split an astral code point) when an emoji above U+FFFF, such as 😀 or 👍🏽, was typed, was in the name of the current folder, or was in the output of a command that failed. Every cut of a text now steps over both halves of such a character.

Added

  • Right width for emoji and wide characters. The widths come from glibc's wcwidth. 😀 and Chinese, Japanese and Korean characters take two columns, and combining accents and skin tones join the character before them. The typed line, the cursor, the column and the TAB list stay aligned.
  • Editing keys. The arrows, Backspace, Delete and Ctrl+W move over and delete an emoji whole.
  • Narrow window. Below 69 columns, the bottom line explains why the column is gone and how to bring it back (widen the window or make the font smaller with Ctrl -). F2 shows the same notice instead of a beep.
  • Very small window. Below 20×5, KofTerm shows "window too small" with the size, and the screen comes back when the window grows.
  • Selftest. kofterm selftest has 22 checks: one more puts an emoji in the typed line, in a folder name and in the output of a failed command.

Install (no KOF needed)

sha256sum -c SHA256SUMS
tar -xzf kofterm-0.9.1-linux-x86_64.tar.gz && ./kofterm-0.9.1-linux-x86_64/kofterm install

Updating from source: cd ~/kofterm && git pull && ./install.sh, then reopen KofTerm (kofterm update shows the right command for your install).

Site: https://datadotpdf.github.io/kofterm/ · Full changelog: CHANGELOG.md

KofTerm 0.9.0

Choose a tag to compare

@DATAdotPDF DATAdotPDF released this 24 Oct 01:51
v0.9.0
02a3da3

KofTerm in English: the index, the screens and the ? recipes. Portuguese stays the default. Tested by Pedro in QTerminal on Kali.

Added

  • kofterm lang en switches KofTerm to English from the next window, and kofterm lang pt switches back.
    • Index: all 150 entries are translated (index/en.txt).
    • Screens: the column, the danger and caution reasons, the F1 tab, the welcome line and the key list.
    • Recipes: the 142 ? recipes are asked in English (? install htop, ? what is my ip, ? who is using port 80). The commands are the same as in Portuguese.
  • The recipe search understands English filler words and synonyms: find, locate and look mean search, show and view mean see, and admin means root.

Fixed

  • The column never draws past its border. In a narrow window, the ends of long lines used to spill into the Bash area and stay there. Now the key list wraps at spaces, and a header that does not fit drops whole items.
  • The welcome line breaks between items, never in the middle of a word.
  • F1 tab: long names show in full (/etc/resolv.conf), a description too long for the screen ends in …, and long option names get their own line.

Install (no KOF needed)

sha256sum -c SHA256SUMS
tar -xzf kofterm-0.9.0-linux-x86_64.tar.gz && ./kofterm-0.9.0-linux-x86_64/kofterm install

Updating from source: cd ~/kofterm && git pull && ./install.sh, then reopen KofTerm (kofterm update shows the right command for your install).

Site: https://datadotpdf.github.io/kofterm/ · Full changelog: CHANGELOG.md

KofTerm 0.8.0

Choose a tag to compare

@DATAdotPDF DATAdotPDF released this 23 Oct 23:30
v0.8.0
3fe3492

Finding things: the history, the files of a folder and the output that already scrolled away. Tested by Pedro in QTerminal on Kali.

Added

  • Ctrl+R searches the history. What you already typed becomes the search, and the column lists every earlier command that contains it, newest first. ↑/↓ picks one. Enter puts it on the line without running it, and Esc gives your line back. Dangerous commands show in red.
  • A file list on TAB. When there is no grey suggestion and the name could be several files, TAB lists them in the column, with folders in blue. In a narrow window the list appears below the line, like Bash. TAB moves to the next one, and Enter picks it.
  • Old output. KofTerm keeps the last 2,000 lines that scrolled off the screen. At the prompt, the mouse wheel and Shift+PgUp/PgDn scroll back through them; a bar at the top shows how far up you are, and any key returns to the end.
  • Mouse handling. KofTerm takes the mouse only at the prompt. When a command runs, the mouse goes back to the terminal, and vim and htop still get theirs. While the wheel is on, select text with Shift+drag. F3 turns the wheel off and on, and the choice is remembered.
  • kofterm selftest now checks 21 things, including that the wheel scrolls old output and that the mouse is released when a program runs.

Install (no KOF needed)

sha256sum -c SHA256SUMS
tar -xzf kofterm-0.8.0-linux-x86_64.tar.gz && ./kofterm-0.8.0-linux-x86_64/kofterm install

Updating from source: cd ~/kofterm && git pull && ./install.sh, then reopen KofTerm (kofterm update shows the right command for your install).

Site: https://datadotpdf.github.io/kofterm/ · Full changelog: CHANGELOG.md

KofTerm 0.7.2

Choose a tag to compare

@DATAdotPDF DATAdotPDF released this 23 Oct 21:16
v0.7.2
b88ebf2

Two small helps that came from Pedro's own test of 0.7.1.

Added

  • Caps Lock: after "command not found", a known command typed in uppercase is suggested in lowercase, and the rest of the line stays the same: EXIT → exit, LS -la → ls -la, sudo CAT /etc/hosts → sudo cat /etc/hosts. The column explains that Linux treats uppercase and lowercase as different names.
  • Each window knows its version. Inside a KofTerm window older than the installed program, kofterm version and the "KofTerm is already open" message say so and ask you to type exit and open kofterm again. Before, kofterm version showed the installed version and hid that the window was still the old one.

Install (no KOF needed)

sha256sum -c SHA256SUMS
tar -xzf kofterm-0.7.2-linux-x86_64.tar.gz && ./kofterm-0.7.2-linux-x86_64/kofterm install

Updating from source: cd ~/kofterm && git pull && ./install.sh, then reopen KofTerm (kofterm update shows the right command for your install).

Site: https://datadotpdf.github.io/kofterm/ · Full changelog: CHANGELOG.md

KofTerm 0.7.1

Choose a tag to compare

@DATAdotPDF DATAdotPDF released this 23 Oct 19:16
v0.7.1
05758ef

Networking recipes for labs, kofterm update, and a safer test web server, from Pedro's own test of 0.7.0.

Added

  • 18 networking recipes for labs and Cisco studies. Examples: ? calcular sub-rede 192.168.10.0/26 → ipcalc, ? por onde sai o trafego para 8.8.8.8 → ip route get. The others cover:
    • adding or removing an IP on an interface, and renewing it through DHCP;
    • MX, NS and TXT records, and asking a specific DNS server;
    • testing a UDP port, listening on a port, and OS detection (lab only).
  • kofterm update shows the right update command for your installation (git pull && ./install.sh for a clone, or the release steps). It downloads and runs nothing: KofTerm stays offline.

Security

  • Test web servers are judged by the folder they serve. python3 -m http.server or php -S in your home folder, ~/.ssh, / or a system folder shows Attention, because anyone on the network could download your SSH keys. Doing it as root shows DANGER. Serving only on 127.0.0.1 or a project folder shows nothing.
  • The web server recipe now serves only the folder you name (--directory), and a new recipe serves only to this machine (--bind 127.0.0.1).

Changed

  • kofterm update and the README remind you to reopen KofTerm windows after updating, since open windows keep the old version.
  • Test script step N.5 fixed.

Install (no KOF needed)

sha256sum -c SHA256SUMS
tar -xzf kofterm-0.7.1-linux-x86_64.tar.gz && ./kofterm-0.7.1-linux-x86_64/kofterm install

Updating from source: cd ~/kofterm && git pull && ./install.sh, then reopen KofTerm.

Site: https://datadotpdf.github.io/kofterm/ · Full changelog: CHANGELOG.md

KofTerm 0.7.0

Choose a tag to compare

@DATAdotPDF DATAdotPDF released this 23 Oct 04:50
v0.7.0
15b9704

Security, reliability and tests first, following the review by Mariana (@marianabsctba).

Security

  • Secrets stay out of the history. A line that looks like a password, token or key (mysql -pPASSWORD, export GITHUB_TOKEN=..., curl -u user:pass, https://user:pass@host) still runs, but it is not saved and does not teach the model. Lines that start with a space are also kept out. Secrets saved by older versions are removed on start.
  • Risk judged by context. Every command on the line counts (;, &&, |...), and so do sudo or root and the current folder. There are two levels, each with its reason shown in the column:
    • DANGER (red, never suggested), e.g. echo ok; rm -rf /, cd / && rm -rf *, dd onto a disk;
    • Caution (yellow), e.g. curl … | sh, reboot, git push --force.
  • The prompt marker can no longer be faked. Before, any output (a file, a page, a program asking for a password) could imitate KofTerm's invisible prompt marker and make it capture the next keystrokes. The marker now carries a random token drawn at each start.

Tests

  • New kofterm selftest: opens KofTerm in a new terminal and checks 19 things in about 30 seconds:

    • exit codes;
    • SIGTERM, a closed terminal and a killed bash (terminal restored, no orphan bash);
    • 300,000 lines, binary output and a resize storm;
    • a fake marker;
    • no network socket;
    • secrets kept out of the history.

    CI runs it on every push. 81 unit tests.

Changed

  • New "100% brasileiro" identity on the README banner, the site and the cover.

Install (no KOF needed)

sha256sum -c SHA256SUMS
tar -xzf kofterm-0.7.0-linux-x86_64.tar.gz && ./kofterm-0.7.0-linux-x86_64/kofterm install
kofterm selftest

Site: https://datadotpdf.github.io/kofterm/ · Full changelog: CHANGELOG.md

KofTerm 0.6.6

Choose a tag to compare

@DATAdotPDF DATAdotPDF released this 22 Oct 02:45
v0.6.6
a44c964

A README that gets straight to the point, and the Kali prompt fixed.

Fixed

  • The ㉿ in Kali's default prompt (and other double-width characters) now takes two columns. Before, every prompt line was one column too long and erased the index column's separator, which looked like a dotted line.

Changed

  • README (English and Portuguese) rewritten: what KofTerm is, a real screen, install right away, first steps, what it does, why, safety, KOF, how to help; the process and audit trail come at the end. Technical sections moved to docs/COMO_FOI_FEITO.md / docs/HOW_IT_WAS_BUILT.md.

Install (no KOF needed)

sha256sum -c SHA256SUMS
tar -xzf kofterm-0.6.6-linux-x86_64.tar.gz && ./kofterm-0.6.6-linux-x86_64/kofterm install

Site: https://datadotpdf.github.io/kofterm/ · Full changelog: CHANGELOG.md

KofTerm 0.6.5

Choose a tag to compare

@DATAdotPDF DATAdotPDF released this 22 Oct 02:35
v0.6.5
52f53da

Open to contributors: guide, code of conduct, issue templates and a project site.

Site: https://datadotpdf.github.io/kofterm/

Added

  • CONTRIBUTING.md: ways to help from easiest (a recipe or an index entry, no KOF needed) to KOF code; local setup; issues and pull requests; project rules; recognition.
  • CODE_OF_CONDUCT.md and SECURITY.md; issue forms (bug, recipe, index entry, idea) and a pull request template.
  • First issues to pick up: see good first issue and help wanted.
  • Index entry script and recipe ? gravar a aula em … (148 entries, 124 recipes).

Fixed

  • Running kofterm inside KofTerm now explains instead of nesting a second KofTerm (subcommands still work inside).

Install (no KOF needed)

sha256sum -c SHA256SUMS
tar -xzf kofterm-0.6.5-linux-x86_64.tar.gz && ./kofterm-0.6.5-linux-x86_64/kofterm install

Full changelog: CHANGELOG.md

KofTerm 0.6.4

Choose a tag to compare

@DATAdotPDF DATAdotPDF released this 22 Oct 02:17
v0.6.4
8c20c21

"What is missing, KofTerm points to", and a full test script.

Added

  • When a program is not installed, the index column warns while you type and shows "Para baixar o que falta, use: » sudo apt install <pacote>"; after "command not found" the empty line already holds that command (without sudo as root). Nothing is installed without your Enter.
  • Index line ! package for programs whose package has another name (dig → bind9-dnsutils, ss → iproute2…); new htop entry (147 entries).
  • Outside the index, the package the system itself names; otherwise apt search <name>.
  • docs/TESTE_HUMANO.md: a full test script covering every feature (★ = 30-minute essentials).

Fixed

  • sl → ls (was nl), gti → git status instead of the joke package gti.

Install (no KOF needed)

sha256sum -c SHA256SUMS
tar -xzf kofterm-0.6.4-linux-x86_64.tar.gz && ./kofterm-0.6.4-linux-x86_64/kofterm install

Full changelog: CHANGELOG.md

KofTerm 0.6.3

Choose a tag to compare

@DATAdotPDF DATAdotPDF released this 22 Oct 00:14
v0.6.3
bb2cda4

From the human test of 0.6.2 as root.

Fixed

  • Recipes know when the shell is root (after sudo -i): commands drop sudo, and "become root" is no longer suggested to someone who already is. ? acessar .cache na pasta root now gives cd /root/.cache as root and sudo ls -la /root/.cache as a normal user.
  • New recipe line % command for the root version of a recipe (% - hides it for root). 123 recipes, 353 ways of asking.

Install (no KOF needed)

sha256sum -c SHA256SUMS
tar -xzf kofterm-0.6.3-linux-x86_64.tar.gz && ./kofterm-0.6.3-linux-x86_64/kofterm install

Full changelog: CHANGELOG.md