![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Equivalent command to 'stat' | im_new | Shell Programming and Scripting | 6 | 01-15-2009 10:04 AM |
| equivalent of ptree command in zsh | dhams | Shell Programming and Scripting | 3 | 09-11-2007 07:07 PM |
| Equivalent command for setlocal in Unix | sonaluphale | UNIX for Advanced & Expert Users | 7 | 05-17-2007 07:10 AM |
| Equivalent Suse Linux command | braindrain | Shell Programming and Scripting | 3 | 01-24-2006 10:05 PM |
| SQL Spool equivalent command in DOS | stevefox | Windows & DOS: Issues & Discussions | 2 | 01-17-2006 09:18 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Command equivalent to DOS mode for SCO 5.0.6
I need to set the serial port attributes to 9600,7,E,1 in order to read and write data to it from within a Foxpro program. Unfortunately there is no function in Foxpro to set the line attributes, only open. close read and write.
Stty only works on the stdout and stdin in this release, and the while the version of stty that comes with 5.0.7 will allow setting the speed of any serial port, it will not run under 5.0.6 because the dynamic link libraries are different. |
|
||||
|
if memory serves, i think you can start with looking at the inittab settings (man inittab) and there is a place you can edit the terminal settings (but i do not remember what the config file is called, but it would be in the inittab man page or maybe getty man page)
|
|
||||
|
I know, but that (gettydefs and inittab) doesn't take effect until the port is enabled, and then getty steals the input, and ouputs a login prompt. Once the port is disabled its settings return to 9600,n,8,1.
The trick might be to find where the default settings are stored, I've looked in /etc/conf/ and its subdirectories to no avail. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|