Is there a reliable way to check how many colors my terminal emulator supports?
What is the relation of X server process to a terminal emulator process and a window manager process? Specifically:
In a bash shell in a terminal emulator window of lxterminal, I run
I’ve noticed that SyncTERM uses a different character encoding than the default MacOS terminal emulator, and they’re incompatible with one another. For example, say you want to print a block character in a format string. In SyncTERM, which uses the IBM Extended ASCII character encoding, you would use an octal escape sequence like
261. In Terminal.app (and probably iTerm2 as well), this just prints a question mark. Since these terminals use UTF-8, you need to use the
uxxxx escape sequence.
Say I need to write a script that will launch a terminal and execute a command and I need that to work on various systems. How can I do that in a safe and portable manner?
I’ve noticed, that all mate-terminal instances I start, be it inside a mate-terminal or via a link button, have the same PID.
I have a problem with colors in my terminal emulator. I am using
LXTerminal as my terminal emulator and
LXDE as my desktop environment.
There are several points where I/O is passed through, some of which (to my knowledge) are the shell, pty, tty, termios, terminal emulator application. In most terminal emulators, long command lines (ones that exceed current $COLUMNS) are wrapped to a new line before the user submits the command by pressing Enter. Also, the line is wrapped backward to the line above when the appropriate number of characters are removed from the command line as one would expect.
I have tested this with both Ubuntu 12.04 and Debian 7. When I do