Conversation
Notices
-
New Year's resolution: 80x24
- Omni repeated this.
-
@climagic Honestly, I don't even use that on the console because framebuffer.
-
@kamikaze What does that do? :P
-
@omni The $ symbolizes line delimiters. „apply tput co li“ is a command. It executes „tput co; tput li“. The following lines are the output, number of terminal columns and number of terminal lines. „true“ is just a dummy command that returns 0 like „:“.
-
@kamikaze I do not have an "apply" command, what package does it come from?
-
@toksyuryel The manpage states it originates from 4.2BSD. One of the original Berkley releases from 1983 and famous for introducing the BSD TCP/IP stack.
-
@kamikaze Well that's hardly helpful. Though it suggests that it may simply not exist on Linux but I find that hard to believe. Wikipedia seems to lack an article on it as well, which is odd since they usually have articles about historical programs like that.
-
@toksyuryel I wasn't aware that there is no GNU version of that. They probably have a different command that does something similar with different syntax. You could also do something like this: „for arg in co li; do tput $arg; done“. Note that tput is the important command. Apply is just a hack. tput appeared in 4.4 BSD and is also supplied with ncurses.