Re: [dev] Plain text editor that sucks less - an alternative to VIM?

2014-07-01 Thread Alexander S.
2014-06-29 18:43 GMT+04:00 Aapo Vienamo : >> 2. Fantastic syntax highlighting > This may be considered harmfull in general. [0] > [0] http://www.linusakesson.net/programming/syntaxhighlighting/ Hello, This snippet of thought makes a case that reading code is like reading a literature, when in fact,

Re: [dev] network protocol packing

2014-07-01 Thread Markus Wichmann
On Mon, Jun 30, 2014 at 08:54:52PM +0200, Markus Teich wrote: > Heyho, > > since I did not find any suckless project regarding this issue, I would like > to > ask you guys for some feedback: > > > unsigned char *msg; > size_t msg_size; > struct foo *msg_data; > struct bar *msg_signature; > > m

Re: [dev] Why do you use tmux/screen?

2014-07-01 Thread Anthony J. Bentley
Dimitris Zervas writes: > Hello, > > After a year or so in the list, I think each and every one is using tmux or > screen (I think more tmux, but do not start a war please, that's not the > subject). > Why is that? I use tmux with ii for IRC. I was tired of always confusing the irssi and tmux key

Re: [dev] network protocol packing

2014-07-01 Thread Steve Dee
On Tue, Jul 1, 2014 at 8:01 AM, Markus Teich wrote: > Rob wrote: >> You've got alignment issues here - msg will be aligned to support any >> type (as malloc's interface specifies) so msg+1 will most likely be on >> an odd address, one byte off a highly aligned address. This means if >> your struct

Re: [dev] Why do you use tmux/screen?

2014-07-01 Thread Bigby James
On 06/30, Charlie Kester wrote: > On Mon 30 Jun 2014 at 17:48:48 PDT Dimitris Zervas wrote: > >-BEGIN PGP SIGNED MESSAGE- > >Hash: SHA512 > > > >Hello, > > > >After a year or so in the list, I think each and every one is using tmux or > >screen (I think more tmux, but do not start a war ple

Re: [dev] [sites] footer - change year to 2014

2014-07-01 Thread Christoph Lohmann
Greetings. On Tue, 01 Jul 2014 19:45:06 +0200 FRIGN wrote: > Hello all, > > as this change is not possible through the git-repo, I'd like to ask > one of the sites-maintainers to change the year in the footer of all > suckless.org-pages from 2013 to 2014 inside the werc-template. > > © 2006-20

Re: [dev] Text-only browser that sucks less?

2014-07-01 Thread Wolfgang Corcoran-Mathe
Quoth Silvan Jegen on Mon, Jun 30 2014 09:39 +0200: Better than link-numbering using numbers is the link-enumeration using characters on the homerow on the keyboard: Page 1[aa] 2[ab] 3[js]... I am not aware of a text-based browser that works that way though. Excellent idea. Would JavaScript e

Re: [dev] network protocol packing

2014-07-01 Thread Dimitris Papastamos
On Tue, Jul 01, 2014 at 05:01:43PM +0200, Markus Teich wrote: > Rob wrote: > > You've got alignment issues here - msg will be aligned to support any > > type (as malloc's interface specifies) so msg+1 will most likely be on > > an odd address, one byte off a highly aligned address. This means if >

Re: [dev] network protocol packing

2014-07-01 Thread Markus Teich
Rob wrote: > You've got alignment issues here - msg will be aligned to support any > type (as malloc's interface specifies) so msg+1 will most likely be on > an odd address, one byte off a highly aligned address. This means if > your struct contains anything other than chars, you'll have UB. This i

Re: [dev] Why do you use tmux/screen?

2014-07-01 Thread Silvan Jegen
On Tue, Jul 1, 2014 at 4:04 PM, FRIGN wrote: > On Tue, 01 Jul 2014 19:24:09 +0530 > Weldon Goree wrote: > >> Pretty sure it's a lemma. > > I'm sure it's not, given I deal with lemmata every day being a > mathematician. What you have presented simply is a question. There is a term called 'lemma'

Re: [dev] Why do you use tmux/screen?

2014-07-01 Thread FRIGN
On Tue, 01 Jul 2014 19:35:06 +0530 Weldon Goree wrote: > In a rare event on mailing lists, I concede: it wasn't a lemma, but an > invitation to make one. Yes, I totally agree on that. Hopefully somebody comes up with a lemma, but I won't be the one to prove it ;). > Will do. I'm a tcsh refugee

Re: [dev] Why do you use tmux/screen?

2014-07-01 Thread Weldon Goree
On 07/01/2014 07:34 PM, FRIGN wrote: > > I'm sure it's not, given I deal with lemmata every day being a > mathematician. What you have presented simply is a question. > In a rare event on mailing lists, I concede: it wasn't a lemma, but an invitation to make one. > See the "."-suggestion as a s

Re: [dev] Why do you use tmux/screen?

2014-07-01 Thread Amadeus Folego
On Tue, Jul 01, 2014 at 03:51:00PM +0200, FRIGN wrote: > On Tue, 01 Jul 2014 08:42:03 +0530 > Weldon Goree wrote: > > > Lemma: does anybody know of a good environment-managing program[0]? > > This is not a lemma. > > I know a good program. It's called ".". Check it out! Please see bs[0] and en

Re: [dev] Why do you use tmux/screen?

2014-07-01 Thread FRIGN
On Tue, 01 Jul 2014 19:24:09 +0530 Weldon Goree wrote: > Pretty sure it's a lemma. I'm sure it's not, given I deal with lemmata every day being a mathematician. What you have presented simply is a question. See the "."-suggestion as a serious note. Set up right, you can definitely store env-sta

Re: [dev] Why do you use tmux/screen?

2014-07-01 Thread Weldon Goree
On 07/01/2014 07:21 PM, FRIGN wrote: > > This is not a lemma. > > I know a good program. It's called ".". Check it out! > Pretty sure it's a lemma. Dot is great. It also doesn't do what I'm looking for, and isn't even a "program" in most sense of the word. Cheers, Weldon

Re: [dev] Why do you use tmux/screen?

2014-07-01 Thread FRIGN
On Tue, 01 Jul 2014 08:42:03 +0530 Weldon Goree wrote: > Lemma: does anybody know of a good environment-managing program[0]? This is not a lemma. I know a good program. It's called ".". Check it out! Cheers FRIGN -- FRIGN

Re: [dev] Why do you use tmux/screen?

2014-07-01 Thread Teodoro Santoni
On Tue, Jul 01, 2014 at 03:48:48AM +0300, Dimitris Zervas wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Hello, > > After a year or so in the list, I think each and every one is using tmux or > screen (I think more tmux, but do not start a war please, that's not the > subject).

Re: [dev] Why do you use tmux/screen?

2014-07-01 Thread Balazs Kezes
On 2014-07-01 13:00 +0100, Raphaël Proust wrote: > At some point, I use to run a vim inside a tmux inside a window. It > turned out to be super annoying because all the shortcuts to move the > windows, splits, and views ended up being very similar and got mixed > up from time to time. Yup, that's

Re: [dev] network protocol packing

2014-07-01 Thread Dimitris Papastamos
On Tue, Jul 01, 2014 at 01:56:04PM +0200, Markus Teich wrote: > struct msg_signed_data { > unsigned int op; > struct foo data; > struct bar signature; > }; If this is data that goes across the network then instead of directly mapping a struct on that data I'd simply have function

Re: [dev] Why do you use tmux/screen?

2014-07-01 Thread stanio
* hiro 2014-07-01 13:45 > I'd rather have the window manager manage all those persistent shell sessions. > But tmux is such a beast that most people use is as their window > manager in a window manager as well. tmux (or dvtm, or tabbed, or other multiplexer) run locally inside wm make sense for lo

Re: [dev] network protocol packing

2014-07-01 Thread Martti Kühne
On Tue, Jul 1, 2014 at 2:56 PM, Markus Teich wrote: > thanks for your feedback. What about declaring a struct for each message-type: > > struct msg_signed_data { > unsigned int op; > struct foo data; > struct bar signature; > }; > > This should also solve the alignment issu

Re: [dev] Why do you use tmux/screen?

2014-07-01 Thread Raphaël Proust
On 1 July 2014 12:44, hiro <23h...@gmail.com> wrote: > I'd rather have the window manager manage all those persistent shell sessions. > But tmux is such a beast that most people use is as their window > manager in a window manager as well. At some point, I use to run a vim inside a tmux inside a w

Re: [dev] network protocol packing

2014-07-01 Thread Markus Teich
Rob wrote: > You've got alignment issues here - msg will be aligned to support any > type (as malloc's interface specifies) so msg+1 will most likely be on > an odd address, one byte off a highly aligned address. This means if > your struct contains anything other than chars, you'll have UB. This i

Re: [dev] Why do you use tmux/screen?

2014-07-01 Thread hiro
I'd rather have the window manager manage all those persistent shell sessions. But tmux is such a beast that most people use is as their window manager in a window manager as well. It's a bit kafkaesque to run a seperate tmux for each shell you open, but those other detach alternatives don't seem t

Re: [dev] Why do you use tmux/screen?

2014-07-01 Thread Ari Malinen
tmux is useful for detach, tabs, scrolling and copy/paste. On Tue, Jul 1, 2014 at 10:45 AM, Maxime Coste wrote: > Hello > > On Tue, Jul 01, 2014 at 03:48:48AM +0300, Dimitris Zervas wrote: >> After a year or so in the list, I think each and every one is using tmux or >> screen (I think more tmux

Re: [dev] Why do you use tmux/screen?

2014-07-01 Thread Maxime Coste
Hello On Tue, Jul 01, 2014 at 03:48:48AM +0300, Dimitris Zervas wrote: > After a year or so in the list, I think each and every one is using tmux or > screen (I think more tmux, but do not start a war please, that's not the > subject). > Why is that? For the tabs? > Why not use tabbed? or DWM's