[dpdk-dev] [PKTGEN] additional terminal IO question
On Mon, Jan 25, 2016 at 10:20:42AM +0100, Andriy Berestovskyy wrote: > Hi Matthew, > Every software has bugs. pktgen is a great tool and we appreciate it as is. > > I would prefer we discuss a patch rather that questioning a > functionality implemented way ago... > > Andriy Sure patches are the best. But in order to patch it you have to understand it first. So I'm providing feedback how we could make it easier to understand, so more people can run it, and learn it, and make patches. I'm hoping to make some patches myself in the next few months. I admit I am kind of slow because I only work on DPDK in my spare time right now. Matthew.
[dpdk-dev] [PKTGEN] additional terminal IO question
Hi Matthew, Every software has bugs. pktgen is a great tool and we appreciate it as is. I would prefer we discuss a patch rather that questioning a functionality implemented way ago... Andriy On Sat, Jan 23, 2016 at 3:48 AM, Matthew Hall wrote: > On Thu, Jan 21, 2016 at 05:35:00PM +0200, Arnon Warshavsky wrote: >> Keith, >> For the record, on my end (can only speak for myself) this is not a real >> problem. >> I work around it by using a different theme and live with it happily ever >> after. >> I just provided the input since I encountered it. >> >> /Arnon > > For me, breaking stuff with a black background to gain questionably useful > colors and/or themes seems like more overhead for cognition of the code for > not much benefit. > > This is going to break the tool people who use a Linux standard framebuffer > with no X also, isn't it? > > Matthew. -- Andriy Berestovskyy
[dpdk-dev] [PKTGEN] additional terminal IO question
On 1/22/16, 9:48 PM, "Matthew Hall" wrote: >On Thu, Jan 21, 2016 at 05:35:00PM +0200, Arnon Warshavsky wrote: >> Keith, >> For the record, on my end (can only speak for myself) this is not a real >> problem. >> I work around it by using a different theme and live with it happily ever >> after. >> I just provided the input since I encountered it. >> >> /Arnon > >For me, breaking stuff with a black background to gain questionably useful >colors and/or themes seems like more overhead for cognition of the code for >not much benefit. > >This is going to break the tool people who use a Linux standard framebuffer >with no X also, isn't it? You can disable the themes or colors by not including the -T option on the command line. The colors and terminal control are all ASCII codes, which most terminals will support even on a standard serial console. > >Matthew. > Regards, Keith
[dpdk-dev] [PKTGEN] additional terminal IO question
On Thu, Jan 21, 2016 at 05:35:00PM +0200, Arnon Warshavsky wrote: > Keith, > For the record, on my end (can only speak for myself) this is not a real > problem. > I work around it by using a different theme and live with it happily ever > after. > I just provided the input since I encountered it. > > /Arnon For me, breaking stuff with a black background to gain questionably useful colors and/or themes seems like more overhead for cognition of the code for not much benefit. This is going to break the tool people who use a Linux standard framebuffer with no X also, isn't it? Matthew.
[dpdk-dev] [PKTGEN] additional terminal IO question
Keith, For the record, on my end (can only speak for myself) this is not a real problem. I work around it by using a different theme and live with it happily ever after. I just provided the input since I encountered it. /Arnon On Thu, Jan 21, 2016 at 5:27 PM, Wiles, Keith wrote: > > From: Arnon Warshavsky mailto:arnon at qwilt.com>> > Date: Thursday, January 21, 2016 at 9:04 AM > To: "Keith Wiles (Intel)" keith.wiles at intel.com>> > Cc: Matthew Hall mailto:mhall at mhcomputing.net>>, > " > dev at dpdk.org<mailto:dev at dpdk.org>" mailto:dev at > dpdk.org>> > Subject: Re: [dpdk-dev] [PKTGEN] additional terminal IO question > > Keith, > On my end I'm ending with black on black with Konsole 2.3.3 on Centos 6.5 > starting as green on black. > > I changed my console to green on black and got the same results. When I > quit Pktgen the cursor color and text return to green. I can not set the > cursor color different from the text color on this terminal. This maybe a > problem with kconsole. Using xterm the cursor and text are restored as well. > > I would need to install a Centos 6.5 with Konsole. I can run konsole, but > the setting will not allow me to adjust the colors most likely it needs > more then just konsole installed with this MATE window system. Even in this > default state of black on white the cursor returns as black with black > text, which could be the problem??? > > > On Thu, Jan 21, 2016 at 4:55 PM, Wiles, Keith <mailto:keith.wiles at intel.com>> wrote: > On 1/20/16, 11:53 PM, "dev on behalf of Matthew Hall" < > dev-bounces at dpdk.org<mailto:dev-bounces at dpdk.org> on behalf of > mhall at mhcomputing.net<mailto: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 > cls > > Please give more details next time to help me understand the problem like > OS type, terminal type used, versions, ? > > > Thanks > ++Keith > > > >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? > > > >Matthew. > > > > > Regards, > Keith > > > > > > > > -- > > Arnon Warshavsky > Qwilt | work: +972-72-2221634 | mobile: +972-50-8583058 | arnon at qwilt.com > <mailto:arnon at qwilt.com> > -- *Arnon Warshavsky* *Qwilt | work: +972-72-2221634 | mobile: +972-50-8583058 | arnon at qwilt.com *
[dpdk-dev] [PKTGEN] additional terminal IO question
Keith, On my end I'm ending with black on black with Konsole 2.3.3 on Centos 6.5 starting as green on black. On Thu, Jan 21, 2016 at 4:55 PM, Wiles, Keith wrote: > 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 > cls > > Please give more details next time to help me understand the problem like > OS type, terminal type used, versions, ? > > > Thanks > ++Keith > > > >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? > > > >Matthew. > > > > > Regards, > Keith > > > > > -- *Arnon Warshavsky* *Qwilt | work: +972-72-2221634 | mobile: +972-50-8583058 | arnon at qwilt.com *
[dpdk-dev] [PKTGEN] additional terminal IO question
From: Arnon Warshavsky mailto:ar...@qwilt.com>> Date: Thursday, January 21, 2016 at 9:04 AM To: "Keith Wiles (Intel)" mailto:keith.wiles at intel.com>> Cc: Matthew Hall mailto:mhall at mhcomputing.net>>, "dev at dpdk.org<mailto:dev at dpdk.org>" mailto:dev at dpdk.org>> Subject: Re: [dpdk-dev] [PKTGEN] additional terminal IO question Keith, On my end I'm ending with black on black with Konsole 2.3.3 on Centos 6.5 starting as green on black. I changed my console to green on black and got the same results. When I quit Pktgen the cursor color and text return to green. I can not set the cursor color different from the text color on this terminal. This maybe a problem with kconsole. Using xterm the cursor and text are restored as well. I would need to install a Centos 6.5 with Konsole. I can run konsole, but the setting will not allow me to adjust the colors most likely it needs more then just konsole installed with this MATE window system. Even in this default state of black on white the cursor returns as black with black text, which could be the problem??? On Thu, Jan 21, 2016 at 4:55 PM, Wiles, Keith mailto:keith.wiles at intel.com>> wrote: On 1/20/16, 11:53 PM, "dev on behalf of Matthew Hall" mailto:dev-bounces at dpdk.org> on behalf of mhall at mhcomputing.net<mailto: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 cls Please give more details next time to help me understand the problem like OS type, terminal type used, versions, ? Thanks ++Keith > >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? > >Matthew. > Regards, Keith -- Arnon Warshavsky Qwilt | work: +972-72-2221634 | mobile: +972-50-8583058 | arnon at qwilt.com<mailto:arnon at qwilt.com>
[dpdk-dev] [PKTGEN] additional terminal IO question
On 1/20/16, 11:53 PM, "dev on behalf of Matthew Hall" 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 cls Please give more details next time to help me understand the problem like OS type, terminal type used, versions, ? Thanks ++Keith > >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? > >Matthew. > Regards, Keith
[dpdk-dev] [PKTGEN] additional terminal IO question
Black background gets me to the blind reset as well. Pktgen is the only tab I keep with non black background.. On Thu, Jan 21, 2016 at 7:53 AM, Matthew Hall 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. > > 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? > > Matthew. > -- *Arnon Warshavsky* *Qwilt | work: +972-72-2221634 | mobile: +972-50-8583058 | arnon at qwilt.com *
[dpdk-dev] [PKTGEN] additional terminal IO question
On 1/20/16 10:00 PM, Arnon Warshavsky wrote: > Black background gets me to the blind reset as well. > Pktgen is the only tab I keep with non black background.. Thanks for confirming. Never had this many termio issues before so I was wondering if I just went totally crazy! Matthew.
[dpdk-dev] [PKTGEN] additional terminal IO question
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. 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? Matthew.