Comments (8)
Of course subject should be VT100 line drawing!
Original comment by [email protected]
on 23 Nov 2009 at 7:04
from shellinabox.
Don't try to play with the page's character encoding. ShellInABox already
reports the
correct character encoding to the browser and it makes sure to output
everything in
Unicode. If you manually override the character encoding in the browser, it
either
doesn't do anything, or really strange things will happen.
ShellInABox understands UTF-8, so the best way to output non-ASCII characters
is by
making your application encode them in UTF-8.
But if that is not an option, you can always send the appropriate escape codes
to
disable UTF-8 mode and to pick the code page that you want. In your case, that
would be
IBM437.
Try running this command prior to running your application:
echo -ne '\033%@\033(U'
Original comment by [email protected]
on 23 Nov 2009 at 8:18
- Changed title: VT100 line drawing using IBM437 characters
- Changed state: WontFix
from shellinabox.
The echo escape sequence works on my CentOS virtual when I cat the mcc.log.
Thank you for the very prompt reply.
I will try the app in the office tomorrow.
Original comment by [email protected]
on 23 Nov 2009 at 8:42
from shellinabox.
I have deleted the attachments. Thanks again.
Original comment by [email protected]
on 23 Nov 2009 at 8:43
from shellinabox.
We have tried the app tonight using the escape sequences. All OK so far.
How difficult would it be to add the 132 col support including switching back
and forth?
Original comment by [email protected]
on 23 Nov 2009 at 12:04
from shellinabox.
This is not entirely trivial to do, as most modern browsers don't applications
to
arbitrarily resize windows anymore.
And within standard HTML, there also is no easy way to request a font that is
guaranteed to have a particular dimension.
But when using a WebKit based browser (e.g. Chrome or Safari), we have access
to CSS
transforms which allow us to scale arbitrary web content. I believe, on any of
those
browsers I could "squish" the font when switching from 80 to 132 column mode.
It'll
require a few more changes throughout the code, but I'll see what I can do when
I
have a little time to experiment.
Original comment by [email protected]
on 23 Nov 2009 at 6:57
- Changed title: Add 80/132 column mode
- Changed state: Accepted
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from shellinabox.
Fixed in subversion.
Original comment by [email protected]
on 26 Nov 2009 at 12:19
- Changed state: Fixed
from shellinabox.
Thanks. I am testing using ncurses demos and vttest. I will give a summary in
the next few days.
Original comment by [email protected]
on 26 Nov 2009 at 10:21
from shellinabox.
Related Issues (20)
- shellinaboxd should support IPv6 connections. HOT 2
- Ever growing console occurs in iPad HOT 1
- Debian Package Issue: no orig.tar file found HOT 4
- shellinthebox-2.13 contains version 2.10 HOT 2
- 2.14 sourcecode includes version 2.10
- everything on one line in IE9 HOT 2
- SIB does not work with IE8
- Does not build on OpenBSD HOT 2
- Request: Google Authenticator PAM module HOT 2
- Password characters echoed back HOT 1
- After login to shellinaboxd, subsequent ssh to NetBSD machine causes disconnect after login.
- esc key in vim (can not save) HOT 2
- Shellinabox inside iframe - clicking back in the iframe, parent window scrolls to the top HOT 2
- Compile problem: mv .deps/hashmap.Tpo HOT 1
- cannot build 2.14 debian package on ubuntu 10.04 LTS. HOT 1
- copy text from terminal outside to the operating system
- A couple of bugs in vt100.js, Missing "this" in some places, unused variables, etc.
- Always render a certain size terminal, stretched to the window size HOT 1
- Request for answerback functionality
- multiline links
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shellinabox.