|
From: | Chong Yidong |
Subject: | Re: 23.0.60; emacsclient -t not working within "less" |
Date: | Fri, 19 Sep 2008 11:51:09 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Dan Nicolaescu <address@hidden> writes: > You can edebug `server-process-filter'. Doing that shows quickly the > problem: emacsclient passes the tty as: -tty /dev/tty. > /dev/tty means one thing for emacsclient and another one for emacs... > > emacsclient.c computes the tty like this: > > tty_name = ttyname (fileno (stdin)); > > changing it to: > > tty_name = ttyname (fileno (stdout)); > > gets the right terminal and this problem seems to be fixed. That seems to work fine for me too. I checked in the fix. Thanks.
[Prev in Thread] | Current Thread | [Next in Thread] |