Re: [dwm] dinput 0.2

From: Ruben Gonzalez Arnau <rga_AT_sdf.lonestar.org>
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] http://dokucode.de/cgi-bin/show.sh?path=/Projects/dinput
> --
> No documentation is better than bad documentation
>
>
# make
dinput build options:
CFLAGS = -g -Wall -O0 -I. -I/usr/include -I/usr/X11R6/include
-DVERSION="0.2"
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 *);

Regards!
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