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

2014-07-01 Thread Dimitris Zervas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Ok, thank you guys! :) I will test it. Now that I'm thinking of it, detach may be very useful. -BEGIN PGP SIGNATURE- Version: APG v1.1.1 iQJCBAEBCgAsBQJTsk7qJRxEaW1pdHJpcyBaZXJ2YXMgPGR6ZXJ2YXNAZHplcnZh

Re: [dev] network protocol packing

2014-07-01 Thread Steve Dee
See also: https://kentonv.github.io/capnproto/

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

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 frrr...@gmail.com 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

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

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 is

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

Re: [dev] network protocol packing

2014-07-01 Thread Martti Kühne
On Tue, Jul 1, 2014 at 2:56 PM, Markus Teich markus.te...@stusta.mhn.de 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

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

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 functions

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). Why is

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

2014-07-01 Thread FRIGN
On Tue, 01 Jul 2014 08:42:03 +0530 Weldon Goree wel...@langurwallah.org 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 d...@frign.de

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 19:24:09 +0530 Weldon Goree wel...@langurwallah.org 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

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 wel...@langurwallah.org 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

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 serious

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

2014-07-01 Thread FRIGN
On Tue, 01 Jul 2014 19:35:06 +0530 Weldon Goree wel...@langurwallah.org 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

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

2014-07-01 Thread Silvan Jegen
On Tue, Jul 1, 2014 at 4:04 PM, FRIGN d...@frign.de wrote: On Tue, 01 Jul 2014 19:24:09 +0530 Weldon Goree wel...@langurwallah.org 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.

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 is

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 your

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

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 please, that's

Re: [dev] network protocol packing

2014-07-01 Thread Steve Dee
On Tue, Jul 1, 2014 at 8:01 AM, Markus Teich markus.te...@stusta.mhn.de 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

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

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; msg_size =

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 aapo.vien...@iki.fi: 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