Re: [dwm] [Offtopic] minimalistic filesystem ncurses viewer

From: Jack Woehr <jax_AT_well.com>
Date: Sat, 27 Dec 2008 08:54:53 -0700

Ricardo Catalinas Jiménez wrote:
> I tried it after vifm but what I really wanted was a very minimal
> filesystem viewer with vim-like commands, that's why I wrote fm.
>

Cute, from screenshot and description, fm reminds me of FULIST on z/VM.

But it doesn't build on OpenBSD:

    $ gmake CC=gcc
    ctags fm.c fs.c ui.c cmd.c fm.h
    gcc -g -Wall -pedantic -ansi $(pkg-config --cflags glib-2.0) -c -o
    fm.o fm.c
    fm.c: In function `set_sighandlers':
    fm.c:60: error: `SIGWINCH' undeclared (first use in this function)
    fm.c:60: error: (Each undeclared identifier is reported only once
    fm.c:60: error: for each function it appears in.)
    fm.c: In function `unset_sighandlers':
    fm.c:73: error: `SIGWINCH' undeclared (first use in this function)
    gmake: *** [fm.o] Error 1

which is kind of weird because even if I specifically #include
<sys/signal.h>
in which `SIGWINCH' is declared it doesn't find it. Haven't had time yet
to dig in deep.

-- 
Jack J. Woehr            # I run for public office from time to time. It's like
http://www.well.com/~jax # working out at the gym, you sweat a lot, don't get
http://www.softwoehr.com # anywhere, and you fall asleep easily afterwards.
Received on Sat Dec 27 2008 - 15:54:53 UTC

This archive was generated by hypermail 2.2.0 : Sat Dec 27 2008 - 16:12:04 UTC