* `xterm`'s `-e` option is an option with a **variable number of parameters*.
It does not perform word splitting on its own and takes all argv's words
after it. Therefore, the quotation marks in man and info prevent you from
passing them switches and multiple arguments.
* Some commands (like `xdg`-gues) takes 1 argument and they can contain
shell-symbols -> must be braced
* Some of them (like man & info) can take multiple arguments and (as it seems
to me) cannot contain shell-symbloc -> must not be braced to split query to
multiple words.
Use libc's system(3) to run commands, this includes any shell command
and special stuff that only a shell interpreter can understand
Set to 0 if you want a more conservative approach where the file to run
is validated and errors running files are reported (without closing the gmrun window)
SHELL_RUN = 1
ref #4
The gtk entry must be emtpy before pressing "!"
It enters a special (history) search mode that only
matches the start of strings, a reverse search
hit CTRL-R or CTRL-S to extend search backwards or forwards
- CTRL-R enters search mode
- type text until you find something
- hit CTRL-R to nagivate through history items that mach the search text
CTRL-S: regular search
CTRL-R: reverse search
There's one advantage: you can use CTRL-S and CTRL-R any time
and you'll navigate through the results at will
complete_from_list()
add param 'cword' with a string to strdup if completion window is not displayed
complete_line()
rename GList *ls to FileList, and move it a few lines up
use FileList instead of cl->cmpl
if num_items == 1 then pass FileList->data as the second param to complete_from_list()
the gtk_list_store is used after it's been destroyed
on_cursor_changed was being triggered inappropriately
block the signal in destroy_completion_window()