delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/19/21:22:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-BigFish: V
MIME-Version: 1.0
Subject: RE: Program to "talk" to serial port?
Date: Tue, 19 Oct 2004 18:21:04 -0700
Message-ID: <B7392353E4C4DE4ABC4EC255DB4CA0400E810C@EXCHVS1.spimageworks.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Bruce Dobrin" <dobrin AT imageworks DOT com>
To: <arnstein AT pobox DOT com>, <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 20 Oct 2004 01:22:53.0656 (UTC) FILETIME=[52826D80:01C4B643]
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i9K1MLFR020455

I got it working with very helpful suggestions from list people last
week.  You need to unpack on a linux box and change every reference to
reserve word "aux"  to something else,  next comment out the tweak the
code to disable the root checking,  like this:

dobrin AT THEODOLITE:/c/temp/minicom/minicom-2.1/src> diff config.c
config.c-orig 
185,190c185,188
< /*
<  *   if ((m->flags & PRIVATE) && real_uid == 0) {
<  *       werror(_("You are not allowed to change this parameter"));
<  *       return;
<  * }
<  */
---
>   if ((m->flags & PRIVATE) && real_uid != 0) {
>         werror(_("You are not allowed to change this parameter"));
>         return;
>   }
211,216c209,212
< /*
<  * if ((p->flags & PRIVATE) && real_uid == 0) {
<  *    werror(_("You are not allowed to change this parameter"));
<  *    return;
<  * }
<  */
---
>   if ((p->flags & PRIVATE) && real_uid != 0) {
>       werror(_("You are not allowed to change this parameter"));
>       return;
>   }
251,256c247,250
< /* 
<  *  if ((p->flags & PRIVATE) && real_uid == 0) {
<  *    werror(_("You are not allowed to change this parameter"));
<  *    return;
<  * }
<  */
---
>   if ((p->flags & PRIVATE) && real_uid != 0) {
>       werror(_("You are not allowed to change this parameter"));
>       return;
>   }
1314,1319c1308,1312
< /*
<  * if (real_uid == 0) {
<  *    werror(_("You are not allowed to create a configuration"));
<  *    return;
<  * }
<  */
---
>   if (real_uid != 0) {
>       werror(_("You are not allowed to create a configuration"));
>       return;
>   }


I also had to futz with the make file in ./po for some reason to get
Make install to work corectly

-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf
Of David Arnstein
Sent: Tuesday, October 19, 2004 6:10 PM
To: cygwin AT cygwin DOT com
Subject: Program to "talk" to serial port?

I need a program that can talk to a serial port on the local computer,
the way Hyperterm does for Microsoft Windows.

I would like this program to present its user interface in an xterm.
If that is not possible, perhaps a program that is itself an X11 client
would do.

I was able to compile "minicom" under cygwin.  However, when minicom
launches, it tries to access /dev/ttyS1, which is not provided by
cygwin.

Would someone suggest a program that is suitable, or a program that
might be portable to cygwin.  I am willing to do a bit of work on this.

Thanks for any suggestions!
-- 
David Arnstein       
arnstein AT pobox DOT com  

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019