Linked Questions

19 votes
3 answers

How does keyboard mapping work in Linux? [duplicate]

I have always had trouble with understanding the way keyboard mapping and related things are put together in Linux. When things break, it makes my blood boil if I have to sift through endless ...
  • 4,308
2 votes
2 answers

How does bash print to the screen if not with a framebuffer? [duplicate]

I noticed that a framebuffer doesn't always exist on some systems. In these cases, how does bash print to the screen (assuming it ever uses fb devices at all)? Since there's no framebuffer device, ...
1 vote
1 answer

How does the X server emit a character when the keyboard is pressed? [duplicate]

This is actually a coding question. I know that the X server checks the active keyboard layout to figure out which character (supporting unicode) to emit. But I don't actually know how this is done, ...
0 votes
1 answer

Which module in a Linux distribution is responsible for keyboard shortcuts? [duplicate]

I have a specific problem with keyboard shortcuts and haven't gotten a solution for it so far, so now i need to know which module within a Linux distribution is responsible for handling keyboard ...
0 votes
1 answer

How reading command line happens in Ubuntu [duplicate]

As I was doing a project, I came to know about how command line can be read using ncurses and GNU's readline library. However I could not find either in Ubuntu (16.04). I am curious to know how Ubuntu ...
  • 111
0 votes
1 answer

Is it the terminal or the shell that is responsible for actions of keystrokes? [duplicate]

I don't know exactly if the terminal is the handler of keystrokes like CTRL + C or CTRL + D and many others or the shell. When I press a keystoke I think about it this way, as the picture describes: ...
  • 864
1 vote
0 answers

How does a terminal emulator work [duplicate]

I never really understood how a terminal emulator (be it e.g. XTerm or the Linux virtual console) works. What transformations happen to the input (key up/down events) to produce the output (usually ...
  • 29.5k
0 votes
0 answers

How does terminal in Linux actually work? [duplicate]

I'm using Linux console for years, but currently started thinking of how it actually works. Typing a command as a string and pressing Enter returns its output in the same terminal window. Opening a ...
  • 211
0 votes
1 answer

Keybord-key and the resulting character. Who is responsible (in the OS) [duplicate]

Pressing a key on the keybord results in different types of characters in different OS's. e.g. pressing the up arrow in windows will result in a nother sequence of characters then pressing the same ...
  • 1
1 vote
0 answers

How and when is keyboard data encoded from keyboard to application? [duplicate]

How and when is keyboard data encoded? I just want to know in basic terms the process from the keyboard to the application; when is the data from the keyboard encoded? Is it encoded by the keyboard ...
  • 1,377
1509 votes
10 answers

What is the exact difference between a 'terminal', a 'shell', a 'tty' and a 'console'?

I think these terms almost refer to the same thing, when used loosely: terminal shell tty console What exactly does each of these terms refer to?
  • 33.5k
83 votes
4 answers

What are the responsibilities of each Pseudo-Terminal (PTY) component (software, master side, slave side)?

I am trying to figure out how a tty works1 (the work-flow and responsibilities of each elements). I have read several interesting articles about it, but there are still some blurry areas. This is ...
  • 2,117
30 votes
11 answers

How to stop cursor from blinking

How do I make the cursor stop blinking when in a TTY? (or anywhere else). BONUS Points for one universal setting that stops the cursor blinking almost everywhere.
  • 24k
61 votes
2 answers

Documentation on LESS_TERMCAP_* variables?

I see these pretty colors in manpages viewed with less when setting a bunch of these variables. What do they mean, where is the documentation? Is this interpreted by less or termcap? screenshot
  • 713
26 votes
6 answers

key bindings table?

Do we have a key bindings table that translates all the various ways of referring to a key press? I'm using zsh, but I presume that if there was such a table it would work for any shell. The reason I ...
  • 1,893

15 30 50 per page
2 3 4 5