Hot answers tagged


Terminals are different from other forms of I/O, and a terminal emulator needs to present itself as a terminal. A terminal (including a pseudoterminal) has certain attributes, such as its line length and supported control sequences. Programs can ask for these, for example, in general ls will determine whether its output is going to a terminal, and then ...

Only top voted, non community-wiki answers of a minimum length are eligible