Hi Well, I don't really mind which we are compatible with for something like this, but it seems like screen's way is more useful?
On Wed, Dec 14, 2011 at 10:49:12PM -0800, George Nachman wrote: > I've noticed that there's a slight difference in how the DECSC/DECRC codes > work in tmux vs. xterm. tmux is compatible with how screen works, so it > very well may be intentional, but I want to be sure, since xterm is > sometimes considered the canonical implementation of a terminal. > In tmux, the DECSC (save cursor: ESC 7) command saves the cursor position > separately from where the cursor position is saved when you switch into > the alternate screen with*ESC [?1049h > In xterm, DECSC saves the cursor position in the same place as it's saved > when switching to the alternate screen, so ESC[?1049h overwrites it. > This escape sequence leaves the cursor at (1,1) in tmux and at (20,20) in > xterm: > ^[[1;1H^[7^[[20;20H^[[?1049h^[[?1049l^[8 > I couldn't find any real docs on how the "screen" term is supposed to > work. VT100.net is vague, saying only that DECSC saves the cursor's > position in memory. > Thanks, > George > ------------------------------------------------------------------------------ > 10 Tips for Better Server Consolidation > Server virtualization is being driven by many needs. > But none more important than the need to reduce IT complexity > while improving strategic productivity. Learn More! > http://www.accelacomm.com/jaw/sdnl/114/51507609/ > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users