Re: [DNG] netman-autostart_0.1.1

2016-01-08 Thread Rainer Weikusat
Edward Bartolo writes: >> printf 'g/^Comment=/d\na\n%s\n.\nwq\n' "$comment" | ed netman.desktop [*] > > Hi, > > I tried to use the above command instead of: > > sed -i "/Exec=netman/c\ ${line}" "${launcher}" > > but found that it corrupts the destination .desktop file. Maybe your copy did that (

Re: [DNG] netman-autostart_0.1.1

2016-01-08 Thread Rainer Weikusat
aitor_czr writes: > On 01/07/2016 09:34 PM, Rainer Weikusat > wrote: >> printf 'g/^Comment=/d\na\n%s\n.\nwq\n' "$comment" | ed netman.desktop [*] > > Aitor. > > [*] Joseph Conrad. ? Regardless of that, if you quote text from me, especially code, it would be a good idea if you didn't modify tha

Re: [DNG] PAM usage

2016-01-08 Thread Didier Kryn
Le 07/01/2016 15:53, Rainer Weikusat a écrit : Patient: Doctor! Doctor! Whenever I do X, it hurts terribly! Doctor: Don't do X. It happened to me: Me: Doctor, doctor, in some situations, like when I drive a car, my eyes blink and it's terribly uncomfortable, not to say dangerous.

Re: [DNG] netman-autostart_0.1.1

2016-01-08 Thread Edward Bartolo
Hi All, Thanks for all helpful hints. I used echo to print multiple lines including the two lines, i.e. the lines starting with "Exec=" and "Comment=", in one command. The output is used to recreate the .deskop file as follows: Code quoted from: netman-gui.postinst: (lines 72 - 83) rm -f "${laun

Re: [DNG] netman-autostart_0.1.1

2016-01-08 Thread Rainer Weikusat
Edward Bartolo writes: > Hi All, > > Thanks for all helpful hints. I used echo to print multiple lines > including the two lines, i.e. the lines starting with "Exec=" and > "Comment=", in one command. The output is used to recreate the .deskop > file as follows: > > Code quoted from: netman-gui.p

Re: [DNG] netman-autostart_0.1.1

2016-01-08 Thread Rainer Weikusat
Rainer Weikusat writes: [...] > and Edward would just claim that it Maybe defuse that a little: I have no idea what he would or wouldn't do. But I don't just use a PRNG to combine non-alphanumeric characters when making code suggestions, that's all tested and debugged before. Hence, (unsubstan

Re: [DNG] netman-autostart_0.1.1

2016-01-08 Thread aitor_czr
On 01/08/2016 01:58 PM, Rainer Weikusat wrote: >Hi, > >I tried to use the above command instead of: > >sed -i "/Exec=netman/c\ ${line}" "${launcher}" > >but found that it corrupts the destination .desktop file. Maybe your copy did that (in this case, posting the copy and the result could be very

Re: [DNG] netman-gtk3: invalid pointer error

2016-01-08 Thread aitor_czr
Hi Irrwahn, On 01/06/2016 11:24 PM, dng-requ...@lists.dyne.org wrote: Note: I didn't try to undertand what the code is intended to do, just commenting on some obvious flaws. >void scan_buffer (char **ptr, char *command, char *name, char *str1, char *str2) >{ > FILE *fp; > char *cad1, *cad

[DNG] kbd, init curtain call in Debian

2016-01-08 Thread Clarke Sideroad
It looks like the choice loss and changes creep on. It popped up on my sid/ceres/no-systemd box today: | | |kbd (2.0.3-2) unstable; urgency=medium The kbd init script is no longer supported. If configuration in /etc/kbd/config and /etc/kbd/remap is unmodified there will be an attempt to automat