Shawn Walker wrote:
> On 18/11/2007, Joerg Schilling <[EMAIL PROTECTED]> wrote:
>   
>> The init and term strings have been traditionally in "is" and "rs".
>>
>> The official termcap database from Eric Raymond includes:
>>
>> smcup=\E7\E[?47h
>> rmcup=\E[2J\E[?47l\E8
>>
>> for xterm R6
>>
>> Let us disassemble:
>>
>> 'sc' -> '\E7'           save current cursor position
>> 'rc' -> '\E8'           restore cursor to last position of save_cursor
>> \E[2J                   clears the whole screen
>> \E[?47h                 Use alternate screen buffer
>> \E[?47l                 Use Normal Screen Buffer
>>
>> Whether to clear the screen or not is a personal decision.
>>
>> We still do not know what the OP really sees and which problems he has.
>> My editor "ved" works in the alternate screen buffer for a long time as
>> I am using my own termcap implementation and have a ~/.termcap file to
>> overwrite unwanted global behavior. Ved edits in the alternate screeen
>> and restores the standard screen after editing. If less does not do this,
>> then there may be a bug in less that is just triggered by the change in
>> terminfo. Jufging too wuick is always wrong.
>>     
>
> However, in this case, Solaris' terminal definition was missing
> definitions completely and that was a bug.
>
> They have now been added.
>
> While it is a personal decision, this finally meets the behaviour that
> many users that are not from the Solaris world expect.
>
>   
Oh, so it's OK to give us that have used Solaris since it was new a
smack on the nose?

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to