All of lore.kernel.org
 help / color / mirror / Atom feed
* ANSI Escape sequence unexpected output
@ 2021-02-18  7:11 David Wang (王振宇)
  2021-02-18  9:30 ` Jeremy Kerr
  2021-02-18 17:00 ` Johnathan Mantey
  0 siblings, 2 replies; 7+ messages in thread
From: David Wang (王振宇) @ 2021-02-18  7:11 UTC (permalink / raw)
  To: openbmc

Hi all,
    when I use the host console via uart to log in to os, sometimes some unexpected output is print to stdout, such as:

login: root
Password:
Last Login:  Thu   Jan   7  06:52:18  UTC  2021  on ttyS0
root@intel-corei7-64:~#  ;153R     <-------  This is the unexpected output

It also happen when using obmc-console-client or ipmitool sol activate.
It looks like an ANSI Escape sequence
"EscLine;ColumnR	Response: cursor is at v,h	CPR"
ref: http://ascii-table.com/ansi-escape-sequences-vt-100.php
ref: https://stackoverflow.com/questions/16026858/reading-the-device-status-report-ansi-escape-sequence-reply

My question is,
how to prevent this escape sequence from printing to the stdout?
Which package in openbmc is doing this?
Has anyone had a similar problem?
Please leave any comments.
Thanks

David


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-02-23 16:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-18  7:11 ANSI Escape sequence unexpected output David Wang (王振宇)
2021-02-18  9:30 ` Jeremy Kerr
2021-02-18 17:00 ` Johnathan Mantey
2021-02-18 17:37   ` Michael Richardson
2021-02-18 19:52     ` Johnathan Mantey
2021-02-23  8:12       ` David Wang (王振宇)
2021-02-23 16:23         ` Johnathan Mantey

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.