kermit在启动时会查找~/.kermrc文件,调用里面的命令来初始化kermit。只要将你所需的命令写到~/.kermrc文件里,启动. vi ~/.kermrc
set line /dev/ttyS0 set speed 115200 set carrier-watch off set handshake none set flow-control none robust set file type bin set file name lit set rec pack 1000 set send pack 1000 set window 5 c
保存后退出即可。然后启动kermit,你会看到:
# kermit Connecting to /dev/ttyS0, speed 115200 Escape character: Ctrl- (ASCII 28, FS): enabled Type the escape character followed by C to get back, or followed by ? to see other options.
|