Re: [dev] [sbase] Problem tar archiving the output file

2013-07-21 Thread Galos, David
> This might lead to false positive if the tar file is written to another > device. > > $ ~/.sbase/bin/tar cf /mnt/backup/test.tar .config > ignoring '.config/zathura/zathurarc' > > $ find .config/zathura/zathurarc /mnt/backup/test.tar -printf "%i %D %p\n" > 1259 2050 .config/zathura/zathurarc > 1

Re: [dev] [sbase] Problem tar archiving the output file

2013-07-21 Thread Lars Lindqvist
This might lead to false positive if the tar file is written to another device. $ ~/.sbase/bin/tar cf /mnt/backup/test.tar .config ignoring '.config/zathura/zathurarc' $ find .config/zathura/zathurarc /mnt/backup/test.tar -printf "%i %D %p\n" 1259 2050 .config/zathura/zathurarc 1259 2081 /mnt/bac

Re: [dev] [sbase] [patch] Add sha256sum(1)

2013-07-21 Thread sin
On Sun, Jul 21, 2013 at 09:10:31AM -0400, Galos, David wrote: > >> Question, what are we to do with sha512sum? It requires some > >> constants to be long long and we are compiling with C89/C90. > >> > >> Any ideas? > > So far, the solution to this has been to use int64_t in stdint.h > > Although t

Re: *** GMX Spamverdacht *** Re: [dev] daemon for DWM

2013-07-21 Thread Markus Wichmann
On Sun, Jul 21, 2013 at 03:44:15PM +0200, Silvan Jegen wrote: > > You could also save the old values from the previous run, so you would > > only need to call parse_netdev() once per run, not twice. > > Wouldn't that mean that I would have to save the old value in a > persistent file on disk? Read

Re: [dev] [st] Problem with shift insert in neo2 layout

2013-07-21 Thread Thorsten Glaser
Dixi quod… >What raw keys does it precisely produce in st? Oh wait. You expect it to insert from the buffer, as opposed to do a shell functionality. Meh. I just middle-click to do that. You might want to “xmodmap -pke” and look at the output, as well as toy around with xev. If you expect the s

Re: [dev] [st] Problem with shift insert in neo2 layout

2013-07-21 Thread Thorsten Glaser
Markus Teich dixit: > I am using the neo2 keyboard layout [0] via "setxkbmap de neo" and noticed, > the > Shift+AltGr+ä combo does not work in st. > Can someone help me debug/fix this? What raw keys does it precisely produce in st? $ cat Then show what's written. bye, //mirabilos -- 17:08⎜

[dev] [st] Problem with shift insert in neo2 layout

2013-07-21 Thread Markus Teich
Heyho, I am using the neo2 keyboard layout [0] via "setxkbmap de neo" and noticed, the Shift+AltGr+ä combo does not work in st. AltGr+ä produces Insert in neo layout and in urxvt it works as expected (pasting to the terminal from the selection buffer). I also tested bash and mksh: | urxv

Re: [dev] daemon for DWM

2013-07-21 Thread Silvan Jegen
This is an older thread but I just wanted to add some justification for the code I wrote (which seems to have been used by the author of this daemon). On Thu, Jun 27, 2013 at 7:01 PM, Markus Wichmann wrote: > [...] >> while (fgets(buf, bufsize, devfd)) { >> if ((eth0start = strstr(buf, "eth0:

Re: [dev] [sbase] [patch] Add sha256sum(1)

2013-07-21 Thread Galos, David
>> Question, what are we to do with sha512sum? It requires some >> constants to be long long and we are compiling with C89/C90. >> >> Any ideas? > So far, the solution to this has been to use int64_t in stdint.h > Although that header is only guaranteed in c99, the header tends > to be available i

Re: [dev] [sbase] [patch] Add sha256sum(1)

2013-07-21 Thread Galos, David
> Question, what are we to do with sha512sum? It requires some > constants to be long long and we are compiling with C89/C90. > > Any ideas? So far, the solution to this has been to use int64_t in stdint.h Although that header is only guaranteed in c99, the header tends to be available in c89 mode