Re: djbwares version 9

2019-03-21 Thread Dan Ritter
황병희 wrote: > On Wed, Mar 20 2019, Jonathan de Boyne Pollard wrote: > > ...snip... > >http://jdebp.eu./Softwares/djbwares/qmail-patches.html#any-to-cname > > just comment: > whenever i see these patches, i think qmail is not easy to handle. qmail is the easiest mail server to understand and c

Program behaves differently depending on how started

2019-03-21 Thread B.M.
Dear all, I have a problem with a program that once works well and once has a problem, depending on the way I start it. If I start kdenlive (video editing) by clicking on a file in dolphin, it works as expected, i.e. it can play music files as well as video clips including video and audio. If

Re: Program behaves differently depending on how started

2019-03-21 Thread Tomaž Šolc
Hi On 21. 03. 19 11:57, B.M. wrote: > So, there has to be a difference in "process context", right? How I can > I check that? Unfortunately I'm all completely stumped in this case. Most of the process context is available in the proc filesystem (see "man proc" for a list of what's in there) Get

Flushing all Buffers Before Exiting

2019-03-21 Thread Martin McCormick
I have been using unix of various flavors for 30 years so this is a bit of a bone-head question except that different styles of unix handle this situation somewhat differently. Imagine that you run a process whose output you want to catch so you run it as someproc >catchfile. The

Re: Flushing all Buffers Before Exiting

2019-03-21 Thread Kenneth Parker
Have you tried the Command Line: "sync"? Kenneth Parker

Re: youtube video downloader for chrome

2019-03-21 Thread Pierre Frenkiel
On Wed, 20 Mar 2019, Celejar wrote: On Wed, 20 Mar 2019 10:34:42 +0100 (CET) Pierre Frenkiel wrote: On Tue, 19 Mar 2019, riveravaldez wrote: Maybe worth mentioning: youtube-dl, exceptionally useful and simple CLI tool. useful and simple... but it works only for urls with alphanumeric c

Re: Flushing all Buffers Before Exiting

2019-03-21 Thread tomas
On Thu, Mar 21, 2019 at 10:32:06AM -0400, Kenneth Parker wrote: > Have you tried the Command Line: "sync"? That won't help in the OP's case, I think: sync is about writing out the operating system's buffers to the file system. In the OP's case it's about the process's I/O buffers which haven't y

Re: youtube video downloader for chrome

2019-03-21 Thread David Wright
On Thu 21 Mar 2019 at 15:38:41 (+0100), Pierre Frenkiel wrote: > On Wed, 20 Mar 2019, Celejar wrote: > > On Wed, 20 Mar 2019 10:34:42 +0100 (CET) Pierre Frenkiel > > wrote: > > > On Tue, 19 Mar 2019, riveravaldez wrote: > > > > > > > Maybe worth mentioning: youtube-dl, exceptionally useful and s

Re: Flushing all Buffers Before Exiting

2019-03-21 Thread Martin McCormick
Kenneth Parker writes: > Have you tried the Command Line: "sync"? Excellent question and I did, in fact, try that command just before killing the running process. It had no effect. also writes: > That won't help in the OP's case, I think: sync is about writing out > the opera

Re: Systemd files on a Raspberry Pi

2019-03-21 Thread chris
the resistance is still strong ... Systemd-Free Debian "Devuan" Planning Their First Developer Gathering This Spring https://www.phoronix.com/scan.php?page=news_item&px=Devuan-Conference-2019 On Tue, Feb 12, 2019 at 2:15 PM Andrew McGlashan < andrew.mcglas...@affinityvision.com.au> wrote: >

Re: Flushing all Buffers Before Exiting

2019-03-21 Thread Greg Wooledge
On Thu, Mar 21, 2019 at 11:35:51AM -0500, Martin McCormick wrote: > I wrote the application that is creating this output in > perl https://perl.plover.com/FAQs/Buffering.html

devscripts 'bts' mail setup

2019-03-21 Thread John Scott
I'm having trouble configuring bts via ~/.devscripts, though similar settings do work for Reportbug, and I'm looking for help solving this. I want bts to send mail via SMTP, so this is how the relevant lines of .devscripts looks right now. BTS_SMTP_HOST=posteo.de:587 BTS_SMTP_AUTH_USERNAME=jsc..

Re: Flushing all Buffers Before Exiting

2019-03-21 Thread tomas
On Thu, Mar 21, 2019 at 12:46:17PM -0400, Greg Wooledge wrote: > On Thu, Mar 21, 2019 at 11:35:51AM -0500, Martin McCormick wrote: > > I wrote the application that is creating this output in > > perl > > https://perl.plover.com/FAQs/Buffering.html This is it, thanks, Greg. Most run times (C'

Re: youtube video downloader for chrome

2019-03-21 Thread Fred
On 03/21/2019 08:41 AM, David Wright wrote: On Thu 21 Mar 2019 at 15:38:41 (+0100), Pierre Frenkiel wrote: On Wed, 20 Mar 2019, Celejar wrote: On Wed, 20 Mar 2019 10:34:42 +0100 (CET) Pierre Frenkiel wrote: On Tue, 19 Mar 2019, riveravaldez wrote: Maybe worth mentioning: youtube-dl, except

Re: Flushing all Buffers Before Exiting

2019-03-21 Thread Curt
On 2019-03-21, wrote: > > > On Thu, Mar 21, 2019 at 10:32:06AM -0400, Kenneth Parker wrote: >> Have you tried the Command Line: "sync"? > > That won't help in the OP's case, I think: sync is about writing out > the operating system's buffers to the file system. In the OP's case > it's about the

Re: Flushing all Buffers Before Exiting

2019-03-21 Thread Greg Wooledge
On Thu, Mar 21, 2019 at 06:01:26PM -, Curt wrote: > I'm reading a pty app won't buffer (script, screen, etc.). Well, it's a convention, adopted by the C library functions in stdio. stdio(3) says: At program startup, three text streams are predefined and need not be opened exp

Re: Flushing all Buffers Before Exiting

2019-03-21 Thread Luís Gomes
Try stdbuf.

Re: Flushing all Buffers Before Exiting

2019-03-21 Thread David Wright
On Thu 21 Mar 2019 at 11:35:51 (-0500), Martin McCormick wrote: > I wrote the application that is creating this output in > perl and there may be a unique solution there that solves this specific > problem. That is not as good as a general course of action which > works in all cases of outp

Re: Flushing all Buffers Before Exiting

2019-03-21 Thread Lee
On 3/21/19, Martin McCormick wrote: > I have been using unix of various flavors for 30 years so > this is a bit of a bone-head question except that different > styles of unix handle this situation somewhat differently. > > Imagine that you run a process whose output you want to > catch

Re: youtube video downloader for chrome

2019-03-21 Thread Pierre Frenkiel
On Thu, 21 Mar 2019, Fred wrote: I think you would be better off with: youtube-dl --update ==> youtube-dl --update It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update.

Re: youtube video downloader for chrome

2019-03-21 Thread David Wright
On Thu 21 Mar 2019 at 10:17:11 (-0700), Fred wrote: > On 03/21/2019 08:41 AM, David Wright wrote: > > On Thu 21 Mar 2019 at 15:38:41 (+0100), Pierre Frenkiel wrote: > > > On Wed, 20 Mar 2019, Celejar wrote: > > > > On Wed, 20 Mar 2019 10:34:42 +0100 (CET) Pierre Frenkiel > > > > wrote: > > > > >

devscripts 'bts' mail setup

2019-03-21 Thread John Scott
I'm having trouble configuring bts via ~/.devscripts, though similar settings do work for Reportbug, and I'm looking for help solving this. I want bts to send mail via SMTP, so this is how the relevant lines of .devscripts looks right now. BTS_SMTP_HOST=posteo.de:587 BTS_SMTP_AUTH_USERNAME=jsc..

Re: youtube video downloader for chrome

2019-03-21 Thread Fred
On 03/21/2019 11:57 AM, David Wright wrote: On Thu 21 Mar 2019 at 10:17:11 (-0700), Fred wrote: On 03/21/2019 08:41 AM, David Wright wrote: On Thu 21 Mar 2019 at 15:38:41 (+0100), Pierre Frenkiel wrote: On Wed, 20 Mar 2019, Celejar wrote: On Wed, 20 Mar 2019 10:34:42 +0100 (CET) Pierre Frenki

Re: Flushing all Buffers Before Exiting

2019-03-21 Thread Martin McCormick
David Wright writes: > An efficient way of doing this is to trap a signal, like USR1, > in your program, and react by either your close/open-append or > just flushing the buffers. That way, the program will run > normally most of the time, without wasting all that time > opening/closing files. >

Re: Flushing all Buffers Before Exiting

2019-03-21 Thread deloptes
Martin McCormick wrote: > Before reading this posting, I added code in my perl > script to open, append and close the file but the suggestion to > add a signal handler is a much better idea so thanks for the > suggestion. I always use # Execute anytime before the . # Causes the currently selecte