Changes

Jump to: navigation, search

TTYs

370 bytes added, 15:16, 8 September 2016
Supported terminal types
'''console''' terminal is the most simple one. It represents <code>/dev/console</code> device and its restore is just literally <code>open(/dev/console)</code>.
 
=== Current terminal ===
 
''current''' terminal is rather an abstraction over real terminal an application uses. Upon its opening the kernel simply provides back the reference to the real one thus the same way as for '''console''' its restore is just <code>open(/dev/tty)</code> with one exception - it must be restored last, ie after all other terminals are restored.

Navigation menu