add mark/space support for posix