> We need you to run three separate invocations of "script", each one writing
> to a different logfile.
> 
> The first invocation will be before you even run mosh. Run something like
> "script mosh_output" on your local machine.
> 
> Then, *inside the resulting shell*, run "mosh server".
> 
> Then, *inside that remote shell*, run "script tmux_output_and_mosh_input".
> 
> Then, *inside the resulting shell*, run tmux.
> 
> Then, *inside that*, run "script tmux_input".
> 
> Then, *inside the resulting shell*, do whatever you can do to demonstrate
> the problem.
> 
> Then exit all the shells cleanly.
> 
> The result will be two logfiles on the remote machine ("tmux_input" and
> "tmux_output_and_mosh_input") and one logfile on the local machine
> ("mosh_output").
> 
> We'll need to examine all three logfiles to figure out where the problem is
> happening.
Okay, understood. You want _nested_ files.

But "tmux" is local, so the counts are the other way around ;)


Happens with 1.2.5 from jessie-backports, too; logfiles are attached.
Just before the end I pressed Ctrl-L to restore the screen output; I hope 
that doesn't interfere with your investigations.

    $ tput cols ; tput lines
    80
    24

Script started on Die 08 Nov 2016 11:15:26 CET
]0;much[root@much:~]# 
[7@(reverse-i-search)`':l': less 
/var/log/syslog[1@e
[root@much:~]#
[root@much:~]# 
[?1049h[?1h=
Nov  8 08:27:48 much rsyslogd: [origin software="rsyslogd" swVersion="8.6.0" 
x-p id="4027" x-info="http://www.rsyslog.com";] rsyslogd was HUPed
Nov  8 08:27:48 much rsyslogd: [origin software="rsyslogd" swVersion="8.6.0" 
x-p id="4027" x-info="http://www.rsyslog.com";] rsyslogd was HUPed
Nov  8 08:27:52 much postfix/pickup[14121]: 70B613E008F: uid=0 from=<root>
Nov  8 08:27:52 much postfix/cleanup[14128]: 70B613E008F: 
message-id=<2016110807 2752.70B613E008F@much.linbit>
Nov  8 08:27:52 much postfix/qmgr[5306]: 70B613E008F: from=<root@much.linbit>, 
s ize=5106, nrcpt=1 (queue active)
Nov  8 08:27:52 much postfix/cleanup[14128]: 83F7F3E008E: 
message-id=<2016110807 2752.70B613E008F@much.linbit>
Nov  8 08:27:52 much postfix/local[14716]: 70B613E008F: to=<root@much.linbit>, 
o rig_to=<root>, relay=local, delay=0.25, delays=0.17/0.04/0/0.04, dsn=2.0.0, 
stat us=sent (forwarded as 83F7F3E008E)
Nov  8 08:27:52 much postfix/qmgr[5306]: 83F7F3E008E: from=<root@much.linbit>, 
s ize=5230, nrcpt=1 (queue active)
Nov  8 08:27:52 much postfix/qmgr[5306]: 70B613E008F: removed
Nov  8 08:27:53 much postfix/smtp[14153]: 83F7F3E008E: 
to=<root+m...@linbit.com> , orig_to=<root>, 
relay=zimbra.linbit.com[212.69.161.123]:25, delay=0.54, delays 
=0.04/0/0.15/0.35, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as B02C64459A1)
Nov  8 08:27:53 much postfix/qmgr[5306]: 83F7F3E008E: removed
Nov  8 08:28:04 much sensord: Sensor alarm: Chip w83627hf-isa-0290: in5: +3.06 
V /var/log/syslog
 ESCESCOOBB
 (min = +1.95 V, max = +1.15 V) [ALARM]
:
 ESCESCOOBB
Nov  8 08:28:04 much sensord: Sensor alarm: Chip w83627hf-isa-0290: in7: 
+3.30 V :
 ESCESCOOBB
 (min = +3.68 V, max = +2.24 V) [ALARM]
:
 ESCESCOOBB
Nov  8 08:28:04 much sensord: Sensor alarm: Chip w83627hf-isa-0290: in8: 
+3.25 V :
 ESCESCOOBB
 (min = +1.39 V, max = +2.43 V) [ALARM]
:
 ESCESCOOBB
Nov  8 08:29:04 much sensord: Sensor alarm: Chip w83627hf-isa-0290: in5: 
+3.10 V :
 ESCESCOOBB
 (min = +1.95 V, max = +1.15 V) [ALARM]
:
 ESCESCOOBB
Nov  8 08:29:04 much sensord: Sensor alarm: Chip w83627hf-isa-0290: in7: 
+3.33 V :
 ESCESCOOBB
 (min = +3.68 V, max = +2.24 V) [ALARM]
:
 ESCESCOOBB
Nov  8 08:29:04 much sensord: Sensor alarm: Chip w83627hf-isa-0290: in8: 
+3.31 V :
 ESCESCOOBB
 (min = +1.39 V, max = +2.43 V) [ALARM]
:
 ESCESCOOBB
Nov  8 08:29:49 much rsyslogd0: action 'action 67' resumed (module 
'builtin:ompi :
 ESCESCOOBB
pe') [try http://www.rsyslog.com/e/0 ]
:
 ESCESCOOBB
Nov  8 08:29:49 much rsyslogd-2359: action 'action 67' resumed (module 
'builtin: :
 ESCESCOOBB
ompipe') [try http://www.rsyslog.com/e/2359 ]
:
 ESCESCOOBB
Nov  8 08:30:04 much sensord: Sensor alarm: Chip w83627hf-isa-0290: in5: 
+3.06 V :
 ESCESCOOBB
 (min = +1.95 V, max = +1.15 V) [ALARM]
:
 ESCESCOOBB
Nov  8 08:30:04 much sensord: Sensor alarm: Chip w83627hf-isa-0290: in7: 
+3.34 V :
...skipping...
, orig_to=<root>, relay=zimbra.linbit.com[212.69.161.123]:25, delay=0.54, 
delays =0.04/0/0.15/0.35, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 
B02C64459A1)
Nov  8 08:27:53 much postfix/qmgr[5306]: 83F7F3E008E: removed
Nov  8 08:28:04 much sensord: Sensor alarm: Chip w83627hf-isa-0290: in5: +3.06 
V  (min = +1.95 V, max = +1.15 V) [ALARM]
Nov  8 08:28:04 much sensord: Sensor alarm: Chip w83627hf-isa-0290: in7: +3.30 
V  (min = +3.68 V, max = +2.24 V) [ALARM]
Nov  8 08:28:04 much sensord: Sensor alarm: Chip w83627hf-isa-0290: in8: +3.25 
V  (min = +1.39 V, max = +2.43 V) [ALARM]
Nov  8 08:29:04 much sensord: Sensor alarm: Chip w83627hf-isa-0290: in5: +3.10 
V  (min = +1.95 V, max = +1.15 V) [ALARM]
Nov  8 08:29:04 much sensord: Sensor alarm: Chip w83627hf-isa-0290: in7: +3.33 
V  (min = +3.68 V, max = +2.24 V) [ALARM]
Nov  8 08:29:04 much sensord: Sensor alarm: Chip w83627hf-isa-0290: in8: +3.31 
V  (min = +1.39 V, max = +2.43 V) [ALARM]
Nov  8 08:29:49 much rsyslogd0: action 'action 67' resumed (module 
'builtin:ompi pe') [try http://www.rsyslog.com/e/0 ]
Nov  8 08:29:49 much rsyslogd-2359: action 'action 67' resumed (module 
'builtin: ompipe') [try http://www.rsyslog.com/e/2359 ]
Nov  8 08:30:04 much sensord: Sensor alarm: Chip w83627hf-isa-0290: in5: +3.06 
V  (min = +1.95 V, max = +1.15 V) [ALARM]
Nov  8 08:30:04 much sensord: Sensor alarm: Chip w83627hf-isa-0290: in7: +3.34 
V :
[?1l>[?1049l[root@much:~]# exit

Script done on Die 08 Nov 2016 11:15:35 CET
Script started on Die 08 Nov 2016 11:15:11 CET
]0;cacao[marek@cacao:~]$ rm /tmp/script-outer.txt
tmuxscript 
/tmp/in-tmux.txt
mosh much

[?1049h[?1h[?5l [?25l 
    
    
   
   
   
   
[?25h[?2004l[?1003l[?1002l[?1001l[?1000l[?1004l[?1015l[?1006l[?1005l[?25lThe
 programs included with the Debian GNU/Linux system are free software;the 
exact distribution terms for each program are described in theindividual 
files in /usr/share/doc/*/copyright.Debian GNU/Linux comes with 
ABSOLUTELY NO WARRANTY, to the extentpermitted by applicable 
law.[?25h]0;[mosh] much[root@much:~]# script 
/tmp/script-in-tmux-and-mosh.txtScript started, file is 
/tmp/script-in-tmux-and-mosh.txt[root@much:~]# 
[?25l(reverse-i-search)`': [?25h[?25ll': less 
/var/log/syslog[?25h[?25le': les 
/var/log/syslog[?25h[?25lNov  8 08:27:48 much rsyslogd: [origin 
software="rsyslogd" swVersion="8.6.0" x-ppid="4027" 
x-info="http://www.rsyslog.com";] rsyslogd was HUPedNov 8 
08:27:48 mch rsyslogd: [origin sftware="rsylogd" 
swVersion="8.6.0" x-ppid="4027" 
x-nfo="http:/www.rsyslog.m"] rsyslogd was HUPedNov  
8 08:27:52 much postfix/pickup[14121]: 70B613E008F: uid=0 from=<root>Nov  
808:27:52 much postfix/cleanup[14128]: 70B613E008F: 
mssage-id=<201611080772752.70B613E008F@much.linbit>Nov  8 
08:27:52 much postfix/qmgr[5306]: 70B613E008F: from=<root@much.linbit>, 
ssize=5106, nrcpt=1 (queue active)Nov  8 08:27:52 much 
postfix/cleanup[14128]: 83F7F3E008E: 
message-id=<201611080772752.70B613E008F@much.linbit>Nov  8 
08:27:52 much postfix/local[14716]: 70B613E008F: to=<root@much.linbit>, 
oorig_to=<root>, relay=local, delay=0.25, delays=0.17/0.04/0/0.04, 
dsn=2.0.0, stattus=sent (forwarded as 83F7F3E008E)Nov  8 
08:27:52 much postfix/qmgr[5306]: 83F7F3E008E: from=<root@much.linbit>, 
ssize=5230, nrcpt=1 (queue active)Nov  8 08:27:52 much 
postfix/qmgr[5306]: 70B613E008F: removedNov  8 08:27:53 much 
postfix/smtp[14153]: 83F7F3E008E: to=<root+m...@linbit.com>>, 
orig_to=<root>, relay=zimbra.linbit.com[212.69.161.123]:25, delay=0.54, 
delayss=0.04/0/0.15/0.35, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued 
as B02C64459A1)Nov  8 08:27:53 much postfix/qmgr[5306]: 83F7F3E008E: 
removedNov  8 08:28:04 much sensord: Sensor alarm: Chip 
w83627hf-isa-0290: in5: +3.06 
VV/var/log/syslog[?25h[?25l
 (min = +1.95 V, max = +1.15 V) 
[ALARM]:[?25h[?25l
Nov  8 08:28:04 much sensord: Sensor alarm: Chip 
w83627hf-isa-0290: in7: +3.30 VV:[?25h[?25l
 (min = +3.68 V, max = +2.24 V) 
[ALARM][?25h[?25l
Nov  8 08:28:04 much sensord: Sensor alarm: Chip 
w83627hf-isa-0290: in8: +3.25 VV:[?25h[?25l
 (min = +1.39 V, max = +2.43 V) 
[ALARM][?25h[?25l
Nov  8 08:29:04 much sensord: Sensor alarm: Chip 
w83627hf-isa-0290: in5: +3.10 VV:[?25h[?25l
 (min = +1.95 V, max = +1.15 V) 
[ALARM][?25h[?25l
Nov  8 08:29:04 much sensord: Sensor alarm: Chip 
w83627hf-isa-0290: in7: +3.33 VV:[?25h[?25l
 (min = +3.68 V, max = +2.24 V) 
[ALARM][?25h[?25l
Nov  8 08:29:04 much sensord: Sensor alarm: Chip 
w83627hf-isa-0290: in8: +3.31 VV:[?25h[?25l
 (min = +1.39 V, max = +2.43 V) 
[ALARM][?25h[?25l
Nov  8 08:29:49 much rsyslogd0: action 'action 67' resumed 
(module 'builtin:ompii:[?25h[?25l
pe') [try http://www.rsyslog.com/e/0 
][?25h[?25l
Nov  8 08:29:49 much rsyslogd-2359: action 'action 67' resumed 
(module 'builtin:::[?25h[?25l
ompipe') [try http://www.rsyslog.com/e/2359 
][?25h[?25l
Nov  8 08:30:04 much sensord: Sensor alarm: Chip 
w83627hf-isa-0290: in5: +3.06 VV:[?25h[?25l
 (min = +1.95 V, max = +1.15 V) 
[ALARM][?25h[?25l
Nov  8 08:30:04 much sensord: Sensor alarm: Chip 
w83627hf-isa-0290: in7: +3.34 VV:[?25h]0;[mosh] 
much[?5l, orig_to=<root>, 
relay=zimbra.linbit.com[212.69.161.123]:25, delay=0.54, 
delays[?25ls=0.04/0/0.15/0.35, dsn=2.0.0, status=sent (250 2.0.0 Ok: 
queued as B02C64459A1) Nov  8 08:27:53 much 
postfix/qmgr[5306]: 83F7F3E008E: removed Nov  8 08:28:04 
much sensord: Sensor alarm: Chip w83627hf-isa-0290: in5: +3.06 VV (min = 
+1.95 V, max = +1.15 V) [ALARM] Nov  8 08:28:04 much 
sensord: Sensor alarm: Chip w83627hf-isa-0290: in7: +3.30 VV (min = 
+3.68 V, max = +2.24 V) [ALARM] Nov  8 08:28:04 much 
sensord: Sensor alarm: Chip w83627hf-isa-0290: in8: +3.25 VV (min = 
+1.39 V, max = +2.43 V) [ALARM] Nov  8 08:29:04 much 
sensord: Sensor alarm: Chip w83627hf-isa-0290: in5: +3.10 VV (min = 
+1.95 V, max = +1.15 V) [ALARM] Nov  8 08:29:04 much 
sensord: Sensor alarm: Chip w83627hf-isa-0290: in7: +3.33 VV (min = 
+3.68 V, max = +2.24 V) [ALARM] Nov  8 08:29:04 much 
sensord: Sensor alarm: Chip w83627hf-isa-0290: in8: +3.31 VV (min = 
+1.39 V, max = +2.43 V) [ALARM] Nov  8 08:29:49 much 
rsyslogd0: action 'action 67' resumed (module 'builtin:ompiipe') [try 
http://www.rsyslog.com/e/0 ] Nov  8 08:29:49 much 
rsyslogd-2359: action 'action 67' resumed (module 'builtin::ompipe') 
[try http://www.rsyslog.com/e/2359 ] Nov  8 08:30:04 much 
sensord: Sensor alarm: Chip w83627hf-isa-0290: in5: +3.06 VV (min = 
+1.95 V, max = +1.15 V) [ALARM] Nov  8 08:30:04 much 
sensord: Sensor alarm: Chip w83627hf-isa-0290: in7: +3.34 
VV:[?25h[?2004l[?1003l[?1002l[?1001l[?1000l[?1004l[?1015l[?1006l[?1005l[?25l[root@much:~]#
 [?25h[?25l
[root@much:~]# 
exit[?25h[?25l
Script done, file is 
/tmp/script-in-tmux-and-mosh.txt[root@much:~]# 
[?25h[?25l
[root@much:~]# 
Abgemeldet[?25h]0;much[?1l[?25h[?1003l[?1002l[?1001l[?1000l[?1015l[?1006l[?1005l[?1049l
[mosh is exiting.]
]0;cacao[marek@cacao:~]$ exit

Script done on Die 08 Nov 2016 11:15:35 CET
Script started on Die 08 Nov 2016 11:15:03 CET
]0;cacao[marek@cacao:~]$ rm /tmp/script-outer.txt
tmux
[?1049h(B[?1l>[?12l[?25h[?1000l[?1002l[?1006l[?1005l]112]0;cacao:9.0.0
 bash cacao[?25l






















0:bash*                                                          
               
(B[?12l[?25h[marek@cacao:~]$(Brm/tmp/script-outer.txttuxscript/tmp/in-tmux.txtsin-tmux.txtcin-tmux.txtrin-tmux.txtin-tmux.txtpin-tmux.txttin-tmux.txt-in-tmux.txt
Scriptstarted,fileis/tmp/script-in-tmux.txt
[marek@cacao:~]$(Brm/tmp/script-outer.txttuxscript/tmp/in-tmux.txtmosh
 much

[?25l





















[?12l[?25h
TheprogramsincludedwiththeDebianGNU/Linuxsystemarefreesoftware;
theexactdistributiontermsforeachprogramaredescribedinthe
individualfilesin/usr/share/doc/*/copyright.DebianGNU/LinuxcomeswithABSOLUTELYNOWARRANTY,totheextent
permittedbyapplicablelaw.
]0;cacao:9.0.0 bash [mosh] 
much[root@much:~]#(Bscript/tmp/script-in-tmux-and-mosh.txt
Scriptstarted,fileis/tmp/script-in-tmux-and-mosh.txt
[root@much:~]#(B
(reverse-i-search)`':l':less/var/log/sysloge': les 
/var/log/syslogNov808:27:48muchrsyslogd:[originsoftware="rsyslogd"swVersion="8.6.0"x-pid="4027"
 x-info="http://www.rsyslog.com";] rsyslogd was HUPed
Nov 8 08:27:48 mch rsyslogd: [origin sftware="rsylogd" 
swVersion="8.6.0"x-pid="4027" x-nfo="http:/www.rsyslog.m"] 
rsyslogdwasHUPed
Nov808:27:52muchpostfix/pickup[14121]:70B613E008F:uid=0from=<root>
Nov  808:27:52 much postfix/cleanup[14128]: 70B613E008F: 
mssage-id=<20161108072752.70B613E008F@much.linbit>
Nov  8 08:27:52 much postfix/qmgr[5306]: 70B613E008F: 
from=<root@much.linbit>,size=5106, nrcpt=1 (queue active)
Nov  8 08:27:52 much 
postfix/cleanup[14128]:83F7F3E008E:message-id=<20161108072752.70B613E008F@much.linbit>
Nov808:27:52muchpostfix/local[14716]:70B613E008F:to=<root@much.linbit>,orig_to=<root>,relay=local,delay=0.25,delays=0.17/0.04/0/0.04,dsn=2.0.0,status=sent(forwardedas83F7F3E008E)
Nov808:27:52muchpostfix/qmgr[5306]:83F7F3E008E:from=<root@much.linbit>,size=5230,nrcpt=1(queueactive)
Nov808:27:52muchpostfix/qmgr[5306]:70B613E008F:removed
Nov808:27:53muchpostfix/smtp[14153]:83F7F3E008E:to=<root+m...@linbit.com>,orig_to=<root>,relay=zimbra.linbit.com[212.69.161.123]:25,delay=0.54,delays=0.04/0/0.15/0.35,dsn=2.0.0,status=sent(2502.0.0Ok:queuedasB02C64459A1)
Nov808:27:53muchpostfix/qmgr[5306]:83F7F3E008E:removed
Nov808:28:04muchsensord:Sensoralarm:Chipw83627hf-isa-0290:in5:+3.06V/var/log/syslog(B
(min=+1.95V,max=+1.15V)[ALARM]:
Nov808:28:04muchsensord:Sensoralarm:Chipw83627hf-isa-0290:in7:+3.30V:
(min=+3.68V,max=+2.24V)[ALARM]
Nov808:28:04muchsensord:Sensoralarm:Chipw83627hf-isa-0290:in8:+3.25V:
(min=+1.39V,max=+2.43V)[ALARM]
Nov808:29:04muchsensord:Sensoralarm:Chipw83627hf-isa-0290:in5:+3.10V:
(min=+1.95V,max=+1.15V)[ALARM]
Nov808:29:04muchsensord:Sensoralarm:Chipw83627hf-isa-0290:in7:+3.33V:
(min=+3.68V,max=+2.24V)[ALARM]
Nov808:29:04muchsensord:Sensoralarm:Chipw83627hf-isa-0290:in8:+3.31V:
(min=+1.39V,max=+2.43V)[ALARM]
Nov808:29:49muchrsyslogd0:action'action67'resumed(module'builtin:ompi:
pe')[tryhttp://www.rsyslog.com/e/0]
Nov808:29:49muchrsyslogd-2359:action'action67'resumed(module'builtin::
ompipe')[tryhttp://www.rsyslog.com/e/2359]
Nov808:30:04muchsensord:Sensoralarm:Chipw83627hf-isa-0290:in5:+3.06V:
(min=+1.95V,max=+1.15V)[ALARM]
Nov808:30:04muchsensord:Sensoralarm:Chipw83627hf-isa-0290:in7:+3.34V:,orig_to=<root>,relay=zimbra.linbit.com[212.69.161.123]:25,delay=0.54,delays=0.04/0/0.15/0.35,dsn=2.0.0,status=sent(2502.0.0Ok:queuedasB02C64459A1)
Nov808:27:53muchpostfix/qmgr[5306]:83F7F3E008E:removed
Nov808:28:04muchsensord:Sensoralarm:Chipw83627hf-isa-0290:in5:+3.06V
 (min=+1.95V,max=+1.15V)[ALARM]
Nov808:28:04muchsensord:Sensoralarm:Chipw83627hf-isa-0290:in7:+3.30V
 (min=+3.68V,max=+2.24V)[ALARM]
Nov808:28:04muchsensord:Sensoralarm:Chipw83627hf-isa-0290:in8:+3.25V
 (min=+1.39V,max=+2.43V)[ALARM]
Nov808:29:04muchsensord:Sensoralarm:Chipw83627hf-isa-0290:in5:+3.10V
 (min=+1.95V,max=+1.15V)[ALARM]
Nov808:29:04muchsensord:Sensoralarm:Chipw83627hf-isa-0290:in7:+3.33V
 (min=+3.68V,max=+2.24V)[ALARM]
Nov808:29:04muchsensord:Sensoralarm:Chipw83627hf-isa-0290:in8:+3.31V
 (min=+1.39V,max=+2.43V)[ALARM]
Nov808:29:49muchrsyslogd0:action'action67'resumed(module'builtin:ompipe')[tryhttp://www.rsyslog.com/e/0]
Nov808:29:49muchrsyslogd-2359:action'action67'resumed(module'builtin:ompipe')[tryhttp://www.rsyslog.com/e/2359]
Nov808:30:04muchsensord:Sensoralarm:Chipw83627hf-isa-0290:in5:+3.06V
 (min=+1.95V,max=+1.15V)[ALARM]
Nov808:30:04muchsensord:Sensoralarm:Chipw83627hf-isa-0290:in7:+3.34V:[root@much:~]#(B
[root@much:~]#(Bexit
Scriptdone,fileis/tmp/script-in-tmux-and-mosh.txt[root@much:~]#(B
[root@much:~]#(BAbgemeldet]0;cacao:9.0.0
 bash much[?25l[marek@cacao:~]$(B script 
/tmp/script-in-tmux.txt
Script started, file is /tmp/script-in-tmux.txt

Reply via email to