Linux Force telnet / ssh to use crtl-H for backspace

来源:互联网 发布:mac acl 编辑:程序博客网 时间:2024/05/18 01:23

转载链接:

http://unix.stackexchange.com/questions/13413/force-telnet-ssh-to-use-crtl-h-for-backspace



#!/usr/bin/expect#Name this file as kbdfix and make it executable in your patheval spawn -noecho $argvinteract { \177        {send "\010"} "\033\[3~"  {send "\177"}}


kbdfix telnet 192.168.12.117 2006

原创粉丝点击