GNU bug report logs - #39457
Fix baud-rate option in inputattach-service

Previous Next

Package: guix-patches;

Reported by: Tim Gesthuizen <tim.gesthuizen <at> yahoo.de>

Date: Thu, 6 Feb 2020 18:38:02 UTC

Severity: normal

Done: iyzsong <at> member.fsf.org (宋文武)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 39457 in the body.
You can then email your comments to 39457 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#39457; Package guix-patches. (Thu, 06 Feb 2020 18:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tim Gesthuizen <tim.gesthuizen <at> yahoo.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 06 Feb 2020 18:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tim Gesthuizen <tim.gesthuizen <at> yahoo.de>
To: guix-patches <at> gnu.org
Cc: Raghav Gururajan <raghavgururajan <at> disroot.org>
Subject: Fix baud-rate option in inputattach-service
Date: Thu, 06 Feb 2020 19:37:32 +0100
[Message part 1 (text/plain, inline)]
Hi,

the "baud-rate" option for inputattach-service is broken, the
inputattach program expects the option to be named just "--baud".
The attached patch fixes the issue.

Just out of interest: Should we stick in Guix to the option used by the
program or stick with the old name?
I would like to keep the "baud-rate" name as it is the thing the
parameter configures: The baud-rate for the connection.

Tim.

[0001-services-inputattach-Fix-broken-baud-rate-option.patch (text/x-patch, inline)]
From 223608191ba3587b1e9f1e1257d482dc89c59709 Mon Sep 17 00:00:00 2001
From: Tim Gesthuizen <tim.gesthuizen <at> yahoo.de>
Date: Thu, 6 Feb 2020 19:26:03 +0100
Subject: [PATCH] services: inputattach: Fix broken baud rate option

* gnu/services/desktop.scm (inputattach-shepherd-service): Use "--baud" for
  setting the baud-rate.
---
 gnu/services/desktop.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm
index 9dcdf38be1..1294d748ac 100644
--- a/gnu/services/desktop.scm
+++ b/gnu/services/desktop.scm
@@ -1070,7 +1070,7 @@ as expected.")))
   (match-lambda
     (($ <inputattach-configuration> type device baud-rate log-file)
      (let ((args (append (if baud-rate
-                             (list "--baud-rate" (number->string baud-rate))
+                             (list "--baud" (number->string baud-rate))
                              '())
                          (list (string-append "--" type)
                                device))))
-- 
2.25.0


Reply sent to iyzsong <at> member.fsf.org (宋文武):
You have taken responsibility. (Fri, 07 Feb 2020 03:55:01 GMT) Full text and rfc822 format available.

Notification sent to Tim Gesthuizen <tim.gesthuizen <at> yahoo.de>:
bug acknowledged by developer. (Fri, 07 Feb 2020 03:55:01 GMT) Full text and rfc822 format available.

Message #10 received at 39457-done <at> debbugs.gnu.org (full text, mbox):

From: iyzsong <at> member.fsf.org (宋文武)
To: Tim Gesthuizen <tim.gesthuizen <at> yahoo.de>
Cc: Raghav Gururajan <raghavgururajan <at> disroot.org>, 39457-done <at> debbugs.gnu.org
Subject: Re: [bug#39457] Fix baud-rate option in inputattach-service
Date: Fri, 07 Feb 2020 11:54:15 +0800
Tim Gesthuizen <tim.gesthuizen <at> yahoo.de> writes:

> Hi,
>
> the "baud-rate" option for inputattach-service is broken, the
> inputattach program expects the option to be named just "--baud".
> The attached patch fixes the issue.

Pushed, thank you!

>
> Just out of interest: Should we stick in Guix to the option used by the
> program or stick with the old name?
> I would like to keep the "baud-rate" name as it is the thing the
> parameter configures: The baud-rate for the connection.
>

I think both are fine, as we document it in our info manual.

:)




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 06 Mar 2020 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 143 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.