OK, I created a new user named test:
$ whoami
test
$ pw usershow test
test:*:1002:1002::0:0:User &:/home/test:/bin/sh
$ pwd
/home/test
$ ls -a
.       ..

Then I find the reason: if the shell is csh/tcsh, it must lag. I tested
sh/bash and they haven't any problem. Is this a bug of csh/tcsh or tmux 2.0?

2015-05-22 16:09 GMT+08:00 Nicholas Marriott <nicholas.marri...@gmail.com>:

> Hi
>
> If you create a new user without the default profiles etc, does it lag too?
>
>
>
> On Fri, May 22, 2015 at 03:39:15PM +0800, alphachi wrote:
> >    Environment: FreeBSD 10.1R amd64, uxterm 318, tcsh 6.18.01, tmux 2.0,
> >    libevent2 2.0.22_1
> >
> >    When starting tmux in uxterm, I have to wait about 5 seconds for the
> new
> >    window creating. If I create a new window or split the existing
> window,
> >    the wait time is similar. Before upgrading to 2.0, these are very
> fast.
> >
> >    I tried to:
> >    1. add "set -g default-command $SHELL" in ~/.tmux.conf for non-login
> shell
> >    2. delete ~/.tmux.conf, ~/.tcshrc and /tmp/tmux*
> >    3. deinstall and use the default options to reinstall tmux(inculding
> the
> >    relative ports)
> >    4. test on the other machines
> >    but can't solve the problem.
> >
> >    I found running "su -m" in a tmux window need wait too, so I queried
> the
> >    login log:
> >    > last | less
> >    username ** pts/2 ** **tmux(4836).%3 ** ** ** ** ***** **5 18 14:12 **
> >    still logged in
> >    username ** pts/2 ** **tmux(4836).%2 ** ** ** ** ***** **5 18 14:12 -
> >    14:12 **(00:00)
> >    username ** pts/2 ** **tmux(4836).%1 ** ** ** ** ***** **5 18 14:12 -
> >    14:12 **(00:00)
> >    username ** pts/1 ** **tmux(4836).%0 ** ** ** ** ***** **5 18 14:12 **
> >    still logged in
> >    ...
> >    I remember there isn't any log about tmux in here. Is this reasonable?
> >
> >    Thanks!
>
> >
> ------------------------------------------------------------------------------
> > One dashboard for servers and applications across Physical-Virtual-Cloud
> > Widest out-of-the-box monitoring support with 50+ applications
> > Performance metrics, stats and reports that give you Actionable Insights
> > Deep dive visibility with transaction tracing using APM Insight.
> > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>
> > _______________________________________________
> > tmux-users mailing list
> > tmux-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/tmux-users
>
>
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to