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
> [email protected]
> http://corebotllc.com/
> 
> 
> On Sat, Jun 7, 2014 at 2:53 PM, Mateusz Kowalczyk <[email protected]>
> wrote:
> 
>> On 06/07/2014 10:58 PM, Corey O'Connor wrote:
>>> On Sat, Jun 7, 2014 at 11:52 AM, Mateusz Kowalczyk <
>> [email protected]>
>>> 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
>>> [email protected]
>>> http://corebotllc.com/
>>>
>>
>> konsole, TERM=xterm, setting it to xterm-256color makes to difference.
>>
>> --
>> Mateusz K.
>>
>> --
>> --
>> Yi development mailing list
>> [email protected]
>> 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 [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
> 


-- 
Mateusz K.

-- 
-- 
Yi development mailing list
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to