I got from Wikipedia: http://en.wikipedia.org/wiki/ANSI_escape_code
Yeah, not exactly the perfect reference for this, but I didn't know where else to find this information, and it worked for me in the terminals I tried. Also, I don't object using those other escapes in my script. (but maybe a good idea to add s and u to tmux anyway) On Mon, Dec 26, 2011 at 14:15, Nicholas Marriott <nicholas.marri...@gmail.com> wrote: > Well, s and u are part of the private range. Where did these come from? > I don't object to adding them but it would be nice to see some > documentation. They don't appear to be in ECMA-48 so they are probably > not ANSI. > > The DEC sequences to save/restore cursor position are DECSC and DECRC, > which are \E7 and \E8... it's a good idea to use those instead. > > > > On Mon, Dec 26, 2011 at 02:00:36PM -0200, Denilson Figueiredo de S?? wrote: >> tmux version 1.5 >> Gentoo Linux 64-bit (but also reproduced on Ubuntu) >> Terminal: terminator, with $TERM=xterm (but it doesn't matter in this case) >> >> Please try this script (which is a wrapper around "ping"): >> https://bitbucket.org/denilsonsa/small_scripts/src/tip/prettyping.sh#cl-348 >> It requires bash and gawk (Gnu Awk). >> It uses a pair of escape codes to save the cursor position and later >> move the cursor back to that position. >> >> That script works fine under Terminator, under Xterm, and also under >> Gnu screen (and, while inside screen, it works with all terminals, as >> the screen program handles that escape code). >> >> However, under tmux that script fails, as tmux does not support those >> escape codes. >> >> >> Thus, it would be nice if it supported such escape codes. >> >> -- >> Denilson Figueiredo de S?? >> Belo Horizonte - Brasil -- Denilson Figueiredo de Sá Belo Horizonte - Brasil ------------------------------------------------------------------------------ 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