pty: set argv via helper function
authorDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 26 Sep 2012 19:24:34 +0000 (21:24 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 26 Sep 2012 19:24:34 +0000 (21:24 +0200)
commit89cb239fce77d248eb320f495d3c583f8aba1419
tree2e40d48c36f8ae6cf47321ecdaa081b7aef5a3ed
parent9c48153e300aee6170e2d6b1211066bdc2c0c227
pty: set argv via helper function

This makes the pty layer independent of kmscon global state. This allows
us to use it in other applications bundled with kmscon. There is still
some work to do to make it fully independent so we can integrate it into
TSM. But that's not really needed, yet.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/pty.c
src/pty.h
src/terminal.c