aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/Terminal.hsc
Commit message (Collapse)AuthorAge
* Use CApiFFI for `ptsname(3)` et al for GHC>=8.0Gravatar Herbert Valerio Riedel2016-01-31
| | | | This improves on 2ddf4b2b7bf41f878bc7d8a1afa49126710f524c
* Drop redundant __GLASGOW_HASKELL__ conditionals for GHC>=7.4Gravatar Herbert Valerio Riedel2016-01-31
|
* Don't assume `tcdrain` and `ctermid` exist alwaysGravatar Herbert Valerio Riedel2016-01-30
| | | | | | This follows the scheme suggested in #24 This fixes #55
* More fixes for Safe Haskell bounds under GHC 7.10Gravatar David Terei2014-12-08
|
* `M-x untabify` & `M-x delete-trailing-whitespace`Gravatar Herbert Valerio Riedel2013-11-08
| | | | | | ...on recently touched files Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Make `-Wall` clean and drop `-fno-warn-unused-imports`Gravatar Herbert Valerio Riedel2013-10-12
| | | | | | | | | CPP conditional code sections have been carefully taken into account while performing this warning cleanup. Most `OPTIONS_GHC` declarations could be dropped (now only a lonely `{-# OPTIONS_GHC -fno-cse #-}` remains in `Posix.Signals`). Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Declare language extensions via `{-# LANGUAGE -#}`Gravatar Herbert Valerio Riedel2013-10-12
| | | | | | | | | Only language extensions not active when `-XHaskell2010` is enabled are declared, this way we can drop many redundant `{-# LANGUAGE ForeignFunctionInterface #-}` occurences. This commit also removes/replaces some `{-# OPTIONS_GHC -XRecordWildCards #-}` pragmas. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Bump base lower version to 4.5 (the version GHC 7.4.1 came with)Gravatar Ian Lynagh2012-11-30
| | | | and remove code to support older versions
* Fix Solaris breakage (I hope)Gravatar Simon Marlow2011-11-28
|
* Move openPseudoTerminal into System.Posix.Terminal{.ByteString}Gravatar Simon Marlow2011-11-23
| | | | It may depend on getSlaveTerminalName if !defined(HAVE_OPENPTY)
* Provide a raw ByteString version of FilePath and environment APIsGravatar Simon Marlow2011-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | The new module System.Posix.ByteString provides exactly the same API as System.Posix, except that: - There is a new type: RawFilePath = ByteString - All functions mentioning FilePath in the System.Posix API use RawFilePath in the System.Posix.ByteString API - RawFilePaths are not subject to Unicode locale encoding and decoding, unlike FilePaths. They are the exact bytes passed to and returned from the underlying POSIX API. - Similarly for functions that deal in environment strings (System.Posix.Env): these use untranslated ByteStrings in System.Posix.Environment - There is a new function System.Posix.ByteString.getArgs :: [ByteString] returning the raw untranslated arguments as passed to exec() when the program was started.
* Follow change to FFI decls: Import constructors of newtypesGravatar Ian Lynagh2011-10-21
|
* Fix conditional pragma to work with 6.12Gravatar David Terei2011-08-09
|
* Fix some "warn-unused-do-bind" warnings where we want to ignore the valueGravatar Ian Lynagh2009-07-10
|
* Fix warnings in the unix packageGravatar Ian Lynagh2008-08-21
|
* Avoid using deprecated flagsGravatar Ian Lynagh2008-06-16
|
* Support for 57600 and 115200 baudratesGravatar pweaver@galois.com2007-10-16
|
* Also guard the foreign declaration of __hsunix(grant|unlock)pt by HAVE_PTSNAMEGravatar Clemens Fruhwirth2007-10-16
|
* Add basic pseudoterminal support.Gravatar Bryan O'Sullivan2007-09-25
|
* Don't use Fd/FD in foreign declsGravatar Ian Lynagh2007-04-04
| | | | | Using CInt makes it much easier to verify that it is right, and we won't get caught out by possible newtype switches between CInt/Int.
* [project @ 2005-11-10 12:58:32 by simonmar]Gravatar simonmar2005-11-10
| | | | Some docs for System.Posix, from Bj?rn Bringert
* [project @ 2003-10-24 14:46:13 by sof]Gravatar sof2003-10-24
| | | | | | drop cygwin #ifdef; not an issue with current versions. merge to stable
* [project @ 2003-08-04 14:08:27 by panne]Gravatar panne2003-08-04
| | | | Export TerminalAttributes abstractly
* [project @ 2003-08-04 13:26:12 by panne]Gravatar panne2003-08-04
| | | | More import tweaking for Haddock
* [project @ 2003-04-11 23:37:03 by ross]Gravatar ross2003-04-11
| | | | replace Word with CTcflag
* [project @ 2002-12-19 13:52:55 by simonmar]Gravatar simonmar2002-12-19
Fill in some more bits in the new Unix library: specifically the contents of PosixTTY and PosixDB (now System.Posix.Terminal and System.Posix.User respectively). We're now about 95% complete w.r.t. the old posix library. I've identified the reminaing bits to do in System/Posix.hs.