's Avatar

@timokramer.bsky.social

40 Followers  |  210 Following  |  2 Posts  |  Joined: 20.11.2024  |  1.6471

Latest posts by timokramer.bsky.social on Bluesky


The “terminal” is actually a bunch of components that work together. Let’s imagine that you’re running python3 blah.py.

Illustration of a flow chart. It begins with a smiling stick figure with curly hair, labelled “you”. Arrows leading away from “you” are labelled “keyboard shortcuts”, “type”, and “click”.

The arrows lead to a little character with a winky cursor face, labelled “terminal emulator: xterm, iTerm, GNOME terminal”.

In the middle of the diagram are two boxes, PTMX, and TTY. Between the two of them is the OS terminal driver (“Linux, Mac OS”).

There are arrows labelled “bytes” going between the terminal emulator and the OS terminal driver, and between the OS terminal driver and the programs on the far right.

The programs (“cat, vim, top, bash”) are represented by two box with smiley faces, labelled “shell” and “python”.
the terminal emulator

your terminal emulator is a translator:

    it translates all your typing/clicks into bytes
    and it takes all the bytes the program sends and displays them on the screen

the terminal driver

the terminal driver is part of your operating system. It’s in charge of sending signals to Python when you press Ctrl+C, and some other more obscure things.

(more on page 24)
the shell

the shell is a special program which you use to start all other programs

The shell doesn’t do much after a program has started. Programs get a copy of the shell’s current directory, environment variables, and input/outputs, etc and then they’re on their own.

The “terminal” is actually a bunch of components that work together. Let’s imagine that you’re running python3 blah.py. Illustration of a flow chart. It begins with a smiling stick figure with curly hair, labelled “you”. Arrows leading away from “you” are labelled “keyboard shortcuts”, “type”, and “click”. The arrows lead to a little character with a winky cursor face, labelled “terminal emulator: xterm, iTerm, GNOME terminal”. In the middle of the diagram are two boxes, PTMX, and TTY. Between the two of them is the OS terminal driver (“Linux, Mac OS”). There are arrows labelled “bytes” going between the terminal emulator and the OS terminal driver, and between the OS terminal driver and the programs on the far right. The programs (“cat, vim, top, bash”) are represented by two box with smiley faces, labelled “shell” and “python”. the terminal emulator your terminal emulator is a translator: it translates all your typing/clicks into bytes and it takes all the bytes the program sends and displays them on the screen the terminal driver the terminal driver is part of your operating system. It’s in charge of sending signals to Python when you press Ctrl+C, and some other more obscure things. (more on page 24) the shell the shell is a special program which you use to start all other programs The shell doesn’t do much after a program has started. Programs get a copy of the shell’s current directory, environment variables, and input/outputs, etc and then they’re on their own.

the terminal: cast of characters

wizardzines.com/comics/the-t...

02.04.2025 15:03 — 👍 163    🔁 21    💬 3    📌 2
Preview
»So geht morgen!« 9. Internationaler »Cradle to Cradle-Congress« vom 13. bis 14. März an der TU Berlin

#C2CC25: Die weltweit größte Plattform für geschlossene Kreislaufwirtschaft stellt die neuesten Lösungen für einen intelligenten Stoffwechsel mit der Natur vor und lädt zur Diskussion über die Herausforderungen der Zukunft ein.

02.02.2025 11:17 — 👍 3    🔁 2    💬 0    📌 0
Post image

Es ist offiziell: Ich habe ein #Berufsverbot bekommen (Auszüge⬇️).
Weil ich eine marxistische Analyse der #Klimakrise vertrete. Ich stehe dazu: Die Wirtschaft muss demokratisiert werden, damit nicht einige wenige Superreiche für ihre Profite den Planeten zugrunde richten können.

11.02.2025 06:21 — 👍 5416    🔁 1742    💬 288    📌 225

repostet

25.02.2025 12:23 — 👍 0    🔁 0    💬 0    📌 0
Preview
Jetzt erst recht Das starke Wahlergebnis bietet der Linken die entscheidende Chance, sich als radikale Opposition zu erneuern. Um die AfD langfristig zu stoppen, muss die Partei die kommenden Jahre nutzen, um sich tiefer in der Gesellschaft zu verankern.

Das starke Wahlergebnis bietet der Linken die entscheidende Chance, sich als radikale Opposition zu erneuern. Um die AfD langfristig zu stoppen, muss die Partei die kommenden Jahre nutzen, um sich tiefer in der Gesellschaft zu verankern.

24.02.2025 11:03 — 👍 63    🔁 10    💬 1    📌 1
Preview
GitHub - lispyclouds/climate: The side kick for your CLIs powered by OpenAPI The side kick for your CLIs powered by OpenAPI. Contribute to lispyclouds/climate development by creating an account on GitHub.

New #golang lib from me: github.com/lispyclouds/...
Finally a non clojure thing after a long time addressing some of repeated boilerplate issues when building CLIs by being more data and spec driven and being simple.
Open to feedback and hopefully is of use to someone too!

14.12.2024 12:46 — 👍 5    🔁 2    💬 1    📌 0

I mean, you can hardly compare a centralized state like France with a federalist state like Germany. Most probably German states like Berlin takes over more responsibilities as a french city like Paris. Don't know much about it but I'd assume there are huge differences.

28.11.2024 10:44 — 👍 0    🔁 0    💬 1    📌 0
Preview
Haushaltskürzungen Berlin 2025 Visualisierung der Berliner Haushaltskürzungen 2025 nach Ressorts und Abteilungen

Some design/data/viz friends of mine found Berlin's published budget data to be a pain. So they did it right, making the CDU/SPD's massive €3B cuts understandable. berlin-haushalt25.nand.io

27.11.2024 07:13 — 👍 7    🔁 1    💬 1    📌 0

@timokramer is following 20 prominent accounts