![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Equivalent command to 'stat' | im_new | Shell Programming and Scripting | 3 | 12-27-2007 02:28 AM |
| equivalent of ptree command in zsh | dhams | Shell Programming and Scripting | 3 | 09-11-2007 04:07 PM |
| Equivalent command for setlocal in Unix | sonaluphale | UNIX for Advanced & Expert Users | 7 | 05-17-2007 04:10 AM |
| Equivalent Suse Linux command | braindrain | Shell Programming and Scripting | 3 | 01-24-2006 06:05 PM |
| SQL Spool equivalent command in DOS | stevefox | Windows & DOS: Issues & Discussions | 2 | 01-17-2006 05:18 PM |
|
|
LinkBack | Thread Tools | 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. |
| Forum Sponsor | ||
|
|
|
|||
|
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. |
|||
| Google UNIX.COM |