Browse Source

Merge branch 'master' of github.com:butlerx/wetty

pull/126/head
butlerx 8 years ago
parent
commit
c6b35374ab
No known key found for this signature in database GPG Key ID: B37CA765BAA89170
  1. 1
      .gitignore
  2. 2
      gulpfile.js
  3. 2
      public/wetty/wetty.min.js
  4. 5182
      src/hterm_all.js
  5. 4
      wetty.js

1
.gitignore

@ -15,3 +15,4 @@ results
npm-debug.log
node_modules/*
.esm-cache
libapps

2
gulpfile.js

@ -37,4 +37,4 @@ gulp.task(
);
gulp.task('default', ['compress']);
gulp.task('upgrade', ['hterm'], () => del(['./libapps']));
gulp.task('upgrade', ['hterm', 'compress'], () => del(['./libapps']));

2
public/wetty/wetty.min.js

File diff suppressed because one or more lines are too long

5182
src/hterm_all.js

File diff suppressed because it is too large

4
wetty.js

@ -62,7 +62,9 @@ export default function start(port, sshuser, sshhost, sshport, sshauth, sslopts)
});
console.log(`${new Date()} PID=${term.pid} STARTED on behalf of user=${ssh}`);
term.on('data', data => socket.emit('output', data));
term.on('data', data => {
socket.emit('output', data);
});
term.on('exit', code => {
console.log(`${new Date()} PID=${term.pid} ENDED`);
socket.emit('logout');

Loading…
Cancel
Save