I can reproduce this every time. We use Cyclades serial console appliances (http://www.avocent.com/). If I connect to one, and then do a reboot of the Linux server I am controlling, the terminal gets into the weird state I described above. It happens with plain Terminal on the Mac, as well as iTerm. It happened with screen (C-a Z fixed the terminal in screen). In the Mac Terminal program, <cmd>+R fixes the terminal.
So I don't think it's a bug.. I think the Dell servers send some odd output to the serial port which puts the terminal into this state. But also, catting a binary file will occasionally require a reset. (Not that I do that very often...) dan On Thu, Dec 23, 2010 at 3:25 PM, Nicholas Marriott <nicholas.marri...@gmail.com> wrote: > How are you getting the terminal into a state that needs a reset? > > If tmux's internal state is bad it is probably a bug. > > > On Thu, Dec 23, 2010 at 01:49:42PM -0500, Dan Tulovsky wrote: >> I mean the terminal inside tmux. And yes, what I am looking for is >> the tmux equivalent of screen's C-a Z. >> >> thanks >> dan >> >> On Tue, Dec 21, 2010 at 3:56 PM, Nicholas Marriott >> <nicholas.marri...@gmail.com> wrote: >> > Do you mean the terminal inside or outside tmux? >> > >> > If you mean outside: detach tmux, run reset(1)/stty sane and reattach. >> > >> > There is no reason we couldn't have a command (or an argument to >> > refresh-client) to output rs0 etc but frankly reset(1) generally does a >> > better job of it. >> > >> > >> > On Tue, Dec 21, 2010 at 03:26:02PM -0500, Dan Tulovsky wrote: >> >> Hmm.. so I mapped it back to the default, but it doesn't actually >> >> work. As far as I can tell, nothing happens. The currently broken >> >> terminal (after a reboot via serial console of the remote server) is >> >> not scrolling. All output is on the very last line and stays there. >> >> >> >> C-b ? shows >> >> >> >> r: refresh-client >> >> >> >> I've also tried typing it in as a command: >> >> >> >> C-b : >> >> >> >> : refresh-client >> >> >> >> same story. >> >> >> >> any ideas? >> >> >> >> dan >> >> >> >> On Tue, Dec 21, 2010 at 3:07 PM, Dan Tulovsky <d...@wetsnow.com> wrote: >> >> > Well I'll be.. having this: >> >> > >> >> > bind r source-file ~/.tmux.conf >> >> > >> >> > sorta breaks that. :) >> >> > >> >> > thanks much >> >> > dan >> >> > >> >> > On Tue, Dec 21, 2010 at 3:00 PM, Micah Cowan <mi...@cowan.name> wrote: >> >> >> (12/21/2010 11:27 AM), Dan Tulovsky wrote: >> >> >>> Is there a way to send a Reset in tmux? Sometimes (for example, when >> >> >>> using serial consoles) the terminal gets screwed up and the only way >> >> >>> to fix it is to reset it. >> >> >>> >> >> >>> This is <cmd>+R in Terminal on the Mac. I think it's just C-a r in >> >> >>> screen. >> >> >> >> >> >> Default binding is <prefix> r in tmux as well (see the manpage for >> >> >> "refresh-client"). >> >> >> >> >> >> -- >> >> >> Micah J. Cowan >> >> >> http://micah.cowan.name/ >> >> >> >> >> > >> >> >> >> ------------------------------------------------------------------------------ >> >> Forrester recently released a report on the Return on Investment (ROI) of >> >> Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even >> >> within 7 months. Over 3 million businesses have gone Google with Google >> >> Apps: >> >> an online email calendar, and document program that's accessible from your >> >> browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew >> >> _______________________________________________ >> >> tmux-users mailing list >> >> tmux-users@lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/tmux-users >> > > ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users