This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Program to "talk" to serial port?
- From: "Bruce Dobrin" <dobrin at imageworks dot com>
- To: <arnstein at pobox dot com>, <cygwin at cygwin dot com>
- Date: Tue, 19 Oct 2004 18:21:04 -0700
- Subject: RE: Program to "talk" to serial port?
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@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@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
Of David Arnstein
Sent: Tuesday, October 19, 2004 6:10 PM
To: cygwin@cygwin.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@pobox.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/