Re: making mods to posix-tty
brian <briand-/[email protected]> Wed, 9 May 2007 21:14:37 -0700
| Newsgroups | gmane.comp.lang.sml.smlnj |
|---|---|
| Message-ID | <[email protected]> |
Thanks John. Once I knew to look in system instead of src everything seems to work OK although I haven't tried to install the newly built version. Hey, I can hack the compiler now ! ha ! Interesting note about the lame posix limit. I just assumed that the spec had since been revised to include the new rates. Not going to 115200 is kind of silly. Thanks for the note about wordToSpeed, I can run with that. I'm really after 230400 :-) I'm still going to play with the compiler though. Brian On May 9, 2007, at 7:20 AM, John Reppy wrote: > 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/ > _______________________________________________ > 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/