From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28561 invoked by alias); 3 Apr 2014 04:26:41 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18696 Received: (qmail 23819 invoked from network); 3 Apr 2014 04:26:34 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_PASS autolearn=ham version=3.3.2 Date: Thu, 3 Apr 2014 00:05:34 -0400 From: rj To: zsh-users@zsh.org Subject: zsh (stty speed) question or tmux question? Message-ID: <20140403040534.GA22033@panix.com> Mail-Followup-To: zsh-users@zsh.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline X-To-All-My-Friends-In-Domestic-Surveillance: Hi There, Sports Fans! User-Agent: Mutt/1.5.23 (2014-03-12) --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I think this is a zsh question, though it may be a tmux question, or a question relating to both. I SSH to a server from a Windows box using PuTTY. In the PuTTY configuration window, in the Data panel, I have terminal speeds set to "230400, 230400". At the server end, in my .zprofile, I have "stty speed 230400". When I enter "stty -a" at my zsh prompt, it shows "speed 230400 baud;" (among several other stty settings). When I log in to the server, I see (below a welcome banner) "230400" on a line by itself just above the zsh prompt. I assume (somewhat uncertainly) from this that I am connecting at or close to that speed. So why is it that when I open tmux from my zsh prompt, just before the child zsh prompt appears (inside tmux), I see, on a line just above the child zsh prompt, "9600"? Do I need to -export- the "stty speed 230400" command that's in my =2Ezprofile? I'm not sure I can do that (not sure I know how to), since "stty speed 230400" is not an environment variable setting. Or, can I / do I need to set from within tmux the speed at which the shell opens tmux? Or am I better off not trying to set these speeds at all? (The PuTTY manual says, for example, about its "terminal speeds" setting: "This parameter does not affect the actual speed of the connection, which is always =E2=80=98as fast as possible=E2=80=99; it is just a hint that is= sometimes used by server software to modify its behaviour. For instance, if a slow speed is indicated, the server may switch to a less bandwidth-hungry display mode. "The value is usually meaningless in a network environment, but PuTTY lets you configure it, in case you find the server is reacting badly to the default value. "The format is a pair of numbers separated by a comma, for instance, 38400,38400. The first number represents the output speed (from the server) in bits per second, and the second is the input speed (to the server)." In any event, I find the "9600" odd. I also am not really sure if these supposed connection speeds have any real meaning or if they bear accurately on my real connection speeds. So, what is the source of the appearance of the "9600" speed indicator, and why that speed when all settings are at the higher number, and appear to be working at that higher number? --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (NetBSD) iEYEARECAAYFAlM83g4ACgkQPxfUK/xcc3B2ZwCgoNRKYsCjxpohnMT0gF5zfYN8 /+8An0zJ7IMEBBXm/N7erUW71kvsizuk =3/pn -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH--