billiob pushed a commit to branch master. http://git.enlightenment.org/apps/terminology.git/commit/?id=e4d357ace2fdbd9e625cfe376fde288ac61e5273
commit e4d357ace2fdbd9e625cfe376fde288ac61e5273 Author: Boris Faure <bill...@gmail.com> Date: Tue Feb 17 22:07:42 2015 +0100 make terminology work on solaris tcsetattr() should only be called on the slave fd. On linux, both master or slave are accepted, not on solaris. --- src/bin/termpty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/termpty.c b/src/bin/termpty.c index 5a6a95d..56fbd7f 100644 --- a/src/bin/termpty.c +++ b/src/bin/termpty.c @@ -387,12 +387,12 @@ termpty_new(const char *cmd, Eina_Bool login_shell, const char *cd, } - tcgetattr(ty->fd, &t); + tcgetattr(ty->slavefd, &t); t.c_cc[VERASE] = (erase_is_del) ? 0x7f : 0x8; #ifdef IUTF8 t.c_iflag |= IUTF8; #endif - if (tcsetattr(ty->fd, TCSANOW, &t) < 0) + if (tcsetattr(ty->slavefd, TCSANOW, &t) < 0) { ERR("unable to tcsetattr: %s", strerror(errno)); goto err; --