Re: [dwm] dinput 0.2

From: Ruben Gonzalez Arnau <>
Date: Thu, 6 Dec 2007 22:24:07 +0100 (CET)

> Hi,
> I released a new version of dinput[1] today. dinput is a derivative of
> dmenu,
> but with a history and line editing. In this version i added support for
> binding actions to keystrokes. For example will -e '^a=popen(xclip -o)'
> define a keybinding for ctrl+a, which inserts the output of `xclip -o`
> command
> to the actual cursor position.
> Feel free to comment.
> cheers,
> didi
> [1]
> --
> No documentation is better than bad documentation
# make
dinput build options:
CFLAGS = -g -Wall -O0 -I. -I/usr/include -I/usr/X11R6/include
LDFLAGS = -g -L/usr/lib -lc -L/usr/X11R6/lib -lX11
CC = cc
CC draw.c
CC main.c
main.c:8:17: error: cmd.h: No such file or directory
main.c:47: error: 'cmd_exec' undeclared here (not in a function)
main.c:48: error: 'cmd_exit' undeclared here (not in a function)
main.c:49: error: 'cmd_popen' undeclared here (not in a function)
main.c:50: error: 'cmd_insert' undeclared here (not in a function)
make: *** [main.o] Error 1

Default make fails, missing cmd.h file?

Putting this declarations on cmd.h works as a workaround.

cat cmd.h
void cmd_exec(char *);
void cmd_exit(char *);
void cmd_popen(char *);
void cmd_insert(char *);

Received on Thu Dec 06 2007 - 22:24:38 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:09:11 UTC