quake-style console with xterm
at master 28 lines 1.1 kB view raw view rendered
1## qconsole 2 3![https://i.imgur.com/IBAAN8j.png](https://i.imgur.com/IBAAN8j.png) 4 5qconsole is a simple application that makes an xterm window behave like the 6drop-down console on the game "Quake" (and probably many others). 7 8When qconsole is started, it spawns an xterm with the "`-into`" option to 9reparent it under qconsole, and then hides it offscreen. 10 11To show the terminal, press `Control+O` and it will scroll onto the screen. 12Press it again and it will scroll back off the screen. 13If the xterm is killed, a new one will be spawned. 14 15The xterm is launched with a name of `qconsole`. 16To adjust its colors and font, add xterm X resources to your X resources file 17(and maybe run xrdb) such as: 18 19 .qconsole*background: white 20 .qconsole*foreground: black 21 .qconsole*internalBorder: 5 22 .qconsole*utmpInhibit: true 23 .qconsole*rightScrollBar: true 24 25To adjust the window height from its default of 1/5 of the screen height, 26use the `-h` option. 27To adjust the speed that the console scrolls, use the `-s` option (1 to 10, 28default of 5).