kermitの使い方

tipもcuもfedora core 3にははいっていないため、kermitを使うことになった。
単にシリアル接続でOpen BlockSの設定をするだけなので以下のような感じで使うことになる。

  1. set lineコマンドでシリアルデバイスを設定する。
  2. set carrier-watch offコマンドでキャリア監視を無視する。
  3. c コマンドで接続する。
  4. エスケープは^\でそのあとにkermitコマンドを指定する。

cuとかよりも丈夫なので馴れれば快適かもしれないけれど、日常的にシリアル接続するわけじゃないので慣れる事はないだろうな。

[root@seraphim k-1]# kermit
C-Kermit 8.0.209, 17 Mar 2003, for Red Hat Linux 8.0
 Copyright (C) 1985, 2003,
  Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/home/k-1/) C-Kermit>set line /dev/ttyS0
(/home/k-1/) C-Kermit>set carrier-watch off
(/home/k-1/) C-Kermit>c
Connecting to /dev/ttyS0, speed 9600
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------

LinuxServer login: root
Password:
SSD/Linux 0.2-20030708/2.4.20 #3 Tue Jul 8 11:42:38 JST 2003

No mail.
# ifconfig eth1 10.233.40.15 netmask 255.255.252.0
# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0A:85:01:9D:ED
          inet addr:192.168.13.100  Bcast:192.168.13.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
#
#                              ## ^\?を入力
----------------------------------------------------
Press:
  C to return to seraphim
  ? or H for this message
  0 (zero) to send the NUL (0) character
  B to send a BREAK signal (0.275sec)
  L to send a Long BREAK (1.5sec)
  U to hangup and close the connection
  Q to hangup and quit Kermit
  S for status
  ! to push to local shell
  Z to suspend
  \ backslash code:
    \nnn  decimal character code
    \Onnn octal character code
    \Xhh  hexadecimal character code;
    terminate with Carriage Return.
  Type the escape character again to send the escape character itself,
  or press the space-bar to resume the CONNECT session.
Press a key>                         # sを入力
----------------------------------------------------

----------------------------------------------------
 Device: /dev/ttyS0
Speed 9600
 Terminal echo: remote
 Terminal bytesize: 8
 Command bytesize: 8
 Parity: none
 Autodownload: on
 Session log: (none)
 Carrier Detect      (CD):  Off
 Dataset Ready       (DSR): On
 Clear To Send       (CTS): On
 Ring Indicator      (RI):  Off
 Data Terminal Ready (DTR): On
 Request To Send     (RTS): On
 Elapsed time: 00:40:22
----------------------------------------------------

#