Replies: 1 comment 1 reply
-
Hi, thank for joining in the discussion 🙏 The terminal, basically, is a program that receives output from other programs running on "top" of it, displays them on the screen and has it's own set of build in control commands called escape codes (it also handles font rendering and all that stuff). Most terminal emulators implement a set of theses commands and there are a lot of them. Usually it's some variation of the VT100 escape codes. You can use them for example to print colors, request a new buffer from the terminal, erase a line, move the cursor, Et cetera. Usually all terminal emulators support them, and you can make a lot of cool stuff with just that. Vim basically uses that. The escape code below will color the line blue:
There are differences in the implementation of the Linux terminal and the one in VSCode, I don't know which set of escape codes VSCode supports and I think Linux supports VT110 (I don't remember from the top of my head). The terminal on the Linux kernel is also built into the kernel, VSCode is built using electron 🤮, but it is essentially doing the same thing. The Shell, like the one you mentioned $ st -e ls -R / The command above will open the terminal I use, st, interpret the There are as well a lot of different shells, like: If you still have questions, or something was not clear, please ask bellow. Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hello everyone. I would like to bring the discussion about shell and terminals that we had Tuesday and for me it is not very clear:
Because it is the way to access the "kernel", right? So, if the kernel is the same for all these options, what is the difference between them?
Beta Was this translation helpful? Give feedback.
All reactions