Re: [dev] Sandy editor

2011-05-27 Thread Yoshi Rokuko
+ John Matthewman ---+ > > I also have two wishes: > > - Make it possible to turn off highlighting (syntax highlighting, > highlighting the current line) and colour. I'm sure I'm not the only > person who doesn't need that stuff..? > - Keep it as a

Re: [dev] Sandy editor

2011-05-27 Thread Aurélien Aptel
On Fri, May 27, 2011 at 4:52 AM, John Matthewman wrote: > Yea, probably a good idea (of course, ignoring Emacs' chained > keybindings). Sandy would benefit from a better set of default > bindings. Though for reference you might want to look at something > like mg [http://www.openbsd.org/cgi-bin/ma

Re: [dev] Sandy editor

2011-05-27 Thread Aurélien Aptel
On Fri, May 27, 2011 at 10:29 AM, Aurélien Aptel wrote: > arrows on them. A triangle layout (wqsd or ijkl for example) is much > easier to type. I meant wasd (on qwerty), obviously.

Re: [dev] Sandy editor

2011-05-27 Thread Dieter Plaetinck
On Fri, 27 May 2011 10:29:17 +0200 Aurélien Aptel wrote: > On Fri, May 27, 2011 at 4:52 AM, John Matthewman > wrote: > > Yea, probably a good idea (of course, ignoring Emacs' chained > > keybindings). Sandy would benefit from a better set of default > > bindings. Though for reference you might w

Re: [dev] Sandy editor

2011-05-27 Thread Aurélien Aptel
On Fri, May 27, 2011 at 10:54 AM, Dieter Plaetinck wrote: > how ironic you pledge for "sane" keybindings and suggest > bindings optimized for qwerty users... I've used qwerty bindings for the example so anyone could follow. I don't use qwerty myself.

Re: Playing music (was: Re: [dev] mret)

2011-05-27 Thread Andrew Hills
On Thu, May 26, 2011 at 2:22 PM, hiro <23h...@googlemail.com> wrote: > Hmm. How do you "buffer linewise"? I'm 99% sure that means the songs file is a line-delimited list of filenames. --Andrew Hills

Re: Playing music (was: Re: [dev] mret)

2011-05-27 Thread hiro
I still don't get the whole idea. http://sqweek.dnsdojo.org/code/m9u/

Re: [dev] Sandy editor

2011-05-27 Thread Andrew Hills
On Thu, May 26, 2011 at 3:53 PM, Rafa Garcia Gallego wrote: > That is indeed a great idea. I'll try to stick with the UNIX defaults, > fill in with Emacs when in doubt and remove META when possible. Please, please, please do not use Emacs-style "chains". They make no sense and hurt the hands. >

Re: [dev] Sandy editor

2011-05-27 Thread Noah Birnel
> *Please*, use sane keybindings. Emacs and vi were made with a specific > keyboard from the 70s in mind. A time were the hjkl keys had little > arrows on them. A triangle layout (wqsd or ijkl for example) is much > easier to type. Puke. Triangle layout may be more intuitive to learn for single ch

Re: [dev] Sandy editor

2011-05-27 Thread Aurélien Aptel
On Fri, May 27, 2011 at 8:26 PM, Noah Birnel wrote: > Puke. Triangle layout may be more intuitive to learn for single char/line > movement, but is probably not easier to type. Certainly not WASD layout, > laying on the weak fingers of the left hand. wasd is only an example... Pick another triangl

Re: [dev] Sandy editor

2011-05-27 Thread Jacob Todd
Sam has sane keybindins. On May 27, 2011 2:26 PM, "Noah Birnel" wrote: >> *Please*, use sane keybindings. Emacs and vi were made with a specific >> keyboard from the 70s in mind. A time were the hjkl keys had little >> arrows on them. A triangle layout (wqsd or ijkl for example) is much >> easier

Re: [dev] Sandy editor

2011-05-27 Thread Arian Kuschki
On 27 May 2011 10:46, Aurélien Aptel wrote: > On Fri, May 27, 2011 at 10:29 AM, Aurélien Aptel > wrote: > > arrows on them. A triangle layout (wqsd or ijkl for example) is much > > easier to type. > > I meant wasd (on qwerty), obviously. > > that would be just sweet for the myriads of colemak us

[dev] suckless wget/curl

2011-05-27 Thread ilf
I think we can safely agree that both of these suck: -rwxr-xr-x 1 root root 123K 2011-01-26 20:11 /usr/bin/curl* -rwxr-xr-x 1 root root 346K 2011-02-20 12:05 /usr/bin/wget* Since I can't be the first to realize that, is there already a suckless alternative for simple HTTP/FTP data transfer? -

Re: [dev] suckless wget/curl

2011-05-27 Thread Stanislav Paskalev
I tend to use axel - http://axel.alioth.debian.org/ Regards, Stanislav Paskalev

Re: [dev] suckless wget/curl

2011-05-27 Thread u
Hi, On Fri, May 27, 2011 at 11:49:50PM +0200, ilf wrote: > I think we can safely agree that both of these suck: > > -rwxr-xr-x 1 root root 123K 2011-01-26 20:11 /usr/bin/curl* > -rwxr-xr-x 1 root root 346K 2011-02-20 12:05 /usr/bin/wget* > > Since I can't be the first to realize that, is there a

Re: [dev] suckless wget/curl

2011-05-27 Thread Jakub Lach
> I think we can safely agree that both of these suck: > > -rwxr-xr-x 1 root root 123K 2011-01-26 20:11 /usr/bin/curl* > -rwxr-xr-x 1 root root 346K 2011-02-20 12:05 /usr/bin/wget* > > Since I can't be the first to realize that, is there already a suckless > alternative for simple HTTP/FTP data

Re: [dev] suckless games collection?

2011-05-27 Thread v4hn
On Thu, May 26, 2011 at 11:01:51AM +0200, pancake wrote: > I found this chess implementation in obfuscated C. I'm sure than > cleaning it up > (deobfuscating it) will make it ready to be in the cathegory of > "suckless games" > > http://nanochess.110mb.com/chess1_es.html > > What do you think a

Re: [dev] suckless games collection?

2011-05-27 Thread v4hn
sorry for double post, missed the attachment. v4hn /* simple chess implementation by v4hn @ 2009 */ #include #include #include typedef enum { BLACK = 0x00, WHITE = 0x20 } chess_color; typedef unsigned short chess_move; typedef signed char chess_pos; typedef char* chess_board; #define I

Re: [dev] suckless wget/curl

2011-05-27 Thread ilf
On 05-28 00:00, u...@netbeisser.de wrote: why not use standard tools? 14K /usr/bin/GET 70K /usr/bin/ftp /usr/bin/GET: symbolic link to `lwp-request' /usr/bin/lwp-request: a /usr/bin/perl -w script text executable -- ilf Über 80 Millionen Deutsche benutzen keine Konsole. Klick dich nicht weg

Re: [dev] suckless wget/curl

2011-05-27 Thread Rob
Here's one I wrote: http://github.com/jeffwar/wgetlite 26K without debugging symbols, unfortunately it doesn't statically link yet (getaddrinfo), but it'll be pretty trivial to sort it.

Re: [dev] suckless wget/curl

2011-05-27 Thread Connor Lane Smith
Hey, Here's one I just hacked together for fun. It uses netcat. It understands redirects, but that's it. -8<- #!/bin/sh if test $# -ne 1; then echo "usage: $0 url" >&2 exit 1 fi wget (){ url="$(echo "$1" | sed 's/^http:\/\///')" host="$(echo "$url" | sed 's/\/.*//')" path="$(ec

Re: [dev] suckless wget/curl

2011-05-27 Thread Connor Lane Smith
On 28 May 2011 00:34, Connor Lane Smith wrote: > Here's one I just hacked together for fun. It uses netcat. It > understands redirects, but that's it. Except I made a typo on line 10 -- 's/(/|(/' -- and it doesn't work for every site, it seems. I'll probably work out why when I have more time. St

Re: [dev] suckless wget/curl

2011-05-27 Thread zilog
> Since I can't be the first to realize that, is there already a > suckless alternative for simple HTTP/FTP data transfer? I find snarf very handy for http/ftp/gopher transfers. Maybe it sucks less. http://www.xach.com/snarf/ jgw

***SPAM*** Re: [dev] suckless wget/curl

2011-05-27 Thread Eckehard Berns
> Except [...] it doesn't work for every site, it seems. I'll probably > work out why when I have more time. Might be chunked transfer encoding. At least that was the first thing that came to mind looking at your code. > Still, I thought it was cute. Yes, I actually liked it. Chunked transfer en

Re: [dev] suckless wget/curl

2011-05-27 Thread Anthony J. Bentley
On Fri, May 27, 2011 at 3:49 PM, ilf wrote: > Since I can't be the first to realize that, is there already a suckless > alternative for simple HTTP/FTP data transfer? NetSurf uses curl, but wants to get rid of it. It might be worth: a) looking at their plans for a fetch implementation, or b) if t

Re: [dev] suckless wget/curl

2011-05-27 Thread Connor Lane Smith
If you're a fan of Plan 9, there's hget[1], which handles HTTP and FTP. It's not in 9base, since it requires a couple of other libraries, but you can get it in P9P. Alternatively you can grab a copy of Federico's Abaco[2] web browser, which bundles webfs and lets you mount the web as a 9P file syst

Re: [dev] Sandy editor

2011-05-27 Thread Josh Rickmar
On Fri, May 27, 2011 at 10:55:53PM +0200, Arian Kuschki wrote: > On 27 May 2011 10:46, Aur?lien Aptel wrote: > > > On Fri, May 27, 2011 at 10:29 AM, Aur?lien Aptel > > wrote: > > > arrows on them. A triangle layout (wqsd or ijkl for example) is much > > > easier to type. > > > > I meant wasd (on

Re: [dev] Sandy editor

2011-05-27 Thread Rafa Garcia Gallego
I asked around, found about a couple of very keybind maps using only Control: http://www.wordstar.org/wordstar/history/wmvswscmds.htm Then again they do not implement the unix standard ^U ^W ^H, which sucks a bit. Also, WordMaster may be unfeasible straight up as the Return key generates ^J and a