[OE-core] [PATCH] base-files: profile: Get rid of "resize"

2017-09-18 Thread Mike Looijmans
The "resize" command actually outputs shell commands to be executed, for example: $ resize COLUMNS=102; LINES=27; export COLUMNS LINES; The output of "resize" is being discarded to /dev/null so the call has no effect whatsoever, and does not change the environment (it cannot change the environmen

Re: [OE-core] [PATCH] base-files: profile: Get rid of "resize"

2017-09-18 Thread Peter Kjellerstedt
ike Looijmans ; Peter Kjellerstedt > > Subject: [OE-core] [PATCH] base-files: profile: Get rid of "resize" > > The "resize" command actually outputs shell commands to be executed, for > example: > > $ resize > COLUMNS=102; > LINES=27; > export COLUMNS LI

Re: [OE-core] [PATCH] base-files: profile: Get rid of "resize"

2017-09-18 Thread Burton, Ross
ike Looijmans > > Sent: den 18 september 2017 16:07 > > To: openembedded-core@lists.openembedded.org > > Cc: Mike Looijmans ; Peter Kjellerstedt > > > > Subject: [OE-core] [PATCH] base-files: profile: Get rid of "resize" > > > > The "resize&quo

Re: [OE-core] [PATCH] base-files: profile: Get rid of "resize"

2017-09-18 Thread Andre McCurdy
penembedded.org] On Behalf Of >> > Mike Looijmans >> > Sent: den 18 september 2017 16:07 >> > To: openembedded-core@lists.openembedded.org >> > Cc: Mike Looijmans ; Peter Kjellerstedt >> > >> > Subject: [OE-core] [PATCH] base-files: profile: Get

Re: [OE-core] [PATCH] base-files: profile: Get rid of "resize"

2017-09-18 Thread Burton, Ross
m: openembedded-core-boun...@lists.openembedded.org > >> > [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf > Of > >> > Mike Looijmans > >> > Sent: den 18 september 2017 16:07 > >> > To: openembedded-core@lists.openembedded.org > >> >

Re: [OE-core] [PATCH] base-files: profile: Get rid of "resize"

2017-09-18 Thread Andre McCurdy
; > Sent: den 18 september 2017 16:07 >> >> > To: openembedded-core@lists.openembedded.org >> >> > Cc: Mike Looijmans ; Peter Kjellerstedt >> >> > >> >> > Subject: [OE-core] [PATCH] base-files: profile: Get rid of "resize&q

Re: [OE-core] [PATCH] base-files: profile: Get rid of "resize"

2017-09-18 Thread Burton, Ross
On 18 September 2017 at 20:01, Andre McCurdy wrote: > > The question is does it do something useful *now*? > > I don't have a board with a serial console to test at the moment. > Busybox hasn't changed in recent memory though, so as long as the > resize command does actually get run I presume it'

Re: [OE-core] [PATCH] base-files: profile: Get rid of "resize"

2017-09-18 Thread Andre McCurdy
On Mon, Sep 18, 2017 at 12:19 PM, Burton, Ross wrote: > On 18 September 2017 at 20:01, Andre McCurdy wrote: >> >> > The question is does it do something useful *now*? >> >> I don't have a board with a serial console to test at the moment. >> Busybox hasn't changed in recent memory though, so as l

Re: [OE-core] [PATCH] base-files: profile: Get rid of "resize"

2017-09-18 Thread Burton, Ross
On 18 September 2017 at 20:30, Andre McCurdy wrote: > On Mon, Sep 18, 2017 at 12:19 PM, Burton, Ross > wrote: > > On 18 September 2017 at 20:01, Andre McCurdy > wrote: > >> > >> > The question is does it do something useful *now*? > >> > >> I don't have a board with a serial console to test at

Re: [OE-core] [PATCH] base-files: profile: Get rid of "resize"

2017-09-18 Thread Andre McCurdy
On Mon, Sep 18, 2017 at 1:18 PM, Burton, Ross wrote: >> > There's a call to ioctl with TIOCSWINSZ which I'm >> > *guessing* is set window size. Google is not useful for this! It does >> > all this on stderr. >> > >> > So yes it *should* work, but not if you redirect stderr to /dev/null. >> >> We

Re: [OE-core] [PATCH] base-files: profile: Get rid of "resize"

2017-09-18 Thread Trevor Woerner
I use resize quasi-regularly. Ever end up in the situation where you've run vim and now the command-line has no idea how large the console is, so everything wraps or scrolls at the wrong times/places? resize fixes that: # . resize Please don't remove it. -- __

Re: [OE-core] [PATCH] base-files: profile: Get rid of "resize"

2017-09-18 Thread Mike Looijmans
ts.openembedded.org> >> > Cc: Mike Looijmans mailto:mike.looijm...@topic.nl>>; Peter Kjellerstedt >> > mailto:peter.kjellerst...@axis.com>> >> > Subject: [OE-core] [PATCH] base-files: profile: Get rid of "resize" >> > >&

Re: [OE-core] [PATCH] base-files: profile: Get rid of "resize"

2017-09-18 Thread Mike Looijmans
On 18-09-17 21:19, Burton, Ross wrote: On 18 September 2017 at 20:01, Andre McCurdy > wrote: > The question is does it do something useful *now*? I don't have a board with a serial console to test at the moment. Busybox hasn't changed in recent memory t

Re: [OE-core] [PATCH] base-files: profile: Get rid of "resize"

2017-09-19 Thread Mike Looijmans
On 19-09-17 01:07, Trevor Woerner wrote: I use resize quasi-regularly. Ever end up in the situation where you've run vim and now the command-line has no idea how large the console is, so everything wraps or scrolls at the wrong times/places? resize fixes that: # . resize Please don't remove it

Re: [OE-core] [PATCH] base-files: profile: Get rid of "resize"

2017-09-19 Thread Burton, Ross
On 19 September 2017 at 06:26, Mike Looijmans wrote: > My experience is that it does not, and never has. I run serial consoles > all the time, and if they're not sized to 80x25 weird stuff happens. > > Start vi on a serial terminal and it only uses the top 80x25. If a command > exceed the 80 char

Re: [OE-core] [PATCH] base-files: profile: Get rid of "resize"

2017-09-19 Thread Burton, Ross
On 18 September 2017 at 22:11, Andre McCurdy wrote: > The "get rid of resize" patch seems to have made it into mut. > It was reverted at 8pm last night but I didn't push. Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded