Ticket #180 (new defect)

Opened 14 months ago

Last modified 14 months ago

openrc doesn't use proper escape chars for cursor positioning

Reported by: drobbins@funtoo.org Owned by: roy
Priority: minor Milestone:
Component: rc Version: 0.5
Keywords: Cc:

Description

On serial vt100 consoles, OpenRC does not appear to use proper cursor positioning sequences, resulting in improperly formatted '[ ok ]s over serial. This may be a bug inherited from my original initscripts, but openrc should probably look at using tput or a proper terminal library to perform cursor positioning so that it is compatible across a wide variety of terminals.

Change History

comment:1 Changed 14 months ago by drobbins@funtoo.org

This bug was from me, forgot to add my email address :)

comment:2 Changed 14 months ago by roy

  • Reporter changed from anonymous to drobbins@funtoo.org

libeinfo can be build using termcap via ncurses on Linux.

make MKTERMCAP=ncurses

Cursor positioning is done using the ch capability, falling back to RI if ch does not exist.
If termcap support is not enabled then we default to using \033[%dC

Note: See TracTickets for help on using tickets.