linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kaushal <kaushal@rocsys.com>
To: linux-c <linux-c-programming@vger.kernel.org>
Subject: readline-bash-busybox vt102 autowrap not working
Date: Thu, 21 Apr 2005 21:04:05 +0530	[thread overview]
Message-ID: <1114097645.16586.1.camel@localhost.localdomain> (raw)

Hello all,
           Iam trying to write a custom shell that runs on a board and
has serial interface via minicom,vt102 terminal.The board has busybox
running on it.When I download my application that uses readline on to it
the readline is not scrolling to the next line when it reaches to the
rightmost column.Line wrap on is not a solution for this as even this is
not providing the same(Just mentioning it).What I observe is:

when I download bash-3.0 into the board and run it,even it is unable to
do this autowrapping.

when I use only the boards' busybox,default it is working fine.

when Iam using libedit(Similar to readline) it is working fine on the
board and provides me autowrap.

But The /usr/share/terminfo/v/* are very much present.I tried to dowload
and run it on the box but in vain.

To repeate the problem:bash is not providing the autowrap feature when
it is being interfaced via serial vt102 terminal.The board is P3 board.

I tried out /etc/inpurc:set horizontal-scrolling-mode on-----X
downloaded the /etc/bashrc and then run bash---X


echo $TERM prints vt102 in the board but printf("%s\n",rl_terminal_name)
is printing 
null.

What could be problem and what all can I try to solve this?

Any suggestions would be greately helpful.

thanks in advance.

regards-
kaushal.


                 reply	other threads:[~2005-04-21 15:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1114097645.16586.1.camel@localhost.localdomain \
    --to=kaushal@rocsys.com \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).