Giter Club home page Giter Club logo

Comments (4)

gartzia avatar gartzia commented on June 14, 2024

I have a similar problem. I connect to a target that runs a linux distribution, when I execute the htop command, I cannot scroll through its menu due to the same problem indicated by @svcguy .
Thanks in advance and for all the development, good job.

from simplyserial.

fasteddy516 avatar fasteddy516 commented on June 14, 2024

I will have to look into this. Support for ANSI escape sequences (cursor keys, etc.) was added in version 0.6.0, but the Linux serial terminal may be expecting something different. Do the cursor up/down keys work to navigate your command history at a shell prompt?

from simplyserial.

fasteddy516 avatar fasteddy516 commented on June 14, 2024

I did some testing using a serial console connection to a Raspberry Pi as well as an old HP ProCurve switch (which has a menu-based serial console) using SimplySerial V0.7.0 on Windows 10 as well as Windows 11.

@svcguy, the arrow keys worked fine for menu navigation on the HP Procurve switch, as well as for navigation (i.e. in raspi-config) and bash command history on the Raspberry Pi. If you are able to provide any information at all about the device and/or application you are having trouble with, that would be helpful as I am unable to reproduce the problem with what I have on hand.

@gartzia, I tried executing the htop command on the Raspberry Pi through serial connection, and the cursor keys do function normally for scrolling through the process list, but the function keys (F1 - F10) for triggering menu options do not function. I can look at adding support for sending function keys, but was hoping you could confirm if this is the issue you were reporting, or if you were also having issues with the arrow keys specifically.

from simplyserial.

svcguy avatar svcguy commented on June 14, 2024

from simplyserial.

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.