thanx a lot. i will experiment a bit and see how i can fit that with dwm, i.e. displaying description, possible arguments etc.
K On Mon, June 22, 2009 8:53 am, Dieter Plaetinck wrote: > On Mon, 22 Jun 2009 08:45:11 +0100 (BST) > "Kevin Nagel" <auye...@ebi.ac.uk> wrote: > >> Dmenu shows you only a list of commands specified by PATH. It >> opens >> the app then without any parameters and while selecting for an app >> (or command) there is no description what it does. I think sth >> like >> code completion + brief description + argument specification is >> the >> value of enso. >> >> Another neat thing is you could open, e.g. open openoffice writer, >> type in "2+3/5", highlight, type in enso-terminal "calc this", and >> the result replaces the "2+3/5" string in your document. They >> claim >> that you can do this with other programs as well. I believe I can >> program the parser as a unix command, but when it is run from >> dmenu, >> then I need to specify arguments. >> >> Kev >> > > You can perfectly use a wrapper script that also shows you a > description > You can also load a command by selecting it and then pressing tab, > then > type any additional arguments and they will be used. (eg try > xmess<tab> > foobar) to call 'xmessage foobar'. > > you can also perfectly do your 2nd example by combining tools such > as > xdotool, xbindkeys etc. Or use snippits > (http://rubyforge.org/projects/snippits/) > > Dieter > -- Looking forward to hearing from you. Kind regards, Kevin --- Kevin Nagel PhD Student EMBL Outstation - Hinxton European Bioinformatics Institute Wellcome Trust Genome Campus Hinxton Cambridge, CB10 1SD United Kingdom