Results 1 to 3 of 3

Thread: Using vi in Cutecom on an ARM board

  1. #1
    Join Date
    Oct 2007
    Location
    Quebec City
    Beans
    11
    Distro
    Ubuntu 10.04 Lucid Lynx

    Using vi in Cutecom on an ARM board

    Hello,

    I am communicating via serial port from Ubuntu 10.4 to an ARM borad using Cutecom.

    Everything is fine, no display issues beyond Cutecom once in a while adding a random carriage return here and there when it displays the test listing of a command.

    However, I am unable to use vi. Just doing :

    vi newfile
    i
    type a sentence
    :wq

    is next to impossible, I get a mess of hexadecimal symbols and only by repeating
    :quit!

    am I able to exit to the prompt without any file saved.

    As far as I know, the baud rate, parity, etc are fine.

    Does anyone have a suggestion?

    B

  2. #2
    Join Date
    Nov 2005
    Location
    Bordeaux, France
    Beans
    11,294
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Using vi in Cutecom on an ARM board

    Probably a wrong TERM variable. Try to find out which model of terminal Cutecom emulates, and set TERM accordingly.
    「明後日の夕方には帰ってるからね。」


  3. #3
    Join Date
    Feb 2010
    Location
    Silicon Valley
    Beans
    1,898
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Using vi in Cutecom on an ARM board

    Have you tried using minicom from a terminal (or xterm) screen instead of the qt-based cutecom?

    From cutecom's man page:
    It features a lineoriented interface instead of character-oriented
    Last edited by gmargo; September 26th, 2010 at 04:55 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •