Exemplo n.º 1
0
        public ConnectionTag(TerminalConnection c)
        {
            _connection      = c;
            _pane            = null;
            _invalidateParam = new InvalidateParam();
            _tabButton       = null;
            _document        = new TerminalDocument(_connection);
            _receiver        = new TerminalDataReceiver(this);
            _terminated      = false;
            _timer           = null;
            _windowTitle     = "";

            //nullのときはデフォルトプロファイルを使う
            _renderProfile = c.Param.RenderProfile;

            //VT100指定でもxtermシーケンスを送ってくるアプリケーションが後をたたないので
            //_terminal = new XTerm(this, new JapaneseCharDecoder(_connection));

            if (c.Param.TerminalType == TerminalType.XTerm || c.Param.TerminalType == TerminalType.KTerm)
            {
                _terminal = new XTerm(this, new JapaneseCharDecoder(_connection));
            }
            else
            {
                _terminal = new VT100Terminal(this, new JapaneseCharDecoder(_connection));
            }

            GEnv.Connections.KeepAlive.SetTimerToConnectionTag(this);
        }
Exemplo n.º 2
0
        public ConnectionTag(TerminalConnection c)
        {
            _connection      = c;
            _pane            = null;
            _invalidateParam = new InvalidateParam();
            _tabButton       = null;
            _document        = new TerminalDocument(_connection);
            _receiver        = new TerminalDataReceiver(this);
            _terminated      = false;
            _timer           = null;
            _windowTitle     = "";
            _renderProfile   = c.Param.RenderProfile;
            _terminal        = new XTerm(this, new JapaneseCharDecoder(_connection));

            GEnv.Connections.KeepAlive.SetTimerToConnectionTag(this);
        }
Exemplo n.º 3
0
        public ConnectionTag(TerminalConnection c)
        {
            _connection = c;
            _pane = null;
            _invalidateParam = new InvalidateParam();
            _tabButton = null;
            _document = new TerminalDocument(_connection);
            _receiver = new TerminalDataReceiver(this);
            _terminated = false;
            _timer = null;
            _windowTitle = "";

            //null�̂Ƃ��̓f�t�H���g�v���t�@�C����g��
            _renderProfile = c.Param.RenderProfile;

            //VT100�w��ł�xterm�V�[�P���X�𑗂��Ă���A�v���P�[�V�������������Ȃ��̂�
            //_terminal = new XTerm(this, new JapaneseCharDecoder(_connection));

            if(c.Param.TerminalType==TerminalType.XTerm || c.Param.TerminalType==TerminalType.KTerm)
                _terminal = new XTerm(this, new JapaneseCharDecoder(_connection));
            else
                _terminal = new VT100Terminal(this, new JapaneseCharDecoder(_connection));

            GEnv.Connections.KeepAlive.SetTimerToConnectionTag(this);
        }