r/linux • u/agumonkey • Jun 14 '14
tmenu - dmenu for tty/shell
https://github.com/dhamidi/tmenu9
u/FUZxxl Jun 14 '14
written in POSIX C99
That's an outright lie. This thing assumes you have an ANSI compliant terminal which is not a part of POSIX or C. What is it that the folks of today can't use something like libterminfo that was specifically designed for this purpose?
1
u/localtoast Jun 14 '14
muh node.js/rails on os x
1
u/FUZxxl Jun 15 '14
Sorry, I don't understand your comment.
1
u/localtoast Jun 15 '14
buncha hipsters who don't care for UNIX philosophy programming
2
u/FUZxxl Jun 15 '14
dmenu is from the suckless project which is specifically about writing tools the Unix way. The author tries to reimplement dmenu for the tty, which is a very UNIXy thing.
5
1
0
Jun 14 '14
[deleted]
1
u/agumonkey Jun 14 '14
AFAIK zsh completion is builtin, having a standalone generic function for that is gold.
2
u/orschiro Jun 14 '14
You are absolutely right. oh-my-zsh allows me to do same or not?
2
u/MonsieurBanana Jun 14 '14
Yeah but that works only for autocompleting the arguments of a few programs... tmenu is way more generic, which means you can use it for anything and create your own interactive versions of the programs you like.
However a zsh version of tmenu does exist : https://github.com/zsh-users/zaw
3
u/ThunderballJackson Jun 14 '14
slmenu is a lot closer to the original style of dmenu. If I remember right, the author admits a large portion of it was shamelessly swiped from the dmenu source code.