ci_edit icon indicating copy to clipboard operation
ci_edit copied to clipboard

Problem when using vt220 serial terminal

Open virtualwiz opened this issue 5 years ago • 5 comments

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

virtualwiz avatar Oct 16 '18 20:10 virtualwiz

Thanks, I'll look into it.

dschuyler avatar Oct 17 '18 02:10 dschuyler

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.

dschuyler avatar Oct 17 '18 02:10 dschuyler

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

virtualwiz avatar Oct 17 '18 08:10 virtualwiz

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 avatar Oct 17 '18 17:10 dschuyler

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.

dschuyler avatar Oct 17 '18 17:10 dschuyler