Home
last modified time | relevance | path

Searched refs:IAC (Results 1 – 25 of 2234) sorted by relevance

12345678910>>...90

/dports/lang/expect/expect5.45.4/example/
H A Dexpectd.proto6 set IAC "\xff"
18 send "$IAC$WILL$ECHO"
19 send "$IAC$WILL$SGA"
20 send "$IAC$DO$TTYPE"
25 -re "^$IAC$DO$ECHO" {
29 -re "^$IAC$DO$SGA" {
33 -re "^$IAC$DO\(.)" {
40 send_user "$IAC$SB$TTYPE$SEND$IAC$SE"
43 -re "^$IAC$WILL$SGA" {
47 -re "^$IAC$WILL\(.)" {
[all …]
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/
H A Dtest_telnetlib.py298 b'a few' + tl.IAC + tl.IAC + b' iacs' + tl.IAC,
299 tl.IAC,
305 self.assertEqual(data.replace(tl.IAC,tl.IAC+tl.IAC), written)
327 self._test_command([tl.IAC, cmd])
335 send = [tl.IAC + tl.SB + tl.IAC + tl.SE,
336 tl.IAC + tl.SB + tl.IAC + tl.IAC + tl.IAC + tl.SE,
337 tl.IAC + tl.SB + tl.IAC + tl.IAC + b'aa' + tl.IAC + tl.SE,
338 tl.IAC + tl.SB + b'bb' + tl.IAC + tl.IAC + tl.IAC + tl.SE,
339 tl.IAC + tl.SB + b'cc' + tl.IAC + tl.IAC + b'dd' + tl.IAC + tl.SE,
346 want_sb_data = tl.IAC + tl.IAC + b'aabb' + tl.IAC + b'cc' + tl.IAC + b'dd'
[all …]
/dports/databases/py-gdbm/Python-3.8.12/Lib/test/
H A Dtest_telnetlib.py298 b'a few' + tl.IAC + tl.IAC + b' iacs' + tl.IAC,
299 tl.IAC,
305 self.assertEqual(data.replace(tl.IAC,tl.IAC+tl.IAC), written)
327 self._test_command([tl.IAC, cmd])
335 send = [tl.IAC + tl.SB + tl.IAC + tl.SE,
336 tl.IAC + tl.SB + tl.IAC + tl.IAC + tl.IAC + tl.SE,
337 tl.IAC + tl.SB + tl.IAC + tl.IAC + b'aa' + tl.IAC + tl.SE,
338 tl.IAC + tl.SB + b'bb' + tl.IAC + tl.IAC + tl.IAC + tl.SE,
339 tl.IAC + tl.SB + b'cc' + tl.IAC + tl.IAC + b'dd' + tl.IAC + tl.SE,
346 want_sb_data = tl.IAC + tl.IAC + b'aabb' + tl.IAC + b'cc' + tl.IAC + b'dd'
[all …]
/dports/lang/python37/Python-3.7.12/Lib/test/
H A Dtest_telnetlib.py298 b'a few' + tl.IAC + tl.IAC + b' iacs' + tl.IAC,
299 tl.IAC,
305 self.assertEqual(data.replace(tl.IAC,tl.IAC+tl.IAC), written)
327 self._test_command([tl.IAC, cmd])
335 send = [tl.IAC + tl.SB + tl.IAC + tl.SE,
336 tl.IAC + tl.SB + tl.IAC + tl.IAC + tl.IAC + tl.SE,
337 tl.IAC + tl.SB + tl.IAC + tl.IAC + b'aa' + tl.IAC + tl.SE,
338 tl.IAC + tl.SB + b'bb' + tl.IAC + tl.IAC + tl.IAC + tl.SE,
339 tl.IAC + tl.SB + b'cc' + tl.IAC + tl.IAC + b'dd' + tl.IAC + tl.SE,
346 want_sb_data = tl.IAC + tl.IAC + b'aabb' + tl.IAC + b'cc' + tl.IAC + b'dd'
[all …]
/dports/lang/python-tools/Python-3.8.12/Lib/test/
H A Dtest_telnetlib.py298 b'a few' + tl.IAC + tl.IAC + b' iacs' + tl.IAC,
299 tl.IAC,
305 self.assertEqual(data.replace(tl.IAC,tl.IAC+tl.IAC), written)
327 self._test_command([tl.IAC, cmd])
335 send = [tl.IAC + tl.SB + tl.IAC + tl.SE,
336 tl.IAC + tl.SB + tl.IAC + tl.IAC + tl.IAC + tl.SE,
337 tl.IAC + tl.SB + tl.IAC + tl.IAC + b'aa' + tl.IAC + tl.SE,
338 tl.IAC + tl.SB + b'bb' + tl.IAC + tl.IAC + tl.IAC + tl.SE,
339 tl.IAC + tl.SB + b'cc' + tl.IAC + tl.IAC + b'dd' + tl.IAC + tl.SE,
346 want_sb_data = tl.IAC + tl.IAC + b'aabb' + tl.IAC + b'cc' + tl.IAC + b'dd'
[all …]
/dports/lang/python38/Python-3.8.12/Lib/test/
H A Dtest_telnetlib.py298 b'a few' + tl.IAC + tl.IAC + b' iacs' + tl.IAC,
299 tl.IAC,
305 self.assertEqual(data.replace(tl.IAC,tl.IAC+tl.IAC), written)
327 self._test_command([tl.IAC, cmd])
335 send = [tl.IAC + tl.SB + tl.IAC + tl.SE,
336 tl.IAC + tl.SB + tl.IAC + tl.IAC + tl.IAC + tl.SE,
337 tl.IAC + tl.SB + tl.IAC + tl.IAC + b'aa' + tl.IAC + tl.SE,
338 tl.IAC + tl.SB + b'bb' + tl.IAC + tl.IAC + tl.IAC + tl.SE,
339 tl.IAC + tl.SB + b'cc' + tl.IAC + tl.IAC + b'dd' + tl.IAC + tl.SE,
346 want_sb_data = tl.IAC + tl.IAC + b'aabb' + tl.IAC + b'cc' + tl.IAC + b'dd'
[all …]
/dports/lang/python310/Python-3.10.1/Lib/test/
H A Dtest_telnetlib.py299 b'a few' + tl.IAC + tl.IAC + b' iacs' + tl.IAC,
300 tl.IAC,
306 self.assertEqual(data.replace(tl.IAC,tl.IAC+tl.IAC), written)
328 self._test_command([tl.IAC, cmd])
336 send = [tl.IAC + tl.SB + tl.IAC + tl.SE,
337 tl.IAC + tl.SB + tl.IAC + tl.IAC + tl.IAC + tl.SE,
338 tl.IAC + tl.SB + tl.IAC + tl.IAC + b'aa' + tl.IAC + tl.SE,
339 tl.IAC + tl.SB + b'bb' + tl.IAC + tl.IAC + tl.IAC + tl.SE,
340 tl.IAC + tl.SB + b'cc' + tl.IAC + tl.IAC + b'dd' + tl.IAC + tl.SE,
347 want_sb_data = tl.IAC + tl.IAC + b'aabb' + tl.IAC + b'cc' + tl.IAC + b'dd'
[all …]
/dports/lang/python311/Python-3.11.0a3/Lib/test/
H A Dtest_telnetlib.py299 b'a few' + tl.IAC + tl.IAC + b' iacs' + tl.IAC,
300 tl.IAC,
306 self.assertEqual(data.replace(tl.IAC,tl.IAC+tl.IAC), written)
328 self._test_command([tl.IAC, cmd])
336 send = [tl.IAC + tl.SB + tl.IAC + tl.SE,
337 tl.IAC + tl.SB + tl.IAC + tl.IAC + tl.IAC + tl.SE,
338 tl.IAC + tl.SB + tl.IAC + tl.IAC + b'aa' + tl.IAC + tl.SE,
339 tl.IAC + tl.SB + b'bb' + tl.IAC + tl.IAC + tl.IAC + tl.SE,
340 tl.IAC + tl.SB + b'cc' + tl.IAC + tl.IAC + b'dd' + tl.IAC + tl.SE,
347 want_sb_data = tl.IAC + tl.IAC + b'aabb' + tl.IAC + b'cc' + tl.IAC + b'dd'
[all …]
/dports/lang/python39/Python-3.9.9/Lib/test/
H A Dtest_telnetlib.py299 b'a few' + tl.IAC + tl.IAC + b' iacs' + tl.IAC,
300 tl.IAC,
306 self.assertEqual(data.replace(tl.IAC,tl.IAC+tl.IAC), written)
328 self._test_command([tl.IAC, cmd])
336 send = [tl.IAC + tl.SB + tl.IAC + tl.SE,
337 tl.IAC + tl.SB + tl.IAC + tl.IAC + tl.IAC + tl.SE,
338 tl.IAC + tl.SB + tl.IAC + tl.IAC + b'aa' + tl.IAC + tl.SE,
339 tl.IAC + tl.SB + b'bb' + tl.IAC + tl.IAC + tl.IAC + tl.SE,
340 tl.IAC + tl.SB + b'cc' + tl.IAC + tl.IAC + b'dd' + tl.IAC + tl.SE,
347 want_sb_data = tl.IAC + tl.IAC + b'aabb' + tl.IAC + b'cc' + tl.IAC + b'dd'
[all …]
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/test/
H A Dtest_telnetlib.py298 b'a few' + tl.IAC + tl.IAC + b' iacs' + tl.IAC,
299 tl.IAC,
305 self.assertEqual(data.replace(tl.IAC,tl.IAC+tl.IAC), written)
327 self._test_command([tl.IAC, cmd])
335 send = [tl.IAC + tl.SB + tl.IAC + tl.SE,
336 tl.IAC + tl.SB + tl.IAC + tl.IAC + tl.IAC + tl.SE,
337 tl.IAC + tl.SB + tl.IAC + tl.IAC + b'aa' + tl.IAC + tl.SE,
338 tl.IAC + tl.SB + b'bb' + tl.IAC + tl.IAC + tl.IAC + tl.SE,
339 tl.IAC + tl.SB + b'cc' + tl.IAC + tl.IAC + b'dd' + tl.IAC + tl.SE,
346 want_sb_data = tl.IAC + tl.IAC + b'aabb' + tl.IAC + b'cc' + tl.IAC + b'dd'
[all …]
/dports/devel/py-gevent/gevent-21.8.0/src/greentest/3.6pypy/
H A Dtest_telnetlib.py298 b'a few' + tl.IAC + tl.IAC + b' iacs' + tl.IAC,
299 tl.IAC,
305 self.assertEqual(data.replace(tl.IAC,tl.IAC+tl.IAC), written)
327 self._test_command([tl.IAC, cmd])
335 send = [tl.IAC + tl.SB + tl.IAC + tl.SE,
336 tl.IAC + tl.SB + tl.IAC + tl.IAC + tl.IAC + tl.SE,
337 tl.IAC + tl.SB + tl.IAC + tl.IAC + b'aa' + tl.IAC + tl.SE,
338 tl.IAC + tl.SB + b'bb' + tl.IAC + tl.IAC + tl.IAC + tl.SE,
339 tl.IAC + tl.SB + b'cc' + tl.IAC + tl.IAC + b'dd' + tl.IAC + tl.SE,
346 want_sb_data = tl.IAC + tl.IAC + b'aabb' + tl.IAC + b'cc' + tl.IAC + b'dd'
[all …]
/dports/lang/ruby26/ruby-2.6.9/gems/net-telnet-0.2.0/lib/net/
H A Dtelnet.rb441 string.gsub(/#{IAC}(
445 #{SB}[^#{IAC}]*#{IAC}#{SE}
448 IAC
457 self.write(IAC + WONT + $1[1..1])
461 self.write(IAC + WONT + $1[1..1])
465 self.write(IAC + DO + OPT_BINARY)
467 self.write(IAC + DO + OPT_ECHO)
470 self.write(IAC + DO + OPT_SGA)
480 self.write(IAC + DONT + OPT_SGA)
568 elsif pt = c.rindex(/#{IAC}[^#{IAC}#{AO}#{AYT}#{DM}#{IP}#{NOP}]?\z/no) ||
[all …]
/dports/chinese/tintin++/tt/src/
H A Dtelopt_client.c261 case IAC: in client_translate_telopts()
400 case IAC: in client_translate_telopts()
715 if (cols % 256 == IAC && gtd->screen->rows % 256 == IAC) in client_send_sb_naws()
717 …ses, 11, "%c%c%c%c%c%c%c%c%c%c%c", IAC, SB, TELOPT_NAWS, cols / 256, IAC, cols % 256, rows / 256, in client_send_sb_naws()
719 else if (cols % 256 == IAC) in client_send_sb_naws()
721 …ntf(ses, 10, "%c%c%c%c%c%c%c%c%c%c", IAC, SB, TELOPT_NAWS, cols / 256, IAC, cols % 256, rows / 256… in client_send_sb_naws()
725 …ntf(ses, 10, "%c%c%c%c%c%c%c%c%c%c", IAC, SB, TELOPT_NAWS, cols / 256, cols % 256, rows / 256, IAC in client_send_sb_naws()
830 telnet_printf(ses, 5, "%c%c%c%c%c", IAC, IP, IAC, DO, TELOPT_TIMINGMARK); in client_send_ip()
1535 IAC, SE); in client_recv_sb_new_environ()
1624 case IAC: in client_recv_sb_zmp()
[all …]
H A Dtelopt_server.c94 { 5, (unsigned char []) { IAC, SB, TELOPT_MCCP3, IAC, SE, 0 }, &process_sb_mccp3},
278 case IAC: in server_translate_telopts()
325 case IAC: in server_translate_telopts()
407 case IAC: in debug_telopts()
513 port_socket_printf(ses, buddy, "%c%c%c%c%c%c", IAC, SB, TELOPT_TTYPE, ENV_SEND, IAC, SE); in process_will_ttype()
514 port_socket_printf(ses, buddy, "%c%c%c%c%c%c", IAC, SB, TELOPT_TTYPE, ENV_SEND, IAC, SE); in process_will_ttype()
515 port_socket_printf(ses, buddy, "%c%c%c%c%c%c", IAC, SB, TELOPT_TTYPE, ENV_SEND, IAC, SE); in process_will_ttype()
542 case IAC: in process_sb_ttype_is()
961 port_socket_printf(ses, buddy, "%c%c%c%s%c%c", IAC, SB, TELOPT_MSSP, buffer, IAC, SE); in process_do_mssp()
1004 port_socket_printf(ses, buddy, "%c%c%c%c%c", IAC, SB, TELOPT_MCCP2, IAC, SE); in start_mccp2()
[all …]
/dports/net/tintin++/tt/src/
H A Dtelopt_client.c261 case IAC: in client_translate_telopts()
400 case IAC: in client_translate_telopts()
715 if (cols % 256 == IAC && gtd->screen->rows % 256 == IAC) in client_send_sb_naws()
717 …ses, 11, "%c%c%c%c%c%c%c%c%c%c%c", IAC, SB, TELOPT_NAWS, cols / 256, IAC, cols % 256, rows / 256, in client_send_sb_naws()
719 else if (cols % 256 == IAC) in client_send_sb_naws()
721 …ntf(ses, 10, "%c%c%c%c%c%c%c%c%c%c", IAC, SB, TELOPT_NAWS, cols / 256, IAC, cols % 256, rows / 256… in client_send_sb_naws()
725 …ntf(ses, 10, "%c%c%c%c%c%c%c%c%c%c", IAC, SB, TELOPT_NAWS, cols / 256, cols % 256, rows / 256, IAC in client_send_sb_naws()
830 telnet_printf(ses, 5, "%c%c%c%c%c", IAC, IP, IAC, DO, TELOPT_TIMINGMARK); in client_send_ip()
1535 IAC, SE); in client_recv_sb_new_environ()
1624 case IAC: in client_recv_sb_zmp()
[all …]
H A Dtelopt_server.c94 { 5, (unsigned char []) { IAC, SB, TELOPT_MCCP3, IAC, SE, 0 }, &process_sb_mccp3},
278 case IAC: in server_translate_telopts()
325 case IAC: in server_translate_telopts()
407 case IAC: in debug_telopts()
513 port_socket_printf(ses, buddy, "%c%c%c%c%c%c", IAC, SB, TELOPT_TTYPE, ENV_SEND, IAC, SE); in process_will_ttype()
514 port_socket_printf(ses, buddy, "%c%c%c%c%c%c", IAC, SB, TELOPT_TTYPE, ENV_SEND, IAC, SE); in process_will_ttype()
515 port_socket_printf(ses, buddy, "%c%c%c%c%c%c", IAC, SB, TELOPT_TTYPE, ENV_SEND, IAC, SE); in process_will_ttype()
542 case IAC: in process_sb_ttype_is()
961 port_socket_printf(ses, buddy, "%c%c%c%s%c%c", IAC, SB, TELOPT_MSSP, buffer, IAC, SE); in process_do_mssp()
1004 port_socket_printf(ses, buddy, "%c%c%c%c%c", IAC, SB, TELOPT_MCCP2, IAC, SE); in start_mccp2()
[all …]
/dports/games/ldmud/ldmud-3.3.720/doc/concepts/
H A Dnegotiation126 TELQUAL_SEND IAC SE' which will be replied with 'IAC SB
140 IAC SB TTYPE SEND IAC SE
141 IAC SB TTYPE IS VT200 IAC SE
142 IAC SB TTYPE SEND IAC SE
143 IAC SB TTYPE IS VT100 IAC SE
144 IAC SB TTYPE SEND IAC SE
145 IAC SB TTYPE IS VT52 IAC SE
147 IAC SB TTYPE IS VT52 IAC SE
152 IAC SB TTYPE IS VT200 IAC SE
164 at your request with 'IAC SB NAWS SEND IAC SE'.
[all …]
/dports/security/krb5-appl/krb5-appl-1.0.3/telnet/telnet/
H A Dtelnet.c875 IAC, SB, TELOPT_TTYPE, TELQUAL_IS, name, IAC, SE); in suboption()
1003 IAC, SB, TELOPT_XDISPLOC, TELQUAL_IS, dp, IAC, SE); in suboption()
1194 IAC, SB, TELOPT_LINEMODE, LM_MODE, 0, IAC, SE
1331 IAC, SB, TELOPT_LINEMODE, LM_SLC, 0, SLC_DEFAULT, 0, IAC, SE
1702 case IAC:
1929 case IAC: in telrcv()
1931 TTYADD(IAC); in telrcv()
2176 case IAC: in telsnd()
2177 NET2ADD(IAC, IAC); in telsnd()
2184 NET2ADD(IAC, IAC); in telsnd()
[all …]
/dports/math/vtk6/VTK-6.2.0/ThirdParty/Twisted/twisted/conch/test/
H A Dtest_telnet.py190 cmd = telnet.IAC + telnet.SB + '\x12hello world' + telnet.IAC + telnet.SE
205 cmd = (telnet.IAC + telnet.SB +
207 telnet.IAC + telnet.SE)
222 cmd = (telnet.IAC + telnet.SB +
224 telnet.IAC + telnet.SE)
259 cmd = telnet.IAC + telnet.DO + '\x12'
708 self._deliver(telnet.IAC)
709 self._deliver(telnet.IAC + 'g', ('bytes', telnet.IAC + 'g'))
736 telnet.IAC + telnet.IAC + 'x', ('bytes', '\r' + telnet.IAC + 'x'))
745 'x' + telnet.IAC + telnet.NOP,
[all …]
/dports/sysutils/toybox/toybox-0.8.5/toys/pending/
H A Dtelnet.c94 dprintf(TT.sock,"%c%c%c%c%c%c",IAC,DONT,TELOPT_ECHO,IAC,DONT,TELOPT_SGA); in handle_esc()
102 dprintf(TT.sock,"%c%c%c%c%c%c",IAC,DO,TELOPT_ECHO,IAC,DO,TELOPT_SGA); in handle_esc()
128 dprintf(TT.sock, "%c%c%c", IAC, TT.echo ? DO : DONT, TELOPT_ECHO); in handle_wwdd()
135 dprintf(TT.sock, "%c%c%c", IAC, TT.sga ? DO : DONT, TELOPT_SGA); in handle_wwdd()
137 dprintf(TT.sock, "%c%c%c", IAC, WILL, TELOPT_TTYPE); in handle_wwdd()
143 IAC, SB, TELOPT_NAWS, cols>>8, cols, rows>>8, rows, in handle_wwdd()
144 IAC, SE); in handle_wwdd()
187 getenv("TERM") ?: "NVT", IAC, SE); in handle_server_output()
191 if (ch == IAC) TT.state = WANT_SE; in handle_server_output()
194 } else if (ch == IAC) { in handle_server_output()
[all …]
/dports/devel/py-twisted/Twisted-22.1.0/src/twisted/conch/test/
H A Dtest_telnet.py215 cmd = telnet.IAC + telnet.SB + b"\x12hello world" + telnet.IAC + telnet.SE
229 cmd = telnet.IAC + telnet.SB + b"\x12" + telnet.SE + telnet.IAC + telnet.SE
244 telnet.IAC
249 + telnet.IAC
285 cmd = telnet.IAC + telnet.DO + b"\x12"
297 cmd = telnet.IAC + telnet.DO + b"\x19"
716 self._deliver(telnet.IAC)
717 self._deliver(telnet.IAC + b"g", ("bytes", telnet.IAC + b"g"))
743 telnet.IAC + telnet.IAC + b"x", ("bytes", b"\r" + telnet.IAC + b"x")
752 b"x" + telnet.IAC + telnet.NOP,
[all …]
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_telnetlib.py340 self._test_command(['x' * 100, tl.IAC + cmd, 'y'*100, EOF_sigil])
341 self._test_command(['x' * 10, tl.IAC + cmd, 'y'*10, EOF_sigil])
342 self._test_command([tl.IAC + cmd, EOF_sigil])
344 self._test_command([tl.IAC + cmd for (cmd) in self.cmds] + [EOF_sigil])
349 send = [tl.IAC + tl.SB + tl.IAC + tl.SE,
350 tl.IAC + tl.SB + tl.IAC + tl.IAC + tl.IAC + tl.SE,
351 tl.IAC + tl.SB + tl.IAC + tl.IAC + 'aa' + tl.IAC + tl.SE,
352 tl.IAC + tl.SB + 'bb' + tl.IAC + tl.IAC + tl.IAC + tl.SE,
353 tl.IAC + tl.SB + 'cc' + tl.IAC + tl.IAC + 'dd' + tl.IAC + tl.SE,
363 want_sb_data = tl.IAC + tl.IAC + 'aabb' + tl.IAC + 'cc' + tl.IAC + 'dd'
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/libigl/igl/
H A Dsetunion.cpp43 DerivedIA IAC; in setunion() local
46 unique(CS,C,IAC,IC); in setunion()
48 const int nia = (IAC.array()<A.size()).count(); in setunion()
50 IB.resize(IAC.size() - nia); in setunion()
54 for(int i = 0;i<IAC.size();i++) in setunion()
56 if(IAC(i)<A.size()) in setunion()
58 IA(ka++) = IAC(i); in setunion()
61 IB(kb++) = IAC(i)-A.size(); in setunion()
/dports/graphics/wings/libigl-2.1.0/include/igl/
H A Dsetunion.cpp43 DerivedIA IAC; in setunion() local
46 unique(CS,C,IAC,IC); in setunion()
48 const int nia = (IAC.array()<A.size()).count(); in setunion()
50 IB.resize(IAC.size() - nia); in setunion()
54 for(int i = 0;i<IAC.size();i++) in setunion()
56 if(IAC(i)<A.size()) in setunion()
58 IA(ka++) = IAC(i); in setunion()
61 IB(kb++) = IAC(i)-A.size(); in setunion()
/dports/security/py-netmiko/netmiko-3.3.0/netmiko/zte/
H A Dzte_zxros.py3 from telnetlib import IAC, DO, DONT, WILL, WONT, SB, SE, ECHO, SGA, NAWS
43 telnet_sock.sendall(IAC + DO + opt)
45 telnet_sock.sendall(IAC + DONT + opt)
49 telnet_sock.sendall(IAC + WILL + opt)
51 telnet_sock.sendall(IAC + SB + NAWS + b"\x01\xf4\x00\x32" + IAC + SE)
53 telnet_sock.sendall(IAC + WONT + opt)

12345678910>>...90