wy 发帖数: 14511 | 1 对登录远程游泳,对自己的laptop没大用阿。一关机sessions
就没有了 |
p*****a 发帖数: 1152 | 2 Don't shutdown your laptop, hibernate or suspend.
【在 wy 的大作中提到】 : 对登录远程游泳,对自己的laptop没大用阿。一关机sessions : 就没有了
|
e*n 发帖数: 1511 | 3 对对,要是能把screen session存成一个文件就好了。
不知道有没有类似的程序
【在 wy 的大作中提到】 : 对登录远程游泳,对自己的laptop没大用阿。一关机sessions : 就没有了
|
z**r 发帖数: 17771 | 4 一关机什么能有啊?
【在 wy 的大作中提到】 : 对登录远程游泳,对自己的laptop没大用阿。一关机sessions : 就没有了
|
wy 发帖数: 14511 | 5 像伪教育网说的,存到个文件里面阿
【在 z**r 的大作中提到】 : 一关机什么能有啊?
|
a*****i 发帖数: 4391 | 6 Why do you use screen on your own computer???
自虐? |
wy 发帖数: 14511 | 7 not that bad ba. I get multiple named windows, easy to switch
【在 a*****i 的大作中提到】 : Why do you use screen on your own computer??? : 自虐?
|
s**n 发帖数: 449 | 8 put it in your .screerc
【在 e*n 的大作中提到】 : 对对,要是能把screen session存成一个文件就好了。 : 不知道有没有类似的程序
|
F*******i 发帖数: 190 | 9 Any details?
can we save the current screen snapshot to a file and resume from it even if
the box reboots?
Many thanks!
【在 s**n 的大作中提到】 : put it in your .screerc
|
b*****l 发帖数: 9499 | 10 。。。 谁来写一个?
if
【在 F*******i 的大作中提到】 : Any details? : can we save the current screen snapshot to a file and resume from it even if : the box reboots? : Many thanks!
|
|
|
s**n 发帖数: 449 | 11 can't save current snapshot, but can do following.
# Example of automatically running some programs in windows on screen
startup.
#
# The following will open top in the first window, an ssh session to
monkey
# in the next window, and then open mutt and tail in windows 8 and 9
# respectively.
#
# screen top
# screen -t monkey ssh monkey
# screen -t mail 8 mutt
# screen -t daemon 9 tail -f /var/log/daemon.log
if
【在 F*******i 的大作中提到】 : Any details? : can we save the current screen snapshot to a file and resume from it even if : the box reboots? : Many thanks!
|
wy 发帖数: 14511 | 12 zan, this is what I need
【在 s**n 的大作中提到】 : can't save current snapshot, but can do following. : # Example of automatically running some programs in windows on screen : startup. : # : # The following will open top in the first window, an ssh session to : monkey : # in the next window, and then open mutt and tail in windows 8 and 9 : # respectively. : # : # screen top
|
z**r 发帖数: 17771 | 13 这个有多大意义?通常你在本机用screen,如果连到别的机器的话,一关机,tcp
session就肯定断掉了,存下来也没用啊
【在 wy 的大作中提到】 : 像伪教育网说的,存到个文件里面阿
|
b*****l 发帖数: 9499 | 14 肯定能有个办法的。
【在 z**r 的大作中提到】 : 这个有多大意义?通常你在本机用screen,如果连到别的机器的话,一关机,tcp : session就肯定断掉了,存下来也没用啊
|
z**r 发帖数: 17771 | 15 除非把从client到server一路上所有layer 4以上设备的tcp timeout都改成unlimited
,可能吗?
【在 b*****l 的大作中提到】 : 肯定能有个办法的。
|
b*****l 发帖数: 9499 | 16 不是这个问题吧。。。 lz 问得是能不能让 screen 自动恢复到关闭前的设置。。。
unlimited
【在 z**r 的大作中提到】 : 除非把从client到server一路上所有layer 4以上设备的tcp timeout都改成unlimited : ,可能吗?
|
wy 发帖数: 14511 | 17 ft, 不就是在说本机用么。没说连到别的机器阿
【在 z**r 的大作中提到】 : 这个有多大意义?通常你在本机用screen,如果连到别的机器的话,一关机,tcp : session就肯定断掉了,存下来也没用啊
|
z**r 发帖数: 17771 | 18 以为你是本机用screen,至于其中每个session,可能跑到别的机器了。那你可以写个
config文件,比如俺的用xterm调用screen(需要两个配置文件)
xterm -j -sb -sk -aw +si -sl 1024 -bg black -fg green +vb -bd blue -title
Consoles -geometry 140x51 -e screen -c /users/zher/etc/screen_console.cfg &
zher@ubuntu-vm:~/etc$ cat screen_console.cfg
################
# consoles infomation
################
screen -t Local 0
screen -t magellan-rp5 1 telnet 172.18.37.4 2038
screen -t magellan-rp6 2 telnet 172.18.37.4 2035
screen -t viking-rp5 3 telnet 172.18.37.4 2036
sc
【在 wy 的大作中提到】 : ft, 不就是在说本机用么。没说连到别的机器阿
|
wy 发帖数: 14511 | 19 thanks for sharing
【在 z**r 的大作中提到】 : 以为你是本机用screen,至于其中每个session,可能跑到别的机器了。那你可以写个 : config文件,比如俺的用xterm调用screen(需要两个配置文件) : xterm -j -sb -sk -aw +si -sl 1024 -bg black -fg green +vb -bd blue -title : Consoles -geometry 140x51 -e screen -c /users/zher/etc/screen_console.cfg & : zher@ubuntu-vm:~/etc$ cat screen_console.cfg : ################ : # consoles infomation : ################ : screen -t Local 0 : screen -t magellan-rp5 1 telnet 172.18.37.4 2038
|
wy 发帖数: 14511 | 20 有个问题,在你的例子里面一个screen directive调制,比如
说我一个window run tail, 如果我hit ctrl+c, tail没了这
个windown也没了。有没有可能保留这个window
【在 s**n 的大作中提到】 : can't save current snapshot, but can do following. : # Example of automatically running some programs in windows on screen : startup. : # : # The following will open top in the first window, an ssh session to : monkey : # in the next window, and then open mutt and tail in windows 8 and 9 : # respectively. : # : # screen top
|