Is there go up line character? (Opposite of n)
I would like to overwrite something on a line above in a serial console. Is there a character that allows me to move up?
I would like to overwrite something on a line above in a serial console. Is there a character that allows me to move up?
I have a program with a GUI that runs an external program through a Popen call:
I need to run multiple programs one after the other and they each run in a console window.
I want the console window to be visible, but a new window is created for each program. This is annoying because each window is opened in a new position from where the other is closed and steals focus when working in Eclipse.
I want to suppress all of the terminal output produced by a function that runs executables.
Is there a way to detect whether sys.stdout is attached to a console terminal or not? For example, I want to be able to detect if foo.py is run via: $ python foo.py # user types this on console OR $ python foo.py > output.txt # redirection $ python foo.py | grep …. # pipe … Read more
Because I now and then need to use scandinavian letters despite using US Dvorak as my layout, I would like to use Caps Lock as a compose key. (I don’t need Caps Lock at all, I’m not a forum troll)
I’m running CentOS in Linux text mode. When I run the command ls /usr/, the output is too hard to read (dark blue on black). How can I change the text coloring?
I would like to configure bash to execute clear command every time I type some command in the terminal (before executing my command). How can I do that?
I am looking for an explanation of what happens in Linux when this key combination is pressed to change the current terminal. In particular, what software component intercepts this key combination and changes the terminal? Is it the kernel? If it is the kernel, could you provide the location of the source file which handles this?
I’m unable to return to the GUI with Ctrl-Alt-F7 (or any of the 12 function keys). I have some unsaved work and I don’t want to lose them. Are there any other key combinations that will allow me to switch back?