Re: making mods to posix-tty
John Reppy <[email protected]> Wed, 9 May 2007 09:20:35 -0500
| Newsgroups | gmane.comp.lang.sml.smlnj |
|---|---|
| Message-ID | <[email protected]> |
You'll have to recompile the system as described in Section 2 of http://smlnj.org/doc/CM/btcomp/index.html The constants in the Posix.TTY structure are based on the Posix spec, which is why they max out at B38400. If you know the value of other supported speeds, you can use the Posix.TTY.wordToSpeed function to get the speed value; e.g., Posix.TTY.wordToSpeed 0w57600 - John On May 8, 2007, at 11:48 PM, brian wrote: > I've noticed that posix-tty stops @ a baud rate of 38400 > > I was trying to modify the source to extend the range and can't seem > to make the system build properly. > > The mods are quite easy, just a simple change to osvals.c in the c- > lib posix-tty and then corresponding modifications to the .sml > and .sig files. > > However the "new" posix-tty does not show up. > > I was trying to just make the mods and run config/install.sh, but > that alone definitely does not work. > > I've been trying various file deletions and having some success, but > can't quite get it to work. > > Can anyone give me some guidance as to how to make it work. > > Thanks > > Brian > > P.S. Any chance that I could submit a patch to extend the baud rate > change and maybe another one to fix the seg-fault associated with the > cc structure? > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Smlnj-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/smlnj-list > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/