McMail --> ifcico

Pablo Saratxaga (srtxg@linux.chanae.stben.be)
Tue, 3 Sep 1996 19:04:58 +0200 (MET DST)

Hello,

I tryied whith ifcico listening at the port directly and the connexion
was well handled, so it seems that the problem is between getty and ifcico.

Here is the result of the -xjnors debug :

answer to "unknown type" (0) call
set tty raw
savetios.c_iflag=0x00000000
savetios.c_oflag=0x00000000
savetios.c_cflag=0x800004bf
savetios.c_lflag=0x00000000
savetios.c_cc="\003\034\b\025\004\000\001\000\021\023\000\000\022\017\027\000\000\000s"
file flags: stdin: 0x0000, stdout: 0x0001
setting port "(null)" non-local
start slave session type 0 with <none>
statemachine rx_define_type start sendintro (0)
statemachine rx_define_type entering sendintro (0)
tty_put 16 bytes
tty_put 11 bytes
tty_put 18 bytes
tty_put 14 bytes
tty_put 10 bytes
tty_put 4 bytes
tty_put 24 bytes
tty_put 13 bytes
putc '\r'
statemachine rx_define_type entering waitchar (1)
get_buf returning 36 bytes, status=0x00
getc return '\r'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering sendintro (0)
tty_put 16 bytes
tty_put 11 bytes
tty_put 18 bytes
tty_put 14 bytes
tty_put 10 bytes
tty_put 4 bytes
tty_put 24 bytes
tty_put 13 bytes
putc '\r'
statemachine rx_define_type entering waitchar (1)
getc return '\n'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering sendintro (0)
tty_put 16 bytes
tty_put 11 bytes
tty_put 18 bytes
tty_put 14 bytes
tty_put 10 bytes
tty_put 4 bytes
tty_put 24 bytes
tty_put 13 bytes
putc '\r'
statemachine rx_define_type entering waitchar (1)
getc return 'C'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return 'O'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return 'N'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return 'N'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return 'E'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return 'C'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return 'T'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return ' '
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return '1'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return '4'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return '4'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return '0'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return '0'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return '/'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return 'A'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return 'R'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return 'Q'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return '\r'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering sendintro (0)
tty_put 16 bytes
tty_put 11 bytes
tty_put 18 bytes
tty_put 14 bytes
tty_put 10 bytes
tty_put 4 bytes
tty_put 24 bytes
tty_put 13 bytes
putc '\r'
statemachine rx_define_type entering waitchar (1)
getc return '\n'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering sendintro (0)
tty_put 16 bytes
tty_put 11 bytes
tty_put 18 bytes
tty_put 14 bytes
tty_put 10 bytes
tty_put 4 bytes
tty_put 24 bytes
tty_put 13 bytes
putc '\r'
statemachine rx_define_type entering waitchar (1)
getc return '*'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return '*'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return 'E'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return 'M'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return 'S'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return 'I'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return '_'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return 'I'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return 'N'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return 'Q'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return 'C'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return '8'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return '1'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering waitchar (1)
getc return '6'
statemachine rx_define_type entering nextchar (2)
statemachine rx_define_type entering checkemsi (3)
check "EMSI_INQC816" for being EMSI inquery or data
statemachine rx_define_type exit success (1)
start inbound EMSI session
statemachine rxemsi start checkpkt (4)
statemachine rxemsi entering checkpkt (4)
statemachine rxemsi entering sendnak (6)
tty_put 16 bytes
statemachine rxemsi entering waitpkt (0)
statemachine rxemsi entering waitchar (1)
getc return '\r'
statemachine rxemsi entering waitchar (1)
get_buf returning 35 bytes, status=0x00
getc return '*'
statemachine rxemsi entering waitchar (1)
getc return '*'
statemachine rxemsi entering waitchar (1)
getc return 'E'
statemachine rxemsi entering waitchar (1)
getc return 'M'
statemachine rxemsi entering waitchar (1)
getc return 'S'
statemachine rxemsi entering waitchar (1)
getc return 'I'
statemachine rxemsi entering waitchar (1)
getc return '_'
statemachine rxemsi entering waitchar (1)
getc return 'I'
statemachine rxemsi entering waitchar (1)
getc return 'N'
statemachine rxemsi entering waitchar (1)
getc return 'Q'
statemachine rxemsi entering waitchar (1)
getc return 'C'
statemachine rxemsi entering waitchar (1)
getc return '8'
statemachine rxemsi entering waitchar (1)
getc return '1'
statemachine rxemsi entering waitchar (1)
getc return '6'
statemachine rxemsi entering checkemsi (2)
rxemsi got: "EMSI_INQC816"
statemachine rxemsi entering checkpkt (4)
statemachine rxemsi entering sendnak (6)
tty_put 16 bytes
tty_put 16 bytes
statemachine rxemsi entering waitpkt (0)
statemachine rxemsi entering waitchar (1)
getc return '\r'
statemachine rxemsi entering waitchar (1)
getc return '*'
statemachine rxemsi entering waitchar (1)
getc return '*'
statemachine rxemsi entering waitchar (1)
getc return 'E'
statemachine rxemsi entering waitchar (1)
getc return 'M'
statemachine rxemsi entering waitchar (1)
getc return 'S'
statemachine rxemsi entering waitchar (1)
getc return 'I'
statemachine rxemsi entering waitchar (1)
getc return '_'
statemachine rxemsi entering waitchar (1)
getc return 'D'
statemachine rxemsi entering waitchar (1)
getc return 'A'
statemachine rxemsi entering waitchar (1)
getc return 'T'
statemachine rxemsi entering waitchar (1)
getc return '0'
statemachine rxemsi entering waitchar (1)
getc return '3'
statemachine rxemsi entering waitchar (1)
getc return '6'
statemachine rxemsi entering waitchar (1)
getc return '4'
statemachine rxemsi entering checkemsi (2)
rxemsi got: "EMSI_DAT0364"
statemachine rxemsi entering getdat (3)
try get emsi_dat packet starting with "EMSI_DAT0364"
getc return '{'
got '{'
getc return 'E'
got 'E'
getc return 'M'
got 'M'
getc return 'S'
got 'S'
getc return 'I'
got 'I'
getc return '}'
got '}'
get_buf returning 39 bytes, status=0x00
getc return '{'
got '{'
getc return '2'
got '2'
getc return ':'
got ':'
getc return '2'
got '2'
getc return '9'
got '9'
getc return '3'
got '3'
getc return '/'
got '/'
getc return '3'
got '3'
getc return '2'
got '2'
getc return '1'
got '1'
getc return '2'
got '2'
getc return '@'
got '@'
getc return 'f'
got 'f'
getc return 'i'
got 'i'
getc return 'd'
got 'd'
getc return 'o'
got 'o'
getc return 'n'
got 'n'
getc return 'e'
got 'e'

(I think I can cut here, once the EMSI_DAT arrives it's ok)

--
A bientôt,
Pablo Saratxaga

~ ~ :wq ;-) PGP Key available, key ID: 0x8F0E4975