terminal emulators... ¯\_(ツ)_/¯ I often wonder how much of 2014 tech was developed using a UI protocol from the ~1980.
-Corey O'Connor coreyocon...@gmail.com http://corebotllc.com/ On Fri, Jun 13, 2014 at 2:48 PM, Mateusz Kowalczyk <fuuze...@fuuzetsu.co.uk> wrote: > On 06/13/2014 09:51 PM, Corey O'Connor wrote: > > Odd... One more experiment, if you'd like: > > after exiting yi can you try "tput rmcup". If this restores the screen as > > expected then, for some reason, the "rmcup" emitted by vty shutdown is > not > > being output by yi. That would narrow down the possible issues quite a > lot. > > vty's interface does not assure "shutdown" will always be applied at the > > end of a program. In general this is impossible (EG: sigkill) but > > improvements can certainly be made. > > > > Cheers, > > Corey > > > > -Corey O'Connor > > coreyocon...@gmail.com > > http://corebotllc.com/ > > I have actually since gotten rid of KDE on my system and I can't get the > issue to occur with my current setup anymore, neither in xterm or urxvt > so perhaps konsole was to blame. > > I may try to re-install konsole if you want me to try the above again > but I can't guarantee when. > > > > > On Sat, Jun 7, 2014 at 5:12 PM, Mateusz Kowalczyk < > fuuze...@fuuzetsu.co.uk> > > wrote: > > > >> On 06/08/2014 01:49 AM, Corey O'Connor wrote: > >>> I don't know how yi could interfere, but try without yi: > >>> > >>> $ vty-demo > >>> <hit esc> > >>> > >>> Screen should be restored. > >>> > >>> -Corey O'Connor > >>> coreyocon...@gmail.com > >>> http://corebotllc.com/ > >>> > >> > >> With vty-demo, the screen is restored as expected. > >> > >>> On Sat, Jun 7, 2014 at 4:31 PM, Corey O'Connor <coreyocon...@gmail.com > > > >>> wrote: > >>> > >>>> No screen or tmux? > >>>> That sounds like the same setup as mine. > >>>> > >>>> > >>>> -Corey O'Connor > >>>> coreyocon...@gmail.com > >>>> http://corebotllc.com/ > >>>> > >>>> > >>>> On Sat, Jun 7, 2014 at 3:27 PM, Mateusz Kowalczyk < > >> fuuze...@fuuzetsu.co.uk > >>>>> wrote: > >>>> > >>>>> On 06/08/2014 12:15 AM, Corey O'Connor wrote: > >>>>>> OS? > >>>>> > >>>>> NixOS > >>>>> > >>>>>> That functionality uses "smcup"/"rmcup" terminfo capability strings. > >> vty > >>>>>> takes the strings reported by terminfo for the current terminal and > >> uses > >>>>>> them without any changes. This is roughly equivalent to the > commands: > >>>>>> > >>>>>> $ tput smcup > >>>>>> <anything> > >>>>>> $ tput rmcup > >>>>>> > >>>>>> Which should clear the screen and restore the screen. Try that and > see > >>>>> if > >>>>>> it works in your setup. > >>>>> > >>>>> This restores the screen as one would expect. > >>>>> > >>>>>> -Corey O'Connor > >>>>>> coreyocon...@gmail.com > >>>>>> http://corebotllc.com/ > >>>>>> > >>>>>> > >>>>>> On Sat, Jun 7, 2014 at 2:53 PM, Mateusz Kowalczyk < > >>>>> fuuze...@fuuzetsu.co.uk> > >>>>>> wrote: > >>>>>> > >>>>>>> On 06/07/2014 10:58 PM, Corey O'Connor wrote: > >>>>>>>> On Sat, Jun 7, 2014 at 11:52 AM, Mateusz Kowalczyk < > >>>>>>> fuuze...@fuuzetsu.co.uk> > >>>>>>>> wrote: > >>>>>>>> > >>>>>>>>> Now if I do the same, I get dropped back in the terminal > >>>>>>>>> near the top but the screen is not cleared so whatever text was > >> there > >>>>>>>>> before is still there[1]. > >>>>>>>>> > >>>>>>>> > >>>>>>>> Hmm! That would be a regression. What terminal are you using, > TERM, > >>>>> and > >>>>>>> is > >>>>>>>> it set to 8bit mode? I'm using konsole, TERM=xterm-256color, and > the > >>>>>>> screen > >>>>>>>> is restored as expected. > >>>>>>>> > >>>>>>>> [2] is not resolved. > >>>>>>>> > >>>>>>>> Cheers, > >>>>>>>> Corey > >>>>>>>> > >>>>>>>> > >>>>>>>> -Corey O'Connor > >>>>>>>> coreyocon...@gmail.com > >>>>>>>> http://corebotllc.com/ > >>>>>>>> > >>>>>>> > >>>>>>> konsole, TERM=xterm, setting it to xterm-256color makes to > >> difference. > >>>>>>> > >>>>>>> -- > >>>>>>> Mateusz K. > >>>>>>> > >>>>>>> -- > >>>>>>> -- > >>>>>>> Yi development mailing list > >>>>>>> yi-devel@googlegroups.com > >>>>>>> http://groups.google.com/group/yi-devel > >>>>>>> --- > >>>>>>> You received this message because you are subscribed to the Google > >>>>> Groups > >>>>>>> "yi.devel" group. > >>>>>>> To unsubscribe from this group and stop receiving emails from it, > >> send > >>>>> an > >>>>>>> email to yi-devel+unsubscr...@googlegroups.com. > >>>>>>> For more options, visit https://groups.google.com/d/optout. > >>>>>>> > >>>>>> > >>>>> > >>>>> > >>>>> -- > >>>>> Mateusz K. > >>>>> > >>>>> -- > >>>>> -- > >>>>> Yi development mailing list > >>>>> yi-devel@googlegroups.com > >>>>> http://groups.google.com/group/yi-devel > >>>>> --- > >>>>> You received this message because you are subscribed to the Google > >> Groups > >>>>> "yi.devel" group. > >>>>> To unsubscribe from this group and stop receiving emails from it, > send > >> an > >>>>> email to yi-devel+unsubscr...@googlegroups.com. > >>>>> For more options, visit https://groups.google.com/d/optout. > >>>>> > >>>> > >>>> > >>> > >> > >> > >> -- > >> Mateusz K. > >> > >> -- > >> -- > >> Yi development mailing list > >> yi-devel@googlegroups.com > >> http://groups.google.com/group/yi-devel > >> --- > >> You received this message because you are subscribed to the Google > Groups > >> "yi.devel" group. > >> To unsubscribe from this group and stop receiving emails from it, send > an > >> email to yi-devel+unsubscr...@googlegroups.com. > >> For more options, visit https://groups.google.com/d/optout. > >> > > > > > -- > Mateusz K. > > -- > -- > Yi development mailing list > yi-devel@googlegroups.com > http://groups.google.com/group/yi-devel > --- > You received this message because you are subscribed to the Google Groups > "yi.devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to yi-devel+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel --- You received this message because you are subscribed to the Google Groups "yi.devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to yi-devel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.