RSSAmplifier

Blog

Thoughts-chain

Hi there. I am going to post here thing about my work or my technical hobbies. This means c++, java, haskell, python, linux etc.

kevroletin.github.ioRSS feed ↗10 posts

Latest posts

How terminal works. Part 4: pty, sessions

Script utility Creating pty Sessions Theory Job control in action Missing parts of a.out Conclusion We will finish discussion of tty features by writing a simplified version of script utility. A few simplifications will help us fit most of the code in this post. The task will help us to: create and configure a pseudo-terminal; discuss process groups and sessions in more detail. We will use the C…

How terminal works. Part 3: pty, stty

Terminology tty, pts, serial port, line discipline Session, background/foreground process groups Features configurable by stty Outdated features Relevant features Combination setting Practice Line editor Making plain text output look good Observing signals Conclusion Appendix: relevant stty options by category Terminology tty, pts, serial port, line discipline word tty originated as an…

How terminal works. Part 1: Xterm, user input

Motivation Introduction User input strace Printing non-printable stty raw -echo -isig UTF-8 Conclusion Motivation This blog series explains how modern terminals and command-line tools work. The primary goal here is to learn by experimenting . I’ll provide Linux tools to debug every component mentioned in the discussion. Our focus is to discover how things work. For the explanation of why things…

How terminal works. Part 2: Xterm, CLI tools output

Bash output History Practice 1: ask xterm to execute commands Practice 2: Explore vim output Conclusion Bash output In this blog post, we will discuss what terminal emulators emulate. Terminals (either hardware devices or software programs) perform two primary tasks: visualize the output of tools like bash, cat, top, vi, etc. to the user; pass user input to command-line tools. We’ve already…

Language exchange manifesto

Hi there! I am Vas from Russia. I love learning languages, and I often practice language exchange. I want my learning sessions to be productive both for me and for my partners. Below, I’ve summarized my thoughts about the practice.

Perfect your communication skills in 6 months

If you are not interested to know my story, you might safely skip to the Program section.

[RUS] Заметки начинающего Петербуржца

Прошла ровно неделя с того момента, как я приехал в Питер, я наконец-то справился с бытовыми сложностями, утолил любопытство несколькими длинными прогулками и впервые за неделю смог нормально отработать весь рабочий день. Это значит, что я могу немного расслабиться и написать немного заметок и том, как проходит мой мини-эксперимент. Немного о том, что происходит: я прожил всю жизнь на Дальнем…

Having fun with eight queens

Motivation

Notes about recursion schemes

Intro

In pursuit of my 2nd CI system. Part 1

Introduction