Shawn Walker wrote: > On 18/11/2007, "Thommy M. Malmström" <[EMAIL PROTECTED]> wrote: > >> 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? >> > > Good software products change to meet user expectations as their users change. > Solaris has always had a rumour of being backwards compatible... > Let's face it; most of the folks that are used to the previous > behaviour or who wanted it are now in the minority when looking at the > > "UNIX" and "UNIX-like" world as a whole. > Most of them are also used to ext2 filesystems, /etc/init.d/* files, strace and other modern inventions in the UNIX land... > You have a way to get back the old behaviour if you want it, and I > have also pointed out that this particular behaviour is not because of > the fix that was made directly, but because of how gnome-terminal uses > alternate screens. > > I find your argument about "using Solaris since it was new" ironic > given that gnome-terminal clearly hasn't existed that long :) > I, mostly, use the terminal that is default in the window environment I use. gnome-terminal has nice features like tabs, which I use a lot. In Solaris the behaviour of less has always been to not clear the screen at exit IIRC. It looks as if the, in my view, error lays in gnome-terminal. > I would expect you to be a die-hard xterm user instead, in which case > you could just use the titleInhibit xresource property to get back the > behaviour you want. > > Well, as I stated earlier, xterm was _not_ affected by this "bug" fix.
_______________________________________________ opensolaris-discuss mailing list [email protected]
