Skip to content
/ tty.js Public
forked from chjj/tty.js

A terminal for your browser, using node/express/socket.io

License

Notifications You must be signed in to change notification settings

w1nk/tty.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tty.js

Update: tty.js now includes experimental support for xterm mouse csi codes. This feature is slightly unstable right now. If you have problems with it, switch your TERM to linux.

A terminal in your browser using node.js and socket.io. Based on Fabrice Bellard's vt100 for jslinux.

WARNING: tty.js is not secure. Make sure nobody has access to your terminal but you. tty.js is also unstable right now.

bash

tty.js can run bash well

vim

possible to run vim

TERM

The main goal of tty.js is to eventually write a full xterm emulator.

TERM is now set to xterm by default, if you experience any compatibility issues, try setting it to linux.

Portability

tty.js should ultimately be able to work on any unix that implements unix98 tty's and forkpty(3). tty.js builds on linux and osx, and it should build on NetBSD, FreeBSD, and OpenBSD as well. If you have trouble building, please post an issue.

Todo

The distance to go before full xterm compatibility.

  • VT52 codes for compatibility
  • All vt400 rectangle sequences
  • Remaining DEC private modes
  • Better (realtime) mouse tracking
  • Miscellaneous sequences: cursor shape, window title
  • Origin Mode, Insert Mode
  • Proper Tab Setting

License

Copyright (c) 2012, Christopher Jeffrey (MIT License)

About

A terminal for your browser, using node/express/socket.io

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 96.2%
  • C 3.7%
  • Shell 0.1%