Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when using vt220 serial terminal #174

Open
virtualwiz opened this issue Oct 16, 2018 · 5 comments
Open

Problem when using vt220 serial terminal #174

virtualwiz opened this issue Oct 16, 2018 · 5 comments
Assignees

Comments

@virtualwiz
Copy link

I tried to run ci_edit on an ARM development board. Since SSH is not available I used the serial connection.
(this may mean that the colour support of the terminal is incomplete)

Here is the traceback
1

@dschuyler
Copy link
Collaborator

Thanks, I'll look into it.

@dschuyler dschuyler self-assigned this Oct 17, 2018
@dschuyler dschuyler added the bug label Oct 17, 2018
@dschuyler
Copy link
Collaborator

I've made a change that might improve this. I haven't tested in the same environment you have, so I'm not sure whether I've fixed it. Could you give it a try and let me know what happens?

I'd also be curious to know the output of
echo $TERM
on the device.

@virtualwiz
Copy link
Author

Many thanks for your work :)

2

It still doesn't launch in the serial terminal(whose $TERM reports 'vt220'), but I believe that this error message is a good sign.
I went to buy an ethernet cable and managed to SSH to the machine. With the SSHed xterm it works perfectly.

tim 20181017091024

here is my setup

@dschuyler
Copy link
Collaborator

Thanks!

vt220 seems pretty limited. It doesn't seem to support color, or hiding the cursor or mouse input (or if it does, I haven't worked it out yet).

For now, I've made a change so that this is reported:

$ TERM=vt220 we app/actions.py

This terminal does not support color.

rather than crashing.

@dschuyler dschuyler changed the title Problem when using serial terminal Problem when using vt220 serial terminal Oct 17, 2018
@dschuyler dschuyler added enhancement and removed bug labels Oct 17, 2018
@dschuyler
Copy link
Collaborator

Changing this from a bug to an enhancement since the crash is fixed. The enhancement is to support vt220 more (to whatever reasonable extent 'more' is, that's TBD). The first step would be to determine if vt220 can support ctrl-q and mouse input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants