From: Stas Sergeev <stsp@list.ru>
To: Jakub Klawiter <jklawiter@gmail.com>, linux-msdos@vger.kernel.org
Subject: Re: lag while printing and serial redirect
Date: Wed, 14 Dec 2016 23:00:58 +0300 [thread overview]
Message-ID: <cb346a88-62cc-fd2b-5478-d1098b9e62dc@list.ru> (raw)
In-Reply-To: <CAOpyoqbWfKBDA7_ExBShnuL0Rsfj=BCx4ttEXpuw_neeN6DTVg@mail.gmail.com>
14.12.2016 17:32, Jakub Klawiter пишет:
> Hello!
>
> 2016-12-13 22:13 GMT+01:00 Stas Sergeev <stsp@list.ru>:
>
>>> $_lpt1 = "lpr -l"
>>> $_printer_timeout = (10)
>> So why dont you reduce the timeout then?
> Hmm… i was sure that timeout is about something else rather about
> existance / being ready to print…
Perhaps it would be better to call something like "$_printout_delay",
but its probably too late to rename.
> i've changed it to 5 it's better i
> think. Tried also 1 but the print was corrupted this way :(
>
>
>> Yes, but not as simple. You need to establish the pty link
>> with 'socat' program. But this feature is quite simple to add.
> Thank you very much!
>
> For future users what I did is:
The future users will unlikely to need this, as I've added such
capability to git.
> $ cat run-raporty.sh
> #!/bin/bash
>
> socat -d -d -u pty,group=dialout,mode=660,link=/tmp/ttyCOM1,raw,echo=0
> create:/tmp/ttyCOM1.txt &
> SOCAT_PID=$!
>
> dosemu -X -f "/home/cartoon/skrypty/dosemu-raporty.conf" -E r.bat
Are you sure you need '-X' for running just the bat file?
Try -dumb or -td or -t depending on dosemu version.
next prev parent reply other threads:[~2016-12-14 20:00 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-13 13:26 lag while printing and serial redirect Jakub Klawiter
2016-12-13 17:04 ` Frank Cox
2016-12-13 21:13 ` Stas Sergeev
2016-12-14 14:32 ` Jakub Klawiter
2016-12-14 20:00 ` Stas Sergeev [this message]
2016-12-15 16:18 ` Jakub Klawiter
2016-12-15 21:57 ` Stas Sergeev
2016-12-15 22:10 ` Jakub Klawiter
2016-12-15 22:18 ` Stas Sergeev
2016-12-19 13:34 ` Jakub Klawiter
2016-12-19 13:53 ` Jakub Klawiter
2016-12-20 0:19 ` Stas Sergeev
2016-12-20 20:37 ` Jakub Klawiter
2016-12-21 21:22 ` Stas Sergeev
2016-12-25 14:03 ` Jakub Klawiter
2016-12-25 16:58 ` Stas Sergeev
2016-12-27 22:44 ` Jakub Klawiter
2016-12-28 20:04 ` Stas Sergeev
2016-12-20 0:17 ` Stas Sergeev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cb346a88-62cc-fd2b-5478-d1098b9e62dc@list.ru \
--to=stsp@list.ru \
--cc=jklawiter@gmail.com \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox