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 [EMAIL PROTECTED] -- 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/
Re: Program to "talk" to serial port?
At 09:09 PM 10/19/2004, you wrote: >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. Why do you say that? I did this: $ ls /dev/ttyS1 /dev/ttyS1 Does it not for you? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/
Re: Program to "talk" to serial port?
David Arnstein wrote: 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! mincom will work -- you need to configure it to use the proper ttySx,, i.e. if you are using com1, configure minicom to use /dev/ttyS0 reid -- 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/
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: [EMAIL PROTECTED]:/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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Arnstein Sent: Tuesday, October 19, 2004 6:10 PM To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] -- 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/
Re: Program to "talk" to serial port?
Bruce Dobrin wrote: 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: You can avoid having to alter the source code, other than the 'aux' references by: copying the /etc/passwd entry related to your login and changing the username to 'root' ala rthompso:unused_by_nt/2000/xp:500:513:U-xx\Administrator,S-1-5-21-xx-xx-xx-500:/home/rthompso:/bin/bash root:unused_by_nt/2000/xp:0:513:U-xx\Administrator,S-1-5-21-xx-xx-xx-500:/home/rthompso:/bin/bash then, from the cygwin prompt, login as root, the passwd will be the same for both entries. -- 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/
Re: Program to "talk" to serial port?
It appears that the main issue is the directory in the source tar file named aux. If you do not have access to a system other than windows on which to untar the source and rename the aux directory, you can use the 7-zip ( http://www.7-zip.org/ )program to rename this directory while it is still in the tar file. Then you should be able to untar the file and run a recursive perl script or whatever suits you to alter any references within the files to aux to whatever you renamed the file to. reid -- 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/
Re: Program to "talk" to serial port?
On Tue, Oct 19, 2004 at 09:56:31PM -0400, Reid Thompson wrote: >It appears that the main issue is the directory in the source tar file >named aux. Use a managed mount. Create an empty directory c:/foo and mount -o managed c:/foo /foo cd /foo tar xf whatever you will then be able to extract files like "aux", "com1", etc. cgf -- 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/