​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/


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.
>>
>
>

-- 
-- 
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.

Reply via email to