public TerminalSession(ITerminalConnection connection, ITerminalSettings terminalSettings)
        {
            _terminalSettings = terminalSettings;
            //VT100�w��ł�xterm�V�[�P���X�𑗂��Ă���A�v���P�[�V�������������Ȃ��̂�
            _terminal = AbstractTerminal.Create(new TerminalInitializeInfo(this, connection.Destination));
            _output = new TerminalTransmission(_terminal, _terminalSettings, connection);

            _terminalSettings.ChangeCaption += delegate(string caption) {
                this.OwnerWindow.DocumentTabFeature.Update(_terminal.IDocument);
            };
        }
Exemplo n.º 2
0
        public TerminalSession(ITerminalConnection connection, ITerminalSettings terminalSettings) {
            _terminalSettings = terminalSettings;
            //VT100指定でもxtermシーケンスを送ってくるアプリケーションが後をたたないので
            _terminal = AbstractTerminal.Create(new TerminalInitializeInfo(this, connection.Destination));
            _output = new TerminalTransmission(_terminal, _terminalSettings, connection);

            _terminalSettings.ChangeCaption += delegate(string caption) {
                this.OwnerWindow.DocumentTabFeature.Update(_terminal.IDocument);
            };

        }
Exemplo n.º 3
0
        public void Start(ITerminalSession session) {
            _session = session;
            _output = session.TerminalTransmission;
            _consoleFlag = true;

            _session.Terminal.PromptRecognizer.AddListener(this);
            //Test Body
            Test1();
            Test2();
            Test3();

            _session.Terminal.PromptRecognizer.RemoveListener(this);
        }