serialport icon indicating copy to clipboard operation
serialport copied to clipboard

Lock the serial port for exclusive access on POSIX

Open mokus0 opened this issue 4 years ago • 3 comments

Set TIOCEXTL ioctl to make sure the serial port doesn't accidentally get shared. This is the same method used by other tools such as screen and minicom.

mokus0 avatar Jul 23 '20 00:07 mokus0

Hello, thanks for the pull request, but it has been many years and I've moved on from Haskell and no longer maintain this library. Sorry. Joris

jputcu avatar Jul 23 '20 17:07 jputcu

no problem, i had gathered that from looking over the project, but I figured it'd be worth opening the PR anyway just so future people looking at it (including if anyone ever has time to take over the project) would be aware of the work.

mokus0 avatar Jul 23 '20 18:07 mokus0

@mokus0 I have taken over maintenance of serialport. The new source repository head for Hackage is here and I would really appreciate if you re-submit the PR! Thanks

dopamane avatar Dec 17 '20 01:12 dopamane