Re: [dwm] dietline - minimalistic readline implementation

2008-01-24 Thread pancake
Updats for dietline: http://news.nopcode.org/dietline.c * cursor support - move around the line with arrow keys - insert text inside the line from the cursor index * new keybindings - ^W - remove last word from cursor - ^H - remove a char from cursor * Fixups for autocompletion

Re: [dwm] dietline - minimalistic readline implementation

2008-01-23 Thread Nathan Hutchison
I like the sucksless base idea, (and dietline too!) currently I am using plan9 userspace. On Jan 24, 2008 5:38 AM, pancake <[EMAIL PROTECTED]> wrote: > On Wed, Jan 23, 2008 at 03:13:28PM +0100, Enno Gottox Boland wrote: > > Very nice idea. What about collecting all these "baseutilities" and > >

Re: [dwm] dietline - minimalistic readline implementation

2008-01-23 Thread pancake
On Wed, Jan 23, 2008 at 03:13:28PM +0100, Enno Gottox Boland wrote: > Very nice idea. What about collecting all these "baseutilities" and > put them on suckless.org? If we can write more utilities we may get a > complete suckless userspace... :) Sure! When I implement all the basic stuff like nest

Re: [dwm] dietline - minimalistic readline implementation

2008-01-23 Thread Enno "Gottox" Boland
Very nice idea. What about collecting all these "baseutilities" and put them on suckless.org? If we can write more utilities we may get a complete suckless userspace... :) 2008/1/23, pancake <[EMAIL PROTECTED]>: > Oops I forgot to say that it supports a dmenu-mode (this code inherits from > the ol

Re: [dwm] dietline - minimalistic readline implementation

2008-01-23 Thread pancake
Oops I forgot to say that it supports a dmenu-mode (this code inherits from the old eread program I send to the list few months ago). Usage is quite simple: int main(int argc, char **argv) { char *ret; dl_init(); dl_prompt = "$ "; do { ret = dl_re

[dwm] dietline - minimalistic readline implementation

2008-01-23 Thread pancake
As I request in a previous mail I have developed a readline-like library in a minimalistic way avoiding the unnecessary overhead and dependency with a single portable c file. I have tested this on NetBSD, GNU/linux and native w32 and works pretty fine. The library currently supports autocompletio