NEL is not a CSI code, it is a C1, so \033E (ESC E) not \033[E (CSI E).
On Wed, Dec 28, 2011 at 10:27:22PM -0200, Denilson Figueiredo de S?? wrote: > Thanks! I've updated my script, but it still doesn't work in tmux > because the lack of support for NEL (Next Line) "\033[E" > > http://vt100.net/docs/vt100-ug/chapter3.html#NEL > > I can confirm that because tmux behavior is identical to the xterm if > I omit that escape code. > > > On Tue, Dec 27, 2011 at 12:08, Nicholas Marriott > <nicholas.marri...@gmail.com> wrote: > > I've added s and u, but I still recommend you use the vt100 sequences > > because they are much more likely to be supported. > > > > > > On Mon, Dec 26, 2011 at 03:31:44PM -0200, Denilson Figueiredo de S?? wrote: > >> 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 > > > > -- > Denilson Figueiredo de S?? > Belo Horizonte - Brasil ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users