Git Product home page Git Product logo

Comments (3)

chjj avatar chjj commented on May 22, 2024

Could you show me a screenshot? Elinks works fine for me. tty.js tries to use xterm-256color by default if the terminfo exists. If you're not used to using xterm-256color, you'll notice that elinks tries to use different colors than if you were just using xterm. Maybe that is what you're seeing?

from tty.js.

risacher avatar risacher commented on May 22, 2024

See: http://risacher.org/ref/ttyjs-elinks-screenshot.jpg

tty.js codebase is from git about a month ago. Server is Ubuntu 12.04 LTS. TERM=xterm

[EDIT: I just pulled to current from github - still see the same behaviour]

in my .tty.js/config.js, I have "shell": "/home/magnus/bin/ssh-localhost",

ssh-localhost, in turn, contains:

#!/usr/bin/perl                                                                                                                                 
print "Login: ";                                                                                                                                
my $username = <STDIN>;                                                                                                                         
chomp $username;                                                                                                                                
$username =~ s/[^a-z]//g;                                                                                                                       
exec ("/usr/bin/ssh $username\@localhost");

from tty.js.

chjj avatar chjj commented on May 22, 2024

Definitely the oddest thing I've seen all day. Okay, I reproduced it with elinks version 0.12, but not version 0.13. It seems to be a charset problem. Elinks is trying to swap out of the DEC line drawing charset, but it can't. I'm guessing it might be using some kind of shift-in shift-out stuff, which isn't implemented in tty.js. It will take me a little bit to research it some more. It should be a simple fix.

from tty.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.