[dpdk-dev] [PKTGEN] additional terminal IO question

Wiles, Keith keith.wiles at intel.com
Thu Jan 21 15:55:18 CET 2016

On 1/20/16, 11:53 PM, "dev on behalf of Matthew Hall" <dev-bounces at dpdk.org on behalf of mhall at mhcomputing.net> wrote:

>If I try using pktgen theme mode (-T) or unmodified, without commenting 
>out some of the stuff I mentioned I disabled for debugging in the 
>previous thread, it seems like it sets the pktgen prompt to be invisible 
>(black text on black??? or I'm not sure just want) on my TTY which has a 
>black background.

I am not sure what you changed for debugging, but on my Ubuntu 15.10 using MATE Terminal 1.10.1 with a black background and white text the cursor remains as white after I quit Pktgen. If you have a crash for some reason the cmdline code leaves the TTY in a raw mode no echo, which is just like no cursor. I have to also do ’stty sane’ to get echo/cursor back on. Is this what is happing to you?

I created a white-black.theme I was using and did not try to make it pretty as I use a black on light yellow background. Here is the theme.
theme default white none off
theme top.spinner cyan none bold
theme top.ports green none bold
theme top.page white none off
theme top.copyright yellow none off
theme top.poweredby blue none bold
theme sep.dash blue none off
theme sep.text white none off
theme stats.port.label blue none bold
theme stats.port.flags blue none bold
theme stats.port.status green none bold
theme stats.dyn.label yellow none off
theme stats.dyn.values yellow none off
theme stats.stat.label magenta none off
theme stats.stat.values white none off
theme stats.total.label red none bold
theme stats.colon blue none bold
theme pktgen.prompt green none off

Please give more details next time to help me understand the problem like OS type, terminal type used, versions, …

>If you quit the app it does not reset the colors so my shell is also 
>invisible, until I blindly run the reset command.
>Did anybody else try it on a black background? Did anybody else see 
>these issues with it as well?


More information about the dev mailing list