Index: stable/9/share/doc/IPv6/IMPLEMENTATION =================================================================== --- stable/9/share/doc/IPv6/IMPLEMENTATION (revision 277016) +++ stable/9/share/doc/IPv6/IMPLEMENTATION (revision 277017) @@ -1,2392 +1,2392 @@ Implementation Note KAME Project http://www.kame.net/ $KAME: IMPLEMENTATION,v 1.216 2001/05/25 07:43:01 jinmei Exp $ $FreeBSD$ NOTE: The document tries to describe behaviors/implementation choices of the latest KAME/*BSD stack. The description here may not be applicable to KAME-integrated *BSD releases, as we have certain amount of changes between them. Still, some of the content can be useful for KAME-integrated *BSD releases. Table of Contents 1. IPv6 1.1 Conformance 1.2 Neighbor Discovery 1.3 Scope Zone Index 1.3.1 Kernel internal 1.3.2 Interaction with API 1.3.3 Interaction with users (command line) 1.4 Plug and Play 1.4.1 Assignment of link-local, and special addresses 1.4.2 Stateless address autoconfiguration on hosts 1.4.3 DHCPv6 1.5 Generic tunnel interface 1.6 Address Selection 1.6.1 Source Address Selection 1.6.2 Destination Address Ordering 1.7 Jumbo Payload 1.8 Loop prevention in header processing 1.9 ICMPv6 1.10 Applications 1.11 Kernel Internals 1.12 IPv4 mapped address and IPv6 wildcard socket 1.12.1 KAME/BSDI3 and KAME/FreeBSD228 1.12.2 KAME/FreeBSD[34]x 1.12.2.1 KAME/FreeBSD[34]x, listening side 1.12.2.2 KAME/FreeBSD[34]x, initiating side 1.12.3 KAME/NetBSD 1.12.3.1 KAME/NetBSD, listening side 1.12.3.2 KAME/NetBSD, initiating side 1.12.4 KAME/BSDI4 1.12.4.1 KAME/BSDI4, listening side 1.12.4.2 KAME/BSDI4, initiating side 1.12.5 KAME/OpenBSD 1.12.5.1 KAME/OpenBSD, listening side 1.12.5.2 KAME/OpenBSD, initiating side 1.12.6 More issues 1.12.7 Interaction with SIIT translator 1.13 sockaddr_storage 1.14 Invalid addresses on the wire 1.15 Node's required addresses 1.15.1 Host case 1.15.2 Router case 1.16 Advanced API 1.17 DNS resolver 2. Network Drivers 2.1 FreeBSD 2.2.x-RELEASE 2.2 BSD/OS 3.x 2.3 NetBSD 2.4 FreeBSD 3.x-RELEASE 2.5 FreeBSD 4.x-RELEASE 2.6 OpenBSD 2.x 2.7 BSD/OS 4.x 3. Translator 3.1 FAITH TCP relay translator 3.2 IPv6-to-IPv4 header translator 4. IPsec 4.1 Policy Management 4.2 Key Management 4.3 AH and ESP handling 4.4 IPComp handling 4.5 Conformance to RFCs and IDs 4.6 ECN consideration on IPsec tunnels 4.7 Interoperability 4.8 Operations with IPsec tunnel mode 4.8.1 RFC2401 IPsec tunnel mode approach 4.8.2 draft-touch-ipsec-vpn approach 5. ALTQ 6. Mobile IPv6 6.1 KAME node as correspondent node 6.2 KAME node as home agent/mobile node 6.3 Old Mobile IPv6 code 7. Coding style 8. Policy on technology with intellectual property right restriction 1. IPv6 1.1 Conformance The KAME kit conforms, or tries to conform, to the latest set of IPv6 specifications. For future reference we list some of the relevant documents below (NOTE: this is not a complete list - this is too hard to maintain...). For details please refer to specific chapter in the document, RFCs, manpages come with KAME, or comments in the source code. Conformance tests have been performed on past and latest KAME STABLE kit, at TAHI project. Results can be viewed at http://www.tahi.org/report/KAME/. We also attended Univ. of New Hampshire IOL tests (http://www.iol.unh.edu/) in the past, with our past snapshots. RFC1639: FTP Operation Over Big Address Records (FOOBAR) * RFC2428 is preferred over RFC1639. ftp clients will first try RFC2428, then RFC1639 if failed. RFC1886: DNS Extensions to support IPv6 RFC1933: (see RFC2893) RFC1981: Path MTU Discovery for IPv6 RFC2080: RIPng for IPv6 * KAME-supplied route6d, bgpd and hroute6d support this. RFC2283: Multiprotocol Extensions for BGP-4 * so-called "BGP4+". * KAME-supplied bgpd supports this. RFC2292: Advanced Sockets API for IPv6 * see RFC3542 RFC2362: Protocol Independent Multicast-Sparse Mode (PIM-SM) * RFC2362 defines the packet formats and the protcol of PIM-SM. RFC2373: IPv6 Addressing Architecture * KAME supports node required addresses, and conforms to the scope requirement. RFC2374: An IPv6 Aggregatable Global Unicast Address Format * KAME supports 64-bit length of Interface ID. RFC2375: IPv6 Multicast Address Assignments * Userland applications use the well-known addresses assigned in the RFC. RFC2428: FTP Extensions for IPv6 and NATs * RFC2428 is preferred over RFC1639. ftp clients will first try RFC2428, then RFC1639 if failed. RFC2460: IPv6 specification RFC2461: Neighbor discovery for IPv6 * See 1.2 in this document for details. RFC2462: IPv6 Stateless Address Autoconfiguration * See 1.4 in this document for details. RFC2463: ICMPv6 for IPv6 specification * See 1.9 in this document for details. RFC2464: Transmission of IPv6 Packets over Ethernet Networks RFC2465: MIB for IPv6: Textual Conventions and General Group * Necessary statistics are gathered by the kernel. Actual IPv6 MIB support is provided as patchkit for ucd-snmp. RFC2466: MIB for IPv6: ICMPv6 group * Necessary statistics are gathered by the kernel. Actual IPv6 MIB support is provided as patchkit for ucd-snmp. RFC2467: Transmission of IPv6 Packets over FDDI Networks RFC2472: IPv6 over PPP RFC2492: IPv6 over ATM Networks * only PVC is supported. RFC2497: Transmission of IPv6 packet over ARCnet Networks RFC2545: Use of BGP-4 Multiprotocol Extensions for IPv6 Inter-Domain Routing RFC2553: (see RFC3493) RFC2671: Extension Mechanisms for DNS (EDNS0) * see USAGE for how to use it. * not supported on kame/freebsd4 and kame/bsdi4. RFC2673: Binary Labels in the Domain Name System * KAME/bsdi4 supports A6, DNAME and binary label to some extent. * KAME apps/bind8 repository has resolver library with partial A6, DNAME and binary label support. RFC2675: IPv6 Jumbograms * See 1.7 in this document for details. RFC2710: Multicast Listener Discovery for IPv6 RFC2711: IPv6 router alert option RFC2732: Format for Literal IPv6 Addresses in URL's * The spec is implemented in programs that handle URLs (like freebsd ftpio(3) and fetch(1), or netbsd ftp(1)) RFC2874: DNS Extensions to Support IPv6 Address Aggregation and Renumbering * KAME/bsdi4 supports A6, DNAME and binary label to some extent. * KAME apps/bind8 repository has resolver library with partial A6, DNAME and binary label support. RFC2893: Transition Mechanisms for IPv6 Hosts and Routers * IPv4 compatible address is not supported. * automatic tunneling (4.3) is not supported. * "gif" interface implements IPv[46]-over-IPv[46] tunnel in a generic way, and it covers "configured tunnel" described in the spec. See 1.5 in this document for details. RFC2894: Router renumbering for IPv6 RFC3041: Privacy Extensions for Stateless Address Autoconfiguration in IPv6 RFC3056: Connection of IPv6 Domains via IPv4 Clouds * So-called "6to4". * "stf" interface implements it. Be sure to read draft-itojun-ipv6-transition-abuse-01.txt below before configuring it, there can be security issues. RFC3142: An IPv6-to-IPv4 transport relay translator * FAITH tcp relay translator (faithd) implements this. See 3.1 for more details. RFC3152: Delegation of IP6.ARPA * libinet6 resolvers contained in the KAME snaps support to use the ip6.arpa domain (with the nibble format) for IPv6 reverse lookups. RFC3484: Default Address Selection for IPv6 * the selection algorithm for both source and destination addresses is implemented based on the RFC, though some rules are still omitted. RFC3493: Basic Socket Interface Extensions for IPv6 * IPv4 mapped address (3.7) and special behavior of IPv6 wildcard bind socket (3.8) are, - supported and turned on by default on KAME/FreeBSD[34] and KAME/BSDI4, - supported but turned off by default on KAME/NetBSD and KAME/FreeBSD5, - not supported on KAME/FreeBSD228, KAME/OpenBSD and KAME/BSDI3. see 1.12 in this document for details. * The AI_ALL and AI_V4MAPPED flags are not supported. RFC3542: Advanced Sockets API for IPv6 (revised) * For supported library functions/kernel APIs, see sys/netinet6/ADVAPI. * Some of the updates in the draft are not implemented yet. See TODO.2292bis for more details. RFC4007: IPv6 Scoped Address Architecture * some part of the documentation (especially about the routing model) is not supported yet. * zone indices that contain scope types have not been supported yet. draft-ietf-ipngwg-icmp-name-lookups-09: IPv6 Name Lookups Through ICMP draft-ietf-ipv6-router-selection-07.txt: Default Router Preferences and More-Specific Routes * router-side: both router preference and specific routes are supported. * host-side: only router preference is supported. draft-ietf-pim-sm-v2-new-02.txt A revised version of RFC2362, which includes the IPv6 specific packet format and protocol descriptions. draft-ietf-dnsext-mdns-00.txt: Multicast DNS * kame/mdnsd has test implementation, which will not be built in default compilation. The draft will experience a major change in the near future, so don't rely upon it. draft-ietf-ipngwg-icmp-v3-02.txt: ICMPv6 for IPv6 specification (revised) * See 1.9 in this document for details. draft-itojun-ipv6-tcp-to-anycast-01.txt: Disconnecting TCP connection toward IPv6 anycast address draft-ietf-ipv6-rfc2462bis-06.txt: IPv6 Stateless Address Autoconfiguration (revised) draft-itojun-ipv6-transition-abuse-01.txt: Possible abuse against IPv6 transition technologies (expired) * KAME does not implement RFC1933/2893 automatic tunnel. * "stf" interface implements some address filters. Refer to stf(4) for details. Since there's no way to make 6to4 interface 100% secure, we do not include "stf" interface into GENERIC.v6 compilation. * kame/openbsd completely disables IPv4 mapped address support. * kame/netbsd makes IPv4 mapped address support off by default. * See section 1.12.6 and 1.14 for more details. draft-itojun-ipv6-flowlabel-api-01.txt: Socket API for IPv6 flow label field * no consideration is made against the use of routing headers and such. 1.2 Neighbor Discovery Our implementation of Neighbor Discovery is fairly stable. Currently Address Resolution, Duplicated Address Detection, and Neighbor Unreachability Detection are supported. In the near future we will be adding an Unsolicited Neighbor Advertisement transmission command as an administration tool. Duplicated Address Detection (DAD) will be performed when an IPv6 address is assigned to a network interface, or the network interface is enabled (ifconfig up). It is documented in RFC2462 5.4. If DAD fails, the address will be marked "duplicated" and message will be generated to syslog (and usually to console). The "duplicated" mark can be checked with ifconfig. It is administrators' responsibility to check for and recover from DAD failures. We may try to improve failure recovery in future KAME code. A successor version of RFC2462 (called rfc2462bis) clarifies the behavior when DAD fails (i.e., duplicate is detected): if the duplicate address is a link-local address formed from an interface identifier based on the hardware address which is supposed to be uniquely assigned (e.g., EUI-64 for an Ethernet interface), IPv6 operation on the interface should be disabled. The KAME implementation supports this as follows: if this type of duplicate is detected, the kernel marks "disabled" in the ND specific data structure for the interface. Every IPv6 I/O operation in the kernel checks this mark, and the kernel will drop packets received on or being sent to the "disabled" interface. Whether the IPv6 operation is disabled or not can be confirmed by the ndp(8) command. See the man page for more details. DAD procedure may not be effective on certain network interfaces/drivers. If a network driver needs long initialization time (with wireless network interfaces this situation is popular), and the driver mistakingly raises IFF_RUNNING before the driver becomes ready, DAD code will try to transmit DAD probes to not-really-ready network driver and the packet will not go out from the interface. In such cases, network drivers should be corrected. Some of network drivers loop multicast packets back to themselves, even if instructed not to do so (especially in promiscuous mode). In such cases DAD may fail, because the DAD engine sees inbound NS packet (actually from the node itself) and considers it as a sign of duplicate. In this case, drivers should be corrected to honor IFF_SIMPLEX behavior. For example, you may need to check source MAC address on an inbound packet, and reject it if it is from the node itself. Neighbor Discovery specification (RFC2461) does not talk about neighbor cache handling in the following cases: (1) when there was no neighbor cache entry, node received unsolicited RS/NS/NA/redirect packet without link-layer address (2) neighbor cache handling on medium without link-layer address (we need a neighbor cache entry for IsRouter bit) For (1), we implemented workaround based on discussions on IETF ipngwg mailing list. For more details, see the comments in the source code and email thread started from (IPng 7155), dated Feb 6 1999. IPv6 on-link determination rule (RFC2461) is quite different from assumptions in BSD IPv4 network code. To implement the behavior in RFC2461 section 6.3.6 (3), the kernel needs to know the default outgoing interface. To configure the default outgoing interface, use commands like "ndp -I de0" as root. Then the kernel will have a "default" route to the interface with the cloning "C" bit being on. This default route will cause to make a neighbor cache entry for every destination that does not match an explicit route entry. Note that we intentionally disable configuring the default interface by default. This is because we found it sometimes caused inconvenient situation while it was rarely useful in practical usage. For example, consider a destination that has both IPv4 and IPv6 addresses but is only reachable via IPv4. Since our getaddrinfo(3) prefers IPv6 by default, an (TCP) application using the library with PF_UNSPEC first tries to connect to the IPv6 address. If we turn on RFC 2461 6.3.6 (3), we have to wait for quite a long period before the first attempt to make a connection fails. If we turn it off, the first attempt will immediately fail with EHOSTUNREACH, and then the application can try the next, reachable address. The notion of the default interface is also disabled when the node is acting as a router. The reason is that routers tend to control all routes stored in the kernel and the default route automatically installed would rather confuse the routers. Note that the spec misuse the word "host" and "node" in several places in Section 5.2 of RFC 2461. We basically read the word "node" in this section as "host," and thus believe the implementation policy does not break the specification. To avoid possible DoS attacks and infinite loops, KAME stack will accept only 10 options on ND packet. Therefore, if you have 20 prefix options attached to RA, only the first 10 prefixes will be recognized. If this troubles you, please contact the KAME team and/or modify nd6_maxndopt in sys/netinet6/nd6.c. If there are high demands we may provide a sysctl knob for the variable. Proxy Neighbor Advertisement support is implemented in the kernel. For instance, you can configure it by using the following command: # ndp -s fe80::1234%ne0 0:1:2:3:4:5 proxy where ne0 is the interface which attaches to the same link as the proxy target. There are certain limitations, though: - It does not send unsolicited multicast NA on configuration. This is MAY behavior in RFC2461. - It does not add random delay before transmission of solicited NA. This is SHOULD behavior in RFC2461. - We cannot configure proxy NDP for off-link address. The target address for proxying must be link-local address, or must be in prefixes configured to node which does proxy NDP. - RFC2461 is unclear about if it is legal for a host to perform proxy ND. We do not prohibit hosts from doing proxy ND, but there will be very limited use in it. Starting mid March 2000, we support Neighbor Unreachability Detection (NUD) on p2p interfaces, including tunnel interfaces (gif). NUD is turned on by default. Before March 2000 the KAME stack did not perform NUD on p2p interfaces. If the change raises any interoperability issues, you can turn off/on NUD by per-interface basis. Use "ndp -i interface -nud" to turn it off. Consult ndp(8) for details. RFC2461 specifies upper-layer reachability confirmation hint. Whenever upper-layer reachability confirmation hint comes, ND process can use it to optimize neighbor discovery process - ND process can omit real ND exchange and keep the neighbor cache state in REACHABLE. We currently have two sources for hints: (1) setsockopt(IPV6_REACHCONF) defined by the RFC3542 API, and (2) hints from tcp(6)_input. It is questionable if they are really trustworthy. For example, a rogue userland program can use IPV6_REACHCONF to confuse the ND process. Neighbor cache is a system-wide information pool, and it is bad to allow a single process to affect others. Also, tcp(6)_input can be hosed by hijack attempts. It is wrong to allow hijack attempts to affect the ND process. Starting June 2000, the ND code has a protection mechanism against incorrect upper-layer reachability confirmation. The ND code counts subsequent upper-layer hints. If the number of hints reaches the maximum, the ND code will ignore further upper-layer hints and run real ND process to confirm reachability to the peer. sysctl net.inet6.icmp6.nd6_maxnudhint defines the maximum # of subsequent upper-layer hints to be accepted. (from April 2000 to June 2000, we rejected setsockopt(IPV6_REACHCONF) from non-root process - after a local discussion, it looks that hints are not that trustworthy even if they are from privileged processes) If inbound ND packets carry invalid values, the KAME kernel will drop these packet and increment statistics variable. See "netstat -sn", icmp6 section. For detailed debugging session, you can turn on syslog output from the kernel on errors, by turning on sysctl MIB net.inet6.icmp6.nd6_debug. nd6_debug can be turned on at bootstrap time, by defining ND6_DEBUG kernel compilation option (so you can debug behavior during bootstrap). nd6_debug configuration should only be used for test/debug purposes - for a production environment, nd6_debug must be set to 0. If you leave it to 1, malicious parties can inject broken packet and fill up /var/log partition. 1.3 Scope Zone Index IPv6 uses scoped addresses. It is therefore very important to specify the scope zone index (link index for a link-local address, or site index for a site-local address) with an IPv6 address. Without a zone index, a scoped IPv6 address is ambiguous to the kernel, and the kernel would not be able to determine the outbound zone for a packet to the scoped address. KAME code tries to address the issue in several ways. The entire architecture of scoped addresses is documented in RFC4007. One non-trivial point of the architecture is that the link scope is (theoretically) larger than the interface scope. That is, two different interfaces can belong to a same single link. However, in a normal operation, we can assume that there is 1-to-1 relationship between links and interfaces. In other words, we can usually put links and interfaces in the same scope type. The current KAME implementation assumes the 1-to-1 relationship. In particular, we use interface names such as "ne1" as unique link identifiers. This would be much more human-readable and intuitive than numeric identifiers, but please keep your mind on the theoretical difference between links and interfaces. Site-local addresses are very vaguely defined in the specs, and both the specification and the KAME code need tons of improvements to enable its actual use. For example, it is still very unclear how we define a site, or how we resolve host names in a site. There is work underway to define behavior of routers at site border, but, we have almost no code for site boundary node support (neither forwarding nor routing) and we bet almost noone has. We recommend, at this moment, you to use global addresses for experiments - there are way too many pitfalls if you use site-local addresses. 1.3.1 Kernel internal In the kernel, the link index for a link-local scope address is embedded into the 2nd 16bit-word (the 3rd and 4th bytes) in the IPv6 address. For example, you may see something like: fe80:1::200:f8ff:fe01:6317 in the routing table and the interface address structure (struct in6_ifaddr). The address above is a link-local unicast address which belongs to a network link whose link identifier is 1 (note that it eqauls to the interface index by the assumption of our implementation). The embedded index enables us to identify IPv6 link-local addresses over multiple links effectively and with only a little code change. The use of the internal format must be limited inside the kernel. In particular, addresses sent by an application should not contain the embedded index (except via some very special APIs such as routing sockets). Instead, the index should be specified in the sin6_scope_id field of a sockaddr_in6 structure. Obviously, packets sent to or received from must not contain the embedded index either, since the index is meaningful only within the sending/receiving node. In order to deal with the differences, several kernel routines are provided. These are available by including . Typically, the following functions will be most generally used: - int sa6_embedscope(struct sockaddr_in6 *sa6, int defaultok); Embed sa6->sin6_scope_id into sa6->sin6_addr. If sin6_scope_id is 0, defaultok is non-0, and the default zone ID (see RFC4007) is configured, the default ID will be used instead of the value of the sin6_scope_id field. On success, sa6->sin6_scope_id will be reset to 0. This function returns 0 on success, or a non-0 error code otherwise. - int sa6_recoverscope(struct sockaddr_in6 *sa6); Extract embedded zone ID in sa6->sin6_addr and set sa6->sin6_scope_id to that ID. The embedded ID will be cleared with 0. This function returns 0 on success, or a non-0 error code otherwise. - int in6_clearscope(struct in6_addr *in6); Reset the embedded zone ID in 'in6' to 0. This function never fails, and returns 0 if the original address is intact or non 0 if the address is modified. The return value doesn't matter in most cases; currently, the only point where we care about the return value is ip6_input() for checking whether the source or destination addresses of the incoming packet is in the embedded form. - int in6_setscope(struct in6_addr *in6, struct ifnet *ifp, u_int32_t *zoneidp); Embed zone ID determined by the address scope type for 'in6' and the interface 'ifp' into 'in6'. If zoneidp is non NULL, *zoneidp will also have the zone ID. This function returns 0 on success, or a non-0 error code otherwise. The typical usage of these functions is as follows: sa6_embedscope() will be used at the socket or transport layer to convert a sockaddr_in6 structure passed by an application into the kernel-internal form. In this usage, the second argument is often the 'ip6_use_defzone' global variable. sa6_recoverscope() will also be used at the socket or transport layer to convert an in6_addr structure with the embedded zone ID into a sockaddr_in6 structure with the corresponding ID in the sin6_scope_id field (and without the embedded ID in sin6_addr). in6_clearscope() will be used just before sending a packet to the wire to remove the embedded ID. In general, this must be done at the last stage of an output path, since otherwise the address would lose the ID and could be ambiguous with regard to scope. in6_setscope() will be used when the kernel receives a packet from the wire to construct the kernel internal form for each address field in the packet (typical examples are the source and destination addresses of the packet). In the typical usage, the third argument 'zoneidp' will be NULL. A non-NULL value will be used when the validity of the zone ID must be checked, e.g., when forwarding a packet to another link (see ip6_forward() for this usage). An application, when sending a packet, is basically assumed to specify the appropriate scope zone of the destination address by the sin6_scope_id field (this might be done transparently from the application with getaddrinfo() and the extended textual format - see below), or at least the default scope zone(s) must be configured as a last resort. In some cases, however, an application could specify an ambiguous address with regard to scope, expecting it is disambiguated in the kernel by some other means. A typical usage is to specify the outgoing interface through another API, which can disambiguate the unspecified scope zone. Such a usage is not recommended, but the kernel implements some trick to deal with even this case. A rough sketch of the trick can be summarized as the following sequence. sa6_embedscope(dst, ip6_use_defzone); in6_selectsrc(dst, ..., &ifp, ...); in6_setscope(&dst->sin6_addr, ifp, NULL); sa6_embedscope() first tries to convert sin6_scope_id (or the default zone ID) into the kernel-internal form. This can fail with an ambiguous destination, but it still tries to get the outgoing interface (ifp) in the attempt of determining the source address of the outgoing packet using in6_selectsrc(). If the interface is detected, and the scope zone was originally ambiguous, in6_setscope() can finally determine the appropriate ID with the address itself and the interface, and construct the kernel-internal form. See, for example, comments in udp6_output() for more concrete example. In any case, kernel routines except ones in netinet6/scope6.c MUST NOT directly refer to the embedded form. They MUST use the above interface functions. In particular, kernel routines MUST NOT have the following code fragment: /* This is a bad practice. Don't do this */ if (IN6_IS_ADDR_LINKLOCAL(&sin6->sin6_addr)) sin6->sin6_addr.s6_addr16[1] = htons(ifp->if_index); This is bad for several reasons. First, address ambiguity is not specific to link-local addresses (any non-global multicast addresses are inherently ambiguous, and this is particularly true for interface-local addresses). Secondly, this is vulnerable to future changes of the embedded form (the embedded position may change, or the zone ID may not actually be the interface index). Only scope6.c routines should know the details. The above code fragment should thus actually be as follows: /* This is correct. */ in6_setscope(&sin6->sin6_addr, ifp, NULL); (and catch errors if possible and necessary) 1.3.2 Interaction with API There are several candidates of API to deal with scoped addresses without ambiguity. The IPV6_PKTINFO ancillary data type or socket option defined in the advanced API (RFC2292 or RFC3542) can specify the outgoing interface of a packet. Similarly, the IPV6_PKTINFO or IPV6_RECVPKTINFO socket options tell kernel to pass the incoming interface to user applications. These options are enough to disambiguate scoped addresses of an incoming packet, because we can uniquely identify the corresponding zone of the scoped address(es) by the incoming interface. However, they are too strong for outgoing packets. For example, consider a multi-sited node and suppose that more than one interface of the node belongs to a same site. When we want to send a packet to the site, we can only specify one of the interfaces for the outgoing packet with these options; we cannot just say "send the packet to (one of the interfaces of) the site." Another kind of candidates is to use the sin6_scope_id member in the sockaddr_in6 structure, defined in RFC2553. The KAME kernel interprets the sin6_scope_id field properly in order to disambiguate scoped addresses. For example, if an application passes a sockaddr_in6 structure that has a non-zero sin6_scope_id value to the sendto(2) system call, the kernel should send the packet to the appropriate zone according to the sin6_scope_id field. Similarly, when the source or the destination address of an incoming packet is a scoped one, the kernel should detect the correct zone identifier based on the address and the receiving interface, fill the identifier in the sin6_scope_id field of a sockaddr_in6 structure, and then pass the packet to an application via the recvfrom(2) system call, etc. However, the semantics of the sin6_scope_id is still vague and on the way to standardization. Additionally, not so many operating systems support the behavior above at this moment. In summary, - If your target system is limited to KAME based ones (i.e. BSD variants and KAME snaps), use the sin6_scope_id field assuming the kernel behavior described above. - Otherwise, (i.e. if your program should be portable on other systems than BSDs) + Use the advanced API to disambiguate scoped addresses of incoming packets. + To disambiguate scoped addresses of outgoing packets, * if it is okay to just specify the outgoing interface, use the advanced API. This would be the case, for example, when you should only consider link-local addresses and your system assumes 1-to-1 relationship between links and interfaces. * otherwise, sorry but you lose. Please rush the IETF IPv6 community into standardizing the semantics of the sin6_scope_id field. Routing daemons and configuration programs, like route6d and ifconfig, will need to manipulate the "embedded" zone index. These programs use routing sockets and ioctls (like SIOCGIFADDR_IN6) and the kernel API will return IPv6 addresses with the 2nd 16bit-word filled in. The APIs are for manipulating kernel internal structure. Programs that use these APIs have to be prepared about differences in kernels anyway. getaddrinfo(3) and getnameinfo(3) support an extended numeric IPv6 syntax, as documented in RFC4007. You can specify the outgoing link, by using the name of the outgoing interface as the link, like "fe80::1%ne0" (again, note that we assume there is 1-to-1 relationship between links and interfaces.) This way you will be able to specify a link-local scoped address without much trouble. Other APIs like inet_pton(3) and inet_ntop(3) are inherently unfriendly with scoped addresses, since they are unable to annotate addresses with zone identifier. 1.3.3 Interaction with users (command line) Most of user applications now support the extended numeric IPv6 syntax. In this case, you can specify outgoing link, by using the name of the outgoing interface like "fe80::1%ne0" (sorry for the duplicated notice, but please recall again that we assume 1-to-1 relationship between links and interfaces). This is even the case for some management tools such as route(8) or ndp(8). For example, to install the IPv6 default route by hand, you can type like # route add -inet6 default fe80::9876:5432:1234:abcd%ne0 (Although we suggest you to run dynamic routing instead of static routes, in order to avoid configuration mistakes.) Some applications have command line options for specifying an appropriate zone of a scoped address (like "ping6 -I ne0 ff02::1" to specify the outgoing interface). However, you can't always expect such options. Additionally, specifying the outgoing "interface" is in theory an overspecification as a way to specify the outgoing "link" (see above). Thus, we recommend you to use the extended format described above. This should apply to the case where the outgoing interface is specified. In any case, when you specify a scoped address to the command line, NEVER write the embedded form (such as ff02:1::1 or fe80:2::fedc), which should only be used inside the kernel (see Section 1.3.1), and is not supposed to work. 1.4 Plug and Play The KAME kit implements most of the IPv6 stateless address autoconfiguration in the kernel. Neighbor Discovery functions are implemented in the kernel as a whole. Router Advertisement (RA) input for hosts is implemented in the kernel. Router Solicitation (RS) output for endhosts, RS input for routers, and RA output for routers are implemented in the userland. 1.4.1 Assignment of link-local, and special addresses IPv6 link-local address is generated from IEEE802 address (ethernet MAC address). Each of interface is assigned an IPv6 link-local address automatically, when the interface becomes up (IFF_UP). Also, direct route for the link-local address is added to routing table. Here is an output of netstat command: Internet6: Destination Gateway Flags Netif Expire fe80::%ed0/64 link#1 UC ed0 fe80::%ep0/64 link#2 UC ep0 Interfaces that has no IEEE802 address (pseudo interfaces like tunnel interfaces, or ppp interfaces) will borrow IEEE802 address from other interfaces, such as ethernet interfaces, whenever possible. If there is no IEEE802 hardware attached, last-resort pseudorandom value, which is from MD5(hostname), will be used as source of link-local address. If it is not suitable for your usage, you will need to configure the link-local address manually. If an interface is not capable of handling IPv6 (such as lack of multicast support), link-local address will not be assigned to that interface. See section 2 for details. Each interface joins the solicited multicast address and the link-local all-nodes multicast addresses (e.g. fe80::1:ff01:6317 and ff02::1, respectively, on the link the interface is attached). In addition to a link-local address, the loopback address (::1) will be assigned to the loopback interface. Also, ::1/128 and ff01::/32 are automatically added to routing table, and loopback interface joins node-local multicast group ff01::1. 1.4.2 Stateless address autoconfiguration on hosts In IPv6 specification, nodes are separated into two categories: routers and hosts. Routers forward packets addressed to others, hosts does not forward the packets. net.inet6.ip6.forwarding defines whether this node is a router or a host (router if it is 1, host if it is 0). It is NOT recommended to change net.inet6.ip6.forwarding while the node is in operation. IPv6 specification defines behavior for "host" and "router" quite differently, and switching from one to another can cause serious troubles. It is recommended to configure the variable at bootstrap time only. The first step in stateless address configuration is Duplicated Address Detection (DAD). See 1.2 for more detail on DAD. When a host hears Router Advertisement from the router, a host may autoconfigure itself by stateless address autoconfiguration. This behavior can be controlled by the net.inet6.ip6.accept_rtadv sysctl variable and a per-interface flag managed in the kernel. The latter, which we call "if_accept_rtadv" here, can be changed by the ndp(8) command (see the manpage for more details). When the sysctl variable is set to 1, and the flag is set, the host autoconfigures itself. By autoconfiguration, network address prefixes for the receiving interface (usually global address prefix) are added. The default route is also configured. Routers periodically generate Router Advertisement packets. To request an adjacent router to generate RA packet, a host can transmit Router Solicitation. To generate an RS packet at any time, use the "rtsol" command. The "rtsold" daemon is also available. "rtsold" generates Router Solicitation whenever necessary, and it works greatly for nomadic usage (notebooks/laptops). If one wishes to ignore Router Advertisements, use sysctl to set net.inet6.ip6.accept_rtadv to 0. Additionally, ndp(8) command can be used to control the behavior per-interface basis. To generate Router Advertisement from a router, use the "rtadvd" daemon. Note that the IPv6 specification assumes the following items and that nonconforming cases are left unspecified: - Only hosts will listen to router advertisements - Hosts have a single network interface (except loopback) This is therefore unwise to enable net.inet6.ip6.accept_rtadv on routers, or multi-interface hosts. A misconfigured node can behave strange (KAME code allows nonconforming configuration, for those who would like to do some experiments). To summarize the sysctl knob: accept_rtadv forwarding role of the node --- --- --- 0 0 host (to be manually configured) 0 1 router 1 0 autoconfigured host (spec assumes that hosts have a single interface only, autoconfigred hosts with multiple interfaces are out-of-scope) 1 1 invalid, or experimental (out-of-scope of spec) The if_accept_rtadv flag is referred only when accept_rtadv is 1 (the latter two cases). The flag does not have any effects when the sysctl variable is 0. See 1.2 in the document for relationship between DAD and autoconfiguration. 1.4.3 DHCPv6 We supply a tiny DHCPv6 server/client in kame/dhcp6. However, the implementation is premature (for example, this does NOT implement address lease/release), and it is not in default compilation tree on some platforms. If you want to do some experiment, compile it on your own. DHCPv6 and autoconfiguration also needs more work. "Managed" and "Other" bits in RA have no special effect to stateful autoconfiguration procedure in DHCPv6 client program ("Managed" bit actually prevents stateless autoconfiguration, but no special action will be taken for DHCPv6 client). 1.5 Generic tunnel interface GIF (Generic InterFace) is a pseudo interface for configured tunnel. Details are described in gif(4) manpage. Currently v6 in v6 v6 in v4 v4 in v6 v4 in v4 are available. Use "gifconfig" to assign physical (outer) source and destination address to gif interfaces. Configuration that uses same address family for inner and outer IP header (v4 in v4, or v6 in v6) is dangerous. It is very easy to configure interfaces and routing tables to perform infinite level of tunneling. Please be warned. gif can be configured to be ECN-friendly. See 4.5 for ECN-friendliness of tunnels, and gif(4) manpage for how to configure. If you would like to configure an IPv4-in-IPv6 tunnel with gif interface, read gif(4) carefully. You may need to remove IPv6 link-local address automatically assigned to the gif interface. 1.6 Address Selection 1.6.1 Source Address Selection The KAME kernel chooses the source address for an outgoing packet sent from a user application as follows: 1. if the source address is explicitly specified via an IPV6_PKTINFO ancillary data item or the socket option of that name, just use it. Note that this item/option overrides the bound address of the corresponding (datagram) socket. 2. if the corresponding socket is bound, use the bound address. 3. otherwise, the kernel first tries to find the outgoing interface of the packet. If it fails, the source address selection also fails. If the kernel can find an interface, choose the most appropriate address based on the algorithm described in RFC3484. The policy table used in this algorithm is stored in the kernel. To install or view the policy, use the ip6addrctl(8) command. The kernel does not have pre-installed policy. It is expected that the default policy described in the draft should be installed at the bootstrap time using this command. This draft allows an implementation to add implementation-specific rules with higher precedence than the rule "Use longest matching prefix." KAME's implementation has the following additional rules (that apply in the appeared order): - prefer addresses on alive interfaces, that is, interfaces with the UP flag being on. This rule is particularly useful for routers, since some routing daemons stop advertising prefixes (addresses) on interfaces that have become down. - prefer addresses on "preferred" interfaces. "Preferred" interfaces can be specified by the ndp(8) command. By default, no interface is preferred, that is, this rule does not apply. Again, this rule is particularly useful for routers, since there is a convention, among router administrators, of assigning "stable" addresses on a particular interface (typically a loopback interface). In any case, addresses that break the scope zone of the destination, or addresses whose zone do not contain the outgoing interface are never chosen. When the procedure above fails, the kernel usually returns EADDRNOTAVAIL to the application. In some cases, the specification explicitly requires the implementation to choose a particular source address. The source address for a Neighbor Advertisement (NA) message is an example. Under the spec (RFC2461 7.2.2) NA's source should be the target address of the corresponding NS's target. In this case we follow the spec rather than the above rule. If you would like to prohibit the use of deprecated address for some reason, configure net.inet6.ip6.use_deprecated to 0. The issue related to deprecated address is described in RFC2462 5.5.4 (NOTE: there is some debate underway in IETF ipngwg on how to use "deprecated" address). As documented in the source address selection document, temporary addresses for privacy extension are less preferred to public addresses by default. However, for administrators who are particularly aware of the privacy, there is a system-wide sysctl(3) variable "net.inet6.ip6.prefer_tempaddr". When the variable is set to non-zero, the kernel will rather prefer temporary addresses. The default value of this variable is 0. 1.6.2 Destination Address Ordering KAME's getaddrinfo(3) supports the destination address ordering algorithm described in RFC3484. Getaddrinfo(3) needs to know the source address for each destination address and policy entries (described in the previous section) for the source and destination addresses. To get the source address, the library function opens a UDP socket and tries to connect(2) for the destination. To get the policy entry, the function issues sysctl(3). 1.7 Jumbo Payload KAME supports the Jumbo Payload hop-by-hop option used to send IPv6 packets with payloads longer than 65,535 octets. But since currently KAME does not support any physical interface whose MTU is more than 65,535, such payloads can be seen only on the loopback interface(i.e. lo0). If you want to try jumbo payloads, you first have to reconfigure the kernel so that the MTU of the loopback interface is more than 65,535 bytes; add the following to the kernel configuration file: options "LARGE_LOMTU" #To test jumbo payload and recompile the new kernel. Then you can test jumbo payloads by the ping6 command with -b and -s options. The -b option must be specified to enlarge the size of the socket buffer and the -s option specifies the length of the packet, which should be more than 65,535. For example, type as follows; % ping6 -b 70000 -s 68000 ::1 The IPv6 specification requires that the Jumbo Payload option must not be used in a packet that carries a fragment header. If this condition is broken, an ICMPv6 Parameter Problem message must be sent to the sender. KAME kernel follows the specification, but you cannot usually see an ICMPv6 error caused by this requirement. If KAME kernel receives an IPv6 packet, it checks the frame length of the packet and compares it to the length specified in the payload length field of the IPv6 header or in the value of the Jumbo Payload option, if any. If the former is shorter than the latter, KAME kernel discards the packet and increments the statistics. You can see the statistics as output of netstat command with `-s -p ip6' option: % netstat -s -p ip6 ip6: (snip) 1 with data size < data length So, KAME kernel does not send an ICMPv6 error unless the erroneous packet is an actual Jumbo Payload, that is, its packet size is more than 65,535 bytes. As described above, KAME kernel currently does not support physical interface with such a huge MTU, so it rarely returns an ICMPv6 error. TCP/UDP over jumbogram is not supported at this moment. This is because we have no medium (other than loopback) to test this. Contact us if you need this. IPsec does not work on jumbograms. This is due to some specification twists in supporting AH with jumbograms (AH header size influences payload length, and this makes it real hard to authenticate inbound packet with jumbo payload option as well as AH). There are fundamental issues in *BSD support for jumbograms. We would like to address those, but we need more time to finalize the task. To name a few: - mbuf pkthdr.len field is typed as "int" in 4.4BSD, so it cannot hold jumbogram with len > 2G on 32bit architecture CPUs. If we would like to support jumbogram properly, the field must be expanded to hold 4G + IPv6 header + link-layer header. Therefore, it must be expanded to at least int64_t (u_int32_t is NOT enough). - We mistakingly use "int" to hold packet length in many places. We need to convert them into larger numeric type. It needs a great care, as we may experience overflow during packet length computation. - We mistakingly check for ip6_plen field of IPv6 header for packet payload length in various places. We should be checking mbuf pkthdr.len instead. ip6_input() will perform sanity check on jumbo payload option on input, and we can safely use mbuf pkthdr.len afterwards. - TCP code needs careful updates in bunch of places, of course. 1.8 Loop prevention in header processing IPv6 specification allows arbitrary number of extension headers to be placed onto packets. If we implement IPv6 packet processing code in the way BSD IPv4 code is implemented, kernel stack may overflow due to long function call chain. KAME sys/netinet6 code is carefully designed to avoid kernel stack overflow. Because of this, KAME sys/netinet6 code defines its own protocol switch structure, as "struct ip6protosw" (see netinet6/ip6protosw.h). In addition to this, we restrict the number of extension headers (including the IPv6 header) in each incoming packet, in order to prevent a DoS attack that tries to send packets with a massive number of extension headers. The upper limit can be configured by the sysctl value net.inet6.ip6.hdrnestlimit. In particular, if the value is 0, the node will allow an arbitrary number of headers. As of writing this document, the default value is 50. IPv4 part (sys/netinet) remains untouched for compatibility. Because of this, if you receive IPsec-over-IPv4 packet with massive number of IPsec headers, kernel stack may blow up. IPsec-over-IPv6 is okay. 1.9 ICMPv6 After RFC2463 was published, IETF ipngwg has decided to disallow ICMPv6 error packet against ICMPv6 redirect, to prevent ICMPv6 storm on a network medium. KAME already implements this into the kernel. RFC2463 requires rate limitation for ICMPv6 error packets generated by a node, to avoid possible DoS attacks. KAME kernel implements two rate- limitation mechanisms, tunable via sysctl: - Minimum time interval between ICMPv6 error packets KAME kernel will generate no more than one ICMPv6 error packet, during configured time interval. net.inet6.icmp6.errratelimit controls the interval (default: disabled). - Maximum ICMPv6 error packet-per-second KAME kernel will generate no more than the configured number of packets in one second. net.inet6.icmp6.errppslimit controls the maximum packet-per-second value (default: 200pps) Basically, we need to pick values that are suitable against the bandwidth of link layer devices directly attached to the node. In some cases the default values may not fit well. We are still unsure if the default value is sane or not. Comments are welcome. 1.10 Applications For userland programming, we support IPv6 socket API as specified in RFC2553/3493, RFC3542 and upcoming internet drafts. TCP/UDP over IPv6 is available and quite stable. You can enjoy "telnet", "ftp", "rlogin", "rsh", "ssh", etc. These applications are protocol independent. That is, they automatically chooses IPv4 or IPv6 according to DNS. 1.11 Kernel Internals (*) TCP/UDP part is handled differently between operating system platforms. See 1.12 for details. The current KAME has escaped from the IPv4 netinet logic. While ip_forward() calls ip_output(), ip6_forward() directly calls if_output() since routers must not divide IPv6 packets into fragments. ICMPv6 should contain the original packet as long as possible up to 1280. UDP6/IP6 port unreach, for instance, should contain all extension headers and the *unchanged* UDP6 and IP6 headers. So, all IP6 functions except TCP6 never convert network byte order into host byte order, to save the original packet. tcp6_input(), udp6_input() and icmp6_input() can't assume that IP6 header is preceding the transport headers due to extension headers. So, in6_cksum() was implemented to handle packets whose IP6 header and transport header is not continuous. TCP/IP6 nor UDP/IP6 header structure don't exist for checksum calculation. To process IP6 header, extension headers and transport headers easily, KAME requires network drivers to store packets in one internal mbuf or one or more external mbufs. A typical old driver prepares two internal mbufs for 100 - 208 bytes data, however, KAME's reference implementation stores it in one external mbuf. "netstat -s -p ip6" tells you whether or not your driver conforms KAME's requirement. In the following example, "cce0" violates the requirement. (For more information, refer to Section 2.) Mbuf statistics: 317 one mbuf two or more mbuf:: lo0 = 8 cce0 = 10 3282 one ext mbuf 0 two or more ext mbuf Each input function calls IP6_EXTHDR_CHECK in the beginning to check if the region between IP6 and its header is continuous. IP6_EXTHDR_CHECK calls m_pullup() only if the mbuf has M_LOOP flag, that is, the packet comes from the loopback interface. m_pullup() is never called for packets coming from physical network interfaces. TCP6 reassembly makes use of IP6 header to store reassemble information. IP6 is not supposed to be just before TCP6, so ip6tcpreass structure has a pointer to TCP6 header. Of course, it has also a pointer back to mbuf to avoid m_pullup(). Like TCP6, both IP and IP6 reassemble functions never call m_pullup(). xxx_ctlinput() calls in_mrejoin() on PRC_IFNEWADDR. We think this is one of 4.4BSD implementation flaws. Since 4.4BSD keeps ia_multiaddrs in in_ifaddr{}, it can't use multicast feature if the interface has no unicast address. So, if an application joins to an interface and then all unicast addresses are removed from the interface, the application can't send/receive any multicast packets. Moreover, if a new unicast address is assigned to the interface, in_mrejoin() must be called. KAME's interfaces, however, have ALWAYS one link-local unicast address. These extensions have thus not been implemented in KAME. 1.12 IPv4 mapped address and IPv6 wildcard socket RFC2553/3493 describes IPv4 mapped address (3.7) and special behavior of IPv6 wildcard bind socket (3.8). The spec allows you to: - Accept IPv4 connections by AF_INET6 wildcard bind socket. - Transmit IPv4 packet over AF_INET6 socket by using special form of the address like ::ffff:10.1.1.1. but the spec itself is very complicated and does not specify how the socket layer should behave. Here we call the former one "listening side" and the latter one "initiating side", for reference purposes. Almost all KAME implementations treat tcp/udp port number space separately between IPv4 and IPv6. You can perform wildcard bind on both of the address families, on the same port. There are some OS-platform differences in KAME code, as we use tcp/udp code from different origin. The following table summarizes the behavior. listening side initiating side (AF_INET6 wildcard (connection to ::ffff:10.1.1.1) socket gets IPv4 conn.) --- --- KAME/BSDI3 not supported not supported KAME/FreeBSD228 not supported not supported KAME/FreeBSD3x configurable supported default: enabled KAME/FreeBSD4x configurable supported default: enabled KAME/NetBSD configurable supported default: disabled KAME/BSDI4 enabled supported KAME/OpenBSD not supported not supported The following sections will give you more details, and how you can configure the behavior. Comments on listening side: It looks that RFC2553/3493 talks too little on wildcard bind issue, specifically on (1) port space issue, (2) failure mode, (3) relationship between AF_INET/INET6 wildcard bind like ordering constraint, and (4) behavior when conflicting socket is opened/closed. There can be several separate interpretation for this RFC which conform to it but behaves differently. So, to implement portable application you should assume nothing about the behavior in the kernel. Using getaddrinfo() is the safest way. Port number space and wildcard bind issues were discussed in detail on ipv6imp mailing list, in mid March 1999 and it looks that there's no concrete consensus (means, up to implementers). You may want to check the mailing list archives. We supply a tool called "bindtest" that explores the behavior of kernel bind(2). The tool will not be compiled by default. If a server application would like to accept IPv4 and IPv6 connections, it should use AF_INET and AF_INET6 socket (you'll need two sockets). Use getaddrinfo() with AI_PASSIVE into ai_flags, and socket(2) and bind(2) to all the addresses returned. By opening multiple sockets, you can accept connections onto the socket with proper address family. IPv4 connections will be accepted by AF_INET socket, and IPv6 connections will be accepted by AF_INET6 socket (NOTE: KAME/BSDI4 kernel sometimes violate this - we will fix it). If you try to support IPv6 traffic only and would like to reject IPv4 traffic, always check the peer address when a connection is made toward AF_INET6 listening socket. If the address is IPv4 mapped address, you may want to reject the connection. You can check the condition by using IN6_IS_ADDR_V4MAPPED() macro. This is one of the reasons the author of the section (itojun) dislikes special behavior of AF_INET6 wildcard bind. Comments on initiating side: Advise to application implementers: to implement a portable IPv6 application (which works on multiple IPv6 kernels), we believe that the following is the key to the success: - NEVER hardcode AF_INET nor AF_INET6. - Use getaddrinfo() and getnameinfo() throughout the system. Never use gethostby*(), getaddrby*(), inet_*() or getipnodeby*(). - If you would like to connect to destination, use getaddrinfo() and try all the destination returned, like telnet does. - Some of the IPv6 stack is shipped with buggy getaddrinfo(). Ship a minimal working version with your application and use that as last resort. If you would like to use AF_INET6 socket for both IPv4 and IPv6 outgoing connection, you will need tweaked implementation in DNS support libraries, as documented in RFC2553/3493 6.1. KAME libinet6 includes the tweak in getipnodebyname(). Note that getipnodebyname() itself is not recommended as it does not handle scoped IPv6 addresses at all. For IPv6 name resolution getaddrinfo() is the preferred API. getaddrinfo() does not implement the tweak. When writing applications that make outgoing connections, story goes much simpler if you treat AF_INET and AF_INET6 as totally separate address family. {set,get}sockopt issue goes simpler, DNS issue will be made simpler. We do not recommend you to rely upon IPv4 mapped address. 1.12.1 KAME/BSDI3 and KAME/FreeBSD228 The platforms do not support IPv4 mapped address at all (both listening side and initiating side). AF_INET6 and AF_INET sockets are totally separated. Port number space is totally separate between AF_INET and AF_INET6 sockets. It should be noted that KAME/BSDI3 and KAME/FreeBSD228 are not conformant to RFC2553/3493 section 3.7 and 3.8. It is due to code sharing reasons. 1.12.2 KAME/FreeBSD[34]x KAME/FreeBSD3x and KAME/FreeBSD4x use shared tcp4/6 code (from sys/netinet/tcp*) and shared udp4/6 code (from sys/netinet/udp*). They use unified inpcb/in6pcb structure. 1.12.2.1 KAME/FreeBSD[34]x, listening side The platform can be configured to support IPv4 mapped address/special AF_INET6 wildcard bind (enabled by default). There is no kernel compilation option to disable it. You can enable/disable the behavior with sysctl (per-node), or setsockopt (per-socket). Wildcard AF_INET6 socket grabs IPv4 connection if and only if the following conditions are satisfied: - there's no AF_INET socket that matches the IPv4 connection - the AF_INET6 socket is configured to accept IPv4 traffic, i.e. getsockopt(IPV6_V6ONLY) returns 0. (XXX need checking) 1.12.2.2 KAME/FreeBSD[34]x, initiating side KAME/FreeBSD3x supports outgoing connection to IPv4 mapped address (::ffff:10.1.1.1), if the node is configured to accept IPv4 connections by AF_INET6 socket. (XXX need checking) 1.12.3 KAME/NetBSD KAME/NetBSD uses shared tcp4/6 code (from sys/netinet/tcp*) and shared udp4/6 code (from sys/netinet/udp*). The implementation is made differently from KAME/FreeBSD[34]x. KAME/NetBSD uses separate inpcb/in6pcb structures, while KAME/FreeBSD[34]x uses merged inpcb structure. It should be noted that the default configuration of KAME/NetBSD is not conformant to RFC2553/3493 section 3.8. It is intentionally turned off by default for security reasons. The platform can be configured to support IPv4 mapped address/special AF_INET6 wildcard bind (disabled by default). Kernel behavior can be summarized as follows: - default: special support code will be compiled in, but is disabled by default. It can be controlled by sysctl (net.inet6.ip6.v6only), or setsockopt(IPV6_V6ONLY). - add "INET6_BINDV6ONLY": No special support code for AF_INET6 wildcard socket will be compiled in. AF_INET6 sockets and AF_INET sockets are totally separate. The behavior is similar to what described in 1.12.1. sysctl setting will affect per-socket configuration at in6pcb creation time only. In other words, per-socket configuration will be copied from sysctl configuration at in6pcb creation time. To change per-socket behavior, you must perform setsockopt or reopen the socket. Change in sysctl configuration will not change the behavior or sockets that are already opened. 1.12.3.1 KAME/NetBSD, listening side Wildcard AF_INET6 socket grabs IPv4 connection if and only if the following conditions are satisfied: - there's no AF_INET socket that matches the IPv4 connection - the AF_INET6 socket is configured to accept IPv4 traffic, i.e. getsockopt(IPV6_V6ONLY) returns 0. You cannot bind(2) with IPv4 mapped address. This is a workaround for port number duplicate and other twists. 1.12.3.2 KAME/NetBSD, initiating side When getsockopt(IPV6_V6ONLY) is 0 for a socket, you can make an outgoing traffic to IPv4 destination over AF_INET6 socket, using IPv4 mapped address destination (::ffff:10.1.1.1). When getsockopt(IPV6_V6ONLY) is 1 for a socket, you cannot use IPv4 mapped address for outgoing traffic. 1.12.4 KAME/BSDI4 KAME/BSDI4 uses NRL-based TCP/UDP stack and inpcb source code, which was derived from NRL IPv6/IPsec stack. We guess it supports IPv4 mapped address and speical AF_INET6 wildcard bind. The implementation is, again, different from other KAME/*BSDs. 1.12.4.1 KAME/BSDI4, listening side NRL inpcb layer supports special behavior of AF_INET6 wildcard socket. There is no way to disable the behavior. Wildcard AF_INET6 socket grabs IPv4 connection if and only if the following condition is satisfied: - there's no AF_INET socket that matches the IPv4 connection 1.12.4.2 KAME/BSDI4, initiating side KAME/BSDi4 supports connection initiation to IPv4 mapped address (like ::ffff:10.1.1.1). 1.12.5 KAME/OpenBSD KAME/OpenBSD uses NRL-based TCP/UDP stack and inpcb source code, which was derived from NRL IPv6/IPsec stack. It should be noted that KAME/OpenBSD is not conformant to RFC2553/3493 section 3.7 and 3.8. It is intentionally omitted for security reasons. 1.12.5.1 KAME/OpenBSD, listening side KAME/OpenBSD disables special behavior on AF_INET6 wildcard bind for security reasons (if IPv4 traffic toward AF_INET6 wildcard bind is allowed, access control will become much harder). KAME/BSDI4 uses NRL-based TCP/UDP stack as well, however, the behavior is different due to OpenBSD's security policy. As a result the behavior of KAME/OpenBSD is similar to KAME/BSDI3 and KAME/FreeBSD228 (see 1.12.1 for more detail). 1.12.5.2 KAME/OpenBSD, initiating side KAME/OpenBSD does not support connection initiation to IPv4 mapped address (like ::ffff:10.1.1.1). 1.12.6 More issues IPv4 mapped address support adds a big requirement to EVERY userland codebase. Every userland code should check if an AF_INET6 sockaddr contains IPv4 mapped address or not. This adds many twists: - Access controls code becomes harder to write. For example, if you would like to reject packets from 10.0.0.0/8, you need to reject packets to AF_INET socket from 10.0.0.0/8, and to AF_INET6 socket from ::ffff:10.0.0.0/104. - If a protocol on top of IPv4 is defined differently with IPv6, we need to be really careful when we determine which protocol to use. For example, with FTP protocol, we can not simply use sa_family to determine FTP command sets. The following example is incorrect: if (sa_family == AF_INET) use EPSV/EPRT or PASV/PORT; /*IPv4*/ else if (sa_family == AF_INET6) use EPSV/EPRT or LPSV/LPRT; /*IPv6*/ else error; The correct code, with consideration to IPv4 mapped address, would be: if (sa_family == AF_INET) use EPSV/EPRT or PASV/PORT; /*IPv4*/ else if (sa_family == AF_INET6 && IPv4 mapped address) use EPSV/EPRT or PASV/PORT; /*IPv4 command set on AF_INET6*/ else if (sa_family == AF_INET6 && !IPv4 mapped address) use EPSV/EPRT or LPSV/LPRT; /*IPv6*/ else error; It is too much to ask for every body to be careful like this. The problem is, we are not sure if the above code fragment is perfect for all situations. - By enabling kernel support for IPv4 mapped address (outgoing direction), servers on the kernel can be hosed by IPv6 native packet that has IPv4 mapped address in IPv6 header source, and can generate unwanted IPv4 packets. draft-itojun-ipv6-transition-abuse-01.txt, draft-cmetz-v6ops-v4mapped-api- harmful-00.txt, and draft-itojun-v6ops-v4mapped-harmful-01.txt has more on this scenario. Due to the above twists, some of KAME userland programs has restrictions on the use of IPv4 mapped addresses: - rshd/rlogind do not accept connections from IPv4 mapped address. This is to avoid malicious use of IPv4 mapped address in IPv6 native packet, to bypass source-address based authentication. - ftp/ftpd assume that you are on dual stack network. IPv4 mapped address will be decoded in userland, and will be passed to AF_INET sockets (in other words, ftp/ftpd do not support SIIT environment). 1.12.7 Interaction with SIIT translator SIIT translator is specified in RFC2765. KAME node cannot become a SIIT translator box, nor SIIT end node (a node in SIIT cloud). To become a SIIT translator box, we need to put additional code for that. We do not have the code in our tree at this moment. There are multiple reasons that we are unable to become SIIT end node. (1) SIIT translators require end nodes in the SIIT cloud to be IPv6-only. Since we are unable to compile INET-less kernel, we are unable to become SIIT end node. (2) As presented in 1.12.6, some of our userland code assumes dual stack network. (3) KAME stack filters out IPv6 packets with IPv4 mapped address in the header, to secure non-SIIT case (which is much more common). Effectively KAME node will reject any packets via SIIT translator box. See section 1.14 for more detail about the last item. There are documentation issues too - SIIT document requires very strange things. For example, SIIT document asks IPv6-only (meaning no IPv4 code) node to be able to construct IPv4 IPsec headers. If a node knows how to construct IPv4 IPsec headers, that is not an IPv6-only node, it is a dual-stack node. The requirements imposed in SIIT document contradict with the other part of the document itself. 1.13 sockaddr_storage When RFC2553 was about to be finalized, there was discussion on how struct sockaddr_storage members are named. One proposal is to prepend "__" to the members (like "__ss_len") as they should not be touched. The other proposal was that don't prepend it (like "ss_len") as we need to touch those members directly. There was no clear consensus on it. As a result, RFC2553 defines struct sockaddr_storage as follows: struct sockaddr_storage { u_char __ss_len; /* address length */ u_char __ss_family; /* address family */ /* and bunch of padding */ }; On the contrary, XNET draft defines as follows: struct sockaddr_storage { u_char ss_len; /* address length */ u_char ss_family; /* address family */ /* and bunch of padding */ }; In December 1999, it was agreed that RFC2553bis (RFC3493) should pick the latter (XNET) definition. KAME kit prior to December 1999 used RFC2553 definition. KAME kit after December 1999 (including December) will conform to XNET definition, based on RFC3493 discussion. If you look at multiple IPv6 implementations, you will be able to see both definitions. As an userland programmer, the most portable way of dealing with it is to: (1) ensure ss_family and/or ss_len are available on the platform, by using GNU autoconf, -(2) have -Dss_family=__ss_family to unify all occurences (including header +(2) have -Dss_family=__ss_family to unify all occurrences (including header file) into __ss_family, or (3) never touch __ss_family. cast to sockaddr * and use sa_family like: struct sockaddr_storage ss; family = ((struct sockaddr *)&ss)->sa_family 1.14 Invalid addresses on the wire Some of IPv6 transition technologies embed IPv4 address into IPv6 address. These specifications themselves are fine, however, there can be certain -set of attacks enabled by these specifications. Recent speicifcation +set of attacks enabled by these specifications. Recent specification documents covers up those issues, however, there are already-published RFCs that does not have protection against those (like using source address of ::ffff:127.0.0.1 to bypass "reject packet from remote" filter). To name a few, these address ranges can be used to hose an IPv6 implementation, or bypass security controls: - IPv4 mapped address that embeds unspecified/multicast/loopback/broadcast IPv4 address (if they are in IPv6 native packet header, they are malicious) ::ffff:0.0.0.0/104 ::ffff:127.0.0.0/104 ::ffff:224.0.0.0/100 ::ffff:255.0.0.0/104 - 6to4 (RFC3056) prefix generated from unspecified/multicast/loopback/ broadcast/private IPv4 address 2002:0000::/24 2002:7f00::/24 2002:e000::/24 2002:ff00::/24 2002:0a00::/24 2002:ac10::/28 2002:c0a8::/32 - IPv4 compatible address that embeds unspecified/multicast/loopback/broadcast IPv4 address (if they are in IPv6 native packet header, they are malicious). Note that, since KAME doe snot support RFC1933/2893 auto tunnels, KAME nodes are not vulnerable to these packets. ::0.0.0.0/104 ::127.0.0.0/104 ::224.0.0.0/100 ::255.0.0.0/104 Also, since KAME does not support RFC1933/2893 auto tunnels, seeing IPv4 compatible is very rare. You should take caution if you see those on the wire. If we see IPv6 packets with IPv4 mapped address (::ffff:0.0.0.0/96) in the header in dual-stack environment (not in SIIT environment), they indicate -that someone is trying to inpersonate IPv4 peer. The packet should be dropped. +that someone is trying to impersonate IPv4 peer. The packet should be dropped. IPv6 specifications do not talk very much about IPv6 unspecified address (::) in the IPv6 source address field. Clarification is in progress. Here are couple of comments: - IPv6 unspecified address can be used in IPv6 source address field, if and only if we have no legal source address for the node. The legal situations include, but may not be limited to, (1) MLD while no IPv6 address is assigned to the node and (2) DAD. - If IPv6 TCP packet has IPv6 unspecified address, it is an attack attempt. The form can be used as a trigger for TCP DoS attack. KAME code already filters them out. - The following examples are seemingly illegal. It seems that there's general consensus among ipngwg for those. (1) Mobile IPv6 home address option, (2) offlink packets (so routers should not forward them). - KAME implmements (2) already. + KAME implements (2) already. KAME code is carefully written to avoid such incidents. More specifically, -KAME kernel will reject packets with certain source/dstination address in IPv6 +KAME kernel will reject packets with certain source/destination address in IPv6 base header, or IPv6 routing header. Also, KAME default configuration file is written carefully, to avoid those attacks. draft-itojun-ipv6-transition-abuse-01.txt, draft-cmetz-v6ops-v4mapped-api- harmful-00.txt and draft-itojun-v6ops-v4mapped-harmful-01.txt has more on this issue. 1.15 Node's required addresses RFC2373 section 2.8 talks about required addresses for an IPv6 node. The section talks about how KAME stack manages those required addresses. 1.15.1 Host case The following items are automatically assigned to the node (or the node will automatically joins the group), at bootstrap time: - Loopback address - All-nodes multicast addresses (ff01::1) The following items will be automatically handled when the interface becomes IFF_UP: - Its link-local address for each interface - Solicited-node multicast address for link-local addresses - Link-local allnodes multicast address (ff02::1) The following items need to be configured manually by ifconfig(8) or prefix(8). Alternatively, these can be autoconfigured by using stateless address autoconfiguration. - Assigned unicast/anycast addresses - Solicited-Node multicast address for assigned unicast address Users can join groups by using appropriate system calls like setsockopt(2). 1.15.2 Router case In addition to the above, routers needs to handle the following items. The following items need to be configured manually by using ifconfig(8). o The subnet-router anycast addresses for the interfaces it is configured to act as a router on (prefix::/64) o All other anycast addresses with which the router has been configured The router will join the following multicast group when rtadvd(8) is available for the interface. o All-Routers Multicast Addresses (ff02::2) Routing daemons will join appropriate multicast groups, as necessary, like ff02::9 for RIPng. Users can join groups by using appropriate system calls like setsockopt(2). 1.16 Advanced API Current KAME kernel implements RFC3542 API. It also implements RFC2292 API, for backward compatibility purposes with *BSD-integrated codebase. KAME tree ships with RFC3542 headers. *BSD-integrated codebase implements either RFC2292, or RFC3542, API. see "COVERAGE" document for detailed implementation status. Here are couple of issues to mention: - *BSD-integrated binaries, compiled for RFC2292, will work on KAME kernel. For example, OpenBSD 2.7 /sbin/rtsol will work on KAME/openbsd kernel. - KAME binaries, compiled using RFC3542, will not work on *BSD-integrated kenrel. For example, KAME /usr/local/v6/sbin/rtsol will not work on OpenBSD 2.7 kernel. - RFC3542 API is not compatible with RFC2292 API. RFC3542 #define symbols conflict with RFC2292 symbols. Therefore, if you compile programs that assume RFC2292 API, the compilation itself goes fine, however, the compiled binary will not work correctly. The problem is not KAME issue, but API issue. For example, Solaris 8 implements RFC3542 API. If you compile RFC2292-based code on Solaris 8, the binary can behave strange. There are few (or couple of) incompatible behavior in RFC2292 binary backward compatibility support in KAME tree. To enumerate: - Type 0 routing header lacks support for strict/loose bitmap. Even if we see packets with "strict" bit set, those bits will not be made visible to the userland. Background: RFC2292 document is based on RFC1883 IPv6, and it uses strict/loose bitmap. RFC3542 document is based on RFC2460 IPv6, and it has no strict/loose bitmap (it was removed from RFC2460). KAME tree obeys RFC2460 IPv6, and lacks support for strict/loose bitmap. The RFC3542 documents leave some particular cases unspecified. The KAME implementation treats them as follows: - The IPV6_DONTFRAG and IPV6_RECVPATHMTU socket options for TCP sockets are ignored. That is, the setsocktopt() call will succeed but the specified value will have no effect. 1.17 DNS resolver KAME ships with modified DNS resolver, in libinet6.a. -libinet6.a has a comple of extensions against libc DNS resolver: +libinet6.a has a couple of extensions against libc DNS resolver: - Can take "options insecure1" and "options insecure2" in /etc/resolv.conf, which toggles RES_INSECURE[12] option flag bit. - EDNS0 receive buffer size notification support. It can be enabled by "options edns0" in /etc/resolv.conf. See USAGE for details. - IPv6 transport support (queries/responses over IPv6). Most of BSD official releases now has it already. - Partial A6 chain chasing/DNAME/bit string label support (KAME/BSDI4). 2. Network Drivers KAME requires three items to be added into the standard drivers: (1) (freebsd[234] and bsdi[34] only) mbuf clustering requirement. In this stable release, we changed MINCLSIZE into MHLEN+1 for all the operating systems in order to make all the drivers behave as we expect. (2) multicast. If "ifmcstat" yields no multicast group for a interface, that interface has to be patched. To avoid troubles, we suggest you to comment out the device drivers for unsupported/unnecessary cards, from the kernel configuration file. If you accidentally enable unsupported drivers, some of the userland tools may not work correctly (routing daemons are typical example). In the following sections, "official support" means that KAME developers are using that ethernet card/driver frequently. (NOTE: In the past we required all pcmcia drivers to have a call to in6_ifattach(). We have no such requirement any more) 2.1 FreeBSD 2.2.x-RELEASE Here is a list of FreeBSD 2.2.x-RELEASE drivers and its conditions: driver mbuf(1) multicast(2) official support? --- --- --- --- (Ethernet) ar looks ok - - cnw ok ok yes (*) ed ok ok yes ep ok ok yes fe ok ok yes sn looks ok - - (*) vx looks ok - - wlp ok ok - (*) xl ok ok yes zp ok ok - (FDDI) fpa looks ok ? - (ATM) en ok ok yes (Serial) lp ? - not work sl ? - not work sr looks ok ok - (**) You may want to add an invocation of "rtsol" in "/etc/pccard_ether", if you are using notebook computers and PCMCIA ethernet card. (*) These drivers are distributed with PAO (http://www.jp.freebsd.org/PAO/). (**) There was some report says that, if you make sr driver up and down and then up, the kernel may hang up. We have disabled frame-relay support from sr driver and after that this looks to be working fine. If you need frame-relay support to come back, please contact KAME developers. 2.2 BSD/OS 3.x The following lists BSD/OS 3.x device drivers and its conditions: driver mbuf(1) multicast(2) official support? --- --- --- --- (Ethernet) cnw ok ok yes de ok ok - df ok ok - eb ok ok - ef ok ok yes exp ok ok - mz ok ok yes ne ok ok yes we ok ok - (FDDI) fpa ok ok - (ATM) en maybe ok - (Serial) ntwo ok ok yes sl ? - not work appp ? - not work You may want to use "@insert" directive in /etc/pccard.conf to invoke "rtsol" command right after dynamic insertion of PCMCIA ethernet cards. 2.3 NetBSD The following table lists the network drivers we have tried so far. driver mbuf(1) multicast(2) official support? --- --- --- --- (Ethernet) awi pcmcia/i386 ok ok - bah zbus/amiga NG(*) cnw pcmcia/i386 ok ok yes ep pcmcia/i386 ok ok - fxp pci/i386 ok(*2) ok - tlp pci/i386 ok ok - le sbus/sparc ok ok yes ne pci/i386 ok ok yes ne pcmcia/i386 ok ok yes rtk pci/i386 ok ok - wi pcmcia/i386 ok ok yes (ATM) en pci/i386 ok ok - (*) This may need some fix, but I'm not sure what arcnet interfaces assume... 2.4 FreeBSD 3.x-RELEASE Here is a list of FreeBSD 3.x-RELEASE drivers and its conditions: driver mbuf(1) multicast(2) official support? --- --- --- --- (Ethernet) cnw ok ok -(*) ed ? ok - ep ok ok - fe ok ok yes fxp ?(**) lnc ? ok - sn ? ? -(*) wi ok ok yes xl ? ok - (*) These drivers are distributed with PAO as PAO3 (http://www.jp.freebsd.org/PAO/). (**) there were trouble reports with multicast filter initialization. More drivers will just simply work on KAME FreeBSD 3.x-RELEASE but have not been checked yet. 2.5 FreeBSD 4.x-RELEASE Here is a list of FreeBSD 4.x-RELEASE drivers and its conditions: driver multicast --- --- (Ethernet) lnc/vmware ok 2.6 OpenBSD 2.x Here is a list of OpenBSD 2.x drivers and its conditions: driver mbuf(1) multicast(2) official support? --- --- --- --- (Ethernet) de pci/i386 ok ok yes fxp pci/i386 ?(*) le sbus/sparc ok ok yes ne pci/i386 ok ok yes ne pcmcia/i386 ok ok yes wi pcmcia/i386 ok ok yes (*) There seem to be some problem in driver, with multicast filter configuration. This happens with certain revision of chipset on the card. Should be fixed by now by workaround in sys/net/if.c, but still not sure. 2.7 BSD/OS 4.x The following lists BSD/OS 4.x device drivers and its conditions: driver mbuf(1) multicast(2) official support? --- --- --- --- (Ethernet) de ok ok yes exp (*) You may want to use "@insert" directive in /etc/pccard.conf to invoke "rtsol" command right after dynamic insertion of PCMCIA ethernet cards. (*) exp driver has serious conflict with KAME initialization sequence. A workaround is committed into sys/i386/pci/if_exp.c, and should be okay by now. 3. Translator We categorize IPv4/IPv6 translator into 4 types. Translator A --- It is used in the early stage of transition to make it possible to establish a connection from an IPv6 host in an IPv6 island to an IPv4 host in the IPv4 ocean. Translator B --- It is used in the early stage of transition to make it possible to establish a connection from an IPv4 host in the IPv4 ocean to an IPv6 host in an IPv6 island. Translator C --- It is used in the late stage of transition to make it possible to establish a connection from an IPv4 host in an IPv4 island to an IPv6 host in the IPv6 ocean. Translator D --- It is used in the late stage of transition to make it possible to establish a connection from an IPv6 host in the IPv6 ocean to an IPv4 host in an IPv4 island. KAME provides an TCP relay translator for category A. This is called "FAITH". We also provide IP header translator for category A. 3.1 FAITH TCP relay translator FAITH system uses TCP relay daemon called "faithd" helped by the KAME kernel. FAITH will reserve an IPv6 address prefix, and relay TCP connection toward that prefix to IPv4 destination. For example, if the reserved IPv6 prefix is 3ffe:0501:0200:ffff::, and the IPv6 destination for TCP connection is 3ffe:0501:0200:ffff::163.221.202.12, the connection will be relayed toward IPv4 destination 163.221.202.12. destination IPv4 node (163.221.202.12) ^ | IPv4 tcp toward 163.221.202.12 FAITH-relay dual stack node ^ | IPv6 TCP toward 3ffe:0501:0200:ffff::163.221.202.12 source IPv6 node faithd must be invoked on FAITH-relay dual stack node. For more details, consult kame/kame/faithd/README and RFC3142. 3.2 IPv6-to-IPv4 header translator (to be written) 4. IPsec IPsec is implemented as the following three components. (1) Policy Management (2) Key Management (3) AH, ESP and IPComp handling in kernel Note that KAME/OpenBSD does NOT include support for KAME IPsec code, as OpenBSD team has their home-brew IPsec stack and they have no plan to replace it. IPv6 support for IPsec is, therefore, lacking on KAME/OpenBSD. http://www.netbsd.org/Documentation/network/ipsec/ has more information including usage examples. 4.1 Policy Management The kernel implements experimental policy management code. There are two ways to manage security policy. One is to configure per-socket policy using setsockopt(3). In this cases, policy configuration is described in ipsec_set_policy(3). The other is to configure kernel packet filter-based policy using PF_KEY interface, via setkey(8). The policy entry will be matched in order. The order of entries makes difference in behavior. 4.2 Key Management The key management code implemented in this kit (sys/netkey) is a home-brew PFKEY v2 implementation. This conforms to RFC2367. The home-brew IKE daemon, "racoon" is included in the kit (kame/kame/racoon, or usr.sbin/racoon). Basically you'll need to run racoon as daemon, then setup a policy to require keys (like ping -P 'out ipsec esp/transport//use'). The kernel will contact racoon daemon as necessary to exchange keys. In IKE spec, there's ambiguity about interpretation of "tunnel" proposal. For example, if we would like to propose the use of following packet: IP AH ESP IP payload some implementation proposes it as "AH transport and ESP tunnel", since this is more logical from packet construction point of view. Some implementation proposes it as "AH tunnel and ESP tunnel". Racoon follows the latter route (previously it followed the former, and the latter interpretation seems to be popular/consensus). This raises real interoperability issue. We hope this to be resolved quickly. racoon does not implement byte lifetime for both phase 1 and phase 2 (RFC2409 page 35, Life Type = kilobytes). 4.3 AH and ESP handling IPsec module is implemented as "hooks" to the standard IPv4/IPv6 processing. When sending a packet, ip{,6}_output() checks if ESP/AH processing is required by checking if a matching SPD (Security Policy Database) is found. If ESP/AH is needed, {esp,ah}{4,6}_output() will be called and mbuf will be updated accordingly. When a packet is received, {esp,ah}4_input() will be called based on protocol number, i.e. (*inetsw[proto])(). {esp,ah}4_input() will decrypt/check authenticity of the packet, and strips off daisy-chained header and padding for ESP/AH. It is safe to strip off the ESP/AH header on packet reception, since we will never use the received packet in "as is" form. By using ESP/AH, TCP4/6 effective data segment size will be affected by extra daisy-chained headers inserted by ESP/AH. Our code takes care of the case. Basic crypto functions can be found in directory "sys/crypto". ESP/AH transform are listed in {esp,ah}_core.c with wrapper functions. If you wish to add some algorithm, add wrapper function in {esp,ah}_core.c, and add your crypto algorithm code into sys/crypto. Tunnel mode works basically fine, but comes with the following restrictions: - You cannot run routing daemon across IPsec tunnel, since we do not model IPsec tunnel as pseudo interfaces. - Authentication model for AH tunnel must be revisited. We'll need to improve the policy management engine, eventually. - Path MTU discovery does not work across IPv6 IPsec tunnel gateway due to insufficient code. -AH specificaton does not talk much about "multiple AH on a packet" case. +AH specification does not talk much about "multiple AH on a packet" case. We incrementally compute AH checksum, from inside to outside. Also, we treat inner AH to be immutable. For example, if we are to create the following packet: IP AH1 AH2 AH3 payload we do it incrementally. As a result, we get crypto checksums like below: AH3 has checksum against "IP AH3' payload". where AH3' = AH3 with checksum field filled with 0. AH2 has checksum against "IP AH2' AH3 payload". AH1 has checksum against "IP AH1' AH2 AH3 payload", Also note that AH3 has the smallest sequence number, and AH1 has the largest sequence number. To avoid traffic analysis on shorter packets, ESP output logic supports random length padding. By setting net.inet.ipsec.esp_randpad (or net.inet6.ipsec6.esp_randpad) to positive value N, you can ask the kernel to randomly pad packets shorter than N bytes, to random length smaller than or equal to N. Note that N does not include ESP authentication data length. Also note that the random padding is not included in TCP segment size computation. Negative value will turn off the functionality. -Recommeded value for N is like 128, or 256. If you use a too big number -as N, you may experience inefficiency due to fragmented packtes. +Recommended value for N is like 128, or 256. If you use a too big number +as N, you may experience inefficiency due to fragmented packets. 4.4 IPComp handling IPComp stands for IP payload compression protocol. This is aimed for payload compression, not the header compression like PPP VJ compression. This may be useful when you are using slow serial link (say, cell phone) with powerful CPU (well, recent notebook PCs are really powerful...). The protocol design of IPComp is very similar to IPsec, though it was defined separately from IPsec itself. Here are some points to be noted: - IPComp is treated as part of IPsec protocol suite, and SPI and CPI space is unified. Spec says that there's no relationship between two so they are assumed to be separate in specs. - IPComp association (IPCA) is kept in SAD. - It is possible to use well-known CPI (CPI=2 for DEFLATE for example), for outbound/inbound packet, but for indexing purposes one element from SPI/CPI space will be occupied anyway. - pfkey is modified to support IPComp. However, there's no official SA type number assignment yet. Portability with other IPComp stack is questionable (anyway, who else implement IPComp on UN*X?). - Spec says that IPComp output processing must be performed before AH/ESP output processing, to achieve better compression ratio and "stir" data stream before encryption. The most meaningful processing order is: (1) compress payload by IPComp, (2) encrypt payload by ESP, then (3) attach authentication data by AH. However, with manual SPD setting, you are able to violate the ordering (KAME code is too generic, maybe). Also, it is just okay to use IPComp alone, without AH/ESP. - Though the packet size can be significantly decreased by using IPComp, no special consideration is made about path MTU (spec talks nothing about MTU consideration). IPComp is designed for serial links, not ethernet-like medium, it seems. - You can change compression ratio on outbound packet, by changing deflate_policy in sys/netinet6/ipcomp_core.c. You can also change outbound history buffer size by changing deflate_window_out in the same source code. (should it be sysctl accessible, or per-SAD configurable?) - Tunnel mode IPComp is not working right. KAME box can generate tunnelled IPComp packet, however, cannot accept tunneled IPComp packet. - You can negotiate IPComp association with racoon IKE daemon. - KAME code does not attach Adler32 checksum to compressed data. see ipsec wg mailing list discussion in Jan 2000 for details. 4.5 Conformance to RFCs and IDs The IPsec code in the kernel conforms (or, tries to conform) to the following standards: "old IPsec" specification documented in rfc182[5-9].txt "new IPsec" specification documented in: rfc240[1-6].txt rfc241[01].txt rfc2451.txt rfc3602.txt IPComp: RFC2393: IP Payload Compression Protocol (IPComp) IKE specifications (rfc240[7-9].txt) are implemented in userland as "racoon" IKE daemon. Currently supported algorithms are: old IPsec AH null crypto checksum (no document, just for debugging) keyed MD5 with 128bit crypto checksum (rfc1828.txt) keyed SHA1 with 128bit crypto checksum (no document) HMAC MD5 with 128bit crypto checksum (rfc2085.txt) HMAC SHA1 with 128bit crypto checksum (no document) HMAC RIPEMD160 with 128bit crypto checksum (no document) old IPsec ESP null encryption (no document, similar to rfc2410.txt) DES-CBC mode (rfc1829.txt) new IPsec AH null crypto checksum (no document, just for debugging) keyed MD5 with 96bit crypto checksum (no document) keyed SHA1 with 96bit crypto checksum (no document) HMAC MD5 with 96bit crypto checksum (rfc2403.txt HMAC SHA1 with 96bit crypto checksum (rfc2404.txt) HMAC SHA2-256 with 96bit crypto checksum (draft-ietf-ipsec-ciph-sha-256-00.txt) HMAC SHA2-384 with 96bit crypto checksum (no document) HMAC SHA2-512 with 96bit crypto checksum (no document) HMAC RIPEMD160 with 96bit crypto checksum (RFC2857) AES XCBC MAC with 96bit crypto checksum (RFC3566) new IPsec ESP null encryption (rfc2410.txt) DES-CBC with derived IV (draft-ietf-ipsec-ciph-des-derived-01.txt, draft expired) DES-CBC with explicit IV (rfc2405.txt) 3DES-CBC with explicit IV (rfc2451.txt) BLOWFISH CBC (rfc2451.txt) CAST128 CBC (rfc2451.txt) RIJNDAEL/AES CBC (rfc3602.txt) AES counter mode (rfc3686.txt) each of the above can be combined with new IPsec AH schemes for ESP authentication. IPComp RFC2394: IP Payload Compression Using DEFLATE The following algorithms are NOT supported: old IPsec AH HMAC MD5 with 128bit crypto checksum + 64bit replay prevention (rfc2085.txt) keyed SHA1 with 160bit crypto checksum + 32bit padding (rfc1852.txt) The key/policy management API is based on the following document, with fair amount of extensions: RFC2367: PF_KEY key management API 4.6 ECN consideration on IPsec tunnels KAME IPsec implements ECN-friendly IPsec tunnel, described in draft-ietf-ipsec-ecn-02.txt. Normal IPsec tunnel is described in RFC2401. On encapsulation, IPv4 TOS field (or, IPv6 traffic class field) will be copied from inner IP header to outer IP header. On decapsulation outer IP header will be simply dropped. The decapsulation rule is not compatible with ECN, since ECN bit on the outer IP TOS/traffic class field will be lost. To make IPsec tunnel ECN-friendly, we should modify encapsulation and decapsulation procedure. This is described in draft-ietf-ipsec-ecn-02.txt, chapter 3.3. KAME IPsec tunnel implementation can give you three behaviors, by setting net.inet.ipsec.ecn (or net.inet6.ipsec6.ecn) to some value: - RFC2401: no consideration for ECN (sysctl value -1) - ECN forbidden (sysctl value 0) - ECN allowed (sysctl value 1) Note that the behavior is configurable in per-node manner, not per-SA manner (draft-ietf-ipsec-ecn-02 wants per-SA configuration, but it looks too much for me). The behavior is summarized as follows (see source code for more detail): encapsulate decapsulate --- --- RFC2401 copy all TOS bits drop TOS bits on outer from inner to outer. (use inner TOS bits as is) ECN forbidden copy TOS bits except for ECN drop TOS bits on outer (masked with 0xfc) from inner (use inner TOS bits as is) to outer. set ECN bits to 0. ECN allowed copy TOS bits except for ECN use inner TOS bits with some CE (masked with 0xfe) from change. if outer ECN CE bit inner to outer. is 1, enable ECN CE bit on set ECN CE bit to 0. the inner. General strategy for configuration is as follows: - if both IPsec tunnel endpoint are capable of ECN-friendly behavior, you'd better configure both end to "ECN allowed" (sysctl value 1). - if the other end is very strict about TOS bit, use "RFC2401" (sysctl value -1). - in other cases, use "ECN forbidden" (sysctl value 0). The default behavior is "ECN forbidden" (sysctl value 0). For more information, please refer to: draft-ietf-ipsec-ecn-02.txt RFC2481 (Explicit Congestion Notification) KAME sys/netinet6/{ah,esp}_input.c (Thanks goes to Kenjiro Cho for detailed analysis) 4.7 Interoperability IPsec, IPComp (in kernel) and IKE (in userland as "racoon") has been tested at several interoperability test events, and it is known to interoperate with many other implementations well. Also, KAME IPsec has quite wide coverage for IPsec crypto algorithms documented in RFC (we do not cover algorithms with intellectual property issues, though). Here are (some of) platforms we have tested IPsec/IKE interoperability in the past, no particular order. Note that both ends (KAME and others) may have modified their implementation, so use the following list just for reference purposes. 6WIND, ACC, Allied-telesis, Altiga, Ashley-laurent (vpcom.com), BlueSteel, CISCO IOS, Checkpoint FW-1, Compaq Tru54 UNIX X5.1B-BL4, Cryptek, Data Fellows (F-Secure), Ericsson, F-Secure VPN+ 5.40, Fitec, Fitel, FreeS/WAN, HITACHI, HiFn, IBM AIX 5.1, III, IIJ (fujie stack), Intel Canada, Intel Packet Protect, MEW NetCocoon, MGCS, Microsoft WinNT/2000/XP, NAI PGPnet, NEC IX5000, NIST (linux IPsec + plutoplus), NetLock, Netoctave, Netopia, Netscreen, Nokia EPOC, Nortel GatewayController/CallServer 2000 (not released yet), NxNetworks, OpenBSD isakmpd on OpenBSD, Oullim information technologies SECUREWORKS VPN gateway 3.0, Pivotal, RSA, Radguard, RapidStream, RedCreek, Routerware, SSH, SecGo CryptoIP v3, Secure Computing, Soliton, Sun Solaris 8, TIS/NAI Gauntret, Toshiba, Trilogy AdmitOne 2.6, Trustworks TrustedClient v3.2, USAGI linux, VPNet, Yamaha RT series, ZyXEL Here are (some of) platforms we have tested IPComp/IKE interoperability in the past, in no particular order. Compaq, IRE, SSH, NetLock, FreeS/WAN, F-Secure VPN+ 5.40 VPNC (vpnc.org) provides IPsec conformance tests, using KAME and OpenBSD IPsec/IKE implementations. Their test results are available at http://www.vpnc.org/conformance.html, and it may give you more idea about which implementation interoperates with KAME IPsec/IKE implementation. 4.8 Operations with IPsec tunnel mode First of all, IPsec tunnel is a very hairy thing. It seems to do a neat thing like VPN configuration or secure remote accesses, however, it comes with lots of architectural twists. RFC2401 defines IPsec tunnel mode, within the context of IPsec. RFC2401 defines tunnel mode packet encapsulation/decapsulation on its own, and does not refer other tunnelling specifications. Since RFC2401 advocates filter-based SPD database matches, it would be natural for us to implement -IPsec IPsec tunnel mode as filters - not as pseudo interfaces. +IPsec tunnel mode as filters - not as pseudo interfaces. There are some people who are trying to separate IPsec "tunnel mode" from the IPsec itself. They would like to implement IPsec transport mode only, and combine it with tunneling pseudo devices. The prime example is found in draft-touch-ipsec-vpn-01.txt. However, if you really define pseudo interfaces separately from IPsec, IKE daemons would need to negotiate transport mode SAs, instead of tunnel mode SAs. Therefore, we cannot really mix RFC2401-based interpretation and draft-touch-ipsec-vpn-01.txt interpretation. The KAME stack implements can be configured in two ways. You may need to recompile your kernel to switch the behavior. -- RFC2401 IPsec tunnel mode appraoch (4.8.1) +- RFC2401 IPsec tunnel mode approach (4.8.1) - draft-touch-ipsec-vpn approach (4.8.2) Works in all kernel configuration, but racoon(8) may not interoperate. There are pros and cons on these approaches: RFC2401 IPsec tunnel mode (filter-like) approach PRO: SPD lookup fits nicely with packet filters (if you integrate them) CON: cannot run routing daemons across IPsec tunnels CON: it is very hard to control source address selection on originating cases ???: IPv6 scope zone is kept the same draft-touch-ipsec-vpn (transportmode + Pseudo-interface) approach PRO: run routing daemons across IPsec tunnels PRO: source address selection can be done normally, by looking at IPsec tunnel pseudo devices CON: on outbound, possibility of infinite loops if routing setup is wrong CON: due to differences in encap/decap logic from RFC2401, it may not interoperate with very picky RFC2401 implementations (those who check TOS bits, for example) CON: cannot negotiate IKE with other IPsec tunnel-mode devices (the other end has to implement ???: IPv6 scope zone is likely to be different from the real ethernet interface The recommendation is different depending on the situation you have: - use draft-touch-ipsec-vpn if you have the control over the other end. this one is the best in terms of simplicity. - if the other end is normal IPsec device with RFC2401 implementation, you need to use RFC2401, otherwise you won't be able to run IKE. - use RFC2401 approach if you just want to forward packets back and forth and there's no plan to use IPsec gateway itself as an originating device. 4.8.1 RFC2401 IPsec tunnel mode approach To configure your device as RFC2401 IPsec tunnel mode endpoint, you will use "tunnel" keyword in setkey(8) "spdadd" directives. Let us assume the following topology (A and B could be a network, like prefix/length): ((((((((((((The internet)))))))))))) | | |C (global) |D your device peer's device |A (private) |B ==+===== VPN net ==+===== VPN net The policy configuration directive is like this. You will need manual SAs, or IKE daemon, for actual encryption: # setkey -c < B] payload and will not match the policy (= sent in clear). - When you want to run routing protocols on top of the IPsec tunnel, it is not possible. As there is no pseudo device that identifies the IPsec tunnel, you cannot identify where the routing information came from. As a result, you can't run routing daemons. 4.8.2 draft-touch-ipsec-vpn approach With this approach, you will configure gif(4) tunnel interfaces, as well as IPsec transport mode SAs. # gifconfig gif0 C D # ifconfig gif0 A B # setkey -c < Index: stable/9/share/doc =================================================================== --- stable/9/share/doc (revision 277016) +++ stable/9/share/doc (revision 277017) Property changes on: stable/9/share/doc ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head/share/doc:r228993 Index: stable/9/share/termcap/termcap.src =================================================================== --- stable/9/share/termcap/termcap.src (revision 277016) +++ stable/9/share/termcap/termcap.src (revision 277017) @@ -1,4667 +1,4667 @@ # Copyright (c) 1980, 1985, 1989, 1993 # The Regents of the University of California. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. All advertising materials mentioning features or use of this software # must display the following acknowledgement: # This product includes software developed by the University of # California, Berkeley and its contributors. # 4. Neither the name of the University nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # @(#)termcap.src 8.2 (Berkeley) 11/17/93 # $FreeBSD$ # Termcap source file # John Kunze, Berkeley # Craig Leres, Berkeley # # Please submit changes via https://bugs.freebsd.org/submit/ # # << EOH - after reordering, above header lines survive and this line dies >> # # DESCRIPTION: # This file describes capabilities of various terminals, as needed by # software such as screen editors. It does not attempt to describe # printing terminals very well, nor graphics terminals. Someday. # See termcap(5) in the Unix Programmers Manual for documentation. # # Conventions: First entry is canonical name for model or mode, last entry # is verbose description. Others are mnemonic synonyms for the terminal. # # Terminal naming conventions: # Terminal names look like - # Certain abbreviations (e.g. c100 for concept100) are also allowed # for upward compatibility. The part to the left of the dash, if a # dash is present, describes the particular hardware of the terminal. # The part to the right can be used for flags indicating special ROM's, # extra memory, particular terminal modes, or user preferences. # All names should be in lower case, for consistency in typing. # # The following are conventionally used flags: # rv Terminal in reverse video mode (black on white) # 2p Has two pages of memory. Likewise 4p, 8p, etc. # w Wide - in 132 column mode. # pp Has a printer port which is used. # na No arrow keys - termcap ignores arrow keys which are # actually there on the terminal, so the user can use # the arrow keys locally. # # To easily test a new terminal description, put it in $HOME/.termcap # and programs will look there before looking in /etc/termcap. # You can also setenv TERMPATH to a list of full pathnames (separated # by spaces or colons) to be searched by tgetent() in the order listed. # The TERMCAP environment variable is usually set to the termcap # entry itself to avoid reading files when starting up a program. # # If you absolutely MUST check for a specific terminal (this is discouraged) # check for the 2nd entry (the canonical form) since all other codes are # subject to change. We would much rather put in special capabilities # to describe your terminal than have you key on the name. # # Special manufacturer codes: # A: hardcopy daisy wheel terminals # M: Misc. (with only a few terminals) # q: Homemade # s: special (dialup, etc.) # # Comments in this file begin with # - they cannot appear in the middle # of a termcap entry. Individual entries are commented out by # placing a period between the colon and the capability name. # # To add a termcap entry under FreeBSD for a new terminal type, insert # the entry in the appropriate location in /etc/termcap then issue this # command: # # cap_mkdb -f /usr/share/misc/termcap /etc/termcap # # Terminfo source entries can be converted to termcap entries with the # tic program that is part of the ncurses distribution, see the ports # section. # # # This file is to be installed with an editor script (reorder) # that moves the most common terminals to the front of the file. # # -------------------------------- # # A: DAISY WHEEL PRINTERS # # The A manufacturer represents Diablo, DTC, Xerox, Qume, and other Daisy # wheel terminals until such time as termcap distinguishes between them # enough to justify separate codes. # This is an "experimental" entry for the SRI Agiles. # It has been tried in a minimal way -- the Agile did not blow up! # However, it has not been exhaustively tested. # Anyone who tries it and finds it wanting should get in touch with: # Ralph Keirstead (ralph@sri-unix); # EK352; SRI International; 333 Ravenswood Avenue; Menlo Park, CA 94025 agile|agiles|sri agiles:\ :bs:hc:os:pl:co#132:do=^J:kb=^H:up=\E\n:\ :hu=\E0:hd=\E9:if=/usr/share/tabset/std:is=\EE\EF\EJ: 1620|1720|450|ipsi|diablo 1620:\ :do=^J:ct=\E2:st=\E1:ch=\E\t%i%.:\ :if=/usr/share/tabset/xerox1720:\ :kb=^H:le=^H:bs:co#132:hc:hu=\EU:hd=\ED:os:pt:up=\E\n: 1620-m8|1640-m8|diablo 1620 w/8 column left margin:\ :do=^J:co#124:is=\r \E9:tc=1620: 1640|1740|630|1730|x1700|diablo|xerox|diablo 1640:\ :if=/usr/share/tabset/xerox1730:\ :us=\EE:ue=\ER:so=\EW:se=\E&:tc=1620: 1640-lm|1740-lm|630-lm|1730-lm|x1700-lm|diablo-lm|xerox-lm|\ diablo 1640 with indented left margin:\ :if=/usr/share/tabset/xerox1730-lm:\ :co#124:us=\EE:ue=\ER:so=\EW:se=\E&:tc=1620: # DTC 382 with VDU. Has no cd so we fake it with ce. Standout works but # won't go away without dynamite. The terminal has tabs, but I'm getting # tired of fighting the braindamage. If no tab is set or the terminal's # in a bad mood, it glitches the screen around all of memory. Note that # return puts a blank ("a return character") in the space the cursor was # at, so we use ^P return (and thus ^P newline for newline). Note also # that if you turn off pt and let Unix expand tabs, curses won't work # (current version) because it doesn't turn off this bit, and cursor # addressing sends a tab for row/column 9. What a losing terminal! I # have been unable to get tabs set in all 96 lines - it always leaves at # least one line with no tabs in it, and once you tab through that line, # it completely weirds out. dtc|ps|dtc382|382:\ :do=^J:al=^P^Z:am:le=^H:\ :bs:co#80:ce=^P^U:cl=20^P^]:cm=%r^P^Q%.%.:dc=^X:\ :dl=^P^S:ei=^Pi:ho=^P^R:im=^PI:ve=^Pb:vs=^PB:pc=\177:te=20^P^]:\ :li#24:nd=^PR:.se=^P \200:.so=^P \002^PF:us=^P \020:ue=^P \200:\ :up=^P^L:nc:xr:xs:da:db:.pt:cr=^P^M:cd=^P^U^P^S^P^S:\ :if=/usr/share/tabset/dtc382: dtc300s|300|300s|dtc 300s:\ :ct=\E3:st=\E1:do=^J:\ :kb=^h:le=^H:bs:co#132:hc:hu=\EH:hd=\Eh:os:pt:up=^Z: gsi:\ :le=^H:bs:co#132:hc:hd=\Eh:hu=\EH:os:pt:up=^Z:do=^J: # This used to have :pl: - maybe they meant :pt:? aj830|aj832|aj|anderson jacobson:\ :do=^J:le=^H:bs:hc:hd=\E9:hu=\E8:os:up=\E7: # From Chris Torek Thu, 7 Nov 85 18:21:58 EST aj510|AJ510|Anderson-Jacobson model 510:\ :ip=.1*:so=\E"I:us=\E"U:cd=\E'P:ce=\E'L:cl=^L:cm=\E#%+ %+ :\ :dl=2*\E&D:ue=\E"U:co#80:li#24:se=\E"I:al=2*\E&I:im=\E'I:ei=\E'J:\ :dc=.1*\E'D:up=\EY:nd=\EX:bs:am:mi:ti=\E"N:te=\E"N:\ :ku=\EY:kd=\EZ:kl=\EW:kr=\EX:pc=\177: # From cbosg!ucbvax!pur-ee!cincy!chris Thu Aug 20 09:09:18 1981 # This is incomplete, but it's a start. 5520|nec|spinwriter|nec 5520:\ :ct=\E3:st=\E1:do=^J:kb=^h:le=^H:bs:co#132:hc:hu=\E]s\E9\E]W:\ :hd=\E]s\n\E]W:os:pt:up=\E9: qume5|qume|Qume Sprint 5:\ :ct=\E3:st=\E1:do=^J:\ :kb=^h:le=^H:bs:co#80:hc:hu=\EH:hd=\Eh:os:pt:up=^Z: q102|qume102|Qume 102:\ :al=\EE:am:bs:bt=\EI:\ :cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :co#80:ct=\E3:\ :dc=\EW:dl=\ER:do=^J:ho=^^:ic=\EQ:\ :k0=^A@\r:k1=^AA\r:k2=^AB\r:k3=^AC\r:kd=^J:kl=^H:kr=^L:ku=^K:\ :le=^H:li#24:ma=^K^P^L :nd=^L:\ :se=\EG0:sg#1:so=\EG4:st=\E1:\ :ue=\EG0:ug#1:up=^K:us=\EG8: # From ucbvax!mtxinu!sybase!tim (Tim Wood) Fri Sep 27 10:25:24 PDT 1985 # This entry supports line and character insert and delete, scroll up and # down and the arrow keys. To use it, perform the following on your qvt-101 # 1) enter SET-UP mode, select the SET 3 line; # 2) move the cursor to the EMULATION item and hit SPACE # until QVT-101B appears # 3) enter SHIFT-S # 4) exit SET-UP - the terminal is now configured q101|qvt101|qvt-101|Qume 101 $310 special:\ :al=\EE:am:bt=\EI:ce=\Et:cl=\E*:dc=\EW:\ :dl=\ER:do=^J:ic=\EQ:md=\E(:me=\EG0:mh=\E):\ :le=^H:bs:cm=\E=%+ %+ :cl=1^Z:co#80:ho=^^:li#24:ma=^K^P:nd=^L:ku=^K:\ :vs=\EM4\040\200\200\200:mr=\EG4:ms:so=\EG4:se=\EG1: # I suspect the xerox1720 is the same as the diablo 1620. x1720|1700|x1750|xerox 1720:\ :co#132:le=^H:bs:hc:os:pt:do=^J:ct=\E2:st=\E1: # # -------------------------------- # # B: AT&T ATT # # AT&T Teletype 5410 Terminal (a.k.a. 4410) # From: carvalho%kepler@Berkeley.EDU (Marcio de Carvalho) # Date: Thu, 26 Feb 87 09:16:50 PST # # Although the 5410 supports labels, it blanks the screen after # each label is programmed creating to much visual activity. # To use the labels, use FL=\E[%d;00q%-16s # 5410|4410|tty5410|att4410|AT&T Teletype 5410 terminal with 80 columns:\ :al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\ :cm=5\E[%i%2;%2H:co#80:dc=\E[P:dl=\E[M:ic=\E[@:\ :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\ :li#24:nd=\E[C:se=\E[m:so=\E[2;7m:sr=\EM:\ :ue=\E[m:up=\E[A:us=\E[4m:EE=\E[m:BO=\E[0;7m:DS=\E[2m:\ :KM=/usr/lib/ua/kmap.5410:is=\E[0m^O\E[?6l:kn#8:\ :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k4=\EOg:k6=\EOh:\ :k7=\EOi:k8=\EOj:ko=nd,up,ho: # AT&T 630 MTG DMD from muller%sdcc7@ucsd.edu (Keith Muller) att630|dmd630|ATT630|630DMD|630dmd|630MTG|AT&T 630 windowing terminal:\ :am:da:db:ms:bs:co#80:it#8:li#60:lm#0:\ :up=\E[A:do=\E[B:nd=\E[C:le=\b:UP=\E[%dA:DO=\E[%dB:RI=\E[%dC:\ :LE=\E[%dD:cm=\E[%i%d;%dH:ho=\E[H:bt=\E[Z:\ :sf=\n:sr=\EM:SF=\E[%dS:SR=\E[%dT:us=\E[4m:ue=\E[m:so=\E[7m:se=\E[m:\ :mr=\E[7m:mh=\E[2m:mb=\E[5m:me=\E[m:ce=\E[K:cd=\E[J:cl=\E[H\E[J:\ :dc=\E[P:dl=\E[M:al=\E[L:DC=\E[%dP:DL=\E[%dM:AL=\E[%dL:\ :ic=\E[@:IC=\E[%d@:sc=\E7:rc=\E8:i2=\E[m:rs=\Ec:\ :pf=\E[?4i:po=\E[?5i:\ :kb=\b:kC=\E[2J:kh=\E[H:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D: dmd630-24|att630-24|ATT630-24|630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines:\ :li#24:tc=att630: dmd615|att615|ATT615|615DMD|615MTG|AT&T 615 windowing terminal 80 column:\ :li#24:tc=att630: dmd615-w|att615-w|ATT615-w|615DMD-w|615MTG-w|AT&T 615 windowing terminal 132 column:\ :li#24:co#132:tc=att630: dmd620|att620|ATT620|620DMD|620MTG|AT&T 620 windowing terminal 80 column:\ :li#24:tc=att630: dmd620-w|att620-w|ATT620-w|620DMD-w|620MTG-w|AT&T 620 windowing terminal 132 column:\ :li#24:co#132:tc=att630: # AT&T Teletype 5420 Terminal (a.k.a. 4415) June 5, 1985 5420|4415|tty5420|att4415|AT&T Teletype 5420 terminal:\ :al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\ :cm=\E[%i%2;%2H:co#80:dc=\E[P:dl=\E[M:im=\E[4h:ei=\E[4l:\ :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\ :li#24:nd=\E[C:se=\E[m:so=\E[2;7m:sr=\EM:\ :ue=\E[m:up=\E[A:us=\E[4m:EE=\E[m:BO=\E[0;7m:DS=\E[2m:\ :KM=/usr/lib/ua/kmap.5420:\ :is=\E[0m^O\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[25;1j\212\E[8;0j\E[9;0j\E[10;0j\E[19;1j:\ :db:mi:pt:kn#8:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:\ :k7=\EOi:k8=\EOj:ve=\E[11;0j:\ :vs=\E[11;1j:ko=bt,nd,up,dc,dl,ho,im,al: # AT&T Teletype 5425 Terminal (a.k.a 4425) June 5, 1985 5425|4425|tty5425|att4425|AT&T Teletype 5425:\ :FL=\E[%d;00q%-16s\E~:FE=\E|:KM=/usr/lib/ua/kmap.5425:\ :is=\E[0m^O\E[1;2;3;4;6l\E[12;13;14;20l\E[?6l\E[?7h\E[4i\E[9;0j\E[10;0j\E[11;0j\E[21;1j\E[25;1j\212:\ :ve=\E[12;0j:vs=\E[12;1j:tc=5420: t4|4420|tty4420|Teletype 4420:\ :vs=\ER:ve=\ER:am:da:db:mi:cr=\EG:\ :nl=\EG\EB:li#23:\ :co#80:cl=\EH\EJ:cd=\EJ:cm=\EY%+ %+ :\ :bs:up=\E7:do=\EB:nd=\EC:al=\EL:\ :dl=\EM:dc=\EP:ic=\E\136:sf=\EH\EM\EY5 :sr=\ET:kb=^H: pc6300plus|6300|6300plus:\ :al=\E[1L:am:bs:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[H:cm=\E[%i%2;%2H:co#80:\ :dc=\E[1P:dl=\E[1M:do=\E[B:ho=\E[H:\ :ic=\E[1@:kb=\10:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:li#24:\ :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:\ :k9=\EOk:k10=\EOu:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:\ :EE=\E[m:BO=\E[0;7m:CV=\E[=C:CI=\E[=1C:KM=/usr/lib/ua/kmap.s5: # AT&T 6386 decompiled and hacked from SVR3.1 terminfo # From: caron@polya.Stanford.EDU (Ilan G. Caron) # Problems: (1) The mode lines are screwed up - they're not in standout # (an extraneous ESC-RD sequence is prepended to each mode line). # (2) Cursor addressing into the mode line is often off-by-one, # in particular, when the percentage indicator is updated. # (3) When reverting to a single window (C-x 1), the display # needs refreshing (an extraneous ESC-S seems to be generated). # (The above 3 might be manifestations of the same problem). # (4) Deletes sometime don't, especially when done fast - does this # suggest that I need to pad something? AT386|at386|386AT|386at|at/386 console:\ :am:bw:eo:xo:Co#8:NC#3:co#80:li#25:pa#64:kn#6:\ :@7=\E[Y:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\ :F1=\EOZ:F2=\EOA:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:\ :SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\ :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\ :ae=\E[10m:al=\E[1L:as=\E[12m:bl=^G:cd=\E[J:ce=\E[K:\ :cl=\E[2J\E[H:cm=\E[%i%2;%2H:cr=\r:dc=\E[P:dl=\E[1M:\ :do=\E[B:ho=\E[H:ic=\E[1@:is=\E[0;10;39m:k1=\EOP:\ :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:\ :k8=\EOW:k9=\EOX:k;=\EOY:kB=^]:kC=\E[2J:kD=\E[P:\ :kI=\E[@:kM=\E0:kN=\E[U:kP=\E[V:kb=\b:kd=\E[B:kh=\E[H:\ :kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:\ :me=\E[0;10m:mk=\E[9m:mr=\E[7m:nd=\E[C:op=\E[0m:\ :se=\E[m:sf=\E[S:so=\E[43;30m:ta=\t:ue=\E[m:up=\E[A:\ :sr=\E[T:TC=\E[%d@:IC=\E[%d@:\ :us=\E[4m:vb=^G:bc=\E[D: s4|PC7300|unixpc|pc7300|7300|3b1|Safari 4:\ :so=\E[2;7m:DS=\E[2m:XS=\E[9m:KM=/usr/lib/ua/kmap.s4:tc=pc6300plus: # AT&T Teletype 610 Terminal b610|610|610bct|tty610:\ :CV=\E[25h:CI=\E[25l:KM=/usr/lib/ua/kmap.s4:\ :FL=\E[%d;00q%-16s\E[0p:FE=\E[2p:cl=\E[1;1H\E[J:\ :is=\E[0m^O\E[25;1|^J\E[8;0|\E[4;13;20l\E[?5l\E[12h\E[?7h\E[?4i:\ :ve=\E[?12l:vs=\E[?12h:tc=5420: # # -------------------------------- # # C: CONTROL DATA # cdc456|cdc:\ :do=^J:li#24:co#80:cl=^Y^X:nd=^L:up=^Z:le=^H:bs:\ :cm=\E1%+ %+ :ho=^Y:al=\E\114:dl=\E\112:ce=^V:cd=^X:am: cdc456tst:\ :do=^J:li#24:co#80:cl=^y^x:le=^H:bs:cm=\E1%+ %+ :am: # # -------------------------------- # # D: DATAMEDIA # dm1520|dm1521|1521|1520|datamedia 1520:\ :do=^J:am:le=^H:bs:cd=^K:ce=^]:cl=^L:cm=^^%r%+ %+ :co#80:ho=^Y:\ :ku=^_:kd=^J:kl=^H:kr=^\:kh=^Y:\ :li#24:nd=^\:up=^_:xn:ma=^\ ^_^P^YH:pt: dm2500|datamedia2500|2500|datamedia 2500:\ :do=^J:al=15^P\n^X^]^X^]:le=^H:bs:ce=^W:cl=^^^^\177:\ :cm=^L%r%n%.%.:co#80:dc=10*^P\b^X^]:dl=10*^P^Z^X^]:\ :dm=^P:ed=^X^]:ei=10\377\377^X^]:ho=^B:ic=10*^P^\^X^]:\ :im=^P:li#24:nc:nd=^\:pc=\377:so@=^N:se=^X^]:up=^Z: dm3025|datamedia 3025a:\ :MT:is=\EQ\EU\EV:do=^J:\ :al=130\EP\n\EQ:le=^H:bs:cd=2\EJ:ce=\EK:cl=2\EM:cm=\EY%r%+ %+ :\ :co#80:dc=6\b:dl=130\EP\EA\EQ:dm=\EP:ed=\EQ:ei=\EQ:ho=\EH:\ :im=\EP:ip=6:li#24:nd=\EC:pt:so=\EO1:se=\EO0:up=\EA: 3045|dm3045|datamedia 3045a:\ :is=\EU\EV:do=^J:\ :am:le=^H:bs:cd=2\EJ:ce=\EK:cl=2\EM:cm=\EY%r%+ %+ :co#80:\ :dc=6\EB:ei=\EP:ho=\EH:im=\EP:ip=6:\ :k0=\Ey\r:k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:\ :k5=\Et\r:k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:k9=\Ex\r:\ :kh=\EH:ku=\EA:kr=\EC:li#24:nd=\EC:pc=\177:pt:eo:ul:up=\EA:xn: # dt80/1 is a vt100 lookalike, but it doesn't seem to need any padding. dt80|dmdt80|dm80|datamedia dt80/1:\ :do=^J:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=%i\E[%d;%dH:ho=\E[H:\ :nd=\E[C:sr=\EM:so=\E[7m:se=\E[m:up=\E[A:us=\E[4m:ue=\E[m:tc=vt100: # except in 132 column mode, where it needs a little padding. # This is still less padding than the vt100, and you can always turn on # the ^S/^Q handshaking, so you can use vt100 flavors for things like # reverse video. dt80w|dmdt80w|dm80w|datamedia dt80/1 in 132 char mode:\ :do=^J:cd=20\E[0J:co#132:ce=20\E[0K:\ :cm=5\E[%i%d;%dH:cl=50\E[H\E[2J:up=5\E[A:tc=dmdt80: # # -------------------------------- # # H: HAZELTINE # # Since nd is blank, when you want to erase something you # are out of luck. You will have to do ^L's a lot to # redraw the screen. h1000 is untested. It doesn't work in # vi - this terminal is too dumb for even vi. (The code is # there but it isn't debugged for this case.) h1000|hazeltine 1000:\ :le=^H:bs:ho=^K:cl=^L:nd= :co#80:li#12:do=^J: # Note: the h1552 appears to be the first Hazeltine terminal which # is not braindamaged. It has tildes and backprimes and everything! # Be sure the auto lf/cr switch is set to cr. h1552|hazeltine 1552:\ :do=^J:al=\EE:dl=\EO:k1=\EP:l1=blue:k2=\EQ:\ :l2=red:k3=\ER:l3=green:tc=vt52: h1552rv|hazeltine 1552 reverse video:\ :do=^J:so=\ES:se=\ET:tc=h1552: # From cbosg!ucbvax!pur-ee!cincy!chris Thu Aug 20 09:09:18 1981 h1420|hazeltine 1420:\ :do=^J:le=^H:bs:am:li#24:co#80:al=\E^Z:dl=\E^S:cd=\E^X:cl=\E\034:\ :up=\E^L:nd=^P:ce=\E^O:ta=^N:cm=\E^Q%r%.%+ :so=\E\037:se=\E^Y: # New "safe" cursor movement (11/87) from cgs@umd5. Prevents freakout with # out-of-range args and tn3270. No hz since it needs to receive ~'s. h1500|hazeltine 1500:\ :al=40~^Z:am:bs:cd=10~^X:ce=~^O:cl=~^\:cm=~^Q%r%>^^ %+`%+`:\ :co#80:dl=40~^S:do=~^K:ho=~^R:kh=~^R:kr=^P:ku=~^L:kd=^J:kl=^H:\ :le=^H:li#24:nd=^P:so=~^_:se=~^Y:up=~^L:.cm=~^Q%r%.%.: # h1510 assumed to be in sane escape mode. Else use h1500. h1510|hazeltine 1510:\ :do=^J:al=\E^Z:am:le=^H:bs:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E^Q%r%.%.:\ :co#80:dl=\E^S:do=\E^K:hz:li#24:nd=^P:.se=\E^_:.so=\E^Y:up=\E^L: h1520|hazeltine 1520:\ :do=^J:al=~^Z:am:le=^H:bs:cd=~^X:ce=~^O:cl=~\034:cm=~^Q%r%.%.\200:\ :co#80:dl=~^S:do=~^K:hz:li#24:nd=^P:se=~^Y:so=~\037:up=~^L:ho=~^R: # Note: h2000 won't work well because of a clash between upper case and ~'s. h2000|hazeltine 2000:\ :do=^J:al=6~^z:am:le=^H:bs:cl=6~^\:cm=~^q%r%.%.:co#74:\ :dl=6~^s:ho=~^r:li#27:nc:pc=\177: # Hazeltine esprit entries from Univ of Utah Tue Feb 1 06:39:37 1983 # J.Lepreau, lepreau@utah-cs, harpo!utah-cs!lepreau esprit|hazeltine esprit:\ :al=40\E^Z:bs:cd=5\E^X:ce=\E^O:cl=\E^\:cm=\E^Q%r%>^^ %+`%+`:co#80:\ :dl=40\E^S:do=\E^K:ho=\E^R:li#24:nd=^P:se=\E^Y:so=\E^_:up=\E^L: esprit-am|hazeltine esprit auto-margin:\ :am:tc=esprit: # # -------------------------------- # # I: IBM # # ibm61 and ibm63 from Warren Gish (cswarren@violet.berkeley.edu). # installed 12-17-86. # 3161 only opens a new line if a null line exists on the screen. # To ensure a null line exists, an SBA is performed, positioning the # Buffer Address in column 0 of the last line. The last line is then # cleared to nulls, BA mode is canceled, and the new line is opened # at the cursor position. ibm61|ibm3161|3161|IBM 3161-11:\ :am:bs:bw:cl=\EL:li#24:co#80:cd=\EJ:al=\EX7 \EI\E Z\EN:\ :ce=\EI:cm=\EY%+\040%+\040:nd=\EC:up=\EA:do=\EB:\ :dl=\EO:dc=\EQ:kd=\EB:ku=\EA:kl=\ED:kr=\EC:kh=\EH:\ :us=\E4\102:ue=\E4\100:so=\E4\110:se=\E4\100: # From seth@sirius.ctr.columbia.edu Sun May 20 11:02:34 1990 ibm3163|ibm63|i3163|3163|IBM 3163:\ :al=\EN:am:bs:bt=\E2:cd=\EJ:ce=\EI:cl=\EL:\ :cm=\EY%+\040%+\040:co#80:ct=\E 1:dc=\EQ:\ :dl=\EO:do=\EB:ds=\E#\072:es:fs=\E=:ho=\EH:\ :hs:ic=\EP:kA=\EN:kB=\E2:kC=\EQ:\ :kD=\EQ:kE=\EI:kI=\EI:kL=\EO:kS=\EJ:\ :kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:kh=\EH:\ :le=\ED:li#24:mb=\E4D:md=\E4H:me=\E4@:\ :mk=\E4P:mr=\E4A:nd=\EC:\ :ds=\E#\::es:fs=\E=\E#;:hs:ts=\E=:ws#80:\ :se=\E4@:so=\E4I:ue=\E4@:up=\EA:us=\E4B: ibm|ibm3101|3101|i3101|IBM 3101-10:\ :do=^J:ct=\EH:st=\E0:\ :if=/usr/share/tabset/ibm3101:\ :am:le=^H:bs:cl=\EK:li#24:co#80:nd=\EC:up=\EA:cd=\EJ:ce=\EI:\ :kd=\EB:kl=\ED:kr=\EC:ku=\EA:ho=\EH:cm=\EY%+\40%+\40:pt: ibm327-789|ibm-3277-2|ibm-3278-2|ibm-3278-3|ibm-3278-4|ibm-3278-5|ibm-3279-2|ibm-3279-3:\ :tc=ibm327-56: ibm327-56|ibm-3275-2|ibm-3276-2|ibm-3276-3|ibm-3276-4|line mode IBM 3270 style:\ :gn:ce=\r:cl=\r\n:ho=\r: ibm-apl|apl|IBM apl terminal simulator:\ :li#25:tc=dm1520: # ibmapa* and ibmmono entries come from ACIS 4.3 distribution rtpc|ibmapa16|ibm6155|IBM 6155 Extended Monochrome Graphics Display:\ :ts=\Ej\EY@%+ \Eo:ds=\Ej\EY@\40\EI\Ek:li#32:tc=ibmconsole: # Advanced Monochrome (6153) and Color (6154) Graphics Display: ibmapa8c|ibmapa8|ibm6154|ibm6153|IBM 6153/4 Advanced Graphics Display:\ :ts=\Ej\EY?%+ \Eo:ds=\Ej\EY?\40\EI\Ek:li#31:tc=ibmconsole: ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display color termcap:\ :ts=\Ej\EY?%+ \Eo:ds=\Ej\EY?\40\EI\Ek:li#31:mh=\EF\Ef7;:tc=ibmega-c: ibmmono|ibmconsole|ibm5151|IBM workstation monochrome:\ :se=\Ez:so=\EZ:sr=\EA:al=\EL:dl=\EM:\ :kb=^H:us=\EW:ue=\Ew:\ :k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:k9=\EY:\ :k0=\E<:I0=f10:kI=\000:kh=\EH:kR=\EG:kP=\Eg:kF=\EE:kN=\EE:\ :md=\EZ:me=\Ew\Eq\Ez\EB:mk=\EF\Ef0;\Eb0;:mr=\Ep:\ :ts=\Ej\EY8%+ \Eo:fs=\Ek:ds=\Ej\EY8\40\EI\Ek:es:hs:sb:tc=ibm3101: ibmega-c|ibm5154-c|IBM Enhanced Color Display color termcap:\ :se=\EB:so=\EF\Ef3;:ue=\EB:us=\EF\Ef2;:tc=ibmconsole: # from marc pawliger--marc@ibminet.awdpa.ibm.com # also in /usr/lpp/bos/bsdsysadmin. hft-c|ibm8512|ibm8513|IBM High Function Terminal:\ :co#80:li#25:am:ht:\ :cm=\E[%i%d;%dH:ti=\E[20;4l\E[?7h\Eb:te=\E[20h:\ :nd=\E[C:up=\E[A:do=^J:ho=\E[H:\ :ec=\E[%dX:\ :cl=\E[H\E[J:cd=\E[J:el=\E[K:\ :AL=\E[%dL:DL=\E[%dM:al=\E[L:dl=\E[M:\ :im=\E[4h:ei=\E[4l:mi:\ :dm=\E[4h:ed=\E[4l:\ :so=\E[7m:se=\E[m:ul=\E[4m:ue=\E[m:ms:\ :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\ :as=^N:ae=^O:sc=\E[s:rc=\E[u:\ :kb=\E[D:kf=\E[C:ku=\E[A:kd=\E[B:kh=\E[H:\ :k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\ :k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:k0=\E[010q:\ :is=\Eb\E[m^O\E[?7h:rs=\Eb\E[m^O\E[?7h\E[H\E[J: hft|AIWS High Function Terminal:\ :al=\E[L:cr=^M:do=^J:sf=^J:bl=^G:am:le=^H:cd=\E[J:\ :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:co#80:li#25:\ :dc=\E[P:dl=\E[M:ho=\E[H:\ :ic=\E[@:im=\E6:ei=\E6:\ :md=\E[1m:mr=\E[7m:mb=\E[5m:mk=\E[8m:me=\E[0m:\ :ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:kh=\E[H:kb=^H:\ :nd=\E[C:ta=^I:up=\E[A:xo:\ :ue=\E[m:us=\E[4m:se=\E[m:so=\E[7m:\ :kP=\E[159q:kN=\E[153q:\ :k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:\ :k5=\E[005q:k6=\E[006q:k7=\E[007q:k8=\E[008q:\ :k9=\E[009q:ka=\E[010q: # From pryor@math.berkeley.edu ibm5081|ibmmpel|IBM 5081 1024x1024 256/4096 color display:\ :ts=\Ej\EYA%+ \Eo:fs=\Ek:ds=\Ej\EYA\40\EI\Ek:es:hs:\ :li#33:tc=ibmconsole: ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 enhanced color display:\ :ts=\Ej\EYA%+ \Eo:fs=\Ek:ds=\Ej\EYA\40\EI\Ek:es:hs:\ :li#33:tc=ibmega-c: # ibm3151 and ibm3151-25 are modified from a Usenet posting # from http://www.cs.utk.edu/~shuford/terminal/ibm_3161.termcap.txt # Newsgroups: comp.terminals Message-ID: <1rkqgnINNdso@uwm.edu> ibm3151|ibm3152|ibm3162|Ibm3162|ibm3151-pc:\ :am:mi:ms:\ :co#80:li#24:kn#9:\ :cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EY%+ %+ :dc=\EQ:dl=\EO:\ :ho=\EH:k1=\Ea\n:k2=\Eb\n:k3=\Ec\n:k4=\Ed\n:k5=\Ee\n:\ :k6=\Ef\n:k7=\Eg\n:k8=\Eh\n:k9=\Ei\n:kb=\b:kd=\EB:\ :kh=\EH:kl=\ED:kr=\EC:ku=\EA:nd=\EC:se=\E4>b:so=\E4!a:\ :te=\E>A:ti=\E>B:ue=\E4=b:up=\EA:us=\E4"a:bc=\ED:\ :U8=\Eb:so=\E4!a:\ :te=\E>A:ti=\E>B:ue=\E4=b:up=\EA:us=\E4"a:bc=\ED:\ :U8=\E\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\ :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kb=^H:\ :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=5\EM:vt#3:xn:\ :sc=\E7:rc=\E8:cs=\E[%i%d;%dr: # luna's BMC terminal emulator luna|luna68k|LUNA68K Bitmap console:\ :li#46:co#88:tc=ansi: # SCO console and SOS-Syscons console for 386bsd scoansi|SCO Extended ANSI standard crt:\ :al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:co#80:\ :dc=\E[P:dl=\E[M:do=\E[B:bt=\E[Z:ho=\E[H:ic=\E[@:li#25:\ :nd=\E[C:pt:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:up=\E[A:\ :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:\ :k7=\E[S:k8=\E[T:k9=\E[U:k0=\E[V:\ :kb=^h:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:eo:sf=\E[S:sr=\E[T:\ :mb=\E[5m:md=\E[1m:me=\E[m:\ :GS=\E[12m:GE=\E[10m:GV=\63:GH=D:\ :GC=E:GL=\64:GR=C:RT=^J:G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\ :GU=A:GD=B:\ :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\ :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\ :HM=\E[H:EN=\E[F:PU=\E[I:PD=\E[G:\ :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072: trs80|trs-80|radio shack trs-80 Model I:\ :do=^J:am:le=^H:bs:co#64:li#16: d800|Direct 800/A:\ :do=^J:co#80:li#24:am:cl=\E[1;1H\E[2J:le=^H:bs:cm=\E[%i%d;%dH:\ :nd=\E[C:up=\E[A:ce=\E[K:cd=\E[J:\ :so=\E[7m:se=\E[0m:us=\E[4m:ue=\E[0m:xs:vs=\E[>12l:ve=\E[>12h:\ :sf=\ED:sr=\EM:da:db:as=\E[1m:ae=\E[0m:ms:pt:\ :kl=\E[D:kr=\E[C:ku=\E[A:kd=\E[B:\ :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\ :k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW: vc404|volker-craig 404:\ :do=^J:am:le=^H:bs:cd=40^W:ce=20^V:cl=40^X:cm=^P%+ %+ :co#80:\ :ho=40^Y:kd=^J:kl=^H:kr=^U:ku=^Z:li#24:ma=^Z^P^U :nd=^U:up=^Z: vc404-s|volker-craig 404 w/standout mode:\ :do=^J:se=^O:so=^N:tc=vc404: vc404-na|volker-craig 404 w/no arrow keys:\ :ma@:kr@:ku@:tc=vc404: vc404-s-na|volker-craig 404 w/standout mode and no arrow keys:\ :se=^O:so=^N:tc=vc404-na: # From: wolfgang@cs.sfu.ca vc414|vc414h|Volker-Craig 414H in sane escape mode.:\ :am:ic=\E\072:dc=\E\063:so=\E\031:se=\E\037:\ :kl=^H:kr=^P:ku=\E^L:kd=\E^K:kh=\E^R:\ :k0=\EA:k1=\EB:k2=\EC:k3=\ED:k4=\EE:k5=\EF:k6=\EG:k7=\EH:\ :l0=PF1:l1=PF2:l2=PF3:l3=PF4:l4=PF5:l5=PF6:l6=PF7:l7=PF8:\ :al=40\E^Z:bs:cd=\E^X:ce=10\E^O:cl=40\E^\:co#80:\ :do=\E^K:li#24:nd=^P:up=\E^L: vc414h-noxon:\ :dl=40\E^S:cm=40\E^Q%r%.%.:ho=\E^R:\ :tc=vc414h: # missing in vc303a and vc303 descriptions: they scroll 2 lines at a time vc303a|vc403a|volker-craig 303a:\ :do=^J:am:le=^H:bs:ce=20^V:cl=40^X:co#80:ho=40^Y:kd=^J:kl=^H::kr=^U:\ :ku=^Z:li#24:ll=^P^@W:nd=^U:ns:up=^Z: vc303|vc103|vc203|volker-craig 303:\ :do=^J:am:le=^H:bs:cl=40^L:co#80:ho=40^K:kd=^J:kl=^H:\ :kr=^I:ku=^N:li#24:ll=^O\200W:nd=^I:ns:up=^N: # Test version for Falco ts-1. See "arpavax.hickman@ucb" for info falco|ts1|ts-1|falco ts-1:is=\Eu\E3:\ :do=^J:al=\EE:am:bs:ce=\ET\EG0^h:cm=\E=%+ %+ :cl=\E*:cd=\EY:co#80:\ :dc=\EW:dl=\ER:ei=\Er:ho=^^:im=\Eq:k0=^A0\r:kd=^J:kl=^H:pt:\ :kr=^L:ku=^K:li#24:nd=^L:se=\Eg0:so=\Eg1:up=^K:us=\Eg1:ue=\Eg0: falco-p|falco ts-1sp|falco with paging option:\ :is=\EZ\E3\E_c:\ :al=\EE:am:bs:ce=\ET\EG0^H\Eg0:cl=\E*:cd=\EY:co#80:dc=\EW:\ :dl=\ER:kd=\E[B:kl=\E[D:ei=\Er:im=\Eq:pt:db:\ :kr=\E[C:ku=\E[A:li#24:nd=\E[C:se=\Eg0:so=\Eg4:\ :up=\E[A:us=\Eg1:ti=\E_d:te=\E_b:\ :ue=\Eg0:do=\E[B:cm=\E=%+ %+ :ms:kh=\E[H:da:mi:bt=\EI: # NOTE: bg can scroll, it just would rather not (ns) - rwells 3/13/81. # (Shouldn't you take out ns and put in an nl instead? - mrh) bitgraph|BBN BitGraph terminal:\ :do=^J:al=2*\E[L:bs:cd=150\E[J:ce=2\E[K:\ :cl=150\E[H\E[J:cm=%i\E[%d;%dH:co#85:\ :dl=2*\E[M:k0=\EP:k1=\EQ:k2=\ER:k3=\ES:kd=\EB:ke=\E>:kl=\ED:kr=\EC:\ :ks=\E=:ku=\EA:li#64:nd=\E[C:ns:pt:se=\E[0m:so=\E[7m:up=\E[A:sf=280\n: d132|datagraphix|datagraphix 132a:\ :do=^J:co#80:li#30:cl=^l:ho=\Et:da:db:sf=\Ev:sr=\Ew:\ :up=\Ek:nd=\El:vs=\ex:ve=\Em\En:\ :al=\E3:ic=\E5:dc=\E6:in:ic=\E5: soroc|Soroc 120:\ :do=^J:cd=\EY:ce=\ET:cl=2\E*:ma=^K^P^R^L^L :\ :kl=^H:ku=^K:kr=^L:kd=^J:tc=adm3a: # From: ma179abu%sdcc3@sdcsvax.ucsd.edu (Bill Houle) iq140|soroc140|Soroc IQ140 with inverse & dim:\ :ic=\EQ:dc=\EW:al=\EE:dl=\ER:ce=\ET:cd=\EY:cl=\E+:cm=\E=%+ %+ :\ :up=^K:do=^J:le=^H:nd=^L:ho=^^:ta=\Ei:ma=^Kk^Jj^Hh^Ll^^h:am:bs:\ :co#80:li#24:kb=^H:kh=^^:ku=^K:kd=^J:kl=^H:kr=^L:\ :k0=^AI:k1=^A@:k2=^AA:k3=^AB:k4=^AC:k5=^AD:k6=^AE:k7=^AF:\ :k8=^AG:k9=^AH:se=\E^?:so=\E^?:us=\E):ue=\E(: # tec is untested, and taken from CB/Unix virtual terminal driver. # Upper case terminal, uses lower case for control sequences!!! # The driver shows the C ~ operator used on CM coordinates. # Without the terminal in front of me, I can't figure out what's # going on, so I've dotted out the cm. Note there is no ~ in tgoto. tec400|tec scope:\ :do=^J:.cm=l%r%.%.:up=x:do=h:nd=g:le=w:ho=i:so={:se=|:sg#1:\ :cl=f:al=e:dl=u:ic=d:dc=t:ce=c:cd=s: # From ucbvax!geoff Mon Sep 21 21:15:45 1981 # This entry has been tested. tec500|tec 500:\ :do=^J:am:le=^H:bs:cm=\E=%+ %+ :cl=20^Z:\ :co#80:ho=^^:li#24:nd=^L:up=^K:so=^]:se=^\: # I would appreciate more information on this terminal, such as the # manufacturer and the model number. There are too many tecs in here. tec:\ :li#24:co#80:cl=^l:up=^k:nd=\037:\ :am:le=^H:bs:ho=\036:ma=^K^P^_ :do=^J: teletec|Teletec Datascreen:\ :do=^J:am:le=^H:bs:co#80:cl=^l:ho=^^:li#24:nd=^_:up=^k: # From cbosg!ucbvax!SRC:george Fri Sep 11 22:38:32 1981 ampex|d80|dialogue|dialogue80|ampex dialogue 80:\ :ct=\E3:st=\E1:do=^J:is=\EA:us=\El:ue=\Em:\ :am:le=^H:bs:pt:cl=75\E*:cm=\E=%+ %+ :\ :al=5*\EE:bt=\EI:ic=\EQ:dl=5*\ER:dc=\EW:\ :ce=\Et:cd=\Ey:so=\Ej:se=\Ek:li#24:co#80:nd=^L:up=^K: # From: atd!dsd!rcb@ucbvax.berkeley.edu (Richard Bascove) a210|210|ampex210|ampex a210:\ :am:bs:cl=\E*:cm=\E=%+ %+ :al=\EE:bt=\EI:ic=\EQ:\ :dl=\ER:dc=\EW:ho=^^:xn:ce=\Et:cd=\Ey:li#24:co#80:nd=^L:up=^K:\ :pt:if=/usr/share/tabset/std:is=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En:\ :kl=^H:kr=^L:kd=^V:ku=^K:kh=^^:hs:ts=\E.0\Eg\E}\Ef:fs=\E.2:\ :kn#10:k0=^A0^M:k1=^A1^M:k2=^A2^M:k3=^A3^M:k4=^A4^M:k5=^A5^M:\ :vb=\EU\EX\EU\EX\EU\EX\EU\EX:k6=^A6^M:k7=^A7^M:k8=^A8^M:k9=^A9^M:\ :so=\EG4:se=\EG0:us=\EG8:ue=\EG0:ug#1:sg#1: digilog|333|digilog 333:\ :le=^H:bs:co#80:ce=\030:ho=^n:li#16:nd=^i:up=^o:do=^J: ep48|ep4080|execuport 4080:\ :am:le=^H:bs:os:co#80:hu=\036:hd=\034:do=^J: ep40|ep4000|execuport 4000:\ :am:le=^H:bs:os:co#136:hu=\036:hd=\034:do=^J: terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200:\ :co#120:hc:os:do=^J: # AED 512 # by giles Billingsley (gilesb%ucbcad@berkeley) # rewritten 8/82 for newer AEDs and better operation of vi,etc. aed|AED|aed512|AED512|aed 512:\ :db:co#64:li#40:cl=^L:bs:nd=\Ei0800\001:\ :up=^K:ve=\E\E\E\E\E\E\E\072004=000200??\001:\ :vb=\EK0001??0000K0001202080\001:\ :us=\E\07200>8000140\001:ue=\E\07200>8000100\001:\ :uc=\Ei???>l0800i0102\001:\ :ti=\E\07200>8000140{<04<0??00001010L<0\072004=0002??00\001:\ :te=\E\07200>8000100{804<0??00001000L80\072004=000200??\001:\ :so=\E\07200>8000140[80C00\001:se=\E[00C80\001:\ :is=\EG1MMM.`40K0001202080K8001????00^L\EC80L80{80^L\EK010100????K0601??0000c818100\EG1HHH.\07210000019A27FD006A280D002A200A52429FE8524861086118612861360N031B4C3F3F1800N041B0C1B4C38301800N001B3B313030301800N011B3B313030341800N021B3B313030381800N050800N061B3B313335301800\07211000015A58E8D5011A58F8D5111A5908D5211A5918D531160\07212000015AD5011858EAD5111858FAD52118590AD5311859160\0721300004B2071C5858E0A18658E0A0A858EA900858F268FA5278590A50A29018591A9F51865908590A90165918591A59038E58E8590A591E58F290185912071C5180A0A0A0901858EA900858F268F60\0721350000BA9472031DEA9502031DE60\E\E\E\EG1MMM.^A: aed-ucb|AED-UCB|aed512-ucb|AED512-UCB|aed 512 w/o UCB ROM:\ :db:co#64:li#40:cl=^L:bs:nd=\Ei0800\001:up=^K:\ :ve=\E\E\E\E\E\E\E\072004=000200??\001:\ :vb=\EK0001??0000K0001202080\001:\ :us=\E\07200>8000140\001:ue=\E\07200>8000100\001:\ :uc=\Ei???>l0800i0102\001:\ :ti=\E\07200>8000140{<04<0??00001010L<0\072004=0002??00\001:\ :te=\E\07200>8000100{804<0??00001000L80\072004=000200??\001:\ :so=\E\07200>8000140[80C00\001:se=\E[00C80\001:\ :if=/usr/share/tabset/aed512: # CIT 80 - vt 100 emulator, the termcap has been modified to remove # the delay times and do an auto tab set rather than the indirect # file used in vt100. cit80|cit 80|Citoh 80:\ :co#80:li#24:am:cl=\E[;H\EJ:bs:cm=\E[%i%2;%2H:nd=\E[C:up=\E[A:\ :ce=\EK:cd=\EJ:is=\E>:ks=\E[?1h\E=:ke=\E[?1l\E>:\ :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD: # From mtxinu!sybase!tim (Tim Wood) Fri Sep 27 09:39:12 PDT 1985 # Alternate cit101 (vt100 em) file used in vt100. # Uses 23 lines so can run citsys (like h19sys). # 24 May 85 (mtxinu!sybase!tim) - removed 2-byte limit on 'cm' cursor # coordinates otherwise there is garbling on long lines in # co#132 mode; also added support for multipage memory on the Itoh. citc|Citoh fast vt100:\ :co#80:li#23:am:cl=\E[;H\E[2J:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\ :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g:\ :ks=\E[?1h\E=:ke=\E[?1l\E>:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\ :vb=\E[?5h\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\E[?5l:\ :dc=\E[P:al=\E[L:dl=\E[M:ic=\E[@:vs=\E7\E[U:ve=\E[V\E8:xn: cita:\ :co#80:li#23:am:cl=\E[;H\E[2J:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\ :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g:\ :ks=\E[?1h\E=:ke=\E[?1l\E>:\ :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:vs=\E7\E[U:ve=\E[V\E8:\ :vb=\E[?5h\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\E[?5l:xn: cit101:li#24:vb@:tc=citc: cit101b:li#24:tc=citc: cit500|cit-500|cit 500:\ :co#80:li#40:cl=50\E[;H\E[2J:bs:am:cm=5\E[%i%2;%2H:nd=2\E[C:up=2\E[A:\ :ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\ :is=\E(B\E)0\E>\E[?3l\E[?7h\E[?8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\ :if=/usr/share/tabset/vt100:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\ :kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=5\EM:xn:\ :do=\ED:al=\E[L:dc=\E[P:dl=\E[M: # Note several versions of blit. I don't know exactly what is what # so please send me any corrections to this -- mrh # From research!ikeya!rob Tue Aug 31 23:41 EDT 1982 blit|jerq|blit-pb|blit running teletype rom:\ :do=^J:IC=\Ef%+ :DC=\Ee%+ :AL=\EF%+ :DL=\EE%+ :\ :mi:dl=\EE!:ic=\Ef!:dc=\Ee!:al=\EF!:\ :ce=\EK:cl=^L:cm=\EY%r%+ %+ :co#87:li#72:nd=\EC:\ :up=\EA:ku=\EA:kd=\EB:kr=\EC:kl=\ED:kb=^H:am:ul:pt:eo: cbblit|columbus enhanced tty blit:\ :vb=\E^G:so=\EU!:se=\EV!:us=\EU":ue=\EV":cd=\EJ:\ :im=\EQ:ei=\ER:ic@:co#88:sf=\EG:tc=blit: oblit|ojerq|first version of blit rom:\ :do=^J:AL=\Ef%+ :DL=\Ee%+ :mi:dl=\EE:ei=\ER:im=\EQ:dc=\EO:da:db:\ :al=\EF:cd=\EJ:ce=\EK:cl=^L:cm=\EY%r%+ %+ :co#88:li#72:nd=\EC:\ :up=\EA:vb=\E^G:am:ul:pt:eo: daleblit|daleterm|blit running Dale DeJager's ROM:\ :ku=\EA:kd=\EB:kr=\EC:kl=\ED:so=\EU!:se=\EV!:us=\EU":ue=\EV":\ :da@:db@:tc=oblit: datapoint|dp3|dp3360|datapoint 3360:\ :do=^J:am:le=^H:bs:cd=^_:ce=^^:cl=^]^_:co#82:ho=^]:li#25:nd=^x:up=^z: # From: cbosgd!utcs!romwa@ucbvax.berkeley.edu (mark dornfeld) # This termcap is for the LANPAR Technologies VISION 3220 # terminal. The function key definitions k0-k5 represent the # edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN, # NEXT SCREEN. The key definitions k6-k9 represent the PF1 to # PF4 keys. v3220|LANPAR Vision II model 3220/3221/3222:\ :co#80:li#24:cl=\E[H\E[J:bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\ :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\ :is=\E>\E[?3l\E[?7h\E[?8h\E[p:ks=\E=:ke=\E>:\ :kn#10:k0=\E[1~:k1=\E[2~:k2=\E[3~:k3=\E[4~:k4=\E[5~:k5=\E[6~:\ :k6=\E[OP:k7=\E[OQ:k8=\E[OR:k9=\E[OS:\ :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:\ :kh=\E[H:pt:sr=\EM:xn:\ :dl=\E[M:dc=\E[P:ei=\E[4l:al=\E[L:im=\E[4h:mi: # From ucbvax!faletti (Faletti@Berkeley) # FREEDOM 100 by Liberty Electronics USA, SF. # :kh=^^: left out because it precludes using change-to-alternate-file in vi. # Basic Freedom 100 entry, works with VI at 1200 baud. f100|freedom100|freedom|freedom 100 no padding:\ :am:bs:bw:mi:ms:pt:co#80:kn#20:li#24:\ :ct=\E3:st=\E1:is=\Eg\Ef\r\Ed:kr=^L:\ :cl=^Z:do=^J:ho=^^:kb=^H:kl=^H:\:kd=^V:\ :ko=dc,al,dl,cl,bt,ce,cd:ku=^K:le=^H:nd=^L:\ :ch=\E]%+ :cm=\E=%+ %+ :cv=\E[%+ :sr=\Ej:up=^K:\ :al=\EE:bt=\EI:cd=\EY:ce=\ET:dc=\EW:dl=\ER:ei=\Er:im=\Eq:\ :se=\EG0:so=\EG4:ue=\EG0:us=\EG8:as=\E$:ae=\E%:\ :vb=\Eb\200\200\Ed:\ :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\ :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k0=^AI\r:\ :hs:ts=\Eg\Ef:fs=\r:ds=\Eg\Ef\r: f100-rv|freedom100-rv|freedom-rv|freedom100 with reverse video at 1200:\ :is=\Eg\Ef\r\Eb:vb=\Ed\200\200\Eb:tc=freedom100: # VI at 9600 baud (or EMACS at 1200 -- but may be more than is needed for emacs) f100-v|freedom100-v|freedom-v|freedom100 for 9600 vi or 1200 emacs:\ :al=6.5*\EE:dl=11.5*\ER:\ :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\ :tc=freedom100: f100-v-rv|freedom100-v-rv|freedom-v-rv|freedom100 rev. vid. for 9600 vi:\ :al=6.5*\EE:dl=11.5*\ER:is=\Eg\Ef\r\Eb:\ :vb=\Ed\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Eb:\ :tc=freedom100: # EMACS at 9600 baud -- this still needs some more work on the padding f100-e|freedom100-e|freedom-e|freedom100 for 9600 emacs:\ :al=8.5*\EE:dl=11.5*\ER:ip=6:\ :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\ :tc=freedom100: f100-e-rv|freedom100-e-rv|freedom-e-rv|freedom100 rev. vid. for emacs 9600:\ :al=8.5*\EE:dl=11.5*\ER:ip=6:is=\Eg\Ef\r\Eb:\ :vb=\Ed\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Eb:\ :tc=freedom100: f110-v|freedom110-v|freedom110 for 9600 vi or 1200 emacs:\ :is=\Eg\Ef\r\Ed\EO:dc=\EO\EW:im=\EO\Eq:\ :al=6.5*\EE:dl=11.5*\ER:\ :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\ :tc=freedom100: # (from kerch@lll-crg) f200|freedom200| Freedom 200 VDT by Liberty Electronics :\ :if=/usr/share/tabset/stdcrt:al=\EE:am:bs:bt=\EI:cd=\EY:\ :ce=\ET:cl=^Z:cm=\E=%+ %+ :co#80:dc=\EW:dl=\ER:do=^V:\ :ds=\Eh:ei=\Er:im=\Eq:is=\Eg\El\E\041\062:\ :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\ :k6=^AE\r:k7=^AE\r:k8=^AF\r:k9=^AG\r:kd=^V:kr=L:\ :ku=^K:li#24:ms:nd=^L:se=\EG0:so=\EG4:sr=\Ej:\ :te=\EJ\E\\2\E|\041\061^L^Y:ti=\E\\1\EK\E|\041\061L^Y:\ :ts=\Ef:ue=\EG0:up=^K:us=\EG8:vb=\Eb\Ed:hs:i2=\E^O\Eg:\ :ts=\Ef:fs=^M:ds=\E^N: dg6053|data general 6053:\ :do=^J:am:le=^H:bs:cm=^P%r%.%.:cl=^L:ho=^H:nd=^S:\ :up=^W:ce=^K:co#80:li#24: # dg450 and dg200 from cornell dg450|dg6134|data general 6134:\ :nd=\030:bs@:tc=dg200: dg200|data general Dasher 200:\ :am:bc=^Y:bs=0:ce=^K:cl=^L:cm=^P%r%+\200%+\200:co#80:do=^Z:\ :ho=^H:li#24:\ :ll=\036FP\017:se=\036E:so=\036D:up=^W:\ :is=\036O\036FQ2\036FB000\036FE\036FA\036FQ2: # Note: lesser Dasher terminals will not work with vi because vi insists upon # having a command to move straight down from any position on the bottom line # and scroll the screen up, or a direct vertical scroll command. The 460 and # above have both, the D210/211, for instance, has neither. We must use ANSI # mode rather than DG mode because standard UNIX tty drivers assume that ^H is # backspace on all terminals. This is not so in DG mode. dg460-ansi|Data General Dasher 460, ANSI-mode:\ :al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=\E[2J:\ :cm=\E[%i%2;%2H:co#80:dc=\E[P:dl=\E[M:do=\E[B:\ :ho=\E[H:ic=\E[@:ue=\E[05:ul:up=\E[A:us=\E[4m:is=\036F@:\ :k0=\E[001z:k1=\E[002z:k2=\E[003z:k3=\E[004z:k4=\E[005z:k5=\E[006z:\ :k6=\E[007z:k7=\E[008z:k8=\E[009z:k9=\E[00\:z:\ :kb=\E[D:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:kn#6:\ :l0=f1:l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l9=f10:\ :le=^H:li#24:mb=\E[5m:me=\E[0m:mh=\E[2m:mr=\E[7m:ms:mu=\EW:\ :nd=\E[C:nl=\ED:pt:se=\E[0m:sf=\E[S:so=\E[7m:sr=\E[T: v603|visual603|603|Visual model 603:\ :hs:ts=\EP2~:fs=\E\\:ds=\EP2;1~\E\\:\ :im=\E[4h:ei=\E[4l:mi:dc=\E[P:al=\E[L:dl=\E[M:\ :cs=\E[%i%d;%dr:sf=\ED:sr=\EM:sb=\EM:\ :ce=\E[K:cl=\E[H\E[J:cd=\E[J:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\ :so=\E[7m:se=\E[27m:us=\E[4m:ue=\E[24m:\ :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\ :is=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r\E[24;1H:\ :rs=\E>\E[?3l\E[?4l\E[?7h\E[?8h:\ :tc=vt100: cdi|cdi1203:\ :am:le=^H:bs:hc:os:co#80:dC#200:do=^J: # ^S is an arrow key! Boy is this guy in for a surprise on v7! sol:\ :do=^J:am:le=^Y:ho=^H:bs:cm=\E^1%.\E^2%.:cl=^K:ho=^N:co#64:li#16:\ :nd=^S:up=^W:kl=^A:kr=^S:ku=^W:kd=^Z:ma=^A^H^S ^W^P^Z^N: xl83|Cybernex XL-83:\ :do=^J:am:le=^H:bs:cd=62^P:ce=3^O:cl=62^L:cm=^W%+ %+ :co#80:ho=^K:\ :kd=^J:kl=^H:ku=^N:li#24:up=^N:nd=^I: omron|Omron 8025AG:\ :do=^J:al=\EL:am:le=^H:bs:cd=\ER:co#80:ce=\EK:cl=\EJ:\ :da:db:dc=\EP:dl=\EM:ho=\EH:li#24:nd=\EC:se=\E4:sf=\ES:\ :so=\Ef:sr=\ET:up=\EA:ve=:vs=\EN: plasma|plasma panel:\ :am:le=^H:bs:cl=^L:co#85:ho=^^:li#45:nd=\030:up=\026:do=^J: pty|pseudo teletype:\ :do=^J:co#80:li#24:am:cl=\EJ:le=^H:bs:cm=\EG%+ %+ :nd=\EC:\ :up=\EA:ce=\EK:cd=\EL:al=\EP:dl=\EN:ic=\EO:\ :so=\Ea$:se=\Eb$:us=\Ea!:ue=\Eb!: remote|virtual remote terminal:\ :co#79:am@:nl@:tc=virtual: swtp|ct82|southwest technical products ct82:\ :do=^J:am:le=^d:bc=^d:\ :al=^\^y:cd=^v:ce=^F:cl=^L:cm=%r^k%.%.:co#82:li#20:\ :dl=^z:nd=^s:up=^a:so=^^^v:se=^^^F:dc=^\^h:ic=^\^x:ho=^p:\ :sf=^n:sr=^o:ll=^c:\ :is=^\^r^^^s^^^d^]^w^i^s^^^]^^^o^]^w^r^i: terak|Terak emulating Datamedia 1520:\ :tc=dm1520: # :is resets scrolling region in case a previous user had used "tset vt100" sun|Sun Microsystems Workstation console:\ :li#34:co#80:cl=^L:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\ :am:bs:mi:ms:pt:km:\ :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:is=\E[1r:rs=\E[1r:\ :kd=\E[B:kl=\E[D:ku=\E[A:kr=\E[C:kh=\E[H:\ :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\ :al=\E[L:dl=\E[M:ic=\E[@:dc=\E[P:\ :AL=\E[%dL:DL=\E[%dM:IC=\E[%d@:DC=\E[%dP: # From john@ucbrenoir Tue Sep 24 13:14:44 1985 sun-s|Sun Microsystems Workstation window with status line:\ :hs:ts=\E]l:fs=\E\\:ds=\E]l\E\\:tc=sun: sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs:\ :hs:ts=\E]l:fs=\E\\:ds=\E]l\E\\:tc=sun-e: sun-48|Sun 48-line window:\ :li#48:co#80:tc=sun: sun-34|Sun 34-line window:\ :li#34:co#80:tc=sun: sun-24|Sun 24-line window:\ :li#24:co#80:tc=sun: sun-17|Sun 17-line window:\ :li#17:co#80:tc=sun: sun-12|Sun 12-line window:\ :li#12:co#80:tc=sun: sun-1|Sun 1-line window for sysline:\ :li#1:co#80:es:hs:ts=\r:fs=\E[K:ds=^L:tc=sun: sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character:\ :ic@:im@:ei@:tc=sun: sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history:\ :te=\E[>4h:ti=\E[>4l:tc=sun: # The terminal mvterm is a full color terminal emulation that seems to be # specific to a terminal program on Sun workstations called SwitchTerm. It # is vt100 compatible with minor changes. # Daniel Rudy mvterm|vv100|mvterm emulator with ANSI colors:\ :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[100m:tc=vt102: # For NeWS's psterm from Eric Messick & Hugh Daniel psterm|psterm-basic|psterm-80x34:\ :am:bs:al=\EA:cd=\EB:ce=\EC:cl=^L:cm=\E%d;%d;:cs=\EE%d;%d;:\ :dc=\EF:dl=\EK:do=\EP:ei=\ENi:el=\ENl:fs=\ENl:\ :ho=\ER:hs:im=\EOi:is=\EN*:km:kd=\E[B:ku=\E[A:kr=\E[C:kl=\E[D:\ :mb=\EOb:md=\EOd:me=\EN*:mr=\EOr:nd=\EV:pt:rc=\034:rs=\EN*:sc=\035:\ :se=\ENo:sf=\EW:sl=\EOl:so=\EOo:sr=\EX:te=\ENt:ti=\EOt:ts=\EOl:\ :ue=\ENu:le=\ET:ll=\EU:ul:up=\EY:us=\EOu:vb=\EZ:co#80:li#34: psterm-96x48:\ :co#96:li#48:tc=psterm-basic: psterm-90x28:\ :co#90:li#28:tc=psterm-basic: psterm-80x24:\ :co#80:li#24:tc=psterm-basic: # This is a faster termcap for psterm. Warning: if you use this termcap, # some control characters you type will do strange things to the screen. psterm-fast:\ :am:bs:al=^A:cd=^B:ce=^C:cl=^L:cm=^D%d;%d;:cs=^E%d;%d;:\ :dc=^F:dl=^K:do=^P:ei=^Ni:el=^Nl:fs=^Nl:\ :ho=^R:hs:im=^Oi:is=^N*:km:kd=\E[B:ku=\E[A:kr=\E[C:kl=\E[D:\ :mb=^Ob:md=^Od:me=^N*:mr=^Or:nd=^V:pt:rc=\034:rs=^N*:sc=\035:\ :se=^No:sf=^W:sl=^Ol:so=^Oo:sr=^X:te=^Nt:ti=^Ot:ts=^Ol:ue=^Nu:\ :le=^T:ll=^U:ul:up=^Y:us=^Ou:vb=^Z:co#80:li#34: apollo:\ :al=\EI:am:bs:cd=\EJ:ce=\EK:ch=\EN%d:cl=^L:cm=\EM%+ %d):\ :cv=\EO+ :dc=\EP:dl=\EL:do=\EB:ei=\ER:im=\EQ:mi:nd=\EC:se=\ET:sf=\EE:\ :so=\ES:sr=\ED:te=\EX:ti=\EW:ue=\EV:up=\EA:us=\EU:co#88:li#53: # Apollo termcaps from Gary Darland, goodmanc@garnet apollo_15P|apollo 15 inch display:\ :dN@:tc=vt132: apollo_19L|apollo 19 inch display:\ :dN@:tc=vt132: apollo_color|apollo color display:\ :dN@:tc=vt132: virtual|VIRTUAL|cb unix virtual terminal:\ :do=^J:co#80:li#24:am:cl=\E\112:le=^H:bs:cm=\E\107%r%.%.:nd=\E\103:\ :up=\E\101:ce=\E\113:cd=\E\114:al=\E\120:dl=\E\116:ic=\E\117:\ :da:db:kl=\E\104:kr=\E\103:ku=\E\101:kd=\E\102:kh=\E\105:\ :so=\E\141\004:se=\E\142\004:us=\E\141\001:ue=\E\142\001: it2|intertube2|intertec data systems intertube 2:\ :do=^J:am:bs:cl=^L:co#80:ho=^A:li#25:up=^Z:ce=\EK:\ :cm=^N%+ %+ :ch=^P%\102%.:cv=^K%.:nd=^F:do=\n:ll=^K^X\r:\ :so=\E0P:se=\E0@: delta|dd5000|delta data 5000:\ :do=^J:am:le=^H:bs:cl=^NR:cm=^O%\068%+9%\068%+9:co#80:li#27:\ :ho=^NQ:nc:nd=^Y:up=^Z:ce=^NU:dc=^NV:ma=^K^J^Z^P^Y :xr: mdl110|cybernex mdl-110:\ :cm=^P%+ %+ :co#80:li#24:am:cl=70^X:le=^H:bs:do=^J:\ :nd=^U:up=^Z:ho=^Y:ce=145^N@^V:cd=145^NA^W:al=65^NA^N^]:\ :dl=40^NA^N^^:ic=3.5^NA^]:dc=3.5^NA^^:\ :so=^NF:se=^NG:ta=43\t:ma=^Z^P:cd=6^N@^V: zen30|z30|zentec 30:\ :do=^J:mi:co#80:li#24:ma=^L ^R^L^K^P:ul:\ :al=1.5*\EE:le=^H:bs:ce=1.0*\ET:cm=\E=%+ %+ :cl=\E*:\ :ho=^^:nd=^L:se=\EG0:so=\EG6:up=^K:im=\Eq:ei=\Er:\ :am:dc=\EW:dl=1.5*\ER:cd=\EY: modgraph|mod|Modgraph terminal emulating vt100, 24x80:\ :xn@:rf@:sr=5\EM\E[K:vs=\E\^9;0s\E\^7;1s:\ :is=\E\^9;0s\E\^7;1s\E[3g\E\^11;9s\E\^11;17s\E\^11;25s\E\^11;33s\E\^11;41s\E\^11;49s\E\^11;57s\E\^11;65s\E\^11;73s\E\^11;81s\E\^11;89s:\ :tc=vt100: # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82) # also, has a meta-key (MT) # from goldberger@su-csli.arpa dmchat|dmchat version of datamedia 2500:\ :al=1*^P\n^X^]^X^]:\ :MT:km:\ :dl=2^P^Z^X^]:\ :tc=dm2500: # originally from Carol Block at ear (cblock@ear); changed O's to 0's and # fixed :is \E from pcuser@garnet.berkeley.edu, 27 Feb 90 mt70|m70|morrow mt70:\ :is=\EG0\E"5:cl=^Z:cm=\E=%+ %+ :do=^J:ic=\EQ:\ :dc=\EW:kl=\034L:kr=\034M:ku=\034J:kd=\034K:\ :so=\EG4:se=\EG0:us=\EG1:ue=\EG0:vs=\E"2:ve=\E"5\E(:\ :tc=adm31: # standard-issue France Telecom minitel terminal (made by Philips) m2-nam|minitel|minitel-2|minitel-2-nam|minitel 2|France Telecom Minitel:\ :li#24:al=\E[L:dl=\E[M:ip=7:dc=\E[P:ei=\E[4l:im=\E[4h:xn:\ :ho=\E[H:cl=\E[H\E[J:ug#0:sg#0:\ :co#80:am@:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\ :as=\E(0:ae=\E(B:sf=^j:sr=\EM:is=\E[1;24r\E[24;1H:\ :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\ :zd=\E[1m:zb=\E[5m:zc=lkmjqxtuwvn:\ :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:\ :kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt: # from keith bostic (bostic@monet) # mod2|Modgraph GX-1000, set to 80x24, keypad not enabled:\ :is=\E<\E\^5;2s\E\^7;1s\E[3g\E\^11;9s\E\^11;17s\E\^11;25s\E\^11;33s\E\^11;41s\E\^11;49s\E\^11;57s\E\^11;65s\E\^11;73s\E\^11;81s\E\^11;89s\E\^12;0s\E\^14;2s\E\^15;9s\E\^25;1s\E\^9;1s\E\^27;1:\ :bs:cd=50\EJ:ce=3\EK:cl=50\EH\EJ:cm=5\EY%+ %+ :co#80:li#24:nd=2\EC:\ :pt:sr=5\EI:up=2\EA:da:db:am: wsiris|iris40|iris emulating a 40 line visual 50 (approximately):\ :am:al=\EL:is=\E7B0\E7F7\E7C2\E7R3:\ :bs:cd=\EJ:ce=\EK:cl=\EH\EJ:ho=\EH:cm=\EY%+ %+ :co#80:li#40:nd=\EC:\ :pt:sr=\EI:up=\EA:ku=\EA:kd=\EB:kr=\EC:kl=\ED:\ :k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:\ :vs=\E;:ve=\E>:cl=\Ev:ho=\EH:dl=\EM:so=\E9P:se=\E0@:\ :HS=\E7F2:HE=\E7F7:\ :us=\E7R2\E9P:ue=\E7R3\E0@:\ :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite: # davis@unidata.ucar.edu iris-ansi|iris-ansi-net|IRIS emulating ANSI terminal:\ :am:co#80:it#8:li#40:bl=^G:md=\E[1m:cl=\E[H\E[2J:\ :ve=\E[9/y\E[12/y\E[=6l:cr=\r:LE=\E[%dD:\ :le=\E[D:DO=\E[%dB:do=\n:RI=\E[%dC:\ :nd=\E[C:cm=\E[%i%d;%dH:UP=\E[%dA:\ :up=\E[A:vs=\E[10/y\E[=1h\E[=2l\E[=6h:\ :DL=\E[%dM:dl=\E[M:cd=\E[J:ce=\E[K:cb=\E[1K:\ :ho=\E[H:ta=\t:st=\EH:AL=\E[%dL:al=\E[L:\ :sf=\ED:is=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8:\ :*4=\E[P:*7=\E[147q:#2=\E[143q:#4=\E[158q:\ :%f=\E[210q:%i=\E[167q:!2=\E[218q:kb=\b:\ :kB=\E[Z:kl=\E[D:kd=\E[B:kr=\E[C:\ :ku=\E[A:kD=\177:@7=\E[146q:@8=\r:\ :k1=\E[001q:k;=\EOQ:F1=\EOR:F2=\EOS:\ :k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\ :k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\EOP:\ :kh=\E[H:kI=\E[139q:kN=\E[154q:kP=\E[150q:\ :%9=\E[209q:kM=\E[146q:&7=\E[217q:nw=\EE:\ :pk=\EP101;%d.y%s\E\\:rc=\E8:mr=\E[7m:\ :sr=\EM:se=\E[m:ue=\E[m:sc=\E7:me=\E[m:\ :so=\E[1;7m:us=\E[4m:ct=\E[3g: # # -------------------------------- # # N: ANN ARBOR # # Needs function keys added. # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs. # Highly modified 6/22 by Mike O'Brien. # split out into several for the various screen sizes by dave-yost@rand # Modifications made 3/82 by Mark Horton # Modified by Tom Quarles at UCB for greater efficiency and more diversity # status line moved to top of screen, vb removed 5/82 # # assumes the following setup: # A menu: 0000 1010 0001 0000 # B menu: 9600 0100 1000 0000 0000 1000 0000 17 19 # C menu: 56 66 0 0 9600 0110 1100 # D menu: 0110 1001 1 0 # # Briefly, the settings are for the following modes: # (values are for bit set/clear with * indicating our preference # and the value used to test these termcaps) # Note that many of these settings are irrelevant to the termcap # and are just set to the default mode of the terminal as shipped # by the factory. # # A menu: 0000 1010 0001 0000 # Block/underline cursor* # blinking/nonblinking cursor* # key click/no key click* # bell/no bell at column 72* # # key pad is cursor control*/key pad is numeric # return and line feed/return for key * # repeat after .5 sec*/no repeat # repeat at 25/15 chars per sec. * # # hold data until pause pressed/process data unless pause pressed* # slow scroll/no slow scroll* # Hold in area/don't hold in area* # functions keys have default*/function keys disabled on powerup # # show/don't show position of cursor during page transmit* # unused # unused # unused # # B menu: 9600 0100 1000 0000 0000 1000 0000 17 19 # Baud rate (9600*) # # 2 bits of parity - 00=odd,01=even*,10=space,11=mark # 1 stop bit*/2 stop bits # parity error detection off*/on # # keyboard local/on line* # half/full duplex* # disable/do not disable keyboard after data transmission* # # transmit entire page/stop transmission at cursor* # transfer/do not transfer protected characters* # transmit all characters/transmit only selected characters* # transmit all selected areas/transmit only 1 selected area* # # transmit/do not transmit line separators to host* # transmit/do not transmit page tab stops tabs to host* # transmit/do not transmit column tab stop tabs to host* # transmit/do not transmit graphics control (underline,inverse..)* # # enable*/disable auto XON/XOFF control # require/do not require receipt of a DC1 from host after each LF* # pause key acts as a meta key/pause key is pause* # unused # # unused # unused # unused # unused # # XON character (17*) # XOFF character (19*) # # C menu: 56 66 0 0 9600 0110 1100 # number of lines to print data on (printer) (56*) # # number of lines on a sheet of paper (printer) (66*) # # left margin (printer) (0*) # # number of pad chars on new line to printer (0*) # # printer baud rate (9600*) # # printer parity: 00=odd,01=even*,10=space,11=mark # printer stop bits: 2*/1 # print/do not print guarded areas* # # new line is: 01=LF,10=CR,11=CRLF* # unused # unused # # D menu: 0110 1001 1 0 # LF is newline/LF is down one line, same column* # wrap to preceding line if move left from col 1*/don't wrap # wrap to next line if move right from col 80*/don't wrap # backspace is/is not destructive* # # display*/ignore DEL character # display will not/will scroll* # page/column tab stops* # erase everything*/erase unprotected only # # editing extent: 0=display,1=line*,2=field,3=area # # unused # aaa-unk|ann arbor ambassador (internal - don't use this directly):\ :do=^J:al=3\E[L:am:le=^H:bs:\ :cd=\E[J:ce=5\E[K:cl=156\E[H\E[J:cm=\E[%i%d;%dH:co#80:\ :dc=4\E[P:dl=3\E[M:ho=\E[H:ic=4\E[@:\ :md=\E[1m:mr=\E[7m:mb=\E[5m:mk=\E[8m:me=\E[m:\ :ku=\EM:kd=\ED:kl=\E[D:kr=\E[C:kh=\E[H:ko=cl,dc,dl,ce,cd:\ :ks=\EP`?z~[H~[[J`>z~[[J`8xz~[M`4xz~[[D`6xz~[[C`2xz~[D\E\\:\ :ke=\EP`?y~[H~[[J`>y~[[2J`8xy~[M`4xy~[[D`6xy~[[C`2xy~[D\E\\:\ :ch=\E[%i%d`:pt:bw:bt=\E[Z:\ :mi:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:up=\EM: aaa-18|ann arbor ambassador/18 lines:\ :ti=\E[2J\E[18;0;0;18p:te=\E[60;0;0;18p\E[18;1H\E[J:\ :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;18p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :li#18:tc=aaa-unk: aaa-20|ann arbor ambassador/20 lines:\ :ti=\E[2J\E[20;0;0;20p:te=\E[60;0;0;20p\E[20;1H\E[J:\ :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;20p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :li#20:tc=aaa-unk: aaa-22|ann arbor ambassador/22 lines:\ :ti=\E[2J\E[22;0;0;22p:te=\E[60;0;0;22p\E[22;1H\E[J:\ :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;22p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :li#22:tc=aaa-unk: aaa-24|ann arbor ambassador/24 lines:\ :ti=\E[2J\E[24;0;0;24p:te=\E[60;0;0;24p\E[24;1H\E[J:\ :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;24p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :li#24:tc=aaa-unk: aaa-26|ann arbor ambassador/26 lines:\ :ti=\E[2J\E[26;0;0;26p:te=\E[60;0;0;26p\E[26;1H\E[J:\ :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;26p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :li#26:tc=aaa-unk: aaa-28|ann arbor ambassador/28 lines:\ :ti=\E[2J\E[28;0;0;28p:te=\E[60;0;0;28p\E[28;1H\E[J:\ :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;28p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :li#28:tc=aaa-unk: aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines:\ :ti=\E[2J\E[30;0;0;30p:te=\E[60;0;0;30p\E[30;1H\E[J:\ :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;30p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :li#30:tc=aaa-unk: aaa-36|ann arbor ambassador/36 lines:\ :ti=\E[2J\E[36;0;0;36p:te=\E[60;0;0;36p\E[36;1H\E[J:\ :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;36p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :li#36:tc=aaa-unk: aaa-40|ann arbor ambassador/40 lines:\ :ti=\E[2J\E[40;0;0;40p:te=\E[60;0;0;40p\E[40;1H\E[J:\ :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;40p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :li#40:tc=aaa-unk: aaa-48|ann arbor ambassador/48 lines:\ :ti=\E[2J\E[48;0;0;48p:te=\E[60;0;0;48p\E[48;1H\E[J:\ :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;48p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :li#48:tc=aaa-unk: aaa-60|ann arbor ambassador/60 lines:\ :ti=\E[2J\E[60;0;0;60p:te=\E[60;0;0;60p\E[60;1H\E[J:\ :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;60p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :li#60:tc=aaa-unk: aaa-unk-s|ann arbor ambassador unknown with/status:\ :es:hs:i2=\E7\E[>51h\E[H\E[2K\E[>51l\E8:\ :ts=\E7\E[>51h\E[H\E[2K\E[%i%d`:fs=\E[>51l\E8:\ :ds=\E7\E[>51h\E[H\E[2K\E[>51l\E8:\ :tc=aaa-unk: aaa-18-s|ann arbor ambassador/18 lines + status line:\ :ti=\E[2J\E[18;1;0;18p:\ :te=\E[60;1;0;18p\E[17;1H\E[J:\ :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;18p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :li#17:tc=aaa-unk-s: aaa-20-s|ann arbor ambassador/20 lines + status line:\ :ti=\E[2J\E[20;1;0;20p:\ :te=\E[60;1;0;20p\E[19;1H\E[J:\ :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;20p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :li#19:tc=aaa-unk-s: aaa-22-s|ann arbor ambassador/22 lines + status line:\ :ti=\E[2J\E[22;1;0;22p:\ :te=\E[60;1;0;22p\E[21;1H\E[J:\ :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;22p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :li#21:tc=aaa-unk-s: aaa-24-s|ann arbor ambassador/24 lines + status line:\ :ti=\E[2J\E[24;1;0;24p:\ :te=\E[60;1;0;24p\E[23;1H\E[J:\ :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;24p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :li#23:tc=aaa-unk-s: aaa-26-s|ann arbor ambassador/26 lines + status line:\ :ti=\E[2J\E[26;1;0;26p:\ :te=\E[60;1;0;26p\E[25;1H\E[J:\ :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;26p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :li#25:tc=aaa-unk-s: aaa-28-s|ann arbor ambassador/28 lines + status line:\ :ti=\E[2J\E[28;1;0;28p:\ :te=\E[60;1;0;28p\E[27;1H\E[J:\ :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;28p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :li#27:tc=aaa-unk-s: aaa-30-s|ann arbor ambassador/30 lines + status line:\ :ti=\E[2J\E[30;1;0;30p:\ :te=\E[60;1;0;30p\E[29;1H\E[J:\ :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;30p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :li#29:tc=aaa-unk-s: aaa-36-s|ann arbor ambassador/36 lines + status line:\ :ti=\E[2J\E[36;1;0;36p:\ :te=\E[60;1;0;36p\E[35;1H\E[J:\ :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;36p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :li#35:tc=aaa-unk-s: aaa-40-s|ann arbor ambassador/40 lines + status line:\ :ti=\E[2J\E[40;1;0;40p:\ :te=\E[60;1;0;40p\E[39;1H\E[J:\ :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;40p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :li#39:tc=aaa-unk-s: aaa-48-s|ann arbor ambassador/48 lines+sl:\ :ti=\E[2J\E[48;1;0;48p:te=\E[60;1;0;48p\E[47;1H\E[J:\ :is=\EP`+x~M\E\\\E[m\EP`?y~[[2J~[[H\E7\E[60;1;0;48p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :li#47:tc=aaa-unk-s: aaa-60-s|ann arbor ambassador/60 lines + status line:\ :ti=\E[2J\E[60;1;0;60p:te=\E[60;1;0;60p\E[59;1H\E[J:\ :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;60p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :li#59:tc=aaa-unk-s: aaa-18-rv|ambassador/18 lines+rv:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;18p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :tc=aaa-18: aaa-20-rv|ambassador/20 lines+rv:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;20p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :tc=aaa-20: aaa-22-rv|ambassador/22 lines+rv:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;22p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :tc=aaa-22: aaa-24-rv|ambassador/24 lines+rv:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;24p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :tc=aaa-24: aaa-26-rv|ambassador/26 lines+rv:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;26p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :tc=aaa-26: aaa-28-rv|ambassador/28 lines+rv:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;28p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :tc=aaa-28: aaa-30-rv|ann arbor ambassador/30 lines in reverse video:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;30p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :tc=aaa-30: aaa-36-rv|ann arbor ambassador/36 lines in reverse video:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;36p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :tc=aaa-36: aaa-40-rv|ann arbor ambassador/40 lines in reverse video:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;40p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :tc=aaa-40: aaa-48-rv|ann arbor ambassador/48 lines in reverse video:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;48p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :tc=aaa-48: aaa-60-rv|ann arbor ambassador/60 lines in reverse video:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;60p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :tc=aaa-60: aaa-18-rv-s|aaa-18-s-rv|ambassador/18 lines+sl+rv:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :ti=\E[2J\E[18;1;0;18p:te=\E[60;1;0;18p\E[17;1H\E[J:li#17:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;18p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :tc=aaa-unk-s: aaa-20-rv-s|aaa-20-s-rv|ambassador/20 lines+sl+rv:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :ti=\E[2J\E[20;1;0;20p:te=\E[60;1;0;20p\E[19;1H\E[J:li#19:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;20p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :tc=aaa-unk-s: aaa-22-rv-s|aaa-22-s-rv|ambassador/22 lines+sl+rv:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :ti=\E[2J\E[22;1;0;22p:te=\E[60;1;0;22p\E[21;1H\E[J:li#21:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;22p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :tc=aaa-unk-s: aaa-24-rv-s|aaa-24-s-rv|ambassador/24 lines+sl+rv:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :ti=\E[2J\E[24;1;0;24p:te=\E[60;1;0;24p\E[23;1H\E[J:li#23:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;24p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :tc=aaa-unk-s: aaa-26-rv-s|aaa-26-s-rv|ambassador/26 lines+sl+rv:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :ti=\E[2J\E[26;1;0;26p:te=\E[60;1;0;26p\E[25;1H\E[J:li#25:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;26p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :tc=aaa-unk-s: aaa-28-rv-s|aaa-28-s-rv|ambassador/28 lines+sl+rv:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :ti=\E[2J\E[28;1;0;28p:te=\E[60;1;0;28p\E[27;1H\E[J:li#27:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;28p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :tc=aaa-unk-s: aaa-rv|aaa-30-rv-s|aaa-30-s-rv|ambassador/30 lines+sl+rv:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :ti=\E[2J\E[30;1;0;30p:te=\E[60;1;0;30p\E[29;1H\E[J:li#29:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;30p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :tc=aaa-unk-s: aaa-36-rv-s|aaa-36-s-rv|ambassador/36 lines+sl+rv:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :ti=\E[2J\E[36;1;0;36p:te=\E[60;1;0;36p\E[35;1H\E[J:li#35:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;36p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :tc=aaa-unk-s: aaa-40-rv-s|aaa-40-s-rv|ambassador/40 lines+sl+rv:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :ti=\E[2J\E[40;1;0;40p:te=\E[60;1;0;40p\E[39;1H\E[J:li#39:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;40p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :tc=aaa-unk-s: aaa-48-rv-s|aaa-48-s-rv|ambassador/48 lines+sl+rv:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :ti=\E[2J\E[48;1;0;48p:te=\E[60;1;0;48p\E[47;1H\E[J:li#47:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;48p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :tc=aaa-unk-s: aaa-60-rv-s|aaa-60-s-rv|ambassador/60 lines+sl+rv:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :ti=\E[2J\E[60;1;0;60p:te=\E[60;1;0;60p\E[59;1H\E[J:li#59:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;60p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :tc=aaa-unk-s: aaa-24-ctxt:\ :ti=\E[30;1H\E[K\E[24;0;0;24p:te=\E[60;1;0;24p\E[60;1H\E[K:tc=aaa-24: aaa-24-rv-ctxt|ambassador/24+rv:\ :ti=\E[30;1H\E[K\E[24;0;0;24p:te=\E[60;1;0;24p\E[60;1H\E[K:tc=aaa-24-rv: aaa-s-ctxt|aaa-30-s-ctxt|hairy aaa:\ :ti=\E[30;1H\E[K\E[30;1;0;30p:te=\E[60;1;0;30p\E[59;1H\E[K:tc=aaa-30-s: aaa-s-rv-ctxt|aaa-30-s-rv-ctxt:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;30p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :ti=\E[30;1H\E[K\E[30;1;0;30p:te=\E[60;1;0;30p\E[59;1H\E[K:\ :li#29:tc=aaa-unk-s: aaa-ctxt|aaa-30-ctxt:\ :ti=\E[30;0;0;30p:te=\E[60;0;0;30p\E[60;1H\E[K:tc=aaa-30: aaa-rv-ctxt|aaa-30-rv-ctxt:\ :ti=\E[30;0;0;30p:te=\E[60;0;0;30p\E[60;1H\E[K:\ :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\ :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\ :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;30p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\ :li#30:tc=aaa-unk: aaa-db|ann arbor ambassador 30/destructive backspace:\ :ti=\E[H\E[J\E[30;0;0;30p:te=\E7\E[60;0;0;30p\E8:li#30:\ :is=\E[60;0;0;30p\E[H\E[J\E[1Q\E[m\E[20l\E[>30h:le=\E[D:bc=\E[D:bs@:\ :tc=aaa-unk: annarbor|4080|ann arbor 4080:\ :do=^J:pt:ct=^\^P^P:st=^]^P1:cm=^O%r%\066%.%>^S^L%+@:\ :co#80:li#40:le=^H:bs:cl=2^L:up=^N:nd=^_:ho=^K:am:\ :kb=^^:kd=^J:ku=^N:kl=^H:kr=^_:kh=^K:ma=^_ ^N^P: # # -------------------------------- # # P: PC entries for use with kermit # # greg small (gts@populi) # # Cannot use :pt:, it does not work (why?). :ho: seems required (why?). [gts] # Caution: 4.3 BSD tset does not pass li#25 to stty rows except during login? # :cl: clears attributes and sets wrap at margin before clearing the screen. ansi.sys|ansisys|PC-DOS 3.1 ANSI.SYS:\ :am:bs:ce=\E[K:cl=\E[m\E[7h\E[2J:cm=\E[%i%d;%dH:co#80:\ :ku=^K:kd=^J:kl=^H:kr=^L:kh=^^:ma=^Hh\012j^Kk^Ll^^H:\ :ho=\E[H:li#25:nd=\E[C:up=\E[A:\ :ms:md=\E[1m:me=\E[m:mr=\E[7m:se=\E[m:so=\E[1m:ue=\E[m:us=\E[4m:\ :is=U1 PC-DOS 3.1 ANSI.SYS 9-23-86\n\E[m\E[7h: # # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS. # This should only be used when the terminal emulator cannot redefine the keys. # Since redefining keys with ansi.sys also affects PC-DOS programs, the key # definitions must be restored. If the terminal emulator is quit while in vi # or others using :ks:ke:, the keypad keys will not be defined as per PC-DOS. # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix # (^U and ^D are already defined for tn3270). The ESC is safe for vi but it # does "beep". ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab. # Left arrow is always BS, because PC-dos can tolerate this change. # Caution: vi is limited to 256 string bytes, longer crashes or weirds vi. # Consequently the End keypad key could not be set (it is relatively safe and # actually useful because it sends ^@ O, which beeps and opens a line above). ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi:\ :ks=\E[;71;30p\E[;72;11p\E[;73;27;21p\E[;77;12p\E[;80;10p\E[;81;27;4p\E[;82;27;27;105p\E[;83;127p:\ :ke=\E[;71;0;71p\E[;72;0;72p\E[;73;0;73p\E[;77;0;77p\E[;80;0;80p\E[;81;0;81p\E[;82;0;82p\E[;83;0;83p:\ :is=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\ :tc=ansi.sys: # # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer. nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS:\ :al=\E[1L:dl=\E[1M:ic=\E[1@:dc=\E[1P:\ :is=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n:\ :tc=ansi.sys: # # See U2 ansi.sysk and U3 nansi.sys above. nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi:\ :al=\E[1L:dl=\E[1M:ic=\E[1@:dc=\E[1P:\ :is=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\ :tc=ansi.sysk: # Hellmuth Michaelis # pcvt vt220 terminal emulator console (pc keyboard & monitor) # termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and # 50 lines entries # 80 columns #--------------------------------------------------------------------------- pcvt25|dec vt220 with 25 lines:\ :li#25:\ :co#80:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;25r\E[25;1H:\ :tc=pcvtXX: pcvt28|dec vt220 with 28 lines:\ :li#28:\ :co#80:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;28r\E[28;1H:\ :tc=pcvtXX: pcvt35|dec vt220 with 35 lines:\ :li#35:\ :co#80:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;35r\E[35;1H:\ :tc=pcvtXX: pcvt40|dec vt220 with 40 lines:\ :li#40:\ :co#80:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;40r\E[40;1H:\ :tc=pcvtXX: pcvt43|dec vt220 with 43 lines:\ :li#43:\ :co#80:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;43r\E[43;1H:\ :tc=pcvtXX: pcvt50|dec vt220 with 50 lines:\ :li#50:\ :co#80:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;50r\E[50;1H:\ :tc=pcvtXX: # termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and # 50 lines entries # 132 columns pcvt25w|dec vt220 with 25 lines and 132 cols:\ :li#25:\ :co#132:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;25r\E[25;1H:\ :tc=pcvtXX: pcvt28w|dec vt220 with 28 lines and 132 cols:\ :li#28:\ :co#132:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;28r\E[28;1H:\ :tc=pcvtXX: pcvt35w|dec vt220 with 35 lines and 132 cols:\ :li#35:\ :co#132:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;35r\E[35;1H:\ :tc=pcvtXX: pcvt40w|dec vt220 with 40 lines and 132 cols:\ :li#40:\ :co#132:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;40r\E[40;1H:\ :tc=pcvtXX: pcvt43w|dec vt220 with 43 lines and 132 cols:\ :li#43:\ :co#132:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;43r\E[43;1H:\ :tc=pcvtXX: pcvt50w|dec vt220 with 50 lines and 132 cols:\ :li#50:\ :co#132:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;50r\E[50;1H:\ :tc=pcvtXX: # termcap entries for HP-Emulation and 25, 28, 35, 40, 43 and 50 # lines entries. note that the HP-Emulation uses the bottom 3 lines # for status and function key labels, so we get always 3 lines less. # "Xs" is a nonstandard, private flag indicating HP-like fkey labels # 80 column entries pcvt22h|dec vt220 with HP-fkey labels and 22 lines:\ :li#22:\ :co#80:\ :Xs:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;22r\E[22;1H:\ :tc=pcvtXX: pcvt25h|dec vt220 with HP-fkey labels and 25 lines:\ :li#25:\ :co#80:\ :Xs:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;25r\E[25;1H:\ :tc=pcvtXX: pcvt32h|dec vt220 with HP-fkey labels and 32 lines:\ :li#32:\ :co#80:\ :Xs:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;32r\E[32;1H:\ :tc=pcvtXX: pcvt37h|dec vt220 with HP-fkey labels and 37 lines:\ :li#37:\ :co#80:\ :Xs:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;37r\E[37;1H:\ :tc=pcvtXX: pcvt40h|dec vt220 with HP-fkey labels and 40 lines:\ :li#40:\ :co#80:\ :Xs:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;40r\E[40;1H:\ :tc=pcvtXX: pcvt47h|dec vt220 with HP-fkey labels and 47 lines:\ :li#47:\ :co#80:\ :Xs:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;47r\E[47;1H:\ :tc=pcvtXX: # termcap entries for HP-Emulation and 25, 28, 35, 40, 43 and 50 # lines entries. note that the HP-Emulation uses the bottom 3 lines # for status and function key labels, so we get always 3 lines less. # "Xs" is a nonstandard, private flag indicating HP-like fkey labels # 132 column entries pcvt22hw|dec vt220 with HP-fkey labels, 22 lines and 132 cols:\ :li#22:\ :co#132:\ :Xs:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;22r\E[22;1H:\ :tc=pcvtXX: pcvt25hw|dec vt220 with HP-fkey labels, 25 lines and 132 cols:\ :li#25:\ :co#132:\ :Xs:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;25r\E[25;1H:\ :tc=pcvtXX: pcvt32hw|dec vt220 with HP-fkey labels, 32 lines and 132 cols:\ :li#32:\ :co#132:\ :Xs:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;32r\E[32;1H:\ :tc=pcvtXX: pcvt37hw|dec vt220 with HP-fkey labels, 37 lines and 132 cols:\ :li#37:\ :co#132:\ :Xs:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;37r\E[37;1H:\ :tc=pcvtXX: pcvt40hw|dec vt220 with HP-fkey labels, 40 lines and 132 cols:\ :li#40:\ :co#132:\ :Xs:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;40r\E[40;1H:\ :tc=pcvtXX: pcvt47hw|dec vt220 with HP-fkey labels, 47 lines and 132 cols:\ :li#47:\ :co#132:\ :Xs:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;47r\E[47;1H:\ :tc=pcvtXX: # main entry, without "is" and "li" capabilities pcvtXX|pcvt vt200 emulator (DEC VT220):\ :AL=\E[%dL:\ :DC=\E[%dP:\ :DL=\E[%dM:\ :DO=\E[%dB:\ :IC=\E[%d@:\ :LE=\E[%dD:\ :RI=\E[%dC:\ :SF=\E[%dS:\ :SR=\E[%dT:\ :UP=\E[%dA:\ :ac=llmmkkjjuuttvvwwqqxxnnpprr``aa:\ :ae=^O:\ :al=\E[L:\ :am:\ :as=^N:\ :bl=^G:\ :bs:\ :cb=\E[1K:\ :cd=\E[J:\ :ce=\E[K:\ :cl=\E[H\E[J:\ :cm=\E[%i%d;%dH:\ :cr=^M:\ :cs=\E[%i%d;%dr:\ :ct=\E[3g:\ :dc=\E[P:\ :dl=\E[M:\ :do=^J:\ :eA=\E)0:\ :ei=\E[4l:\ :ho=\E[H:\ :im=\E[4h:\ :it#8:\ :k1=\E[17~:\ :k2=\E[18~:\ :k3=\E[19~:\ :k4=\E[20~:\ :k5=\E[21~:\ :k6=\E[23~:\ :k7=\E[24~:\ :k8=\E[25~:\ :kD=\E[3~:\ :kH=\E[4~:\ :kI=\E[2~:\ :kN=\E[6~:\ :kP=\E[5~:\ :kb=\177:\ :kd=\EOB:\ :ke=\E[?1l\E>:\ :kh=\E[1~:\ :kl=\EOD:\ :km:\ :kr=\EOC:\ :ks=\E[?1h\E=:\ :ku=\EOA:\ :le=^H:\ :mb=\E[5m:\ :md=\E[1m:\ :me=\E[m:\ :mi:\ :mr=\E[7m:\ :ms:\ :nd=\E[C:\ :pb#16000000:\ :pt:\ :rc=\E8:\ :rf=/usr/share/tabset/vt100:\ :rs=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\ :sc=\E7:\ :se=\E[27m:\ :sf=\ED:\ :so=\E[7m:\ :sr=\EM:\ :st=\EH:\ :ue=\E[24m:\ :up=\E[A:\ :us=\E[4m:\ :vt#3:\ :xn: # # -------------------------------- # # T: TELETYPE # # We need descriptions for the model 40. There are known to be at least three # flavors of the 40, both seem more like IBM half duplex forms fillers than # ASCII terminals. They have lots of awful braindamage, such as printing # a visible newline indicator after each newline. The 40-1 is a half duplex # terminal and is hopeless. The 40-2 is braindamaged but has hope and is # described here. The 40-4 is a 3270 lookalike and beyond hope. # The terminal has visible bell but I don't know it - it's # null here to prevent it from showing the BL character. # There is an \EG in nl because of a bug in vi (if stty says you have # a "newline" style terminal (-crmode) vi figures all it needs is nl # to get crlf, even if cr is not ^M.) 40|tty40|ds40|ds40/2|ds40-2|dataspeed40|teletype dataspeed 40/2:\ :cl=160\ER:cd=160\EJ:al=160\EL:dl=160\EM:dc=50\EP:ic=50\E\^:\ :nd=\EC:up=\E7:bs:cr=\EG:nl=\EG\EB:do=\EB:co#80:li#24:vb=:\ :so=\E3:se=\E4: 33|tty33|tty|model 33 teletype:\ :do=^J:co#72:hc:os: 43|tty43|model 43 teletype:\ :do=^J:kb=^h:am:le=^H:bs:hc:os:co#132: 37|tty37|model 37 teletype:\ :do=^J:le=^H:bs:hc:hu=\E8:hd=\E9:up=\E7:os: # From jwb Wed Mar 31 13:25:09 1982 remote from ihuxp # This entry appears to avoid the top line - I have no idea why. 4424|tty4424|teletype 4424M:\ :al=\EL:da:db:ip=2:ic=\E\^:dc=\EP:dl=\EM:\ :co#80:li#23:am:cl=\E[2;H\E[J:bs:cm=\E[%i%2;%2H\E[B:\ :nd=\E[C:up=\E[A:pt:mi:sr=\ET:\ :ce=\E[K:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\ :is=\E[m\E[2;24r:\ :kd=\E[B:kl=\E[D:ku=\E[A:kr=\E[C:\ :kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS: # Teletype blit. dmd|5620|ttydmd|tty5620|5620 terminal 88 columns:\ :co#88:li#70:am:bs:pt:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\ :cl=\E[H\E[J:cd=\E[J:ce=\E[K:al=\E[L:dl=\E[M:do=^J:\ :ic=\E[@:dc=\E[P:sr=\E[T:sf=\E[S:le=^H:kb=^H:\ :kl=\E[D:kr=\E[C:ku=\E[A:kd=\E[B:kh=\E[H:ho=\E[H:ll=\E[70;1H:\ :AL=\E[%dL:DL=\E[%dM:IC=\E[%d@:DC=\E[%dP:rc=\E8:rs=\Ec:sc=\E7:\ :so=\E[7m:se=\E[0m:us=\E[4m:ue=\E[0m:ms:me=\E[0m:mr=\E[7m: # # -------------------------------- # # V: VISUAL # # The Visual 200 beeps when you type a character in insert mode. # This is a horribly obnoxious misfeature, and some of the entries # below try to get around the problem by ignoring the feature or # turning it off when inputting a character. They are said not to # work well at 300 baud. (You could always cut the wire to the bell!) # From mike@brl-vgr Mon Nov 14 08:34:29 1983 vi200|vis200|visual 200 with function keys:\ :so=\E4:se=\E3:ms:do=^J:\ :al=\EL:am:le=^H:bs:cd=\Ey:ce=\Ex:cl=\Ev:\ :cm=\EY%+ %+ :co#80:dc=\EO:dl=\EM:ho=\EH:\ :ic=\Ei \b\Ej:\ :is=\E3\Eb\Ej\E\\\El\EG\Ec\Ek:\ :k0=\EP:k1=\EQ:k2=\ER:k3=\E :k4=\E!:k5=\E":k6=\E#:\ :k7=\E$:k8=\E%:k9=\E&:kl=\ED:kr=\EC:ku=\EA:kd=\EB:kh=\EH:\ :li#24:nd=\EC:pt:sr=\EI:up=\EA:vs=\Ed:ve=\Ec: vi200-rv-ic|visual 200 reverse video using insert char:\ :ei=\Ej:im=\Ei:ic@:tc=vi200-rv: # The older Visuals didn't come with function keys. This entry uses # ks and ke so that the keypad keys can be used as function keys. # If your version of vi doesn't support function keys you may want # to use V2. vi200-f|visual|visual 200 no function keys:\ :do=^J:al=\EL:am:le=^H:bs:cd=\Ey:ce=4*\Ex:cl=\Ev:\ :cm=\EY%+ %+ :co#80:dc=4*\EO:dl=4*\EM:ho=\EH:\ :ic=\Ei \b\Ej:\ :is=\E3\Eb\Ej\E\\\El\EG\Ed\Ek:ks=\E=:ke=\E>:\ :k0=\E?p:k1=\E?q:k2=\E?r:k3=\E?s:k4=\E?t:k5=\E?u:k6=\E?v:\ :k7=\E?w:k8=\E?x:k9=\E?y:kl=\ED:kr=\EC:ku=\EA:kd=\EB:kh=\EH:\ :li#24:nd=\EC:pt:sr=\EI:up=\EA:vs=\Ed:ve=\Ec: vi200-rv|visual 200 reverse video:\ :so=\E4:se=\E3:sr@:vs@:ve@:tc=vi200: vi200-ic|visual 200 using insert char:\ :ei=\Ej:im=\Ei:ic@:tc=vi200: # From: jbs@athena.mit.edu Jeff Siegal vi55|Visual 55:\ :im=\Ea:ei=\Eb:mi:dc=\Ew:al=\EL:dl=\EM:cs=\E_%+A%+A:\ :ho=\EH:cl=\Ev:is=\Ev\E_AX\Eb\EW\E9P\ET:so=\EU:se=\ET:ms:\ :do=^J:le=^H:bs:cd=\EJ:ce=\EK:cm=\EY%+ %+ :co#80:li#24:\ :nd=\EC:pt:am:sr=\EI:up=\EA:ku=\EA:kd=\EB:kr=\EC:kl=\ED:kb=^H: # # -------------------------------- # # X: TEKTRONIX # tek|tek4012|4012|tektronix 4012:\ :do=^J:is=\E^O:le=^H:bs:cl=1000\E^L:co#75:ns:li#35:os: tek4013|4013|tektronix 4013:\ :as=\E^N:ae=\E^O:dF#1000:tc=4012: tek4014|4014|tektronix 4014:\ :is=\E^O\E9:co#81:li#38:dF#1000:tc=tek4012: tek4015|4015|tektronix 4015:\ :as=\E^N:ae=\E^O:tc=4014: tek4014-sm|4014-sm|tektronix 4014 in small font:\ :is=\E^O\E\072:co#121:li#58:tc=tek4014: tek4015-sm|4015-sm|tektronix 4015 in small font:\ :as=\E^N:ae=\E^O:tc=4014-sm: # I think the 1000UP is supposed to be so expensive it never happens. tek4023|4023|tex|tektronix 4023:\ :do=^J:so=^_P:se=^_@:cm=\034%r%+ %+ :nd=\t:le=^H:\ :bs:cl=4\E^L:co#80:li#24:am:up=1000UP:vt#4: # Can't use cursor motion because it's memory relative, and because # it only works in the workspace, not the monitor. Same for home. # Likewise, standout only works in the workspace. # 145 ms padding on al and AL taken out since it doesn't seem to be needed much. 4025|4027|4024|tek4025|tek4027|tek4024|4025cu|4027cu|tektronix 4024/4025/4027:\ :sf=^F^J:do=^F^J:is=\41com 31\r\n^_sto 9 17 25 33 41 49 57 65 73\r:\ :ks=^_lea p4 /h/\r^_lea p8 /k/\r^_lea p6 / /\r^_lea p2 /j/\r^_lea f5 /H/\r^_lea p5 /H/\r:\ :ke=^_lea p2\r^_lea p4\r^_lea p6\r^_lea p8\r^_lea p5\r^_lea f5\r:\ :am:le=^H:bs:da:db:pt:li#34:co#80:cl=^_era\r\n\n:up=^K:nd=^_rig\r:\ :al=^_up\r^_ili\r:dl=^_dli\r^F:\ :dc=^_dch\r:im=^_ich\r:ei=^F^_dow\r^K:nl=^F\n:\ :cd=^_dli 50\r:CC=^_:AL=^_up\r^_ili %d\r:DL=^_dli %d\r^F:\ :UP=^_up %d\r:DO=^_dow %d\r:LE=^_lef %d\r:RI=^_rig %d\r: # Tektronix 4025A from gwyn@brl-smoke.ARPA (Doug Gwyn ) # The following status modes are assumed for normal operation (replace the # initial "!" by whatever the current command character is): # !COM 29 # NOTE: changes command character to GS (^]) # ^]DUP # ^]ECH R # ^]EOL # ^]RSS T # ^]SNO N # ^]STO 9 17 25 33 41 49 57 65 73 # Other modes may be set according to communication requirements. # If the command character is inadvertently changed, termcap can't restore it. # Insert-character cannot be made to work on both top and bottom rows. # Clear-to-end-of-display emulation via !DLI 988 is too groady to use, alas. # There also seems to be a problem with vertical motion, perhaps involving # delete/insert-line, following a typed carriage return. This terminal sucks. # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control! tek4025a|4025a|Tektronix 4025A:\ :al=^K^]ili;:am:bl=^G:bt=^]bac;:bw:CC=^]:cl=^]era;^J^]rup;:co#80:\ :cr=^M:ct=^]sto;:da:db:DC=^]dch %d;:dc=^]dch;:DL=^]dli %d;:dl=^]dli;:\ :DO=^]dow %d;:do=^J:it#8:LE=^]lef %d;:le=^H:li#34:nd=^]rig;:\ :RI=^]rig %d;:\ :rs=!com 29^]del 0^]rss t^]buf^]buf n^]cle^]dis^]dup^]ech r^]eol\ ^]era g^]for n^]pad 203^]pad 209^]sno n^]sto 9 17 25 33 41 49 57 65 73\ ^]wor 0;:\ :SF=^]dow %d;:sf=^J:ta=^I:UP=^]up %d;:up=^K:xo:\ :ce=^]dch 80;:ch=\r^]rig %d;:\ :bs:pt:xx: 4025-17|4027-17|tek 4025 17 line window:\ :li#17:tc=4025: 4025-17ws|4027-17ws|tek 4025 17 line window in workspace:\ :is=\41com 31\r\n^_sto 9,17,25,33,41,49,57,65,73\r^_wor 17\r^_mon 17\r:\ :ti=^_wor h\r:te=^_mon h\r:so=^_att e\r:se=^_att s\r:tc=4025-17: 4025ex|4027ex|tek 4025 w/!:\ :ti=\41com 31\r:te=^_com 33\r:\ :is=^_com 33\r\n\41sto 9,17,25,33,41,49,57,65,73\r:tc=4025: # From jcoker@ucbic tek4107|tek4207|4107|4207|Tektronix 4107 graphics terminal with memory:\ :ti=\E[?6l\E[H\E[J:te=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f:\ :is=\E%!0\ELBP0\E%!1\E[H\E[2g\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[J:\ :li#32:do=^J:al=3\E[L:xn:am:le=^H:bs:cd=\E[J:\ :ce=5\E[K:cl=156\E[H\E[J:cm=\E[%i%d;%dH:co#80:dc=4\E[P:dl=3\E[M:\ :ho=\E[H:ic=4\E[@:md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:ku=\EM:\ :kd=\ED:kl=\E[D:kr=\E[C:kh=\E[H:\ :ul:pt:bw:bt=\E[Z:mi:nd=\E[C:se=\E[m:so=\E[7m:\ :ue=\E[m:us=\E[4m:up=\EM: # Tektronix 4107 with sysline 4107-s|tek4107-s|Tektronix 4107 with sysline but no memory:\ :is=\E%!1\E[2;32r\E[132D\E[2g\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[J:\ :es:hs:i2=\E7\E[?6l\E[2K\E[?6h\E8:ts=\E7\E[?6l\E[2K\E[;%i%df:\ :fs=\E[?6h\E8:ds=\E7\E[?6l\E[2K\E[?6h\E8:tc=4107: # From cbosg!teklabs!davem Wed Sep 16 21:11:41 1981 # Here's the command file that I use to get rogue to work on the 4025. # It should work with any program using the old curses (e.g. it better # not try to scroll, or cursor addressing won't work. Also, you can't # see the cursor.) # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh) 4025-cr|tek 4025 for curses and rogue:\ :is=\41com 31\r\n^_sto 9 17 25 33 41 49 57 65 73\r:\ :am:le=^H:bs:pt:li#33:co#80:cm=^_jum%i%d,%d;:up=^K:\ :do=^F^J:cl=^_era;:nd=^_rig;:nl=^F\n:ti=^_wor 33h:te=^_wor 0: # next two lines commented out since curses only allows 128 chars, sigh. # :ti=^_lea p1/b/^_lea p2/j/^_lea p3/n/^_lea p4/h/^_lea p5/ /^_lea p6/l/^_lea p7/y/^_lea p8/k/^_lea p9/u/^_lea p./f/^_lea pt/`era w/13^_lea p0/s/^_wor 33h:\ # :te=^_lea p1^_lea p2^_lea p3^_lea p4^_lea pt^_lea p5^_lea p6^_lea p7^_lea p8^_lea p9/la/13^_lea p.^_lea p0^_wor 0: # The 4110 series may be a wonderful graphics series, but they make the 4025 # look good for screen editing. In the dialog area, you can't move the cursor # off the bottom line. Out of the dialog area, ^K moves it up, but there # is no way to scroll. 4112|4114|tek4112|tektronix 4110 series:\ :is=\E3!1:li#34:co#80:am:al=\E[L:bs:bt=\E[Z:\ :cd=\E[0J:ce=\E[0K:cl=\E[2J\E[0;0H:cm=\E[%i%d;%dH:\ :db:dc=\E[P:dl=\E[M:ic=\E[@:nd=\E[C:se=\E[m:\ :so=\E[7m:ue=\E[m:up=\EM:us=\E[4m:vs=:ve=:\ :sr=\E7\E[0;0H\E[L\E8:sf=\E7\E[0;0H\E[M\E8: 4112-nd|4112 not in dialog area:up=^K:ns:tc=4112: 4112-5|4112 in 5 line dialog area:li#5:tc=4112: 4113|tek4113|tektronix 4113 color graphics, 5 line dialog area:\ :le=^H:do=^J:eo:da:bs:am:li#5:co#80:is=\EKA1\ELL5\ELV0\ELV1:\ :vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:\ :cl=\ELZ:uc=^H\ELM1_\ELM0:nd=\LM1 \LM0:\ :.as=\E^N:.ae=\E^O: 4113-34|tek4113-34|tektronix 4113 color graphics, 34 line dialog area:\ :is=\EKA1\ELLB2\ELV0\ELV1:li#34:tc=tek4113: # ns hidden from vi to allow visual mode. APL font (as, ae) not supported here. # uc is slow, but looks nice. Suggest setenv MORE -up . vb needs enough delay # to let you see the background color being toggled. 4113-nd|tek4113-nd|tektronix 4113 color graphics, no dialog area:\ :le=^H:do=^J:nd=\t:up=^K:ll=\ELF hl @:ho=\ELF7l\177 @:\ :eo:bs:am:li#34:co#80:is=\ELZ\EKA0\ELF7l\177 @:vs=\ELZ\EKA0:\ :vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:\ :cl=\E\f:uc=^H\EMG1_\EMG0:so=\EMT2:se=\EMT1:\ :.ns:.as=\E^N:.ae=\E^O: 4105|tek4105:\ :al=\E[1L:am:bs:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%2;%2H:co#80:\ :dc=\E[1P:dl=\E[1M:do=\E[1B:ho=\E[H:im=\E[4h:li#30:mi:nd=\E[1C:\ :as=\E[1m:ae=\E[0m:ms:pt:se=\E[0m:so=\E[7m:up=\E[1A:kb=^h:ku=\E[1A:\ :kd=\E[1B:kl=\E[1D:kr=\E[1C:us=\E[4m:ue=\E[0m:is=\E%!1\E[?6l\E[0m:\ :mr=\E[<3m:md=\E[<4m:mh=\E[<6m:mb=\E[<7m:me=\E[<1m:ti=\E%!1\E[?6l:xt: # This entry is from Tek. Inc. (Brian Biehl) 4115|tek4115|Tektronix 4115:\ :co#80:li#34:\ :al=\E[L:am:bc=\E[D:bs:bt=\E[Z:cd=\E[J:ce=\E[K:\ :cl=\E[;H\E[2J:cm=\E[%i%d;%dH:da:db:dc=\E[P:dl=\E[M:do=\E[B:\ :ei=\E[4l:eo:ho=\E[;H:im=\E[4h:if=/usr/share/tabset/vt100:\ :is=\E%\0410\E%\014\ELV0\EKA1\ELBB2\ENU@\075\ELLB2\ELM0\ELV1\EKYA?\E%\0411\E[<1l\E[?7h\E[?8h\E[34;1H\E[34B\E[0m:\ :kb=^H:ke=\E>:ks=\E=:nd=\E[C:pt:se=\E[m:so=\E[7m:sr=\EM:\ :te=\E%\0410\ELBG8\E%\0411\E[34;1H\E[J:\ :ti=\E%\0410\ELBB2\E%\0411:\ :ue=\E[m:up=\E[A:us=\E[4m:\ :ve=\E%\0410\ELBG8\E%\0411\E[34;1H:\ :vs=\E%\0410\ELBB2\E%\0411: # The tek4125 emulates a vt100 incorrectly - the scrolling region # command is ignored. The following entry replaces the cs with the # needed al, dl, and im; removes some cursor pad commands that the tek4125 # chokes on; and adds a lot of initialization for the tek dialog area. # Note that this entry uses all 34 lines and sets the cursor color to green. # Steve Jacobson 8/85 tek4125:\ :ks=\E=:li#34:\ :is=\E%\!0\EQD1\EUX03\EKA\ELBB2\ELCE0\ELI100\ELJ2\ELLB2\ELM0\ELS1\ELX00\ELV1\E%\!1\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:dl=\E[1M:\ :al=\E[1L:cs@:sc@:rc@:im=\E1:tc=vt100: # From carolyn@dali.berkeley.edu Thu Oct 31 12:54:27 1985 4404|tek4404:\ :al=\E[1L:bs:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:co#80:\ :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[1M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:\ :kd=\E[B:ke=\E[?1h:kl=\E[D:kr=\E[C:ks=\E[?1l:ku=\E[A:li#32::mb=\E[5m:\ :md=\E[1m:me=\E[m:nd=\E[C:pt:rc=\E8:sc=\E7:se=\E[27m:so=\E[7m:\ :ta=\E[2I:ti=\E%\!1\E[1;32r\E[?6l\E>:te=\E[1;1H\E[0J\E[?6h\E[?1l:\ :ue=\E[m:up=\E[A:us=\E[4m: # # -------------------------------- # # Z: Miscellaneous # # These compucolors appear similar, but they at least have different # sized screens. I don't know what's going on here. 8001|ISC8001|compucolor|intecolor:\ :do=^J:al=\EU:am:le=^Z:bc=^Z:cl=3*^L:cm=^C%r%.%.:\ :co#80:cd=\EQ:dm=\EQ:ed=\EF:dc=\177:dl=\EV:ei=\EF:\ :im=\EQ:li#40:nd=1^Y:ta=8\t:up=^\:ho=1^H:pc=^@: compucolor2|compucolorII:\ :do=^J:pt:am:cm=%r^C%.%.:le=^Z:bc=^Z:li#32:co#64:\ :cl=^L:ho=^H:nd=^Y:up=^\: # From cithep!eric Wed Sep 16 08:06:44 1981 intext|Interactive Systems Corporation modified owl 1200:\ :do=^J:al=5.5*\020:am:le=^_:bc=^_:le=^H:bs:bt=^Y:cd=5.5*\026J:\ :ce=^K\160^R:cl=132\014:cm=\017%+ %+ :co#80:dc=5.5*\022:dl=5.5*\021:\ :ei=\026\074:im=\026\073:ip=5.5*:li#24:nd=\036:pt:up=\034:\ :se=^V# :sg#1:so=^V$,:ma=^K^P^R^L^L :\ :kl=^_:kd=^J:kr=^^:ku=\034:kb=^H:kh=^Z:\ :k1=^VA\r:k2=^VB\r:k3=^VC\r:k4=^VD\r:k5=^VE\r:\ :k6=^VF\r:k7=^VG\r:k8=^VH\r:k9=^VI\r:k0=^VJ\r: # # -------------------------------- # # a: ADDS # # Regent: lowest common denominator, works on all regents. regent|Adds Regent Series:li#24:co#80:am:cl=^L:ll=^A:up=^Z:\ :bs:bc=^U:nd=^F:do=^J:ho=\EY : # Regent 100 has a bug where if computer sends escape when user is holding # down shift key it gets confused, so we avoid escape. regent100|Adds Regent 100:k0=^B1^M:k1=^B2^M:k2=^B3^M:k3=^B4^M:\ :k4=^B5^M:k5=^B6^M:k6=^B7^M:k7=^B8^M:\ :l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:\ :so=\E0P:ue=\E0@:us=\E0`:se=\E0@:\ :cm=^K%+ %B^P%.:ug#1:sg#1:tc=regent: regent20|Adds Regent 20:cd=\Ek:ce=\EK:cm=\EY%+ %+ :tc=regent: regent25|Adds Regent 25:kh=^A:kl=^U:kr=^F:ku=^Z:kd=^J:tc=regent20: regent40|Adds Regent 40:k0=^B1^M:k1=^B2^M:k2=^B3^M:k3=^B4^M:\ :k4=^B5^M:k5=^B6^M:k6=^B7^M:k7=^B8^M:\ :l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:\ :al=2*\EM:dl=2*\El:\ :so=\E0P:ue=\E0@:us=\E0`:se=\E0@:ug#1:sg#1:tc=regent25: regent40+|Adds Regent 40+:is=\EB:tc=regent40: regent60|regent200|Adds Regent 60:se=\ER\E0@\EV:so=\ER\E0P\EV:dc=\EE:ei=\EF:\ :im=\EF:is=\EV\EB:ko=dc,im,ei:tc=regent40+: regent60na|regent 60 w/no arrow keys:\ :kl@:kr@:ku@:kd@:tc=regent60: # # adds viewpoint 90 - from cornell # Note: emacs sends ei occasionally to insure the terminal is out of # insert mode. This unfortunately puts the viewpoint90 IN insert # mode. A hack to get around this is: ic=\EF \EF^U. (Also, # - ei=:im=: must be present.) # - xs indicates glitch that attributes stick to location # - bs save to move in standout mode # - cl=\EG\Ek clears screen and visual attributes without affecting # the status line vp90|viewpoint90|adds viewpoint 90:\ :bs:bw:cd=\Ek:ce=\EK:cl=\EG\Ek:cm=\EY%+ %+ :co#80:\ :dc=\EE:dl=\El:do=^J:ic=\EF \EF^U:ho=\EY :\ :nd=^F:up=^Z:\ :kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:li#24:ll=^A:\ :so=\ER\E0Q\EV:se=\ER\E0@\EV:\ :us=\ER\E0`\EV:ue=\ER\E0@\EV:\ :xs:ms: # Note: if return acts weird on a980, check internal switch #2 # on the top chip on the CONTROL pc board. a980|adds consul 980:\ :do=^J:al=13\E^N:am:le=^H:bs:cl=^L\200^K@:cm=^K%+@\E^E%2:co#80:\ :dl=13\E^O:k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:\ :k8=\E8:k9=\E9:li#24:nd=\E^E01:so=^Y^^^N:se=^O:up=9: viewpt60|viewpoint60|addsviewpoint60|adds viewpoint60:\ :tc=regent40: # From Onyx:edward Thu Jul 9 09:27:33 1981 viewpoint|addsviewpoint|adds viewpoint:\ :do=^J:am:le=^H:bs:li#24:co#80:cm=\EY%+ %+ :cd=\Ek:ce=\EK:\ :up=^Z:cl=^L:ll=^A:kl=^U:kd=^J:ku=^Z:kh=^A:\ :so=^N:se=^O:us=^N:ue=^O:is=^O\E0`:vs=^O\E0P:ve=^O\E0`: # # -------------------------------- # # b: BEEHIVE # # Reports are that most of these Beehive entries (except superbee) have not been # tested and do not work right. se is a trouble spot. Be warned. sb2|sb3|fixed superbee:\ :xb@:tc=superbee: # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs. # good grief - does this entry make sg/ug when it doesn't have to? # look at those spaces in se/so. Seems strange to me... bh3m|beehiveIIIm:\ :if=/usr/share/tabset/beehive:do=^J:\ :al=160^S:am:le=^H:bs:cd=^R:ce=^P:cl=^E^R:\ :co#80:dl=350^Q:ho=^E:li#20:ll=^E^K:\ :nd=^L:pt:se= ^_:so=^] :up=^K: # This loses on lines > 80 chars long, use at your own risk superbeeic|super bee with insert char:\ :im=\EQ:ei=\ER:tc=superbee: microb|microbee|micro bee series:\ :do=^J:am:le=^H:bs:cd=\EJ:ce=\EK:cl=\EE:co#80:cm=\EF%+ %+ :\ :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\Ex:\ :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:\ :li#24:nd=\EC:pt:se=\Ed@ :so= \EdP:ue=\Ed@:up=\EA:us=\Ed`: # Superbee - f1=escape, f2=^C. # Note: there are at least 3 kinds of superbees in the world. The sb1 # holds onto escapes and botches ^C's. The sb2 is the best of the 3. # The sb3 puts garbage on the bottom of the screen when you scroll with # the switch in the back set to CRLF instead of AEP. This description # is tested on the sb2 but should work on all with either switch setting. # The f1/f2 business is for the sb1 and the :xb: can be taken out for # the other two if you want to try to hit that tiny escape key. # This description is tricky: being able to use cm depends on there being # 2048 bytes of memory and the hairy nl string. sb1|superbee|superb|beehive super bee:\ :ct=\E3:st=\E1:is=\EH\EJ:do=^J:\ :sf=\n\200\200\200\n\200\200\200\EA\EK\200\200\200\ET\ET:\ :am:le=^H:bs:cd=3\EJ:ce=3\EK:cl=3\EH\EJ:co#80:cm=\EF%r%3%3:cr=1000\r:\ :dC#10:da:db:xb:dc=3\EP:dl=100\EM:so=\E_1:se=\E_3:\ :li#25:nl=\n\200\200\200\n\200\200\200\EA\EK\200\200\200\ET\ET:\ :nd=\EC:pt:up=\EA:ho=\EH:ve=\n:\ :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\ :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA: # 8675, 8686, and bee from Cyrus Rahman 8675|harris 8675:\ :k1=^F:k2=^P:k3=^N:k4=^V:k5=^J:k6=^T:k7=^H:k8=\177:k9=\Ee:k10=\Ed:\ :k11=^W:k12=\ER:k13=\EE:k14=\EI:k15=\Ei:k16=\Eg:\ :is=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU:\ :tc=bee: 8686|harris 8686:\ :k1=^B^[p^C:k2=^B^[q^C:k3=^B^[r^C:k4=^B^[s^C:k5=\E3:\ :k6=\EI:k7=\ER:k8=\EJ:k9=\E(:k10=\Ej:k11=\EW:\ :k12=^B^[{^C:k13=^B^[|^C:k14=^B^[}^C:k15=^B^[~^C:k16=^B^[\177^C:\ :is=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU\E"*Z01\ \E"8F35021B7C83#\E"8F45021B7D83#\E"8F55021B7E83#\E"8F65021B7F83#\ \E"8F75021B7383#\E"8F851BD7#\E"8F95021B7083#\E"8FA5021B7183#\ \E"8FB5021B7283#:\ :tc=bee: bee|harris beehive:\ :co#80:li#24:am:bs:cd=\EJ:ce=\EK:cl=\EE:nd=\EC:\ :cm=\EF%+ %+ :up=\EA:do=\EB:ho=\EH:bt=\E>:\ :al=\EL:dc=\EP:dl=\EM:ei=\E@:im=\EQ:mi:\ :kl=\ED:kr=\EC:ku=\EA:kd=\EB:kh=\EH:kb=^H:\ :us=\Ed`:ue=\Ed@:so=\EdP:se=\Ed@:\ :ko=al,bt,ce,cl,dc,dl,ei,ho,ic,im: # # -------------------------------- # # c: CONCEPT (HUMAN DESIGNED SYSTEMS) # # From vax135!hpk Sat Jun 27 07:41:20 1981 # Extensive changes to c108 by arpavax:eric Feb 1982 # # There seem to be a number of different versions of the C108 PROMS # (with bug fixes in its Z-80 program). # The first one that we had would lock out the keyboard of you # sent lots of short lines (like /usr/dict/words) at 9600 baud. # Try that on your C108 and see if it sends a ^S when you type it. # If so, you have an old version of the PROMs. # The old one also messed up running vi with a 132-character line-length. # You should configure the C108 to send ^S/^Q before running this. # It is much faster (at 9600 baud) than the c100 because the delays # are not fixed. # new status line display entries for c108: # hs - has status capability # es - escape sequences are OK on status line # i2 - second init str - setup term for status display - set programmer mode, # select window 2, define window at last line of memory, # set bkgnd stat mesg there, select window 0. # ts - to status line - select window 2, home cursor, erase to end-of-window, # 1/2 bright on, goto(line#0, col#?) # fs - from status line - 1/2 bright off, select window 0 # ds - disable status display - set bkgnd status mesg with illegal window # # # the following two entries are for emacs -- they are just like the regular # entries except that they have buffer overflow control OFF e108-8p:\ :i2=\EU\E z"\Ev^A\177 !p\E ;"\E z \Ev ^A\177p\Ep\n:\ :te=\Ev ^A\177p\Ep\r\n:tc=e108-4p: e108-4p:\ :is=\EU\E f\Ef\E7\E5\E8\El\ENH\EK\E\200\Eo&\200\Eo\47\E\E!\E^G!\E^HA@ :\ :tc=c108-4p: c108|c108-8p|concept108-8p|concept 108 w/8 pages:\ :i2=\EU\E z"\Ev^A\177 !p\E ;"\E z \Ev ^A\177p\Ep\n:\ :te=\Ev ^A\177p\Ep\r\n:tc=c108-4p: c108-4p|concept108-4p|concept 108 w/4 pages:\ :es:hs:ts=\E z"\E?\E^C\Ea %+ :fs=\E z :ds=\E ;\177:\ :i2=\EU\E z"\Ev\177 !p\E ;"\E z \Ev \177p\Ep\n:do=^J:pt:\ :is=\EU\E F\Ef\E7\E5\E8\El\ENH\EK\E\200\Eo&\200\Eo\47\E\E!\E^G!\E^HA@ :\ :ti=\EU\Ev 8p\Ep\r:te=\Ev \177p\Ep\r\n:\ :al=\E^R:le=^H:bs:cd=\E^C:ce=\E^S:cl=\E?\E^E:cm=\Ea%+ %+ :co#80:\ :dc=\E^Q:dl=\E^B:ei=\E\200:eo:im=\E^P:li#24:mi:nd=\E=:\ :kb=^h:up=\E;:db:us=\EG:ue=\Eg:vs=\EW:ve=\Ew:am:xn:\ :vb=\Ek\200\200\200\200\200\200\200\200\200\200\200\200\200\200\EK:\ :ks=\EX:ke=\Ex:ku=\E;:kd=\E<:kl=\E>:kr=\E=:kh=\E?:\ :k1=\E5:k2=\E6:k3=\E7:k4=\E8:k5=\E9:k6=\E\72:\ :so=\ED:se=\Ed:mh=\EE:md=\ED:mr=\ED:me=\Ee\Ed\Eg\Ec: c108-rv-8p|concept108-rv-8p|concept 108 w/8 pages, in reverse video:\ :vb=\EK\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ek:\ :is=\EU\E F\Ef\E7\E5\E8\El\ENH\Ek\E\200\Eo&\200\Eo\47\E\E!\E^G!\E^HA@ :\ :ts=\E z"\E?\E^C\EE\Ea %+ :fs=\Ee\E z :tc=c108-8p: c108-rv-4p|concept108-rv-4p|concept 108 w/4 pages, in reverse video:\ :vb=\EK\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ek:\ :is=\EU\E F\Ef\E7\E5\E8\El\ENH\Ek\E\200\Eo&\200\Eo\47\E\E!\E^G!\E^HA@ :\ :ts=\E z"\E?\E^C\EE\Ea %+ :fs=\Ee\E z :tc=c108-4p: c108-na|c108-na-8p|concept108-na-8p|concept 108 w/8 pages, no arrows:\ :ks@:ke@:k7=\E;:k8=\E<:k9=\E=:tc=c108-8p: c108-rv-na|c108-rv-na-8p|concept 108 w/8 pages, no arrows in rev video:\ :ts=\E z"\E?\E^C\EE\Ea %+ :fs=\Ee\E z :\ :ks@:ke@:k7=\E;:k8=\E<:k9=\E=:tc=c108-rv-8p: # this needs new frotz in the cm capability for 2-char addrs when > 95.... c108-w|c108-w-8p|concept108-w-8p|concept 108 w/8 pages in wide mode:\ :is=\EU\E F\Ef\E7\E5\E8\El\ENH\EK\E\200\Eo&\200\Eo\47\E\E"\E^G!\E^HA@ :\ :ti=\EU\Ev 8^AD\Ep\r:te=\Ev ^A0^AD\Ep\r\n:pt@:cm@:\ :co#132:tc=c108-8p: avt-w|avtw|HDS concept avt w/4 or 8 pages; 132 columns:\ :is=\E[1*q\E[2!t\E[7!t\E[=4;101;119l\E[=103;107;118;207h\E)1\E[1Q\EW\E[0!y\E[0\0720\07232!r\E[w\E2\r\n:\ :ch=\E[%i%3G:cm=\E[%i%2;%3H:co#132:tc=avt: avt-8p-s|concept avt w/8 pages & 80 cols running sysline:\ :is=\E[1*q\E[2!t\E[7!t\E[=4;101;103;119l\E[=107;118;207h\E)1\E[1Q\EW\E[0!y\E[0\0720\07232!r\E[2!w\E[192w\E[2*w\E[!w\E[1;191w\E2\r\n:\ :hs:es:ts=\E[2!w\E[H\E[J\E[%i%dG:fs=\E[!w:\ :ds=\E[2!w\E[2J\E[!w\E[*w:te=\E[1;191w\E2\n:tc=avt: avt-4p-s|concept avt w/4 pages & 80 cols running sysline:\ :is=\E[1*q\E[2!t\E[7!t\E[=4;101;103;119l\E[=107;118;207h\E)1\E[1Q\EW\E[0!y\E[0\0720\07232!r\E[2!w\E[96w\E[2*w\E[!w\E[1;95w\E2\r\n:\ :hs:es:ts=\E[2!w\E[H\E[J\E[%i%dG:fs=\E[!w:\ :ds=\E[2!w\E[2J\E[!w\E[*w:te=\E[1;95w\E2\n:tc=avt: avt-rv|HDS concept avt w/4 or 8 pages, 80 columns, reverse video:\ :is=\E[1*q\E[2!t\E[7!t\E[=4;101;103;119l\E[=107;118;205;207h\E)1\E[1Q\EW\E[0!y\E[0\0720\07232!r\E[w\E2\r\n:\ :ve=\E[4l:vs=\E[4l:tc=avt: avt|HDS concept avt w/4 or 8 pages, 80 columns:\ :is=\E[1*q\E[2!t\E[7!t\E[=4;101;103;119;205l\E[=107;118;207h\E)1\E[1Q\EW\E[0!y\E[0\0720\07232!r\E[w\E2\r\n\E[*w:\ :ae=^O:al=\E[L:am:as=^N:bs:bt=\E[Z:cd=\E[J:ce=\E[K:\ :ch=\E[%i%2G:cl=\E[H\E[J:cm=\E[%i%2;%2H:co#80:cv=\E[%i%2d:\ :dc=\E[P:dl=\E[M:do=\E[B:ei=\E1:eo:ho=\E[H:im=\E1:kb=^H:kd=\E[B:\ :kh=\E[H:kl=\E[D:ko=do,ho,nd,up:kr=\E[C:\ :ks=\E[1;4!z\E[1;8!z\E[1;10!z\E[1;11!z\E[1;12!z\E[1;14!z\E[3;7!z\E[3;9!z:\ :ke=\E[;4!z\E[;8!z\E[;10!z\E[;11!z\E[;12!z\E[3;14!z\E[;7!z\E[;9!z:\ :ku=\E[A:li#24:mi:nd=\E[C:pt:se=\E[7!{:so=\E[7m:\ :te=\E[w\E2\n:ti=\E[1;24w\E2\n:ue=\E[4!{:\ :up=\E[A:us=\E[4m:ve=\E[=4;119l:vs=\E[4l\E[=119h:xn: # # Concepts have only window relative cursor addressing, not screen relative. # To get it to work right here, ti/te (which were invented for the concept) # lock you into a one page window for screen style programs. To get out of # the one page window, we use a clever trick: we set the window size to zero # ("\Ev " in te) which the terminal recognizes as an error and resets the # window to all of memory. # # Some tty drivers use cr3 for concept, others use nl3, hence dN/dC below. # This padding is only needed at 9600 baud. # 2 nulls padding on te isn't always enough. 6 works fine. Maybe less # than 6 but more than 2 will work. c100|concept|c1004p|c100-4p|concept100|concept 100:\ :is=\EU\Ef\E7\200\200\E5\E8\200\200\El\ENH\EK\E\200\Eo&\200\Eo\47\E\E^G\041\E^HA@ :\ :ti=\EU\Ev 8p\Ep\r:te=\Ev \200\200\200\200\200\200\Ep\r\n:\ :al=3*\E^R:am:le=^H:bs:cd=16*\E^C:ce=16\E^U:cl=2*^L:cm=\Ea%+ %+ :co#80:\ :dc=16\E^Q:dl=3*\E^B:ei=\E\200:eo:im=\E^P:ip=16*:li#24:mi:nd=\E=:\ :pt:kb=^h:ta=8\t:up=\E;:db:us=\EG:ue=\Eg:xn:\ :vb=\Ek\200\200\200\200\200\200\200\200\200\200\200\200\200\200\EK:\ :.dN#9:dC#9:pb#9600:vt#8:us=\EG:ue=\Eg:so=\EE\ED:se=\Ed\Ee:\ :mh=\EE:mr=\ED:mb=\EC:mp=\EI:mk=\EH:me=\EN\200:do=^J:\ :ks=\EX:ke=\Ex:ku=\E;:kd=\E<:kl=\E>:kr=\E=:kh=\E?:k1=\E5:k2=\E6:k3=\E7: c100-rv-pp|c100-rv-4p-pp|concept100-rv-pp|c100rv4ppp|w/ printer port:\ :is=\EU\Ef\E7\200\200\E5\E8\200\200\El\ENH\Ek\E\200\Eo&\200\Eo\041\200\EQ"\EY(^W\Eo\47\E\E^G\041\E^HA@ :\ :tc=c100-rv: c100-rv-na|c100-rv-4p-na|concept100-rv-na|c100rv4pna|c100 with no arrows:\ :ks@:ke@:tc=c100-rv: c100-rv|c100-rv-4p|concept100-rv|c100rv4p|c100rv|c100 rev video:\ :is=\EU\Ef\E7\200\200\E5\E8\200\200\El\ENH\Ek\E\200\Eo&\200\Eo\47\E\E^G\041\E^HA@ :\ :vb=\EK\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ek:\ :so=\EE:se=\Ee:tc=c100: # This is useful at 1200 baud. c100-s|concept-s|concept100-s|slow concept 100:\ :vb=\Ek\200\EK:pt:dC@:dN@:tc=c100: c100-rv-s|concept-rv-s|concept100-rv-s|c100rvs|slow reverse concept 100:\ :vb=\EK\200\Ek:pt:dC@:dN@:tc=c100-rv: # for syscons # common entry without semigraphics cons25w|ansiw|ansi80x25-raw:\ :am:bs:NP:ms:pt:AX:eo:bw:ut:km:\ :co#80:li#25:pa#64:Co#8:it#8:\ :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\ :dc=\E[P:dl=\E[M:do=\E[B:bt=\E[Z:ho=\E[H:ic=\E[@:cb=\E[1K:\ :nd=\E[C:rs=\Ec:so=\E[7m:se=\E[27m:up=\E[A:cr=^M:ta=^I:\ :AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:sc=\E7:rc=\E8:\ :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\ :k9=\E[U:k;=\E[V:F1=\E[W:F2=\E[X:K2=\E[E:nw=\E[E:ec=\E[%dX:\ :kb=^H:kh=\E[H:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:le=^H:sf=\E[S:sr=\E[T:\ :kN=\E[G:kP=\E[I:@7=\E[F:kI=\E[L:kD=\177:kB=\E[Z:\ :IC=\E[%d@:DC=\E[%dP:SF=\E[%dS:SR=\E[%dT:AL=\E[%dL:DL=\E[%dM:\ :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:cv=\E[%i%dd:ch=\E[%i%d`:\ :mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:bl=^G:\ :ve=\E[=S:vi=\E[=1S:vs=\E[=2S: # CP437 FreeBSD console with ACS support cons25|ansis|ansi80x25:\ :ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`^Da\260f\370g\361~\371.^Y-^Xh\261i^U0\333y\363z\362:\ :tc=cons25w: cons25-m|ansis-mono|ansi80x25-mono:\ :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25: cons30|ansi80x30:\ :li#30:tc=cons25: cons30-m|ansi80x30-mono:\ :li#30:tc=cons25-m: cons43|ansi80x43:\ :li#43:tc=cons25: cons43-m|ansi80x43-mono:\ :li#43:tc=cons25-m: cons50|ansil|ansi80x50:\ :li#50:tc=cons25: cons50-m|ansil-mono|ansi80x50-mono:\ :li#50:tc=cons25-m: cons60|ansi80x60:\ :li#60:tc=cons25: cons60-m|ansi80x60-mono:\ :li#60:tc=cons25-m: # Syscons console with 132 characters (VESA modes) cons25-w|ansi132x25:\ :co#132:tc=cons25: cons30-w|ansi132x30:\ :co#132:tc=cons30: cons43-w|ansi132x43:\ :co#132:tc=cons43: cons50-w|ansil-w|ansi132x50:\ :co#132:tc=cons50: cons60-w|ansi132x60:\ :co#132:tc=cons60: # KOI8-R/KOI8-U FreeBSD console with ACS support cons25r|cons25u|pc3r|ibmpc3r|cons25-koi8:\ :ac=q\200x\201m\204v\211j\205t\206n\212u\207l\202w\210k\203y\230z\231f\234~\225a\220h\2210\215:\ :tc=cons25w: cons25r-m|cons25u-m|pc3r-m|ibmpc3r-mono|cons25-koi8-mono:\ :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25r: cons30r|cons30u|cons30-koi8:\ :li#30:tc=cons25r: cons30r-m|cons30u-m|cons30-koi8-mono:\ :li#30:tc=cons25r-m: cons43r|cons43u|cons43-koi8:\ :li#43:tc=cons25r: cons43r-m|cons43u-m|cons43-koi8-mono:\ :li#43:tc=cons25r-m: cons50r|cons50u|cons50-koi8:\ :li#50:tc=cons25r: cons50r-m|cons50u-m|cons50-koi8-mono:\ :li#50:tc=cons25r-m: cons60r|cons60u|cons60-koi8:\ :li#60:tc=cons25r: cons60r-m|cons60u-m|cons60-koi8-mono:\ :li#60:tc=cons25r-m: # Syscons console with 90 characters (VGA modes) # KOI8-R/KOI8-U FreeBSD console with ACS support. cons25r-v|cons25u-v|pc3r-v|ibmpc3r-vga|cons25-koi8-vga:\ :co#90:tc=cons25r: cons25r-mv|cons25u-mv|pc3r-mv|ibmpc3r-monovga|cons25-koi8-monovga:\ :co#90:tc=cons25r-m: cons30r-v|cons30u-v|cons30-koi8-vga:\ :co#90:tc=cons30r: cons30r-mv|cons30u-mv|cons30-koi8-monovga:\ :co#90:tc=cons30r-m: cons43r-v|cons43u-v|cons43-koi8-vga:\ :co#90:tc=cons43r: cons43r-mv|cons43u-mv|cons43-koi8-monovga:\ :co#90:tc=cons43r-m: cons50r-v|cons50u-v|cons50-koi8-vga:\ :co#90:tc=cons50r: cons50r-mv|cons50u-mv|cons50-koi8-monovga:\ :co#90:tc=cons50r-m: cons60r-v|cons60u-v|cons60-koi8-vga:\ :co#90:tc=cons60r: cons60r-mv|cons60u-mv|cons60-koi8-monovga:\ :co#90:tc=cons60r-m: # ISO 8859-2 FreeBSD console with ACS support cons25l2|cons25-iso8859-2:\ :ac=f\260i\247:\ :tc=cons25w: cons25l2-m|cons25-iso8859-2-mono:\ :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25l2: cons30l2|cons30-iso8859-2:\ :li#30:tc=cons25l2: cons30l2-m|cons30-iso8859-2-mono:\ :li#30:tc=cons25l2-m: cons43l2|cons43-iso8859-2:\ :li#43:tc=cons25l2: cons43l2-m|cons43-iso8859-2-mono:\ :li#43:tc=cons25l2-m: cons50l2|cons50-iso8859-2:\ :li#50:tc=cons25l2: cons50l2-m|cons50-iso8859-2-mono:\ :li#50:tc=cons25l2-m: cons60l2|cons60-iso8859-2:\ :li#60:tc=cons25l2: cons60l2-m|cons60-iso8859-2-mono:\ :li#60:tc=cons25l2-m: # ISO 8859-1 FreeBSD console with ACS support cons25l1|cons25-iso8859-1:\ :ac=f\260g\261}\243+\253,\273i\247:\ :tc=cons25w: cons25l1-m|cons25-iso8859-1-mono:\ :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25l1: cons30l1|cons30-iso8859-1:\ :li#30:tc=cons25l1: cons30l1-m|cons30-iso8859-1-mono:\ :li#30:tc=cons25l1-m: cons43l1|cons43-iso8859-1:\ :li#43:tc=cons25l1: cons43l1-m|cons43-iso8859-1-mono:\ :li#43:tc=cons25l1-m: cons50l1|cons50-iso8859-1:\ :li#50:tc=cons25l1: cons50l1-m|cons50-iso8859-1-mono:\ :li#50:tc=cons25l1-m: cons60l1|cons60-iso8859-1:\ :li#60:tc=cons25l1: cons60l1-m|cons60-iso8859-1-mono:\ :li#60:tc=cons25l1-m: # 132x25 ISO 8859-1 FreeBSD console cons25l1-w|cons25w-iso8859-1:\ :co#132:tc=cons25l1: cons30l1-w|cons30w-iso8859-1:\ :co#132:tc=cons30l1: cons43l1-w|cons43w-iso8859-1:\ :co#132:tc=cons43l1: cons50l1-w|cons50w-iso8859-1:\ :co#132:tc=cons50l1: cons60l1-w|cons60w-iso8859-1:\ :co#132:tc=cons60l1: # ISO 8859-7 FreeBSD console with ACS support cons25l7|cons25-iso8859-7:\ :ac=f\260g\261{\360}\243+\253,\273i\247:\ :tc=cons25w: cons25l7-m|cons25-iso8859-7-mono:\ :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25l7: cons30l7|cons30-iso8859-7:\ :li#30:tc=cons25l7: cons30l7-m|cons30-iso8859-7-mono:\ :li#30:tc=cons25l7-m: cons43l7|cons43-iso8859-7:\ :li#43:tc=cons25l7: cons43l7-m|cons43-iso8859-7-mono:\ :li#43:tc=cons25l7-m: cons50l7|cons50-iso8859-7:\ :li#50:tc=cons25l7: cons50l7-m|cons50-iso8859-7-mono:\ :li#50:tc=cons25l7-m: cons60l7|cons60-iso8859-7:\ :li#60:tc=cons25l7: cons60l7-m|cons60-iso8859-7-mono:\ :li#60:tc=cons25l7-m: # dosansi|ANSI.SYS standard crt:\ :am:bs:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:co#80:\ :do=\E[B:li#25:mi:nd=\E[C:\ :se=\E[m:so=\E[7m:up=\E[A:us=\E[4m:ue=\E[m:\ :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\ :kh=\EG:kb=^h:ku=\EH:kd=\EP:kl=\EK:kr=\EM:\ :k1=\E;:k2=\E<:k3=\E=:k4=\E>:k5=\E?:\ :k6=\E@:k7=\EA:k8=\EB:k9=\EC:k0=\ED: # # -------------------------------- # # d: DEC (DIGITAL EQUIPMENT CORPORATION) # # Note that xn glitch in vt100 is not quite the same as concept, since # the cursor is left in a different position while in the weird state # (concept at beginning of next line, vt100 at end of this line) so # all versions of vi before 3.7 don't handle xn right on vt100. # I assume you have smooth scroll off or are at a slow enough baud # rate that it doesn't matter (1200? or less). Also this assumes # that you set auto-nl to "on", if you set it off use vt100-nam below. # # Since there are two things here called vt100, the installer can make # a local decision to make either one standard "vt100" by including # it in the list of terminals in reorder, since the first vt100 in # /etc/termcap is the one that it will find. The choice is between # nam (no automatic margins) and am (automatic margins), as determined # by the wrapline switch (group 3 #2). I personally recommend turning # on the bit and using vt100-am, since having stuff hammer on the right # margin is sort of hard to read. However, the xn glitch does not occur # if you turn the bit off. # # I am unsure about the padding requirements listed here. I have heard # a claim that the vt100 needs no padding. It's possible that it needs # padding only if the xon/xoff switch is off. For UNIX, this switch # should probably be on. # # The vt100 uses rs and rf rather than is/ct/st because the tab settings # are in non-volatile memory and don't need to be reset upon login. # You can type "reset" to get them set. # # Full vt200 keys set added to k1-k4 to help various emulators. # Since no pgms asks for funkeys present, it isn't affect standard vt100 # vt100|dec-vt100|vt100-am|vt100am|dec vt100:\ :do=2\E[B:co#80:li#24:cl=50\E[H\E[J:sf=2*\ED:\ :le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\ :ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\ :md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:\ :is=\E>\E[?1;3;4;5l\E[?7;8h\E[1;24r\E[24;1H:\ :if=/usr/share/tabset/vt100:nw=2\EE:ho=\E[H:\ :as=2\E(0:ae=2\E(B:\ :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||:\ :rs=\E>\E[?1;3;4;5l\E[?7;8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\ :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=\177:\ :k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOt:\ :k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:@8=\EOM:\ :K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:pt:sr=2*\EM:xn:\ :sc=2\E7:rc=2\E8:cs=5\E[%i%d;%dr:UP=2\E[%dA:DO=2\E[%dB:RI=2\E[%dC:\ :LE=2\E[%dD:ct=2\E[3g:st=2\EH:ta=^I:ms:bl=^G:cr=^M:eo:it#8:\ :RA=\E[?7l:SA=\E[?7h:po=\E[5i:pf=\E[4i: vt100-nam|dec-vt100-nam|vt100nam|vt100 w/no am:\ :am@:xn@:\ :is=\E>\E[?1;3;4;5;7l\E[?8h\E[1;24r\E[24;1H:\ :rs=\E>\E[?1;3;4;5;7l\E[?8h:\ :tc=vt100-am: vt100-np|dec-vt100-np|vt100 with no padding:\ :NP:do=\E[B:cl=\E[H\E[J:sf=\ED:as=\E(0:ae=\E(B:\ :cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:nw=\EE:\ :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\ :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:sr=\EM:\ :sc=\E7:rc=\E8:cs=\E[%i%d;%dr:UP=\E[%dA:DO=\E[%dB:RI=\E[%dC:\ :LE=\E[%dD:ct=\E[3g:st=\EH:tc=vt100-am: vt100-nac|dec-vt100-nac|vt100 without pseudographics and padding:\ :as@:ae@:ac@:tc=vt100-np: gt42|dec gt42:\ :do=^J:le=^H:bs:co#72:ns:li#40:os: # From ts@pc.ecn.purdue.edu (Thomas Ruschak) vt131|dec vt131:\ :cr=^M:do=^J:nl=^J:bl=^G:co#80:li#24:cl=50\E[;H\E[2J:\ :le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\ :ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\ :md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:is=\E[1;24r\E[24;1H:\ :rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:.ks=\E[?1h\E=:.ke=\E[?1l\E>:\ :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kb=^H:\ :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:ta=^I:pt:sr=5\EM:vt#3:xn:\ :sc=\E7:rc=\E8:cs=\E[%i%d;%dr: vt132:\ :al=99\E[L:dl=99\E[M:ip=7:dc=7\E[P:ei=\E[4l:im=\E[4h:xn:dN#30:tc=vt100: gt40|dec gt40:\ :do=^J:le=^H:bs:co#72:ns:li#30:os: vt50|dec vt50:\ :do=^J:le=^H:bs:cd=\EJ:ce=\EK:cl=\EH\EJ:co#80:li#12:nd=\EC:pt:up=\EA: vt125|vt125-am|DEC vt125:\ :xn:do=^J:co#80:li#24:cl=50\E[H\E[2J:dC=10:dN#10:\ :le=^H:am:bs:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:ce=3\E[K:cd=50\E[J:\ :so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:md=2\E[1m:mr=2\E[7m:mb=2\E[5m:\ :me=2\E[m:is=\E[1;24r\E[24;1H\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\ :ks=\E[?1h\E=:ke=\E[?1l\E>:if=/usr/share/tabset/vt100:ku=\EOA:kd=\EOB:\ :kr=\EOC:kl=\EOD:kb=^H:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\ :pt:sr=5\EM:vt#3:sc=\E7:rc=\E8:cs=\E[%i%d;%dr: vt125-nam|DEC vt125 no automatic margin:\ :am@:tc=vt125-am: # DEC gigi color graphic terminal, same as vt52 gigi|dec gigi terminal:\ :co#80:is=200\E>\E[?4l\E[?5l\E[?7h\E[?8h:\ :li#24:cl=100\E[;H\E[2J:bs:cm=50\E[%i%2;%2H:nd=200\E[C:up=100\E[A:\ :ce=120\E[K:cd=100\E[J:so=20\E[7m:se=20\E[m:us=20\E[4m:ue=20\E[m:\ :ks=200\E[?1h\E=:ke=200\E[?1l\E>:\ :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\ :kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=200\EM:\ :dC=50:dF=200:dN#50:dT=50: # From William King , basic ln03 entries ln03|dec ln03 LaserPrinter:\ :co#80:li#66:hc:hu=\EL:hd=\EK:so=\E[1m:se=\E[22m:\ :us=\E[4m:ue=\E[24m: ln03-w|dec ln03 LaserPrinter 132 cols:\ :co#132:tc=ln03: dw1|decwriter I:\ :do=^J:le=^H:bs:co#72:hc:os: # From tut@Topaz.CC Thu May 12 14:49:02 1983 dw3|la120|decwriter III:\ :bs:kb=^H:co#132:hc:os:pt:\ :is=\E(B\E[20l\E[w\E[1;132s\E[2g\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\E[z\E[66t\E[1;66r\E[4g\E>\r: # From tut@topaz.CC Thu Sep 24 22:10:46 1981 dw4|decwriter IV:\ :do=^J:le=^H:bs:co#132:hc:os:am:\ :pt:is=\Ec:k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:kb=^H: vt50h|dec vt50h:\ :do=^J:le=^H:bs:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\ :co#80:li#12:nd=\EC:pt:sr=\EI:up=\EA: vt100-s|dec-vt100-s|vt100 with status line at top:\ :li#23:i2=\E[2;24r\E[24;1H:cm@:ho=\E[H^J:cl=50\E[;H^J\E[0J:\ :hs:es:ts=\E7\E[1;%dH\E[1K:fs=\E8:tc=vt100-am: vt100-s-bot|dec-vt100-s-bot|vt100 with status line at bottom:\ :li#23:i2=\E[1;23r\E[23;1H:\ :hs:es:ts=\E7\E[24;%dH\E[1K:fs=\E8:tc=vt100-am: vt100-nav|dec-vt100-nav|dec vt100 132 cols 14 lines (w/o advanced video option):\ :li#14:tc=vt100-w: vt100-w|dec-vt100-w|dec vt100 132 cols (w/advanced video):\ :if=/usr/share/tabset/vt100-w:\ :is=\E>\E[?1;4;5l\E[?3;7;8h\E[1;24r\E[24;1H:\ :rs=\E>\E[?1;4;5l\E[?3;7;8h:\ :co#132:tc=vt100-am: vt100-w-nam|dec-vt100-w-nam|dec vt100 132 cols (w/advanced video), no am:\ :if=/usr/share/tabset/vt100-w:\ :is=\E>\E[?1;4;5;7l\E[?3;8h\E[1;24r\E[24;1H:\ :rs=\E>\E[?1;4;5;7l\E[?3;8h:\ :co#132:vt@:tc=vt100-nam: vt102|dec-vt102-am|vt102am|vt100 w/adv. video:\ :al=\E[L:dl=\E[M:im=\E[4h:ei=\E[4l:mi:dc=\E[P:\ :AL=\E[%dL:DL=\E[%dM:DC=\E[%dP:tc=vt100-np: vt102-nam|dec-vt102-nam|vt102nam|vt102 w/no am:\ :am@:xn@:\ :is=\E>\E[?1;3;4;5;7l\E[?8h\E[1;24r\E[24;1H:\ :rs=\E>\E[?1;3;4;5;7l\E[?8h:\ :tc=vt102am: vt102-w|dec vt102 132 cols (w/advanced video):\ :if=/usr/share/tabset/vt100-w:\ :is=\E>\E[?1;4;5l\E[?3;7;8h\E[1;24r\E[24;1H:\ :rs=\E>\E[?1;4;5l\E[?3;7;8h:\ :co#132:vt@:tc=vt102: vt102-w-nam|dec-vt102-w-nam|dec vt102 132 cols (w/advanced video), no am:\ :if=/usr/share/tabset/vt100-w:\ :is=\E>\E[?1;4;5;7l\E[?3;8h\E[1;24r\E[24;1H:\ :rs=\E>\E[?1;4;5;7l\E[?3;8h:\ :co#132:vt@:tc=vt102-nam: vt102-nac|dec-vt102-nac|vt102 without pseudographics:\ :as@:ae@:ac@:tc=vt102: vt52|dec-vt52|dec vt52:\ :do=^J:le=^H:bs:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :co#80:li#24:\ :nd=\EC:pt:sr=\EI:up=\EA:ku=\EA:kd=\EB:kr=\EC:kl=\ED:kb=^H: # vt61 created by Roger Sacilotto Massachusetts Computer Associates, Inc # Similar to vt52 but add al and dl # vt61|dec vt61:\ :al=\EPf:dl=\EPd:tc=vt52: dw2|decwriter II:\ :do=^J:kb=^h:le=^H:bs:co#132:hc:os: # DEC PRO-350 console (VT220-style) pro350|decpro|dec pro console:\ :bs:cd=\EJ:ce=\EK:cl=\EH\EJ:\ :cm=\EY%+ %+ :co#80:ho=\EH:\ :kl=\ED:kr=\EC:ku=\EA:kd=\EB:kh=\EH:\ :k0=\EE:k1=\EF:k2=\EG:k3=\EH:k4=\EI:k5=\EJ:k6=\Ei:k7=\Ej:\ :li#24:nd=\EC:pt:sr=\EI:up=\EA:do=\EB:\ :se=\E^N:so=\E^H:us=\E^D:ue=\E^C:\ :ae=\EG:as=\EF: # vt200|vt220|vt220am|vt200am|dec-vt220|dec-vt200|dec vt2X0 series with jump scroll:\ :@7=\E[4~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kh=\E[1~:\ :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\ :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\ :ve=\E[?25h:vi=\E[?25l:k0@:\ :F1=\E[23~:F2=\E[24~:ic=\E[@:IC=\E[%d@:ec=\E[%dX:\ :al=\E[L:dl=\E[M:dc=\E[P:\ :AL=\E[%dL:DL=\E[%dM:DC=\E[%dP:tc=vt100-np: vt220-pf|vt200-pf|dec-vt220-pf|dec-vt200-pf|dec vt200 with PF1-PF4:\ :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\ :tc=vt220: vt200-nam|dec-vt200-nam|vt200nam|vt200 w/no am:\ :tc=vt220nam: vt220-nam|dec-vt220-nam|vt220nam|vt220 w/no am:\ :am@:xn@:\ :is=\E>\E[?1;3;4;5;7l\E[?8h\E[1;24r\E[24;1H:\ :rs=\E>\E[?1;3;4;5;7l\E[?8h:\ :tc=vt220am: vt200-ss|vt220-ss|dec-vt220-ss|dec vt200 series with smooth scroll:\ :is=\E>\E[?1;3;5l\E[?4;7;8h\E[1;24r\E[24;1H:\ :rs=\E>\E[?1;3;5l\E[?4;7;8h:\ :tc=vt200: vt200-w|vt220-w|dec-vt220-w|vt200-wj|vt220-wj|dec vt200 series; 132 col.; jump scroll:\ :is=\E>\E[?1;4;5l\E[?3;7;8h\E[1;24r\E[24;1H:\ :rs=\E>\E[?1;4;5l\E[?3;7;8h:\ :co#132:vt@:tc=vt200: vt200-ws|vt220-ws|dec-vt220-ws|dec vt200 series; 132 col.; smooth scroll:\ :is=\E>\E[?1;5l\E[?3;4;7;8h\E[1;24r\E[24;1H:\ :rs=\E>\E[?1;5l\E[?3;4;7;8h:\ :co#132:vt@:tc=vt200: vt200-nac|vt220-nac|dec-vt200-nac|dec-vt220-nac|dec vt200 without pseudographics:\ :as@:ae@:ac@:tc=vt200: # vt320|vt300|vt340|vt320 with status line:\ :ds=\E[2$~\r\E[1$}\E[K\E[$}:ts=\E[2$~\E[1$}\E[1;%dH:\ :fs=\E[$}:tc=vt220: dec-vt320|dec-vt300|dec-vt340|dec vt320 with status line:\ :tc=vt320: vt320-pf|vt300-pf|vt340-pf|vt320 with PF1-PF4:\ :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\ :tc=vt320: dec-vt320-pf|dec-vt300-pf|dec-vt340-pf|dec vt320 with PF1-PF4:\ :tc=vt320-pf: vt320-nac|vt300-nac|vt340-nac|vt320 without pseudographics:\ :as@:ae@:ac@:tc=vt320: dec-vt320-nac|dec-vt300-nac|dec-vt340-nac|dec vt320 without pseudographics:\ :tc=vt320-nac: # The following entry was converted with the "tic -C" command # in ncurses. The original terminfo source file was posted to # comp.terminals by Daniel A. Glasser on 1991-01-07. # # The comments in () were inserted by tic. # # (untranslatable capabilities removed to fit entry within 1023 bytes) # (sgr removed to fit entry within 1023 bytes) # (acsc removed to fit entry within 1023 bytes) # (terminfo-only capabilities suppressed to fit entry within 1023 bytes) vt420|vt420-24|dec-vt420|DEC vt420 7 bit controls 80x24 autowrap:\ :am:es:hs:mi:ms:xn:xo:\ :co#80:it#8:li#24:ws#80:\ :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\ :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\ :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\ :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\ :ds=\E[2$~\r\E[1$}\E[K\E[$}:ec=\E[%dX:ei=\E[4l:fs=\E[$}:\ :ho=\E[H:ic=\E[@:im=\E[4h:is=\E[?7h\E[>\E[?1h\E F\E[?4l:\ :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\ :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\ :kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\ :md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:\ :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\ :ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\ :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h: vt400|dec-vt400|DEC VT400 level terminal for telnet alias:\ :tc=vt420: vt420-w|DEC vt420 7 bit controls 132x24 autowrap:\ :co#132:tc=vt420: vt420-36|DEC vt420 7 bit controls 80x36 autowrap:\ :li#36:tc=vt420: vt420-36w|DEC vt420 7 bit controls 132x36 autowrap:\ :co#132:li#36:tc=vt420: # From ftp://gatekeeper.dec.com/pub/DEC/termcaps/ : # # vt520.tc (9/30/94) # # VT520/VT525 # # The VT520 is a monochrome text terminal capable of managing up to # four independent sessions in the terminal. It has multiple ANSI # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console) # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950, # 925 910+, ADDS A2). This termcap data is for the ANSI emulations only. # SCO Console emulation uses the "ansi" entry. Existing ASCII termcap # entries are used with the ASCII emulations. # # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or # [Alt]/[Print Screen] depending upon which keyboard and which # terminal mode is being used. If Set-Up has been disabled or # assigned to an unknown key, Set-Up may be entered by pressing # [F3] as the first key after power up, regardless of keyboard type. # vt520|DEC VT520 :\ :am:mi:xn:xo:bs:pt:\ :co#80:li#24:kn#3:\ :ae=4\E(B:al=\E[L:as=2\E(0:cd=50\E[J:ce=3\E[K:\ :cl=50\E[;H\E[2J:cm=10\E[%i%d;%dH:cs=\E[%i%d;%dr:\ :dc=\E[P:dl=\E[M:ei=\E[4l:ho=\E[H:\ :if=/usr/lib/tabset/vt100:\ :im=\E[4h:\ :is=\E[1;24r\E[24;1H:\ :r3=\E[?67h\E[64;1"p:\ :i3=\E[?67h\E[64;1"p:\ :k0=\E[29~:\ :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\ :k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\ :kb=\b:kd=\E[B:ke=\E>:kl=\E[D:\ :kr=\E[C:ks=\E=:ku=\E[A:nd=\E[C:\ :rc=\E8:rf=/usr/lib/tabset/vt100:\ :sc=\E7:se=\E[m:so=\E[7m:\ :sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:nl=\E[B:ko=do,nd,up: # vt520nam|vt520-nam|v520n|DEC VT520 with no automargins:\ :am@:tc=vt520: # # For ANSI color-enabled terminal emulators # vt100-color|vt100-co|vt100 emulator with ANSI colors:\ :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt100: vt102-color|vt102-co|vt102 emulator with ANSI colors:\ :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt102: putty|vt220-color|vt220-co|vt220 emulator with ANSI colors:\ :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt220: # Attempt to save some of 1024 buf space truncating description # and names list vt320-co|vt320 color:\ :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt320: vt320-color|vt320 co:\ :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt320: vt340-co|vt340 color:\ :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt340: vt340-color|vt340 co:\ :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt340: # # SC,SB,SH,SW names needed for screen(1) # SC|screen|VT 100/ANSI X3.64 virtual terminal:\ :am:xn:ms:mi:G0:km:\ :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\ :cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\ :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\ :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\ :li#24:co#80:us=\E[4m:ue=\E[24m:so=\E[3m:se=\E[23m:\ :mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:sr=\EM:al=\E[L:\ :AL=\E[%dL:dl=\E[M:DL=\E[%dM:cs=\E[%i%d;%dr:dc=\E[P:\ :DC=\E[%dP:im=\E[4h:ei=\E[4l:IC=\E[%d@:\ :ks=\E[?1h\E=:ke=\E[?1l\E>:vb=\Eg:\ :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\ :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\ :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:\ :F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\ :F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\ :kh=\E[1~:kI=\E[2~:kD=\E[3~:@7=\E[4~:kP=\E[5~:\ :kN=\E[6~:eA=\E(B\E)0:as=^N:ae=^O:ti=\E[?1049h:te=\E[?1049l:\ :vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\ :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\ :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00: SB|screen-bce|VT 100/ANSI X3.64 virtual terminal with bce:\ :ut:tc=screen: SH|screen-s|VT 100/ANSI X3.64 virtual terminal with hardstatus line:\ :ts=\E_:fs=\E\\:ds=\E_\E\\:tc=screen: SW|screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols:\ :co#132:tc=screen: screen-256color|VT 100/ANSI X3.64 terminal with 256 colors:\ :Co#256:pa#32767:\ :AB=\E[48;5;%dm:AF=\E[38;5;%dm:tc=screen: # $XTermId: termcap,v 1.78 2009/11/09 00:24:26 tom Exp $ # # Note: # termcap format is limited to 1023 characters. This set of descriptions # is a subset of the terminfo, since not all features can be fit into # that limit. The 'xterm' description supports color. The monochrome # 'xterm-mono' drops color in favor of additional function keys. If you # need both, use terminfo. # # The 1023-character limit applies to each entry after resolving the # "tc=" strings. Some implementations may discount all or part of the # formatting characters in the entry (i.e., the backslash newline tab # colon). GNU termcap does not have this limit. # # I checked the limits using ncurses "captoinfo -CrTUvx", which prints # the resolved length of each entry in a comment at the end - T.Dickey # Add the capability to "clear the screen" after exiting vi, more/less, etc. # xterm-clear:\ :te=\E[?1049l:ti=\E[?1049h:\ :tc=xterm-new: xterm-new|modern xterm:\ :@7=\EOF:@8=\EOM:F1=\E[23~:F2=\E[24~:K2=\EOE:Km=\E[M:\ :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\ :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kI=\E[2~:\ :kN=\E[6~:kP=\E[5~:kd=\EOB:kh=\EOH:kl=\EOD:kr=\EOC:ku=\EOA:\ :tc=xterm-basic: # # This chunk is used for building the VT220/Sun/PC keyboard variants. xterm-basic|modern xterm common:\ :am:bs:km:mi:ms:ut:xn:AX:\ :Co#8:co#80:kn#12:li#24:pa#64:\ :AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\ :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:\ :as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\ :cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:\ :ei=\E[4l:ho=\E[H:im=\E[4h:is=\E[!p\E[?3;4l\E[4l\E>:\ :kD=\E[3~:kb=^H:ke=\E[?1l\E>:ks=\E[?1h\E=:kB=\E[Z:le=^H:md=\E[1m:\ :me=\E[m:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:op=\E[39;49m:\ :rc=\E8:rs=\E[!p\E[?3;4l\E[4l\E>:sc=\E7:se=\E[27m:sf=^J:\ :so=\E[7m:sr=\EM:st=\EH:\ :ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?12l\E[?25h:vi=\E[?25l:vs=\E[?12;25h: # The xterm-new description has all of the features, but is not completely # compatible with vt220. If you are using a Sun or PC keyboard, set the # sunKeyboard resource to true: # + maps the editing keypad # + interprets control-function-key as a second array of keys, so a # 12-fkey keyboard can support vt220's 20-fkeys. # + maps numeric keypad "+" to ",". # + uses DEC-style control sequences for the application keypad. # xterm-vt220|xterm emulating vt220:\ :*6=\E[4~:@7=\E[4~:K2=\EOu:Km=\E[M:kH=\E[4~:kh=\E[1~:\ :tc=xterm-basic: xterm-24|xterms|vs100|24x80 xterm:\ :li#24:tc=xterm-old: xterm-65|65x80 xterm:\ :li#65:tc=xterm-old: xterm-bold|xterm with bold for underline:\ :so=\E[7m:us=\E[1m:tc=xterm-old: xterm-boldso|xterm with bold for standout:\ :se=\E[m:so=\E[1m:tc=xterm-old: xterm-mono|monochrome xterm:\ :ut@:\ :Co@:NC@:kn#20:pa@:\ :AB@:AF@:Sb@:Sf@:op@:st@:tc=xterm-old: # # Alternate terminal description that "works" for interactive shells such as # tcsh and bash. xterm-noapp|xterm with cursor keys in normal mode:\ :kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:te@:ti@:\ :tc=xterm: # # This should work for the commonly used "color xterm" variations (XFree86 # xterm, color_xterm, nxterm, rxvt). Note that it does not set 'bce', so for # XFree86 and rxvt, some applications that use colors will be less efficient, # and in a few special cases (with "smart" optimization) the wrong color will # be painted in spots. xterm-color|generic "ANSI" color xterm:\ :Co#8:NC@:pa#64:\ :AB=\E[4%dm:AF=\E[3%dm:ac=:op=\E[m:tc=xterm-r6: # # These aliases are for compatibility with the terminfo; termcap cannot provide # the extra features such as color initialization, but termcap applications # still want the names. xterm-16color|xterm alias 1:\ :tc=xterm-new: xterm-88color|xterm alias 2:\ :Co#88:pa#7744:tc=xterm-256color: xterm-256color|xterm alias 3:\ :Co#256:pa#32767:\ :AB=\E[48;5;%dm:AF=\E[38;5;%dm:tc=xterm-new: xterm-nrc|xterm alias 4:\ :tc=xterm: xterm-rep|xterm alias 5:\ :tc=xterm: xterm-xmc|xterm alias 6:\ :sg#1:tc=xterm: # # An 8-bit description is doable with termcap, but there are probably no # termcap (or BSD curses) applications that are able to use it. # # Add the capability to "clear the screen" after exiting vi, more/less, etc. # xterm-8bit-clear:\ :te=\233?1049l:ti=\233?1049h:ue=\23324m:\ :tc=xterm-8bit: xterm-8bit|xterm terminal emulator 8-bit controls (X Window System):\ :am:km:mi:ms:xn:\ :co#80:it#8:li#24:\ :AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\ :K2=\217y:Km=\233M:LE=\233%dD:RI=\233%dC:UP=\233%dA:\ :ae=\E(B:al=\233L:as=\E(0:bl=^G:bt=\233Z:cd=\233J:ce=\233K:\ :cl=\233H\2332J:cm=\233%i%d;%dH:cr=^M:cs=\233%i%d;%dr:\ :ct=\2333g:dc=\233P:dl=\233M:do=^J:ei=\2334l:ho=\233H:\ :im=\2334h:\ :is=\E[62"p\E G\233m\233?7h\E>\E7\233?1;3;4;6l\2334l\233r\E8:\ :k1=\23311~:k2=\23312~:k3=\23313~:k4=\23314~:k5=\23315~:\ :k6=\23317~:k7=\23318~:k8=\23319~:k9=\23320~:kD=\2333~:\ :kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\217B:\ :ke=\233?1l\E>:kh=\2331~:kl=\217D:kr=\217C:ks=\233?1h\E=:\ :ku=\217A:le=^H:mb=\2335m:md=\2331m:me=\233m:mr=\2337m:\ :nd=\233C:rc=\E8:sc=\E7:se=\23327m:sf=^J:so=\2337m:sr=\215:\ :st=\210:ta=^I:ue=\23324m:\ :up=\233A:us=\2334m:vb=\233?5h\233?5l:ve=\233?25l\233?25h:\ :vs=\233?12;25h:vi=\233?25l: # xterm-hp|xterm with hpterm function keys:\ :@7=\EF:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:\ :k8=\Ew:kC=\EJ:kD=\EP:kI=\EQ:kN=\ES:kP=\ET:kd=\EB:kh=\Eh:\ :kl=\ED:kr=\EC:ku=\EA:tc=xterm-basic: # xterm-sco|xterm with SCO function keys:\ :@7=\E[F:F1=\E[W:F2=\E[X:F3=\E[Y:F5=\E[a:F6=\E[b:F7=\E[c:\ :F8=\E[d:F9=\E[e:FA=\E[f:FB=\E[g:FC=\E[h:FD=\E[i:FE=\E[j:\ :FF=\E[k:ac=:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:\ :k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:k;=\E[V:kD=\177:kI=\E[L:\ :kN=\E[G:kP=\E[I:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\ :tc=xterm-basic: # xterm-vt52|xterm emulating vt52:\ :bs:\ :co#80:it#8:li#24:\ :ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\ :cr=^M:do=\EB:ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:\ :le=\ED:nd=\EC:nw=^M^J:sf=^J:sr=\EI:ta=^I:up=\EA: # xterm-sun|xterm with Sun functionkeys:\ :%1=\E[196z:&8=\E[195z:@0=\E[200z:@5=\E[197z:@7=\E[220z:\ :F1=\E[192z:F2=\E[193z:K2=\E[218z:Km=\E[M:k1=\E[224z:\ :k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:k6=\E[229z:\ :k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:kD=\E[3z:\ :kI=\E[2z:kN=\E[222z:kP=\E[216z:kh=\E[214z:\ :tc=xterm-basic: # # vi may work better with this entry, because vi doesn't use insert mode much. # |xterm-ic|xterm-vi|xterm with insert character instead of insert mode:\ xterm-ic|xterm-vi|xterm with insert char:\ :mi@:\ :IC=\E[%d@:ei@:ic=\E[@:im@:tc=xterm: # # Compatible with the X11R6.3 xterm # # Add the capability to "clear the screen" after exiting vi, more/less, etc. # xterm-r6-clear:\ :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:\ :tc=xterm-r6: xterm-r6|xterm-old|X11R6 xterm:\ :am:bs:km:mi:ms:pt:xn:\ :co#80:kn#20:li#24:\ :*6=\E[4~:@0=\E[1~:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\ :DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\ :F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\ :FA=\E[34~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:\ :as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\ :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:eA=\E)0:ei=\E[4l:\ :ho=\E[H:im=\E[4h:\ :is=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8:\ :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\ :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\ :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\ :ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\ :ku=\EOA:md=\E[1m:me=\E[m:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:\ :rc=\E8:rs=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8:\ :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\ :ue=\E[m:up=\E[A:us=\E[4m: # # Compatible with the R5 xterm # # Add the capability to "clear the screen" after exiting vi, more/less, etc. # xterm-r5-clear:\ :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:\ :tc=xterm-r5: xterm-r5|X11R5 xterm X11R5:\ :am:bs:km:mi:ms:pt:xn:\ :co#80:kn#4:li#24:\ :@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\ :IC=\E[%d@:UP=\E[%dA:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\ :cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:\ :ei=\E[4l:ho=\E[H:im=\E[4h:\ :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\ :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:kb=^H:kd=\EOB:\ :ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\ :ku=\EOA:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:\ :rs=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H:\ :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\ :up=\E[A:us=\E[4m: # # Customization begins here. xterm-xfree86|xterm terminal emulator (XFree86):\ :tc=xterm-new: # # This is the only entry which you should have to customize, since "xterm" # is widely used for a variety of incompatible terminal emulations including # color_xterm and rxvt. xterm|X11 terminal emulator:\ :tc=xterm-new: # :tc=xterm-r6: # dtterm termcap entry - Obtained from Xinside's CDE with permission # from Thomas Roell dtterm|dtterm-cde10:\ :am:km:mi:ms:xn:\ :co#80:li#24:Co#8:it#8:lm#0:pa#8:\ :AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:\ :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\ :bl=^G:cr=\r:ta=\t:\ :cl=\E[H\E[J:cb=\E[1K:ce=\E[K:cd=\E[J:\ :cm=\E[%i%d;%dH:ho=\E[H:\ :LE=\E[%dD:le=\b:\ :DO=\E[%dB:do=\n:\ :RI=\E[%dC:nd=\E[C:\ :UP=\E[%dA:up=\E[A:\ :DC=\E[%dP:dc=\E[P:DL=\E[%dM:dl=\E[M:\ :IC=\E[%d@:ic=\E[@:AL=\E[%dL:al=\E[L:\ :sc=\E7:rc=\E8:\ :sf=\ED:sr=\EM:\ :st=\EH:ct=\E[3g:\ :me=\E[0m:md=\E[1m:mr=\E[7m:\ :as=^N:ae=^O:\ :SA=\E[?7h:RA=\E[?7l:\ :so=\E[2;7m:se=\E[22;27m:\ :us=\E[4m:ue=\E[24m:\ :mh=\E[2m:mb=\E[5m:vi=\E[?25l:ve=\E[?25h:ec=\E[%dX:\ :mk=\E[8m:i2=\E\sF\E>\E[?1l\E[?7h\E[?45l:\ :nw=\EE:op=\E[39;49m:\ :kb=\b:kl=\E[D:kd=\E[B:kr=\E[C:ku=\E[A:kD=\E[3~:k1=\E[11~:k2=\E[12~:\ :k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:\ :k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\ :F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:F20=\E[34~:\ :@0=\E[1~:%1=\E[28~:kI=\E[2~:kN=\E[6~:kP=\E[5~:*6=\E[4~: # vs100 emulator using tsim (from lai@decwrl) vs100t|tsim|vs100-tsim:\ :bs:cm=\EM%+ %+ :ho=\EH:do=^J:up=^K:cl=\EE:ce=\EL:cs=\ES%+ %+ :\ :so=\Eh:se=\Er:us=\Eu:ue=\Ev:al=\EI:Al=\E+%+ :dl=\ED:Dl=\E-%+ :\ :ic=\Ei:dc=\Ed:is=\ER:rs=\ER:am:cd=\EQ:pt:nd=\En:li#24:co#80: kterm|kterm kanji terminal emulator (X window system):\ :hs:es:ts=\E[?E\E[?%i%dT:fs=\E[?F:ds=\E[?H:\ :KJ:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:TY=ascii:\ :eA@:as=\E(0:ae=\E(B:tc=xterm-r6: kterm-color|kterm-co|kterm + ANSI colors:\ :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:tc=kterm: # # -------------------------------- # # h: HEWLETT PACKARD # # Note: no "ho" on HP's since that homes to top of memory, not screen. # Due to severe 2621 braindamage, the only way to get the arrow keys to # transmit anything at all is to turn on the function key labels # (f1-f8) with ks, and even then the poor user has to hold down shift! # The default 2621 turns off the labels except when it has to enable # the function keys. If your installation prefers labels on all the time, # or off all the time (at the "expense" of the function keys) move the # 2621-nl or 2621-wl labels to the front using reorder. # Note: there are newer ROM's for 2621's that allow you to set strap A # so the regular arrow keys xmit \EA, etc, as with the 2645. However, # even with this strap set, the terminal stops xmitting if you reset it, # until you unset and reset the strap! Since there is no way to set/unset # the strap with an escape sequence, we don't use it in the default. # If you like, you can use 2621-ba (braindamaged arrow keys). 2621-ba|2621 w/new rom, strap A set:\ :ks@:ke@:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\Eh:tc=hp2621: # 2621 with function labels. Most of the time they are off, # but inside vi, the function key labels appear. You have to # hold down shift to get them to xmit. 2621|hp2621|hp2621a|hp2621p|2621a|2621p|2621-pb|hp2621-fl|hp 2621:\ :is=\E&j@\r:bt=\Ei:cm=\E&a%r%dc%dY:dc=2\EP:ip=2:pb#19200:\ :so=\E&dD:se=\E&d@:us=\E&dD:ue=\E&d@:me=\E&d@:\ :kh=\Ep\r:ku=\Et\r:kl=\Eu\r:kr=\Ev\r:kd=\Ew\r:\ :kn#8:k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\ :k8=\Ew\r:ks=\E&jB:ke=\E&j@:ta=2^I:tc=hp: # 2621k45: untested # 2622: unsure if this is quite it, have only heard about the terminal. 2621k45|hp2621k45|k45|2622|hp2622|hp 2621 with 45 keyboard:\ :kb=^H:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\Eh:ks=\E&s1A:ke=\E&s0A:tc=2621: hp2645|2645|hp45:\ :mh=\E&dH:mr=\E&dB:us=\E&dD:mb=\E&dA:me=\E&d@:\ :ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\Eh:ks=\E&s1A:ke=\E&s0A:tc=hp: hp|hpterm|hewlett-packard:\ :ct=\E3:st=\E1:do=^J:al=\EL:am:le=^H:bs:\ :cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:cm=6\E&a%r%dc%dY:\ :co#80:cv=\E&a%dY:da:db:dc=\EP:dl=\EM:ei=\ER:im=\EQ:\ :kb=^H:li#24:mi:nd=\EC:pt:se=\E&d@:so=\E&dJ:\ :us=\E&dD:ue=\E&d@:up=\EA:xs:vt#6:pb#9600: # This entry does not use any of the fancy windowing stuff of the 2621. # Indeed, termcap does not yet handle such stuff. We are looking at it. hp2626|hp2626a|hp2626p|2626|2626a|2626p|hp 2626:\ :dc=2\EP:ip=2:se=\E&d@:so=\E&dB:cd=500\EJ:\ :mr=\E&dB:us=\E&dD:mb=\E&dA:mk=\E&dS:me=\E&d@:ue=\E&d@:\ :kh=\Eh:ku=\EA:kl=\ED:kr=\EC:kd=\EB:ks=\E&s1A:ke=\E&s0A:\ :sf=\ES:ta=2^I:xs:tc=2621: # cD is a pain - but it only screws up at 9600 baud. # You should use this terminal at 4800 baud or less. hp2648|hp2648a|2648a|2648|HP 2648a graphics terminal:\ :cl=50\EH\EJ:cm=20\E&a%r%dc%dY:dc=7\EP:ip=5:tc=2645: # This terminal should be used at 4800 baud or less. hp2645-np|2645 w/no padding:cm=\E&a%r%dc%dY:tc=hp2645: # 2640a doesn't have the Y cursor addressing feature, and C is memory relative # instead of screen relative, as we need. 2640|hp2640a|2640a|hp 2640a:\ :cm@:ks@:ke@:tc=2645: 2640b|hp2640b|2644a|hp2644a|hp 264x series:\ :ks@:ke@:tc=2645: # 2621 using all 48 lines of memory, only 24 visible at any time. Untested. 2621-48|48 line 2621:\ :li#48:ho=\EH:cm=\E&a%r%dc%dR:tc=2621: # From: mcvax!westc!ahof@seismo.css.gov (Anton Hofland) (ahof@westc.uucp) # For newer versions, :li should correspond to the actual number of lines. hp110|HP110|HP110A|Hewlett Packard 110A Portable Computer:\ :co#80:li#16:am:db:cl=\E[2J:is=\E&j@\E[=7h:ch=\E&a%2C:cv=\E&a%2R:\ :cm=\E&a%2r%2C:ho=\Eh:cr=^M:nl=^J:ks=\E&s1A:ke=\E&s0A:kd=\EB:\ :ku=\EA:kr=\EC:kl=\ED:nd=\EC:up=\EA:le=^H:do=^J:bc=^H:bt=\Ei:\ :ta=\EI:sf=\E[s\EH\EM\E[u\EJ:sr=\ET:al=\EL:dl=\EM:kb=^H:bl=^G:\ :kh=\Eh:dc=\EP:im=\EQ:ei=\ER:mi:ms:xs:mr=\E[7m:mb=\E[5m:me=\E[0m:\ :so=\E[7m:se=\E[0m:rs=\E[0m\E&j@:cd=\EJ:ce=\EK:kn#8:k1=\Ep:k2=\Eq:\ :k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew: # 2621 with no labels ever. Also prevents vi delays on escape. 2621-nl|hp2621nl|2621nl|hp2621-nl|hp 2621 with no labels:\ :ks@:ke@:kh@:ku@:kl@:kr@:kd@:tc=hp2621-fl: # Needed for UCB ARPAVAX console, since lsi-11 expands tabs (wrong). hp2621-nt|2621nt|2621-nt|hp2621nt|hp 2621 w/no tabs:\ :pt@:tc=hp2621: # 2621 with labels on all the time - normal outside vi, function inside vi. hp2621wl|2621wl|2621-wl|hp2621-wl|hp 2621 w/labels:\ :is=\E&jA\r:ke=\E&jA:tc=hp2621-fl: # 2392 (from haddix@arpa?) 2392|hp2392|hp2392a:\ :bt=\Ei:ip=2:is=\E&j@\E3\r:if=/usr/share/tabset/stdcrt:\ :ml=\El:MT:mu=\Em:km:\ :mh=\E&dH:mr=\E&dB:us=\E&dD:mb=\E&dA:me=\E&d@:\ :ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\Eh:ks=\E&s1A:ke=\E&s0A:tc=hp: # HP 236 console # from ddavis@ic.berkeley.edu 236|hp236|HP236 internal terminal emulator:\ :am:bs:li#24:co#80:ce=\EK:cl=\EF:cm=\EE%+ %+ :\ :dc=\EJ:dl=\EH:ic=\EI:al=\EG:up=^K:\ :so=\EBI:se=\ECI:vs=\EDB:ve=\EDE: # hp150 from ddavis@ic.berkeley.edu 150|hp150|hp150a|150a:\ :is=\E&s1A\E&f0a1k2L\Ep\r\E&k0K\E&f0a2k2L\Eq\r\E&f0a3k2L\Er\r\E&f0a4k2L\Es\r\E&f0a5k2L\Et\r\E&f0a6k2L\Eu\r\E&f0a7k2L\Ev\r\E&f0a8k2L\Ew\r\E&k0D\E&s0A:\ :bt=\Ei:li#24:cm=\E&a%r%dc%dY:dc=2\EP:ip=2:pb#19200:so=\E&dJ:\ :se=\E&d@:us=\E&dD:ue=\E&d@:me=\E&d@:kh=\Eh:ku=\EA:kl=\ED:kr=\EC:\ :kd=\EB:kn#8:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:\ :k8=\Ew:ta=2^I:ct=\E3:st=\E1:do=^J:al=\EL:am:le=^H:\ :bs:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\Eh\EJ:co#80:cv=\E&a%dY:da:db:dl=\EM:\ :ei=\ER:im=\EQ:kb=^H:mi:nd=\EC:pt:up=\EA:xs:vt#6:sf=\ES:sr=\ET:\ :vs=\E&s1A:ve=\E&s0A:ks=\E&jB\E&j@:ke=\E&j@: # From leres@okeeffe: This works on a hp300 console running Utah 4.3 BSD 300h|hp300h|HP Catseye console:\ :am:bs:cm=\E&a%dy%dC:do=\EB:le=\b:nd=\EC:up=\EA:dc=\EP:dl=\EM:\ :xs:da:db:mi:co#128:li#51:lm#0:sg#0:bt=\Ei:bl=^G:cr=\r:\ :ct=\E3:cl=\E&a0y0C\EJ:ce=\EK:cd=\EJ:ch=\E&a%dC:cv=\E&a%dY:\ :se=\E&d@:ue=\E&d@:im=\EQ:so=\E&dB:us=\E&dD:me=\E&d@:ei=\ER:\ :if=/usr/share/tabset/stdcrt:al=\EL:kb=\b:kd=\EB:kh=\Eh:kl=\ED:\ :kr=\EC:ku=\EA:ke=\E&s0A:ks=\E&s1A:sf=\n:ta=\t: # From gregc@ernie.berkeley.edu (Greg Couch) 9837|hp9837|98720|hp98720|98721|hp98721|HP 9000/300 workstations:\ :bs:pt:am:xs:da:db:mi:\ :co#128:li#46:lm#0:\ :is=\E&v0m1b0i&j@:bt=\Ei:bl=^G:ct=\E3:\ :cl=\E&a0y0C\EJ:ce=\EK:cd=\EJ:ch=\E&a%dC:\ :cm=\E&a%dy%dC:do=\EB:le=^H:nd=\EC:\ :up=\EA:dc=\EP:dl=\EM:im=\EQ:\ :so=\E&v5S:us=\E&dD:me=\E&d@:ei=\ER:\ :se=\E&v0S:ue=\E&d@:al=\EL:\ :kb=^H:kd=\EB:kh=\Eh:kl=\ED:\ :kr=\EC:ku=\EA:ke=\E&s0A:ks=\E&s1A:\ :cv=\E&a%dY:sf=\n:st=\E1:\ :ko=ce,cd,al,im,dl,dc:kN=\EU:kP=\EV: # Developed 07SEP90 by Charles A. Finnell of MITRE 98550|hp98550|98550a|hp98550a|HP 9000 Series 300 color console:\ :ae=^O:al=\EL:am:as=^N:bl=^G:bs:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\ :cl=\EH\EJ:cm=\E&a%dy%dC:co#128:cr=\r:ct=\E3:cv=\E&a%dY:da:db:dc=\EP:\ :dl=\EM:do=\n:ei=\ER:if=/usr/share/tabset/9837:im=\EQ:k1=\Ep:k2=\Eq:\ :k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\ :kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:kR=\ET:\ :kS=\EJ:kT=\E1:ka=\E3:kb=\b:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kn#12:\ :ko=al,cd,ce,ct,dc,dl,do,ei,im,nd,st,up:kr=\EC:ks=\E&s1A:kt=\E2:\ :ku=\EA:le=\b:li#49:lm#0:mb=\E&dA:md=\E&dJ:me=\E&d@:mh=\E&dH:mi:\ :mk=\E&ds:mr=\E&dJ:nd=\EC:pt:se=\E&d@:sf=\n:so=\E&dJ:st=\E1:ta=\t:\ :ue=\E&d@:up=\EA:us=\E&dD:ve=\E*dQ:vi=\E*dR:xs: # From: vic@fine.Princeton.EDU (Victor Duchovni) hp700-wy|HP700/41 emulating wyse30:\ :al=0.7*\EE:am:bl=^G:bs:bt=\EI:bw:cd=\EY:ce=10\ET:cl=^Z:cm=\E=%+ %+ :\ :co#80:cr=^M:ct=\E0:cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ei=\Er:\ :ho=^^:if=/usr/share/tabset/hp700-wy:ll=^^^K:mi:ms:nd=^L:nl=^J:pt:\ :im=\Eq:is=\E~"\EC\Er\E(\EG0^C\E`9\E`1:kb=^?:kd=^V:\ :kh=^^:kl=^H:ko=cl,ho,ce,bt,ta,im,ei,ce,cd:kr=^L:ku=^K:le=^H:li#24:\ :rs=\E~"\EC\Er\E(\EG0^C\E`9\E`1:se=10\EG0:sg#1:so=10\EG4:sr=\Ej:\ :st=\E1:ue=10\EG0:up=^K:ug#1:us=10\EG8: # # -------------------------------- # # i: INFOTON (GENERAL TERMINAL) # # Infoton is now called General Terminal Corp. or some such thing. # gt100 sounds like something DEC would come out with. Lets hope they don't. i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100):\ :do=^J:cl=^L:cd=\EJ:ce=\EK:li#24:co#80:\ :al=\EL:dl=\EM:up=\EA:nd=\EC:ho=\EH:cm=\Ef%r%+ %+ :vb=\Eb\Ea:\ :am:le=^H:bs:so=\Eb:se=\Ea: i400|400|infoton 400:\ :do=^J:al=\E[L:am:le=^H:bs:ce=\E[N:cl=\E[2J:cm=%i\E[%3;%3H:co#80:\ :dl=\E[M:li#25:nd=\E[C:up=\E[A:im=\E[4h\E[2Q:ei=\E[4l\E[0Q:\ :dc=\E[4h\E[2Q\E[P\E[4l\E[0Q: addrinfo:\ :do=^J:li#24:co#80:cl=^L:ho=^H:nd=^Y:cd=^K:\ :up=^\:am:le=^Z:bc=^Z:cm=\037%+\377%+\377:ll=^H^\: infotonKAS:\ :do=^J:am:le=^Z:bc=^Z:cd=^K:cl=^L:co#80:li#24:nd=^Y:up=^\:ll=^H^\: # # -------------------------------- # # k: HEATHKIT (ZENITH) # h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode:\ :\ :al=1*\E[1L:am:le=^H:bs:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%2;%2H:co#80:\ :dc=\E[1P:dl=1*\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:im=\E[4h:li#24:mi:\ :nd=\E[1C:as=\E[10m:ae=\E[11m:ms:pt:se=\E[0m:so=\E[7m:up=\E[1A:\ :vs=\E[>4h:ve=\E[>4l:kb=^h:ku=\E[1A:kd=\E[1B:kl=\E[1D:kr=\E[1C:\ :kh=\E[H:kn#8:k1=\EOS:k2=\EOT:k3=\EOU:k4=\EOV:k5=\EOW:l6=blue:\ :l7=red:l8=white:k6=\EOP:k7=\EOQ:k8=\EOR:\ :sr=\EM:is=\E<\E[>1;2;3;4;5;6;7;8;9l\E[0m\E[11m\E[?7h: h19-bs|h19bs|heathkit w/keypad shifted:\ :ks=\Et:ke=\Eu:tc=h19-b: # written by David Shewmake, UCSF Medical Information Science # ucbvax!ucsfmis!shewmake h29|heath-29|z29|zenith-29:\ :am:bc=\ED:bt=\E-:do=^J:\ :al=\EL:le=^H:bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:dc=\EN:\ :dl=1*\EM:do=\EB:ei=\EO:ho=\EH:im=\E@:li#24:mi:nd=\EC:as=\EF:ae=\EG:\ :ms:pt:sr=\EI:se=\Eq:so=\Ep:up=\EA:vs=\Ex4:ve=\Ey4:\ :kb=^H:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\EH:kn#1:k0=\E~:l0=HOME:\ :k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:k9=\E0I:\ :es:hs:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:fs=\Ek\Ey5:ds=\Ey1:us=\Es8:ue=\Es0: # the z29-e entry sucks...but it works with emacs z29-e|zenith 29 hacked for emacs:\ :ip=1.5:ks=\Et:ke=\Eu:vs@:ve@:al=1*\EL:am:le=^H:\ :bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:dc=\EN:dl=1*\EM:\ :do=\EB:ho=\EH:li#24:nd=\EC:as=\EF:ae=\EG:ms:\ :pt:sr=\EI:se=\Eq:so=\Ep:up=\EA:vs=\Ex4:ve=\Ey4:kb=^h:\ :ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\EH:kn#8:k1=\ES:k2=\ET:k3=\EU:\ :k4=\EV:k5=\EW:l6=blue:l7=red:l8=white:k6=\EP:k7=\EQ:k8=\ER:es:hs:\ :ts=\Ej\Ex5\Ex1\EY8%+ \Eo:fs=\Ek\Ey5:ds=\Ey1: # z29 in ansi mode. Assumes that the cursor is in the correct state, and that # the world is stable. `rs' causes the terminal to be reset to the state # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore # cursor, bc -> block cursor. # from Mike Meyers z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode:\ :do=^J:co#80:li#24:cl=\E[2J:pt:ho=\E[H:\ :le=^H:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:mb=\E[5m:mr=\E7m:\ :ce=\E[K:cd=\E[J:so=\E[7;2m:se=\E[m:us=\E[4m:ue=\E[m:mh=\E[2m:\ :md=\E[2m:mr=\E[7m:mb=\E[5m:me=\E[m:\ :rs=\E<\E[1;24r\E[24;1H\E[?7h\E[>4h\E[>1;2;3;5;6;7;8;9l\E[m\E[11m:\ :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\ :k1=\EOS:k2=\EOT:k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:\ :k9=\EOX:k0=\E[~:l0=help:kn#2:ko=ho,cd:if=/usr/share/tabset/zenith29:\ :es:hs:ts=\E[s\E[>5;1h\E[25;%i%dH\E[1K:fs=\E[u\E[>5l:ds=\E[>1l:\ :cs=\E[%i%d;%dr:sr=\EM:sf=\ED:DO=\E[%dB:UP=\E[%dA:LE=\E[%dD:\ :RI=\E[%dC:AL=\E[%dL:DL=\E[%dM:sc=\E[s:rc=\E[r:dc=\E[1P:DC=\E[%dP:\ :kC=\E[J:ct=\E[3g:st=\EH:ti=\E[?7l:te=\E[?7h:ps=\E#7: z29a-kc-uc|h29a-kc-uc:\ :rs=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m:\ :tc=z29a: z29a-nkc-bc|h29a-nkc-bc:\ :rs=\E<\E[1;24r\E[24;1H\E[?7h\E[>2;4h\E[>1;3;5;6;7;8;9l\E[m\E[11m:\ :tc=z29a: z29a-nkc-uc|h29a-nkc-uc:\ :rs=\E<\E[1;24r\E[24;1H\E[?7h\E[>2h\E[>1;3;4;5;6;7;8;9l\E[m\E[11m:\ :tc=z29a: # z100 entry from Brad Brahms at TRW (Brahms@USC-ECLC) # usenet: {decvax,ucbvax}!trwrb!trwspp!brahms z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor:\ :vs=\Ex4\Em71:ve=\Ey4\Em70:tc=z100bw: z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc:\ :al=5*\EL:bs:cd=\EJ:ce=\EK:cl=5*\EE:cm=1*\EY%+ %+ :co#80:dc=1*\EN:\ :dl=5*\EM:do=\EB:ei=\EO:ho=\EH:im=\E@:li#24:mi:nd=\EC:as=\EF:ae=\EG:\ :ms:pt:sr=\EI:se=\Eq:so=\Ep:up=\EA:vs=\Ex4:ve=\Ey4:\ :kb=^h:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\EH:kn#10:\ :k0=\EJ:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:\k6=\EP:k7=\EQ:\ :k8=\ER:k9=\EOI: p19:\ :al=2*\EL:dl=2*\EM:tc=h19-b: h19-us|h19us|heathkit w/keypad shifted/underscore cursor:\ :ks=\Et:ke=\Eu:tc=h19-u: h19|heath|h19-b|h19b|heathkit|heath-19|z19|zenith|heathkit h19:\ :al=1*\EL:am:le=^H:bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:dc=\EN:\ :dl=1*\EM:do=\EB:ei=\EO:ho=\EH:im=\E@:li#24:mi:nd=\EC:as=\EF:ae=\EG:\ :ms:pt:sr=\EI:se=\Eq:so=\Ep:up=\EA:vs=\Ex4:ve=\Ey4:\ :kb=^h:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\EH:kn#8:ke=\E>:ks=\E=:\ :k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:\ :l6=blue:l7=red:l8=white:k6=\EP:k7=\EQ:k8=\ER:\ :es:hs:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:fs=\Ek\Ey5:ds=\Ey1: h19-e|h19e|h19 for emacs:ip=1.5:tc=h19-us: h19-u|h19u|heathkit with underscore cursor:\ :vs@:ve@:tc=h19-b: h19-g|h19g|heathkit w/block cursor:\ :ve=\Ex4:tc=h19-b: # from ucscc!B.fiatlux@ucbvax.berkeley.edu ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10/11:\ :al=\EL:am:bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:\ :dl=\EM:do=^J:ho=\EH:is=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>:\ :k0=\ES:k1=\EB:k2=\EU:k3=\EV:k4=\EW:k5=\EP:k6=\EQ:k7=\ER:kb=^H:kd=\EB:\ :kl=\ED:kr=\EC:ku=\EA:le=^H:li#24:nd=\EC:pt:se=\Eq:so=\Es5:\ :sr=\EI:sr=\EI:ue=\Eq:up=\EA:us=\Es2:\ :es:hs:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:fs=\Ek\Ey5:ds=\Ey1: # # -------------------------------- # # l: LEAR SIEGLER (ADM) # # If the adm31 gives you trouble with standout mode, check the DIP switch # in position 6, bank @c11, 25% from back end of pc. Should be OFF. # If there is no such switch, you have an old adm31 and must use oadm31 adm31|31|lsi adm31:\ :is=\Eu\E0:do=^J:al=\EE:am:le=^H:bs:ce=\ET:cm=\E=%+ %+ :\ :cl=\E*:cd=\EY:co#80:dc=\EW:dl=\ER:ei=\Er:ho=^^:im=\Eq:\ :k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:\ :k5=^A5\r:k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:ku=^K:\ :li#24:ma=j^Jk^P^K^Pl ^R^L^L :mi:nd=^L:\ :se=\EG0:so=\EG1:up=^K:us=\EG1:ue=\EG0: adm2|lsi adm2:\ :do=^J:al=\EE:am:le=^H:bs:cd=\EY:ce=\ET:cl=\E;:\ :cm=\E=%+ %+ :co#80:dc=\EW:dl=\ER:\ :ho=^^:ic=\EQ:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:li#24:nd=^L:up=^K: adm3|3|lsi adm3:\ :do=^J:am:le=^H:bs:cl=^Z:li#24:ma=^K^P:co#80: adm42|42|lsi adm42:\ :vs=\EC\E3 \E3(:do=^J:al=270\EE:am:le=^H:bs:cd=\EY:ce=\ET:cl=\E;:\ :cm=\E=%+ %+ :co#80:dc=\EW:dl=\ER:ei=\Er:im=\Eq:ip=6*:li#24:\ :bt=\EI:nd=^L:se=\EG0:so=\EG4:up=^k:ma=^K^P:pc=\177: adm5|5|lsi adm5:\ :do=^J:cd=\EY:ce=\ET:do=^J:kb=^H:kh=^^:\ :ma=^Hh^Jj^Kk^Ll^^H:se=\EG:sg#1:so=\EG:tc=adm3aplus: adm20|lear siegler adm20:\ :am:li#24:co#80:bs:cl=^Z:cm=\E=%i%r%+^_%+^_:nd=^L:up=^K:ho=^^:ce=\ET:\ :cd=\EY:al=\EE:dl=\ER:ic=\EQ:dc=\EW:so=\E):se=\E(:\ :bt=\EI:pt:kn#7:k1=^A:k2=^B:k3=^W:k4=^D:k5=^E:k6:^X:k7=^Z: # From Andrew Scott Beals adm12|12|lsi adm12:\ :is=\Eq:do=^J:al=\EE:am:le=^H:bs:ce=\ET:cm=\E=%+ %+ :cl=^Z:cd=\EY:\ :co#80:dc=\EW:dl=\ER:ei=\Er:ho=^^:im=\Eq:\ :k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:\ :k5=^A5\r:k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:ku=^K:\ :li#24:ma=j^Jk^P^K^Pl ^R^L^L :mi:nd=^L:\ :se=\EG0:so=\EG4:up=^K:us=\EG1:ue=\EG0: adm3a|3a|lsi adm3a:\ :am:do=^J:le=^H:bs:cm=\E=%+ %+ :cl=1^Z:co#80:ho=^^:\ :li#24:ma=^K^P:nd=^L:up=^K: adm3a+|3a+|adm3aplus:\ :kl=^H:kd=^J:ku=^K:kr=^L:tc=adm3a: adm22|22|lsi adm22:\ :is=\E%\014\014\014\016\003\000\003\002\003\002\000\000\000\000\000\000\000\000\000\000\000:\ :al=\EE:am:bs:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\000\E=%+ %+ :co#80:\ :dc=\EW:dl=\ER:do=^J:ho=^^:ic=\EQ:\ :k1=\001@\015:k2=\001A\015:k3=\001B\015:k4=\001C\015:\ :k5=\001D\015:k6=\001E\015:k7=\001F\015:kn#7:\ :ko=ho:l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:\ :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:li#24:\ :ma=j^Jk^P^K^Pl ^R^L^L :nd=^L:se=\E(:so=\E):ta=\Ei:up=^K: # From: stephen%comp.lancs.ac.uk@ucl-cs.arpa adm11|lsi adm11:\ :do=^J:bs:\ :cd=\EY:ce=\ET:kb=^H:kh=^^:\ :ma=^Hh^Jj^Kk^Ll^^H:so=\E):se=\E(:\ :kl=^H:kd=^J:ku=^K:kr=^L:\ :am:cm=\E=%+ %+ :cl=^Z:co#80:li#24:nd=^L:up=^K:\ :hs:ts=\EF\E):fs=\E(^M:ds=\Eh: # # -------------------------------- # # m: MICROTERM # # These mime1 entries refer to the Microterm Mime I or Mime II. # The default mime is assumed to be in enhanced act iv mode. mime3a|mime1 emulating 3a:\ :am@:ma=^X ^K^J^Z^P:ku=^Z:kd=^K:kl=^H:kr=^X:tc=adm3a: # New "safe" cursor movement (5/87) from reuss@umd5. Prevents freakout with # out-of-range args on Sytek multiplexors. No so and se since it gets confused # and it's too dim anyway. No ic since Sytek insists ^S means xoff. act4|microterm|microterm act iv:\ :am:bs:cd=2.2*^_:ce=.1*^~:cl=12^L:cm=^T%+^X%>/0%+P:co#80:li#24:\ :le=^H:nd=^X:up=^Z:ho=^]:al=2.3*^A:do=^K:dc=.1*^D:dl=2.3*^W:\ :ku=^Z:kd=^K:kl=^H:kr=^X:\ :.so=^N:.se=^N:.ic=2^S:.ip=.1*^V:.cm=^T%.%.: # The padding on sr and ta for act5 and mime is a guess and not final. # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)... microterm5|act5|microterm act v:\ :uc=^H\EA:sr=3\EH:ku=^Z:kd=^K:kl=^H:kr=^X:ma=^Z^P^Xl^Kj:tc=act4: # Act V in split screen mode. act5s is not tested and said not to work. act5s|skinny act5:\ :ti=\EP:te=\EQ:li#48:co#39:tc=act5: # Mimes using brightness for standout. Half bright is really dim unless # you turn up the brightness so far that lines show up on the screen. # uc is disabled to get around a curses bug, should be put back in someday. mime-fb|full bright mime1:\ :so=^Y:se=^S:is=^S\E:tc=mime: mime-hb|half bright mime1:\ :so=^S:se=^Y:is=^Y\E:tc=mime: mime|mime1|mime2|mimei|mimeii|microterm mime1:\ :do=^J:al=80^A:am:le=^H:bs:cd=^_:ce=^^:cl=\035^C:cm=^T%+^X%> 0%+P:\ :co#80:dl=80^W:ta=2^I:li#24:nd=^X:pt:uc=^U:up=^z:ho=\035:do=^K:\ :is=^S\E^Q:ma=^X ^K^J^Z^P:ku=^Z:kd=^K:kl=^H:kr=^X:sr=3^R:vt#9: # These termcaps (for mime 2a) put the terminal in low intensity mode # since high intensity mode is so obnoxious. mime2a-s|microterm mime2a (emulating an enhanced soroc iq120):\ :do=^J:al=20*^A:am:le=^H:bs:cd=20*\EJ:ce=\EK:cl=\EL:cm=\E=%+ %+ :\ :us=\E6:ue=\E7:co#80:dc=\ED:\ :dl=20*^W:kl=^H:kr=^L:ku=^K:kd=^J:ho=^^:is=\E):sr=\EI\ :im=\EE:ei=^Z:ip=2:li#24:nd=^L:so=\E\072:se=\E;:up=\EI: # This is the preferred mode (but ^X can't be used as a kill character) mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52):\ :do=^J:al=20*^A:le=^H:bs:cd=20*\EQ:co#80:ce=\EP:cl=\EL:cm=\EY%+ %+ :\ :is=^Y:dc=^N:dl=20*^W:ip=2:ei=^Z:ho=\EH:im=^O:kd=\EB:kl=\ED:kr=\EC:\ :ku=\EA:li#24:nd=\EC:pt:se=\E9:so=\E8:up=\EA:sr=\EA:us=\E4:ue=\E5: mime3ax|mime-3ax|mime1 emulating enhanced 3a:\ :al=80^A:dl=80^W:pt:ce=^X:cd=^_:tc=mime3a: # # -------------------------------- # # p: PERKIN ELMER # pe550|bantam|perkin elmer 550:\ :do=^J:le=^H:bs:co#80:ce=20\EI:cl=20\EK:cm=\EX%+ \EY%+ :\ :ho=\EH:li#24:ll=\EH\EA:nd=\EC:up=\EA:ma=^Z^P:cd=6^N@^V: fox|perkin elmer 1100:\ :ct=\E3:st=\E1:do=^J:\ :am:le=^H:bs:cd=5.5*\EJ:ce=\EI:cl=132\EH\EJ:co#80:ho=\EH:li#24:\ :ll=\EH\EA:nd=\EC:cm=\EX%+ \EY%+ :up=\EA:vb=^P^B^P^C: owl|perkin elmer 1200:\ :ct=\E3:st=\E1:do=^J:al=5.5*\EL:am:le=^H:\ :bs:cd=5.5*\EJ:ce=5.5\EI:cl=132\EH\EJ:ho=\EH:ll=\EH\EA:\ :cm=\EX%+ \EY%+ :co#80:dc=5.5*\EO:dl=5.5*\EM:ic=\EN:ip=5.5*:\ :kb=^h:in:li#24:nd=\EC:up=\EA:se=\E!\200:so=\E!^H:vb=^P^B^P^C:\ :k1=\ERA:k2=\ERB:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:\ :k7=\ERG:k8=\ERH:k9=\ERI:k0=\ERJ: # # -------------------------------- # # q: HOME MADE TERMINALS # bill croft homebrew:\ :do=^J:am:le=^H:bs:cm=\E=%+ %+ :cl=^Z:co#96:ho=^^:li#72:\ :nd=^L:up=^K:vb=: nucterm|rayterm|NUC homebrew:\ :do=^J:am:le=^H:bs:cl=1^L:li#24:co#80:nd=^C:\ :up=^N:ho=^B:ll=^K:ce=^A:cd=^E: ex3000:\ :do=^J:li#24:co#80:ho=^Q: carlock|klc:\ :do=^J:al=^E:am:bs:ce=^U:cl=100^Z:cm=\E=%+ %+ :co#80:dc=\177:dl=^D:\ :ei=^T:ho=^^:im=^T:li#24:nd=^L:se=^V:so=^V:up=^K:vb=\EV\EV: # uVAX qdss|qdcons|qdss glass tty:\ :am:do=^J:le=^H:bs:cm=\E=%.%.:cl=1^Z:co#128:li#57::nd=^L:up=^K: exidy|exidy2500|exidy sorcerer as dm2500:\ :do=^J:al=^P^J^X:am:le=^H:bs:ce=^W:cl=^^:cm=^L%r%n%.%.:co#64:\ :dc=\b:dl=^P^Z^X:dm=^P:ed=^X:ei=^X:ho=^B:ic=^\:\ :im=^P:li#30:nd=^\:pt:so=^N:se=^X:up=^Z: netx|netronics:\ :do=^J:le=^H:bs:cd=2000^F^E:ce=1600^E:cl=466^L:cm=\E=%+@%+@:\ :co#64:ho=^D:li#16:ma=j^Jk^Pl :nd=\E+@A:pc=\200:sr=\E=@@^K:up=^K: # This came from the comp ctr who got it from some user. Smart indeed! sexidy|exidy smart:\ :do=^J:li#24:co#64:cl=^l:ho=^q:nd=^s:\ :up=^w:le=^H:bs:le=^a:bc=^a:ma=^x^J:kd=^S: ubell|ubellchar:\ :if=/usr/share/tabset/ubell:do=^J:am:le=^H:bs:pt:ce=\Ed:cl=^Z:\ :cm=\E=%+ %+ :co#80:li#24:nd=^L:up=^K:ma=j^Jk^P^K^Pl :ho=^^: ttyWilliams:\ :do=^J:co#80:li#12:le=^Y:bc=^Y:do=^K:up=^Z:cl=^^:ce=^_:am:ho=^]:nd=^X: xitex|xitex sct-100:\ :do=^J:le=^H:bs:cd=2000^F^E:ce=1600^E:cl=400^L:cm=\E=%+@%+@:co#64:\ :ho=^D:li#16:ma=j^Jk^Pl :nd=\E+@A:pc=\200:sr=\E=@@^K:up=^K: # # -------------------------------- # # s: SPECIALS # # Special "terminals". These are used to label tty lines when you don't # know what kind of terminal is on it. The characteristics of an unknown # terminal are the lowest common denominator - they look about like a ti 700. # The last one, "other", is like unknown but it allows an escape from software # that insists that a "real" unknown terminal is merely so far unspecified. network:\ :tc=unknown: arpanet:\ :tc=unknown: bussiplexer:\ :tc=unknown: dialup:\ :tc=unknown: ethernet:\ :tc=unknown: lpr|printer|print|printing|line printer:\ :do=^J:le=^H:bs:co#132:hc:os: plugboard|patch|patchboard:\ :tc=unknown: # See login.c for "su" dumb|su|unknown:\ :am:co#80:do=^J: switch|intelligent switch:\ :tc=unknown: ansi|any ansi terminal with pessimistic assumptions:\ :co#80:li#24:cl=50\E[;H\E[2J:bs:am:cm=\E[%i%d;%dH:\ :nd=\E[C:up=\E[A:ce=\E[K:ho=\E[H:pt: other|None of the above, but not exactly unknown:\ :gn:cl=\r\n:ho=\r:am:co#80:do=^J: # # -------------------------------- # # t: TEXAS INSTRUMENTS # ti700|ti733|735|ti735|ti silent 700:\ :do=^J:le=^H:bs:co#80:hc:os:dC#162: ti745|745|743|ti silent 745:\ :do=^J:le=^H:bs:co#80:hc:os: ti800|ti omni 800:\ :do=^J:le=^H:bs:co#132:hc:os: # From lesleymw@topaz.berkeley.edu ti931|ti 931:\ :al=\EN:am:bs:cd=\EJ:ce=\EI:cl=\EL:cm=\EY%+ %+ :co#80:dl=\EO:do=\EB:\ :eo:ho=\EH:li#24:ku=\EA:kd=\EB:kr=\EC:kl=\ED:mi:nd:sf=\Eb:sr=\Ea:up=\EA: # # -------------------------------- # # v: TELEVIDEO # # There are some tvi's that require incredible amounts of padding and # some that don't. I'm assuming 912 and 920 are the old slow ones, # and 912b, 912c, 920b, 920c are the new ones that don't need padding. tvi912|912|920|tvi920|old televideo:\ :ct=\E3:st=\E1:do=^J:\ :al=33*\EE:le=^H:ce=\ET:cm=\E=%+ %+ :cl=^Z:co#80:dc=\EW:dl=33*\ER:\ :kb=^H:ku=^K:kd=^J:kl=^H:kr=^L:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\ :bs:am:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\ :ho=^^:ic=\EQ:li#24:nd=^L:pt:se=\Ek:so=\Ej:up=^K:us=\El:ue=\Em:\ :ma=^K^P^L :sg#1:ug#1:if=/usr/share/tabset/stdcrt: # the 912 has a key that's like shift: 8 xmits "^A8\r". # The 920 has this plus real function keys that xmit different things. # Termcap makes you use the funct key on the 912 but the real keys on the 920. 912b|912c|tvi912b|tvi912c|tvi|new televideo 912:\ :al=5*\EE:dl=5*\ER:tc=tvi912: 920b|920c|tvi920b|tvi920c|new televideo 920:\ :k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\ :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:al=5*\EE:dl=5*\ER:tc=tvi912: # set to page 1 when entering ex (\E-17 ) # reset to page 0 when exiting ex (\E-07 ) tvi912-2p|tvi920-2p|912-2p|920-2p|tvi-2p|televideo w/2 pages:\ :ti=\E-17 :te=\E-07 :tc=tvi912: tvi950-ap|tvi 950 w/alt pages:\ :is=\E\\1:ti=\E-06 :te=\E-16 :tc=tvi950: tvi950-b|bare tvi950 no is:\ :is@:tc=tvi950: tvi950-ns|tvi950 w/no standout:\ :so@:se@:us@:ue@:tc=tvi950: tvi925|925|televideo model 925:\ :hs:xn:am:bs:co#80:li#24:cm=\E=%+ %+ :cl=\E*:cd=\Ey:ce=\Et:is=\El\E":\ :al=\EE:dl=\ER:ic=\EQ:dc=\EW:if=/usr/share/tabset/stdcrt:\ :ho=^^:nd=^L:bt=\EI:pt:so=\EG4:se=\EG0:sg#1:us=\EG8:ue=\EG0:ug#1:\ :up=^K:do=^V:kb=^H:ku=^K:kd=^V:kl=^H:kr=^L:kh=^^:ma=^V^J^L :\ :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\ :k8=^AG\r:k9=^AH\r:k0=^AI\r:ko=ic,dc,al,dl,cl,ce,cd,bt:\ :ts=\Ef:fs=^M\Eg:ds=\Eh:sr=\Ej: tvi925vb|925vb|televideo model 925 visual bells:\ :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\ :tc=tvi925: # Since the 925's uses a character position to store the escape sequences to go # in and out of both stand out and underline modes, screen positioning is # difficult. The following 925 entries don't use these modes. tvi925n|925n|televideo model 925 no standout or underline:\ :so@:se@:us@:ue@:tc=tvi925: tvi925vbn|925vbn|televideo model 925 visual bells no so or ul:\ :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\ :tc=tvi925n: # entry by Tim Curry 5/21/82 Univ. of Central Fla. duke!ucf-cs!tim 925a|tvi925a|TeleVideo Model 925:\ :al=\EE:am:bs:bt=\EI:bw:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :co#80:dc=\EW:\ :dl=\ER:do=^V:ic=\EQ:if=/usr/share/tabset/std:kb=^H:kd=^V:\ :kh=^^:kl=^H:kn#12:kr=^L:ku=^K:li#24:nd=^L:pt:se=\EG0:sg#1:so=\EG4:\ :ue=\EG0:ug#1:up=^K:us=\EG8:is=\El\ :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\ :ve=\E.4:vs=\E.2: # The following tvi descriptions from B:pjphar and virus!mike # is for all 950's. It sets the following attributes: # full duplex (\EDF) write protect off (\E() # conversation mode (\EC) graphics mode off (\E%) # white on black (\Ed) auto page flip off (\Ew) # turn off status line (\Eg) clear status line (\Ef\r) # normal video (\E0) monitor mode off (\EX or \Eu) # edit mode (\Er) load blank char to space (\Ee\040) # line edit mode (\EO) enable buffer control (^O) # protect mode off (\E\047) duplex edit keys (\El) # program unshifted send key to send line all (\E016) # program shifted send key to send line unprotected (\E004) # set the following to nulls: # field delimiter (\Ex0\200\200) # line delimiter (\Ex1\200\200) # start-protected field delimiter (\Ex2\200\200) # end-protected field delimiter (\Ex3\200\200) # set end of text delimiter to carriage return/null (\Ex4\r\200) # CHANGED 4-29-87 to set tabs and keep status line --John Kunze (jak@opal) tvi950|950|televideo950:\ :ct=\E3:st=\E1:do=^J:\ :is=\EDF\EC\Ed\EG0\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\ \El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\ \Ex3\200\200\Ex4\r\200\Ef\r:if=/usr/share/tabset/stdcrt:\ :al=\EE:am:le=^H:bs:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :\ :co#80:dc=\EW:dl=\ER:do=^V:ei=\Er:ho=^^:im=\Eq:k0=^A0\r:\ :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\ :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^V:kh=^^:kl=^H:\ :ko=ic\054dc\054al\054dl\054cl\054bt\054ce\054cd:kr=^L:\ :ku=^K:li#24:ma=^Vj^Kk^Hh^Ll^^H:mi:ms:nd=^L:pt:se=\EG0:\ :sg#1:so=\EG4:sr=\Ej:ue=\EG0:ug#1:up=^K:us=\EG8:\ :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\ :xn:hs:ts=\Eg\Ef:fs=\r:ds=\Eg\Ef\r: # # is for 950 with two pages adds the following: # set 48 line page (\E\\2) # place cursor at page 0, line 24, column 1 (\E-07 ) # set local (no send) edit keys (\Ek) # # two page 950 adds the following: # when entering ex, set 24 line page (\E\\1) # when exiting ex, reset 48 line page (\E\\2) # place cursor at 0,24,1 (\E-07 ) # set duplex (send) edit keys (\El) when entering vi # set local (no send) edit keys (\Ek) when exiting vi # tvi950-2p|950-2p|televideo950 w/2 pages:\ :is=\EDF\EC\Ed\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\ \Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\ \Ex3\200\200\Ex4\r\200\E\\2\E-07 \ :te=\E\\2\E-07 :ti=\E\\1\E-07 :ks=\El:ke=\Ek:tc=tvi950: # # is for 950 with four pages adds the following: # set 96 line page (\E\\3) # place cursor at page 0, line 24, column 1 (\E-07 ) # # four page 950 adds the following: # when entering ex, set 24 line page (\E\\1) # when exiting ex, reset 96 line page (\E\\3) # place cursor at 0,24,1 (\E-07 ) # tvi950-4p|950-4p|televideo950 w/4 pages:\ :is=\EDF\EC\Ed\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\ \Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\ \Ex3\200\200\Ex4\r\200\E\\3\E-07 \ :te=\E\\3\E-07 :ti=\E\\1\E-07 :ks=\El:ke=\Ek:tc=tvi950: # # is for reverse video 950 changes the following: # set reverse video (\Ed) # # set vb accordingly (\Ed ...nulls... \Eb) # tvi950-rv|950-rv|televideo950 rev video:\ :is=\EDF\EC\Eb\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\ \El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\ \Ex3\200\200\Ex4\r\200:\ :vb=\Ed\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Eb:\ :tc=tvi950: # # uses the appropriate entries from 950-2p and 950-rv # tvi950-rv-2p|950-rv-2p|televideo950 rev video w/2 pages:\ :is=\EDF\EC\Eb\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\ \Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\ \Ex3\200\200\Ex4\r\200\E\\2\E-07 :\ :vb=\Ed\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Eb:\ :te=\E\\2\E-07 :ti=\E\\1\E-07 :ks=\El:ke=\Ek:tc=tvi950: # # uses the appropriate entries from 950-4p and 950-rv # tvi950-rv-4p|950-rv-4p|televideo950 rev video w/4 pages:\ :is=\EDF\EC\Eb\EG0\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\ \Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\ \Ex3\200\200\Ex4\r\200\E\\3\E-07 :\ :vb=\Ed\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Eb:\ :te=\E\\3\E-07 :ti=\E\\1\E-07 :ks=\El:ke=\Ek:tc=tvi950: tvi924|924|televideo model 924:\ :am:bs:xn:co#80:li#24:cm=\E=%+ %+ :cl=\E*0:cd=\Ey:ce=\Et:is=\Ek0\E"^O:\ :al=\EE:dl=\ER:ic=\EQ:dc=\EW:if=/usr/share/tabset/stdcrt:ho=^^:\ :nd=^L:bt=\EI:pt:so=\EG4:se=\EG0:us=\EG8:ue=\EG0:up=^K:do=^V:kb=^H:\ :ku=^K:kd=^V:kl=^H:kr=^L:kh=^^:ma=^Vj^Kk^Ll^^H^R^L:k1=^A@\r:k2=^AA\r:\ :k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\ :k0=^AI\r:ko=ic,dc,al,dl,cl,ce,cd,bt:sr=\Ej:\ :hs:fs=^Y\Es1:ts=\Ef:ds=\Es0\Ef^Y: tvi924vb|924vb|televideo model 924 visual bells:\ :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\ :tc=tvi924: # tvipt termcap from armsis@amber (Gene Rochlin), 9/19/84. Works with vi and # rogue. NOTE: Esc v sets autowrap on, Esc u sets 80 char/line (rather than # 40), Esc K chooses the normal character set. Not sure padding is needed, but # adapted from the tvi920c termcap. so and us are klutzy, but at least use no # screen space. tvipt|televideopt:if=/usr/share/tabset/stdcrt:\ :is=\Ev\Eu\EK:al=5*\EE:am:bs:bt=\EI:ce=\ET:cm=\E=%+ %+ :cl=^Z:co#80:\ :dl=5*\ER:kb=^H:ku=^K:kd=^J:kl=^H:kr=^L:ho=^^:li#24:nd=^L:se=\EF:\ :so=\EG1@A\EH:ue=\EF:us=\EG1B@\EH:up=^K:ma=^Kk^Ll^R^L: # Vanilla tvi910 -- W. Gish (cswarren@violet) 10/29/86 tvi910|910|televideo model 910:if=/usr/share/tabset/stdcrt:\ :bs:bt=\EI:cd=\EY:ce=\ET:cm=\E=%+ %+ :cl=^Z:co#80:\ :kb=^H:ku=^K:kd=^J:kl=^H:kr=^L:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\ :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k0=^AI\r:\ :li#24:nd=^L:pt:se=\EG0:so=\EG4:up=^K:us=\EG8:ue=\EG0:\ :ho=\E=\001\001:ma=^Kk^Ll^R^L:sg#1: # from Alan R. Rogers (rogers%albany@csnet-relay) tvi910+|910+|televideo 910+:\ :al=5*\EE:am:bs:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+\040%+\040:\ :co#80:dc=\EW:dl=\ER:do=^J:ho=^^:ic=\EQ:\ :if=/usr/share/tabset/stdcrt:k0=^A@\r:k1=^AA\r:k2=^AB\r:k3=^AC\r:\ :k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:k8=^AH\r:k9=^AI\r:kb=^H:\ :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:li#24:ll=\E=7\040:ma=^K^P^L\040:\ :nd=^L:pt:se=\EG0:sg#1:so=\EG4:ue=\EG0:up=^K:us=\EG8:xn: # From Humberto Appleton, beto@cs.utexas.edu, 880521 UT Austin tvi970|970|televideo970:\ :is=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J:\ :ae=\E(B:al=\E[L:as=\E(B:bs:bt=\E[Z:\ :cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\E[%i%d;%df:co#80:\ :da:db:dc=\E[P:dl=\E[M:do=\ED:ei=\E[4l:im=\E[4h:\ :k1=\E?a:k2=\E?b:k3=\E?c:k4=\E?d:k5=\E?e:k6=\E?f:k7=\E?g:k8=\E?h:\ :k9=\E?i:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\ :li#24:mi:ms:nd=\E[C:pt:se=\E[0m:sg#0:so=\E[7m:sr=\EM:\ :ue=\E[0m:ug#0:up=\EM:us=\E[4m:vs=\E[1Q:\ :vb=\E[5;m\200\200\200\200\200\200\200\200\200\E[0;m # From fair@ucbarpa Sun Oct 27 07:21:05 1985 ims950-b|bare ims950 no is:\ :is@:tc=ims950: ims950-ns|ims950 w/no standout:\ :so@:se@:us@:ue@:tc=ims950: ims950|ims televideo 950 emulation:\ :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:ko@:kr@:ku@:\ :vb@:xn@:tc=tvi950: ims950-rv|ims tvi950 rev video:\ :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:ko@:kr@:ku@:\ :vb@:xn@:tc=tvi950-rv: # From Andreas Stolcke tvi955|955|televideo955:\ :ct=\E3:st=\E1:do=^J:\ :rs=\EDF\EC\Eg\Er\EO\E\047\E(\Ew\EX\Ee ^O\ \E0P\E6\200\E0p\E4\200\Ef\r:\ :is=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El:\ :al=\EE:am:le=^H:bs:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :\ :co#80:dc=\EW:dl=\ER:do=^V:ei=\Er:ho=^^:im=\Eq:k0=^A0\r:\ :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\ :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^V:kh=^^:kl=^H:\ :ko=ic\054dc\054al\054dl\054cl\054bt\054ce\054cd:kr=^L:\ :ku=^K:li#24:ma=^Vj^Kk^Hh^Ll^^H:mi:nd=^L:pt:se=\EG0:\ :so=\EG4:sr=\Ej:ue=\EG0:up=^K:us=\EG8:\ :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\ :xn:hs:ts=\Eg\Ef:fs=\r:ds=\Eg\Ef\r:\ :mb=\EG2:mh=\E[=5h:me=\EG0\E[=5l:mk=\EG1:mr=\EG4:\ :ve=\E.2:vi=\E.0:vs=\E.1:\ :xo:RX=^N:SX=^O:RA=\E[=7l:SA=\E[=7h:\ :kA=\EE:kB=\EI:kC=\EY:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kM=\EQ:\ :kN=\EK:kP=\EJ:kT=\E1:ka=\E3:kt=\E2:\ :as=\E$:ae=\E%:ac=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ:\ :5i:ps=\EP:po=\E`:pf=\Ea: tvi955-w|955-w|televideo955 w/132 cols:\ :is=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El:\ :co#132:tc=tvi955: # use half-intensity as normal mode, full intensity as bold (md) tvi955-hb|955-hb|televideo955 half-bright:\ :is=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El:\ :mh@:md=\E[=5l:me=\EG0\E[=5h:\ :tc=tvi955: ims-ansi|ultima2|ultimaII|IMS Ultima II:\ :pt:am:bs:co#80:li#24:\ :is=\E[0m\E[>14l\E[?1;?5;20l\E>\E[1m^M:if=/usr/share/tabset/vt100:\ :cl=\E[;H\E[2J:cd=\E[0J:ce=\E[0K:cm=\E[%i%2;%2H:up=\EM:do=\ED:\ :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kh=\E[H:\ :so=\E[7m:se=\E[0m\E[1m:us=\E[4m:ue=\E[0m\E[1m:sr=\EM: # # -------------------------------- # # w: WYSE # # The wy{30,50,75,85} entries are recommended by # Wyse Technology # 3571 North First Street # San Jose, CA 95134 # Entries for the wy60 and wy99 are only based on Wyse's recommendations. # # Advice on the Wyse 30 and 50 standout mode glitch: # (from steve@omni.com or ...pyramid!koosh!steve) # # These terminals support a "PROTECT" sequence on/off that has no # standout-glitch (xmc), while the regular "attribute" stuff enabled # with G'some-character' gives a 1-space glitch. # # All but the very old revision firmware on both terminals support a # visible PROTECT attribute that's selectable by the ol' SETUP menu. # (The older rev. terminals do support PROTECT attribute but only # have the options REGULAR and DIM) # # Get into your terminal's SETUP menu, and down-key to the 5'th # menu (on a wyse 30; I think 3'rd or 4'th on a wyse 50) and # right-key over to the PROTECT item. # # Change PROTECT to REVERSE or REVERSE/DIM, and go over to the next # item -- ATTRIBUTE and change it to LINE; then save the changes for # power-on. (ATTRIBUTE change isn't necessary but looks a whole lot # nicer to the eye when inverting the remainder of a line rather then # the rest of the screen!). # # The next thing to do is change your /usr/lib/something?/terminfo/w/wyse50 # so that it uses the proper escape sequences to turn on/off the protect # sequence rather than the very-ugly \EG4 and \EG0. # # Change standout to \E), standend to \E(, and glitch to 0, which means # changing the so, se, and sg fields to :so=\E):se=\E(:sg#0: # wy30|wyse30|Wyse 30:\ :am:bw:hs:mi:xo:bs:pt:\ :co#80:li#24:sg#1:ug#1:kn#9:\ :ae=\EG0\EH^C:al=2\EE:as=\EG0\EH^B:bt=\EI:cd=80\Ey:\ :ce=\Et:cl=80\E*:cm=\E=%+ %+ :ct=\E0:dc=10\EW:dl=1\ER:\ :ds=\EF\r:ei=\Er:fs=\r:ho=^^:im=\Eq:ip=2:\ :is=\E'\E(\E\^3\E`9^N^T:k1=^A@\r:k2=^AA\r:k3=^AB\r:\ :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:kb=\b:\ :kd=\n:kh=^^:kl=\b:kr=\f:ku=^K:nd=\f:se=\EG0:so=\EG4:\ :sr=3\Ej:st=\E1:ts=\EF:ue=\EG0:up=^K:us=\EG8:ve=\E`1:\ :pf=^T:po=^R:\ :vi=\E`0:ko=bt,le,do,nd,up,dc,dl,ho,al: wy30-vb|wyse30-vb|wyse 30 visual bell:\ :vb=\E`8\E`\072\E`9:\ :tc=wy30: wy50|wyse50|Wyse 50:\ :am:bw:hs:mi:xo:bs:pt:\ :co#80:li#24:sg#1:ug#1:kn#9:\ :ae=\EG0\EH^C:al=\EE:as=\EG0\EH^B:bt=\EI:cd=20\Ey:\ :ce=\Et:cl=20\E*:cm=\E=%+ %+ :ct=\E0:dc=1\EW:dl=\ER:\ :ds=\EF\r:ei=\Er:fs=\r:ho=^^:i1=30\E`\072\E`9:im=\Eq:\ :ip=1:is=^N^T\E'\E(:k1=^A@\r:k2=^AA\r:k3=^AB\r:\ :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\ :k9=^AH\r:kb=\b:kd=\n:kh=^^:kl=\b:kr=\f:ku=^K:nd=\f:\ :se=\EG0:so=\EGt:sr=\Ej:st=\E1:ts=\EF:ue=\EG0:up=^K:\ :us=\EG8:ve=\E`1:vi=\E`0:\ :pf=^T:po=^R:\ :ko=bt,le,do,nd,up,dc,dl,ho,al: wy50-vb|wyse50-vb|wyse 50 visual bell:\ :vb=\E`8\E`\072\E`9:\ :tc=wy50: wy50-w|wyse50-w|wyse 50 132-column:\ :cm=\Ea%i%dR%dC:co#132:dc=2\EW:i1=\E`;\E`9:\ :tc=wy50: wy50-wvb|wyse50-wvb|wyse 50 132-column visual bell:\ :cm=\Ea%i%dR%dC:co#132:dc=2\EW:i1=\E`;\E`9:\ :vb=\E`8\E`;\E`9:\ :tc=wy50: # from John Gillmore hoptoad!gnu@lll-crg.arpa wyse-vp|wyse|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on:\ :am:do=^J:if=/usr/share/tabset/wyse-adds:\ :le=^H:bs:li#24:co#80:cm=\EY%+ %+ :cd=\Ek:ce=\EK:nd=^F:\ :up=^Z:cl=^L:ho=^A:ll=^A^Z:kl=^U:kr=^F:kd=^J:ku=^Z:kh=^A:\ :pt:so=^N:se=^O:us=^N:ue=^O:dl=\El:al=\EM:im=\Eq:ei=\Er:dc=\EW:\ :is=\E`\072\E`9^O\Er:rs=\E`\072\E`9^O\Er: wyse-vp-nk|Wyse 50 in ADDS Viewpoint enhanced mode with cursor keys gone:\ :kl@:kr@:kd@:ku@:kh@:tc=wyse-vp: wyse925|Wyse-50 emulating tvi925:\ :xn@:tc=tvi925: # Wyse 60 in 24 row native mode. # This termcap is a composite of entries submitted by Steve Van Domelen # (Wyse Tech, svd@bigboy.wyse.com) and Douglas Good (doug@cli.com). # Merged by Paul Vojta (vojta@math.berkeley.edu). wy60|wyse60|Wyse 60 in native mode:\ :ae=\EH^C:al=4\EE:am:as=\EH^B:bl=^G:bs:bt=\EI:bw:cd=100\Ey:ce=\Et:\ :cl=100\E*:cm=\E=%+ %+ :co#80:ct=\E0:da:db:dc=11\EW:dl=5\ER:do=^J:\ :ds=\EF\r:ei=\Er:fs=\r:ho=^^:hs:if=/usr/share/tabset/std:im=\Eq:ip=3:\ :is=\Ed$\EcD\E'\Er\EH^C\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1^N^T\EwG\Ew0^^^K:\ :it#8:k0=^A@\r:k1=^AA\r:k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:\ :k7=^AG\r:k8=^AH\r:k9=^AI\r:kb=\b:kd=\EOB:ke=200\EcU:kh=\E{:kl=\EOD:\ :kn#10:ko=bt,le,do,nd,up,dc,dl,ho,al:kr=\EOC:\ :ks=200\EZ0+\EOA\177\EZ0,\EOB\177\EZ0.\EOC\177\EZ0-\EOD\177\EZ0*\E{\177:\ :ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:l8=F9:l9=F10:\ :le=\b:li#24:ll=^^^K:mb=\EG2:me=\EG0:mh=\EGp:mi:mr=\EG4:ms:nd=\f:pf=^T:\ :po=^R:pt:rs=500\E~!\E~4\E`\:\EeF\Ee(\EwG:se=\EG0:sf=^J:so=\EGt:\ :sr=7\Ej:st=\E1:ts=\EF:ue=\EG0:up=^K:us=\EG8: # Must delete tc= if using infocomp to translate wy60-w|wyse60-w|wyse 60 132-column:\ :co#132:cm=\Ea%i%dR%dC:dc=16\EW:ip=5:\ :rs=500\E~!\E~4\EeF\E`;\Ee(\EwG:tc=wy60: wy60-25|wyse60-25|wyse 60 80-column 25-lines:\ :li#25:\ :rs=500\E~!\E~4\E`\:\EeG\Ee)\EwG:tc=wy60: wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines:\ :co#132:li#25:cm=\Ea%i%dR%dC:dc=16\EW:ip=5:\ :rs=500\E~!\E~4\EeF\E`;\Ee)\EwG:tc=wy60: wy60-42|wyse60-42|wyse 60 80-column 42-lines:\ :li#42:al=11\EE:cd=260\Ey:cl=260\E*:cm=2\E=%+ %+ :dc=16\EW:\ :dl=11\ER:ip=5:sr=10\Ej:\ :rs=500\E~!\E~4\E`\:\EeF\Ee*\EwG:tc=wy60: wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines:\ :co#132:li#42:al=11\EE:cd=260\Ey:cl=260\E*:cm=2\Ea%i%dR%dC:dc=19\EW:\ :dl=11\ER:ho=2^^:ip=6:sr=10\Ej:\ :rs=500\E~!\E~4\EeF\E`;\Ee*\EwG:tc=wy60: wy60-43|wyse60-43|wyse 60 80-column 43-lines:\ :li#43:al=11\EE:cd=260\Ey:cl=260\E*:cm=2\E=%+ %+ :dc=16\EW:\ :dl=11\ER:ip=5:sr=10\Ej:\ :rs=500\E~!\E~4\E`\:\EeF\Ee+\EwG:tc=wy60: wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines:\ :co#132:li#43:al=11\EE:cd=260\Ey:cl=260\E*:cm=2\Ea%i%dR%dC:dc=19\EW:\ :dl=11\ER:ho=2^^:ip=6:sr=10\Ej:\ :rs=500\E~!\E~4\EeF\E`;\Ee+\EwG:tc=wy60: # Not recommended at high baud rates wy60-vb|wyse60-vb|Wyse 60 visual bell:\ :vb=\E`8\E`9:\ :tc=wy60: wy60-w-vb|wy60-wvb|wyse60-w-vb|Wyse 60 132-column visual bell:\ :vb=\E`8\E`9:\ :tc=wy60-w: # The following switch screens for vi and emacs wy60-s|wyse60-s|Wyse 60 with screen switching:\ :te=50^Z\Ew0:ti=50\Ew1:tc=wy60: wy60-w-s|wyse60-w-s|Wyse 60 132-column with screen switching:\ :te=50^Z\Ew0:ti=50\Ew1:tc=wy60-w: wy60-nt|wyse60-nt|Wyse 60 with broken tab support:\ :pt@:tc=wy60: # # The Wyse 75 is a vt100 lookalike without advanced video. # # The Wyse 75 can support one attribute (e.g. Dim, Inverse, # Underline) without magic cookies. The following description # uses this capability, but when more than one attribute is # put on the screen at once, all attributes will be changed # to be the same as the last attribute given. # The Wyse 75 can support more attributes when used with magic # cookies. The wy75-mc terminal description uses magic cookies # to correctly handle multiple attributes on a screen. # wy75|wyse75|wyse 75:\ :am:hs:mi:ms:xn:xo:bs:pt:\ :co#80:li#24:pb#1201:kn#6:\ :AL=2*\E[%dL:DC=3*\E[%dP:DL=1*\E[%dM:DO=\E[%dB:\ :IC=1*\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:\ :al=2\E[L:as=\E[0m^N:bt=\E[1Z:cd=30\E[J:ce=3\E[K:\ :ch=\E[%i%dG:cl=30\E[H\E[J:cm=\E[%i%d;%dH:\ :cs=2\E[%i%d;%dr:ct=\E[3g:dc=3\E[P:dl=\E[M:\ :ds=\E[>,^A^A\E[>-^A^A:ei=\E[4l:fs=^A:ho=\E[H:\ :im=\E[4h:ip=1:is=\E>\E[?7;?8h\E[4;?1l^O\E)0:kb=\b:\ :kd=\E[B:ke=\E[?1l\E>:kh=\E[H:kl=\E[D:kr=\E[C:\ :ks=\E[?1l\E[?7h\E=:ku=\E[A:nd=\E[C:r1=\E7\E[1;24r\E8:\ :r2=20\E[0m\E[35;?7;?8h\E[30;?1l:r3=80\E[?3l:rc=\E8:\ :sc=\E7:se=\E[0m:so=\E[1t\E[7m:sr=2\EM:st=\EH:\ :ts=\E[>,^A:ue=\E[0m:up=\E[A:us=\E[2t\E[4m:ve=\E[?25h:\ :po=\E[5i:pf=\E[4i:\ :vi=\E[?25l:ko=nd,up,dl,ce,ho,al: # # This terminal description uses the non-hidden attribute mode # (with magic cookie). # wy75-mc|wyse75-mc|wyse 75 with magic cookies:\ :ae=\E[0p^O:as=\E[0p^N:ms@:r2=20\E[0p\E[35;?7;?8h\E[30;?1l:\ :se=\E[0p:sg#1:so=\E[17p:ue=\E[0p:ug#1:us=\E[8p:\ :tc=wy75: wy75-vb|wyse75-vb|wyse 75 with visual bell:\ :vb=\E[30h\E,\E[30l:\ :tc=wy75: wy75-w|wyse75-w|wyse 75 in 132 column mode:\ :co#132:r3=80\E[?3h:\ :tc=wy75: wy75-wvb|wyse75-wvb|wyse 75 with visual bell 132 columns:\ :co#132:r3=80\E[?3h:vb=\E[30h\E,\E[30l:\ :tc=wy75: # wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad:\ :is=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=:\ :kd=\EOB:ke=10\E[?1l\E>:kh=\EOH:kl=\EOD:kr=\EOC:\ :ks=10\E[?1h\E=:ku=\EOA:\ :tc=wyse75: # # Wyse 85 emulating a vt220 7 bit mode. # 24 line screen with status line. # # The vt220 mode permits more function keys but it wipes out # the escape key. I strongly recommend that f11 be set to # escape (esc). # The terminal may have to be set for 8 data bits and 2 stop # bits for the arrow keys to work. # The Wyse 85 runs faster with XON/XOFF enabled. Also the # (dch) and (ich) work best when XON/XOFF is set. (ich) and # (dch) leave trash on the screen when used without XON/XOFF. # wy85|wyse85|wyse 85:\ :am:hs:mi:ms:xn:xo:bs:pt:\ :co#80:li#24:kn#3:\ :AL=5*\E[%dL:DC=3*\E[%dP:DL=3*\E[%dM:DO=\E[%dB:\ :IC=4*\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:\ :al=5\E[L:as=^N:bt=\E[Z:cd=110\E[J:ce=\E[K:\ :cl=110\E[H\E[J:cm=1\E[%i%d;%dH:cs=\E[%i%d;%dr:\ :ct=\E[3g:dc=3\E[P:dl=3\E[M:ds=\E[40l:ei=\E[4l:\ :fs=\E[1;24r\E8:ho=\E[H:\ :i1=\E[62;1"p\E7\E[?6l\E8\E[?5W:im=\E[4h:ip=3:\ :is=16\E[2;4;20;30l\E[?1;4;10;16l\E[12;36h\E[?7;8;25h:\ :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\ :kb=\b:kd=\E[B:ke=\E>:kh=\E[26~:\ :kl=\E[D:kr=\E[C:ks=\E[?1l\E=:ku=\E[A:l1=PF1:l2=PF2:\ :l3=PF3:l4=PF4:nd=\E[C:\ :r1=\E<\E[3;13l\E[!p\E7\E[1;24r\E8\E(B:\ :r2=70\E[35h\E[?3l:rc=\E8:sc=\E7:se=\E[m:so=\E[1m:\ :sr=3\EM:st=\EH:ts=\E[40h\E7\E[25;%i%dH:ue=\E[m:\ :up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:nl=\E[B:\ :po=\E[5i:pf=\E[4i:\ :ko=do,nd,up: # # Wyse 85 with visual bell. wy85-vb|wyse85-vb|wyse 85 with visual bell:\ :vb=\E[30h\E,\E[30l:\ :tc=wy85: # # Wyse 85 in 132-column mode. wy85-w|wyse85-w|wyse 85 in 132-column mode:\ :co#132:\ :r2=120\E[35h\E[?3h:\ :tc=wy85: # # Wyse 85 in 132-column mode with visual bell. wy85-wvb|wyse85-wvb|wyse 85 with visual bell 132-columns:\ :vb=\E[30h\E,\E[30l:\ :tc=wy85: # From pett@cgl.ucsf.edu wy99|wyse-99gt|wyse99gt|wyse 99GT, 80 col, native mode:\ :is=\E\140\072\Ee(\Ew1\Ee-\Ee$\Ee'\EeT^T:ct=\E0:st=\E1:gn:\ :li#24:co#80:bl=^G:am:bw:ul:hs:as=\EcE:ae=\EcD:bt=\EI:\ :ma=^Kj^Jk^Hh^Ll^^H:cm=\Ea%i%2R%3C:it#8:\ :vs=^^\EY\E\140\072:vi=\E`0:es:ws#80:\ :lm#0:md=\Ee1\EG6:me=\Ee0\E(:mh=\Ee1\EGb:mb=\Ee1\EG2:\ :mk=\Ee1\EG1:mp=\E):mr=\Ee1\EG4:pf=^T:po=\EP\E7:ps=:\Ed&\E7\ :fs=\004:ds=\EA31:i2=\EA30:vb=\E\1361\E\1360:da:db:sf=^J:sr=\Ej:\ :cl=^Z:ce=\ET:cd=\EY:al=\EE:dl=\ER:dc=\EW:\ :so=\EGt:se=\EG0:sg#1:ue=\EG0:us=\EG8:ug#1:ll=\Ea24R1C:\ :pt:bs:nd=^L:up=^K:do=^J:ho=^^:kl=^H:kr=^L:ku=^K:kd=^J:kh=^^:kn#20:\ :ei=\Er:im=\Eq:mi:if=/usr/share/tabset/stdcrt:\ :k1=^A@^M:k2=^AA^M:k3=^AB^M:k4=^AC^M:k5=^AD^M:\ :k6=^AE^M:k7=^AF^M:k8=^AG^M:k9=^AH^M:k0=^AI^M:\ :l1=^A`^M:l2=^Aa^M:l3=^Ab^M:l4=^Ac^M:l5=^Ad^M:\ :l6=^Ae^M:l7=^Af^M:l8=^Ag^M:l9=^Ah^M:l0=^Ai^M: # From freudent@eric.ultra.nyu.edu (Eric Freudenthal) wy100q|Wyse 100 for Quotron:\ :al=\EE:bs:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :co#80:\ :dc=\EW:dl=\ER:do=^J:ei=\Er:im=\Eq:is=\E`\072\200\EC\EDF\E0\E'\E(\EA21:\ :kd=^J:kl=^H:kr=^L:ku=^K:li#24:nd=^L:up=^K:us=\EG8:ue=\EG0:\ :so=\EG4:se=\EG0:sg#1:sr=\Ej:ho=^^:ug#1: # Wyse 120 definitions from conf/81882 by Meister des Chaos wy120|wyse120|wy150|wyse150|Wyse 120/150:\ :am:bw:hs:km:mi:ms:xo:\ :co#80:it#8:li#24:pb#9601:ws#45:\ :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\ :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\ :ei=\Er:fs=^M:ho=^^:i1=\EcB0\EcC1:i2=\EwJ\Ew1:im=\Eq:ip=:\ :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\ :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\ :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\ :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\ :me=\E(\EH\003\EG0\EcD:mh=\EGp:mr=\EG4:nd=^L:nw=\r\n:\ :se=\EG0:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=\011:te=\Ew1:\ :ti=\Ew0:ts=\EF:ue=\EG0:up=^K:us=\EG8:vb=\E`8\E`9:ve=\E`1:\ :vi=\E`0: wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column:\ :cm=\Ea%i%dR%dC:co#132:ws#97:tc=wy120: wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines:\ :li#25:tc=wy120: wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines:\ :cm=\Ea%i%dR%dC:co#132:li#25:ws#97:tc=wy120: wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell:\ :bl@:tc=wy120: wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell:\ :bl@:cm=\Ea%i%dR%dC:co#132:ws#97:tc=wy120: # # -------------------------------- # # y: TELERAY # # Note two things called "teleray". Reorder should move the common one # to the front if you have either. A dumb teleray with the cursor stuck # on the bottom and no obvious model number is probably a 3700. t3700|teleray|dumb teleray 3700:\ :do=^J:le=^H:bs:cl=^L:co#80:li#24: t3800|teleray 3800 series:\ :do=^J:le=^H:bs:cd=\EJ:ce=\EK:cl=^L:cm=\EY%+ %+ :co#80: \ :do=\n:ho=\EH:li#24:ll=\EY7 :nd=\EC:pt:up=^K: t1061|teleray 1061:\ :if=/usr/share/tabset/teleray:\ :ct=\EG:st=\EF:do=^J:\ :al=2*\EL:am:le=^H:bs:cd=1\EJ:ce=\EK:cl=1^L:cm=\EY%+ %+ :co#80:\ :dc=\EQ:dl=2*\EM:ho=\EH:ic=\EP:ip=0.4*:\ :k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:k7=^Z7:k8=^Z8:\ :li#24:nd=\EC:pt:se=\ER@:so= \ERD:\ :is=\Ee\EU01^Z1\EV\EU02^Z2\EV\EU03^Z3\EV\EU04^Z4\EV\EU05^Z5\EV\EU06^Z6\EV\EU07^Z7\EV\EU08^Z8\EV\Ef:\ :up=\EA:us=\ERH:ue=\ER@:xs:xt:sg#2:ug#1: # "Teleray Arpa Special", officially designated as # "Teleray Arpa network model 10" with "Special feature 720". # This is the new (1981) fast microcode updating the older "arpa" proms # (which gave meta-key and pgmmable-fxn keys). 720 is much much faster, # converts the keypad to programmable function keys, and has other goodies. # Standout mode is still broken (magic cookie, etc) so is suppressed as no # programs handle such lossage properly. # Note: this is NOT the old termcap's "t1061f with fast proms." # From Univ of Utah, J.Lepreau Tue Feb 1 06:39:37 1983 # lepreau@utah-cs, harpo!utah-cs!lepreau # t10|teleray 10 special:\ :so@:se@:us@:ue@:\ :al=\EL:bs:cd=\EJ:ce=\EK:cl=30\Ej:cm=\EY%+ %+ :co#80:\ :dc=\EQ:dl=\EM:ho=\EH:ic=\EP:km:li#24:nd=\EC:pc=\200:pt:\ :se=\ER@:so=\ERD:sf=\Eq:sg#2:sr=\Ep:up=\EA:ug#1:ue=\ER@:us=\ERH:\ :xs:xt: t1061f|teleray 1061 with fast PROMs:\ :al=\EL:ip@:dl=\EM:tc=t1061: # # -------------------------------- # # z: Miscellaneous # wind:\ :bs:cm=\Ep%r%.%.:cl=\En\120\030\Eo:co#80:\ :ho=\Ep\200\200:li#24:nd=^L:up=^K:nl=\035:\ :kl=\E3:kr=\E4:ku=\E1:kd=\E2:k1=\E5:k2=\E6:k3=\E7:k4=\E8:\ :so=\Em\014:se=\Em\003: wind16:\ :bs:cm=\Ep%r%.%.:cl=\En\120\020\Eo:co#80:\ :ho=\Ep\200\200:li#16:nd=^L:up=^K:nl=\035:\ :so=\Em\014:se=\Em\003: wind40:\ :bs:cm=\Ep%r%.%.:cl=\En\120\050\Eo:co#80:\ :ho=\Ep\200\200:li#40:nd=^L:up=^K:nl=\035:\ :so=\Em\014:se=\Em\003: wind50:\ :bs:cm=\Ep%r%.%.:cl=\En\128\062\Eo:co#88:\ :ho=\Ep\200\200:li#50:nd=^L:up=^K:nl=\035:\ :kl=\E3:kr=\E4:ku=\E1:kd=\E2:k1=\E5:k2=\E6:k3=\E7:k4=\E8:\ :so=\Em\014:se=\Em\003: cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars:\ :am:bs:cl=^Z:co#73:ho=\036:li#36:nd=^L:up=^K: cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars:\ :am:bs:cl=^Z:co#85:ho=\036:li#39:nd=^L:up=^K:\ :kl=\E3:kr=\E4:ku=\E1:kd=\E2:k1=\E5:k2=\E6:k3=\E7:k4=\E8:\ :so=\Em\014:se=\Em\003: v50|visual 50:\ :am:bs:al=\EL:dl=\EM:\ :cd=\Ek:ce=\EK:cl=^Z:cm=\E=%+\040%+\040:co#80:do=^J:ho=\EH:\ :kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:li#24:ms:nd=^L:pt:\ :so=\EU:se=\ET:up=^K: trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M:\ :nl=^_:al=^D:am:bs:cd=^B:ce=^A:cl=^L:cm=\EY%+ %+ :co#80:\ :dl=^K:do=^_:ho=^F:li#24:nd=^]:ms:pt:se=^O:so=^N:up=^^:\ :kb=^H:kd=^_:kl=^\:kr=^]:ku=^^: # From: ksb@mentor.cc.purdue.edu (Kevin Braunsdorf) trs16|trs-80 model 16 console:\ :al=\EL:am:bs:cd=\EJ:ce=\EK:cl=^L:cm=\EY%+ %+ :co#80:dc=\EQ:dl=\EM:\ :do=\EB:ic=\EP:ho=\EH:kb=^H:kd=\EB:kl=\ED:kn#2:kr=\EC:\ :ku=\EA:k0=^A:k1=^B:l0=f1:l1=f2:li#24:nd=\EC:pt:se=\ER@:sg#0:so=\ERD:\ :k2=^D:k3=^L:k4=^U:k5=^P:k6=^N:k7=^S:\ :l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:\ :up=\EA:GS=\ERG:GE=\ERg:GV=s:GH=u:GU=e:GD=c:G1=`:G2=_:G3=b:G4=a:\ :BN=\E[?33h:BF=\E[?33l:UC=\E[_\040q:BC=\E[\177\040q:\ :PN=\E]=:PS=\E]+:\ :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@: # From {pbrown,ctl}@ocf.berkeley.edu, 12 Mar 90 coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II:\ :am:bs:cl=5*^L:li#24:co#80:ho=^A:\ :cd=^K:ce=^D:cm=2%r^B%+ %+ :\ :bl#7:do=^J:up=^I:nd=^F:so=\037\040:se=\037\041:\ :us=\037\042:ue=\037\043:al=\037\060:dl=\037\061:\ :ku=^L:kd=^J:kr=^I:kl=^H:ta:mb=\037\042:md=\E\072^A:\ :mr=\037\040:me=\037\041\E\072\000:\ :vi=\005\040:ve=\005\041 ps300|Picture System 300:us@:ue@:so@:se@:xt:pt@:tc=vt100: masscomp2:co#64:li#21:tc=masscomp: masscomp1:co#104:li#36:tc=masscomp: masscomp:\ :al=\E[L:bs:cd=\E[J:ce=\E[K:co#80:dc=\E[P:dl=\E[M:do=\E[B:\ :ei=\E[4l:im=\E[4h:is=\EGc\EGb\EGw:li#24:mi:MT:nd=\E[C:pt:se=\E[0m:\ :sg#0:so=\E[7m:cm=\E[%i%d;%dH:ue=\EGau:us=\EGu:up=\E[A:\ :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^h:cl=\E[2J: # Kimtron TC entries include (undocumented) codes for: enter dim mode (mh), # enter bold mode (md), enter reverse mode (mr), turn off all attributes (me) # Kimtron ABM 85 added by Dual Systems abm85|Kimtron ABM 85:\ :is=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq:if=/usr/share/tabset/stdcrt:\ :li#24:co#80:am:bs:bw:ms:pt:\ :cl=\E*:cd=\Ey:dl=\ER:al=\EE:ce=\Et:dc=\EW:im=\EQ:ei=\Er:\ :cm=\E=%+ %+ :do=^J:nd=^L:up=^K:bt=\EI:\ :kh=^^:kb=^H:kd=^J:ku=^K:kd=^J:kl=^H:kr=^L:\ :so=\Ej:se=\Ek:sg#1:us=\El:ue=\Em:ug#1: # Kimtron ABM 85H added by Dual Systems. # Some notes about the 85h entries: # 1) there are several firmware revs of 85H in the world. Use o85h for # firmware revs prior to SP51 # 2) Make sure to use 85h entry if the terminal is in 85H mode and the # 85e entry if it is in 920 emulation mode. They are incompatible in # some places and NOT software settable i.e., `is' can't fix change it) # 3) In 85h mode, the arrow keys and special functions transmit when # the terminal is in dup-edit, and work only locally in local-edit. # Vi won't swallow `del char' for instance, but `vs' turns on # dup-edit anyway so that the arrow keys will work right. If the # arrow keys don't work the way you like, change `vs', `ve', and `is'. # 920E mode does not have software commands to toggle between dup # and local edit, so you get whatever was set last on the terminal. # 4) vb attribute is nice, but seems too slow to work correctly (\Eb\Ed) # 5) Make sure `hidden' attributes are selected. If `embedded' attributes # are selected, the entries :sg@: and :ug@: should be removed. # 6) auto new-line should be on (selectable from setup mode only) # # From fair@ucbarpa Sun Oct 27 07:21:05 1985 85h|85H|abm85h|Kimtron ABM 85H, 85H mode:\ :is=\EC\EN\EX^T^N\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef^M\EG0\Ed\E.4\El:\ :im=\EZ:kd=^V:so=\EG4:se=\EG0:us=\EG8:ue=\EG0:vb@:vs=\E.2:ve=\E.4:\ :mh=\E):mr=\EG4:me=\E(\EG0:sg@:ug@:ds=\Ee:fs=^M:hs:ts=\Eg\Ef:tc=abm85: 85e|85E|abm85e|Kimtron ABM 85H, 920E mode:\ :is=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef^M\Ek\Eq\Em:\ :mh=\E):mr=\Ej:me=\E(\Ek:im=\EZ:sg@:ug@:vb@:tc=abm85: o85h|oabm85h|Kimtron ABM 85H, old firmware rev.:\ :is=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF:\ :im=\EZ:sg@:ug@:vb=\200\200\200^G\200\200\200:\ :mh=\E):mr=\Ej:me=\E(\Ek:tc=abm85: # from malman@bbn-vax.arpa kt7|kimtron model kt-7:\ :am:bs:co#80:li#24:cm=\E=%+ %+ :cl=^Z:cd=\EY:ce=\ET:is=\El\E":\ :al=\EE:dl=\ER:ic=\EQ:dc=\EW:if=/usr/share/tabset/stdcrt:\ :ho=^^:nd=^L:bt=\EI:pt:so=\EG4:se=\EG0:sg#0:us=\EG8:ue=\EG0:ug#0:\ :up=^K:do=^V:kb=^H:ku=^K:kd=^V:kl=^H:kr=^L:kh=^^:ma=^V^J^L :\ :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\ :k8=^AG\r:k9=^AH\r:k0=^AI\r:ko=ic,dc,al,dl,cl,ce,cd,bt:\ :ts=\Ef:fs=\Eg: appleII|apple ii plus:vs=\024\103\066:ve=\024\103\062:\ :am:co#80:ce=\035:li#24:cl=\014:bs:nd=\034:up=\037:ho=\E\031:pt:\ :cd=\013:so=\017:se=\016:cm=\036%r%+ %+ :is=\024T1\016:do=^J:kd=^J:\ :vb=\024G1\024T1:kr=^U: # Gary Ford 21NOV83 # New version from ee178aci%sdcc7@SDCSVAX.ARPA Fri Oct 11 21:27:00 1985 apple-80|apple II with smarterm 80 col:\ :am:bs:bt=^R:bw:cd=10*^K:ce=10^]:cl=10*^L:cm=^^%r%+ %+ :\ :co#80:cr=10*^M:do=^J:ho=^Y:le=^H:li#24:nd=^\\:up=^_: lisa|apple lisa console display, black on white:\ :al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:co#88:\ :dc=\E[P:dl=\E[M:do=\E[B:ho=\E[H:ic=\E[@:li#32:\ :nd=\E[C:ms:pt:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:up=\E[A:\ :kb=^h:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:eo:is=\E>\E[0m^L:\ :GS=\E[11m:GE=\E[10m:GV=\140:GH=a:G1=c:G2=f:G3=e:G4=d:GU=u:\ :GD=s:GC=b:GL=v:GR=t:CO=\E[5l:CF=\E[5h: liswb|apple lisa console display, white on black:\ :so=\E[0m:se=\E[0;7m:us=\E[4m:ue=\E[0;7m:is=\E>\E[0;7m^L:\ :tc=lisa: # The following is a version of the ibm-pc entry distributed with PC/IX, # (Interactive Systems' System 3 for the Big Blue), modified by Richard # McIntosh at UCB/CSM. The :pt: and :uc: have been removed from the original, # (the former is untrue, and the latter failed under UCB/man); standout and # underline modes have been added. Note: this entry describes the "native" # capabilities of the PC monochrome display, without ANY emulation; most # communications packages (but NOT PC/IX connect) do some kind of emulation. pc|ibmpc|ibm pc PC/IX:\ :li#24:co#80:am:bs:bw:eo:\ :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[;H:\ :nd=\E[C:up=\E[A:so=\E[7m:se=\E[0m:us=\E[4m:ue=\E[0m: pc3|ibmpc3|IBM PC 386BSD Console:\ :Co#8:\ :DO=\E[%dB:\ :F1=\E[W:\ :F2=\E[X:\ :K1=\E[H:\ :K2=\E[I:\ :K3=\E[E:\ :K4=\E[F:\ :K5=\E[G:\ :LE=\E[%dD:\ :RI=\E[%dC:\ :AB=\E[1;%dx:\ :AF=\E[2;%dx:\ :UP=\E[%dA:\ :ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`^Da\260f\370g\361~\371.^Y-^Xh\261i^U0\333y\363z\362:\ :am:\ :bl=^G:\ :bs:\ :cb=\E[1K:\ :cd=\E[J:\ :ce=\E[K:\ :cl=\E[H\E[J:\ :cm=\E[%i%d;%dH:\ :co#80:\ :cr=^M:\ :do=\E[B:\ :ho=\E[H:\ :is=\E[m:\ :it#8:\ :k;=\E[V:\ :k1=\E[M:\ :k2=\E[N:\ :k3=\E[O:\ :k4=\E[P:\ :k5=\E[Q:\ :k6=\E[R:\ :k7=\E[S:\ :k8=\E[T:\ :k9=\E[U:\ :kD=\177:\ :@7=\E[F:\ :kN=\E[G:\ :kP=\E[I:\ :kb=\177:\ :kd=\E[B:\ :kh=\E[H:\ :kl=\E[D:\ :kr=\E[C:\ :ku=\E[A:\ :le=^H:\ :li#25:\ :ms:\ :nd=\E[C:\ :op=\E[x:\ :pa#64:\ :rs=\E[m:\ :se=\E[m:\ :sf=\E[S:\ :so=\E[7;1r\E[7m:\ :sr=\E[T:\ :ta=^I:\ :te=\E[m:\ :ti=\E[m:\ :up=\E[A:\ :ut: ibmx|ibmpcx|IBM PC xenix console display:\ :al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%d;%dH:co#80:\ :dc=\E[P:dl=\E[M:do=\E[B:ho=\E[H:ic=\E[@:li#25:\ :nd=\E[C:ms:se=\E[0m:so=\E[7m:us=\E[4m:\ :ue=\E[m:up=\E[A:MR=\E[0m:\ :kb=^h:kh=\E[Y:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:eo:\ :GS=\E[11m:GE=\E[10m:\ :GC=b:GL=v:GR=t:RT=^J:\ :GH=\E[196g:GV=\E[179g:\ :GU=\E[193g:GD=\E[194g:\ :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\ :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\ :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\ :HM=\E[Y:EN=\E[d:PU=\E[Z:PD=\E[e: ibmc|ibmcpc|IBM PC xenix color console display:\ :tc=ibm: ibmcx|ibmcpcx:\ :tc=ibmx: kaypro|kaypro2|kaypro II:\ :am:bs:cm=\E=%+ %+ :cl=1^Z:co#80:ho=^^:li#24:ma=^K^P:nd=^L:up=^K:\ :kr=^L:kl=^H:ku=^K:kd=^J: # From Suk Lee ..!{decvax,linus,allegra,ihnp4}!utcsrgv!spoo trs100|Radio Shack Model 100:\ :am:bs:le=^H:li#8:co#40:ku=^^:kd=^_:kl=^]:kr=^\:up=\EA:\ :nd=\EC:ho=\EH:ce=\EK:cd=\EJ:cl=\EE:xt:cm=\EY%+ %+ :\ :so=\Ep:se=\Eq:al=\EL:dl=\EM: mac|macintosh|Macintosh with MacTerminal:\ :al=20\E[L:dl=20\E[M:ip=7:dc=7\E[P:ic=9\E[@:xn:dN#30:tc=vt100: zen50|z50:zephyr:\ :cm=\E=%+ %+ :cd=\EY:co#80:li#24:\ :am:al=\EE:ce=\ET:dc=\EW:dl=\ER:ic=\EQ:\ :cl=\E+:bs:ma=^Hh^Ll^Jj^Kk:sg#1:se=\EGO:so=\EG4:\ :kl=^H:kr=^L:ku=^K:kd=^J:kh=\036:up=^K:\ :BS=^U:CL=^V:CR=^B:RK=^L:UK=^K:LK=^H:DK=^J:HM=\036: go140|graphon go-140:\ :co#80:li#24:cl=10\E[;H\E[2J:bs:cm=\E[%i%2;%2H:nd=\E[C:up=\E[A:\ :ce=\E[K:cd=10\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\ :is=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q:\ :dl=\E[M:al=\E[L:dc=\E[P:im=\E[4h:ei=\E[4l:\ :ks=\E[?1h\E=:ke=\E[?1l\E>:\ :if=/usr/share/tabset/vt100:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\ :kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=\EM: go140w|graphon go-140 in 132 column mode:\ :co#132:is=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q:\ :tc=go140: # From edm@nwnexus.WA.COM. Hacked up vt200 termcap to handle GO-225/VT220 go225|go-225|Graphon 225:\ :im=\E[4h:ei=\E[4l:mi:dc=\E[P:al=\E[L:dl=\E[M:\ :cs=\E[%i%d;%dr:sf=\ED:sr=\EM:\ :ce=\E[K:cl=\E[H\E[J:cd=\E[J:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\ :so=\E[7m:se=\E[27m:us=\E[4m:ue=\E[24m:\ :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\ :rs=\E[!p\E[?7h\E[2;1;1#w:rf=/usr/share/tabset/vt100:\ :do=^J:co#80:li#25:le=^H:bs:am:ks=\E=:ke=\E>:\ :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kb=^H:kh=\E[H:\ :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:vt#3:xn:\ :sc=\E7:rc=\E8:ti=\E[2;0#w\E[1;25r:te=\E[!p\E[?7h\E[2;1;1#w: sanyo55|sanyo|sanyo mbc-55x pc compatible:\ :co#80:li#25:am:cl=\E[H\E[J:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\ :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m: # From: Simson L. Garfinkel ST|atari st:\ :bs:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :co#80:li#25:nd=\EC:\ :pt:sr=\EI:up=\EA:ku=\EA:kd=\EB:kr=\EC:kl=\ED:\ :do=\EB:\ :so=\Ep:se=\Eq:dl=\EM:al=\EL:am: # UniTerm terminal program for the Atari ST: 49-line VT220 emulation mode # From Paul M. Aoki, aoki@ucbvax.Berkeley.EDU uniterm|uniterm49|UniTerm VT200 emulator, 49 lines:\ :li#49:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H:\ :tc=vt200: # YTERM standard version 1.0. (gts 9-25-84) # Straight old ascii keyboard except function keys are Yale (e.g.,ASCII.KBD). # Only 80 tab columns (else yterm 1.1 bug). No :xn: in 1.0. # Cannot use termcap :sr=\EM: because vi will not work, too bad. # vi string is given so that yterm is reset each vi startup. yterm10|yterm 1.0 UCB ascii.kbd:\ :am:bs:cd=^K:ce=^]:cl=^L:cm=^^%r%+ %+ :co#80:EP:ho=^Y:li#24:nd=^\:pt:\ :rc=\E8:sc=\E7:so=\E[7m:se=\E[m:up=^_:us=\E[4m:ue=\E[m:\ :is=^O\E[7i\E[m\E[?7h\E[?3g\r\EHY0 for \EHYTERM 1.\EH0 with A\EHSCII.KBD\EH 9-13-84\EH \EH \EH \EH \EH\n:\ :ku=^K:kd=^J:kl=^H:kr=^L:kh=^^:ma=^Hh\012j^Kk^Ll^^H:\ :k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:\ :vs=^O\E[7i\E[m\E[?7h\E[?3g\r\EHY0 \EH \EH \EH \EH \EH \EH \EH \EH \EH\r: -# YTERM varient version 1.1. (gts 9-13-84) Version 1.1 has :xn:. +# YTERM variant version 1.1. (gts 9-13-84) Version 1.1 has :xn:. yterm11|yterm 1.1 UCB ascii.kbd:\ :xn:is=^O\E[7i\E[m\E[?7h\E[?3g\r\EHY1 for \EHYTERM 1.\EH1 with A\EHSCII.KBD\EH 9-13-84\EH \EH \EH \EH \EH\n:\ :tc=yterm10: -# YTERM 1.0 varient no autowrap or tabs +# YTERM 1.0 variant no autowrap or tabs # X does not remember autowrap or tabs when T is deleted and restarted. yterm10nat|yterm 1.0 UCB ascii.kbd no autowrap or tabs:\ :am@:pt@:vs=^O\E[7i\E[m\E[?7l\E[?3g\rY2\r:\ :is=^O\E[7i\E[m\E[?7l\E[?3g\rY2 for YTERM 1.0 with ASCII.KBD 9-20-84 no autowrap or tabs\n:\ :tc=yterm10: # KERMIT standard all versions. (gts 9-25-84) # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi. kermit|standard kermit:\ :bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:ho=\EH:li#24:nd=\EC:up=\EA:\ :ku=^K:kd=^J:kl=^H:kr=^L:kh=^^:ma=^Hh\012j^Kk^Ll^^H:\ :is=K0 Standard Kermit 9-25-84\n: kermitam|standard kermit plus am:\ :am:is=K1 Standard Kermit plus Automatic Margins\n:tc=kermit: # IBMPC Kermit 1.2. (gts 8-30-84) # Bugs :cd:ce: do not work except at beginning of line! :cl: does not work, # but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of line). pckermit|pckermit12|UCB IBMPC Kermit 1.2:\ :am:li#25:cd@:ce@:cl=\EH\EJ:\ :is=K2 UCB IBMPC Kermit 1.2 8-30-84\n:tc=kermit: # IBMPC Kermit 1.20 (gts 12-19-84) # Cannot use line 25, now acts funny like ansi special scrolling region. # Initialization must escape from that region by cursor position to line 24. # Cannot use character insert because 1.20 goes crazy if insert at col 80. # Does not use am: because autowrap mode lost when kermit dropped and restarted. pckermit120|UCB IBMPC Kermit 1.20:\ :al=\EL:am@:dc=\EN:dl=\EM:do=\EB:ei@:im@:li#24:pt:se=\Eq:so=\Ep:\ :is=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20 12-19-84\n:\ :vs=\EO\Eq\EEK3:tc=kermit: # MS-DOS Kermit 2.27 for the IBMPC (UCB gts 3-17-85) # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi. # Cannot use line 25, now acts funny like ansi special scrolling region. # Initialization must escape from that region by cursor position to line 24. # Does not use am: because autowrap mode lost when kermit dropped and restarted. # Reverse video for standout like H19. msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC:\ :al=\EL:am@:bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:\ :dc=\EN:dl=\EM:do=\EB:ei=\EO:im=\E@:\ :ho=\EH:li#24:nd=\EC:up=\EA:pt:rc=\Ek:sc=\Ej:se=\Eq:so=\Ep:\ :ku=^K:kd=^J:kl=^H:kr=^L:kh=^^:ma=^Hh\012j^Kk^Ll^^H:\ :is=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n:\ :vs=\EO\Eq\EG\EwK4: # MS-DOS Kermit 2.27 with automatic margins (UCB gts 3-17-85) msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins:\ :am:\ :is=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n:\ :vs=\EO\Eq\EG\EvK5:tc=mskermit227: # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC (UCB gts 3-17-85) # Automatic margins now default. Use ansi set graphic rendition for standout, # underline and ul codes (md,me,mr). Define function keys. msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC:\ :am:kn#10:\ :k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:\ :md=\E[1m:me=\E[m:mr=\E[7m:se=\E[m:so=\E[1m:ue=\E[m:us=\E[4m:\ :is=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n:\ :vs=\EO\Eq\EG\EvK6:tc=mskermit227: # From earle@smeagol.UUCP 29 Oct 85 05:40:18 GMT # MS-Kermit with Heath-19 emulation mode enabled h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin):\ :am@:ta@:pt@:xt:da:db:tc=h19-u: # Amiga termcap by Kent Polk, kent@swrinde.nde.swri.edu (30 May 90) # Added a few more entries, converted caret-type control sequence (^x) entries -# to '\0xx' entries since a couple of people mentioned loosing '^x' sequences. +# to '\0xx' entries since a couple of people mentioned losing '^x' sequences. # # :as, :ae Support for alternate character sets. # :ve=\E[\040p:vi=\E[\060\040p cursor visible/invisible. # :xn: vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept) # This one appears to fix a problem I always had with a line ending # at 'width+1' (I think) followed by a blank line in vi. The blank # line tended to disappear and reappear depending on how the screen # was refreshed. Note that this is probably needed only if you use # something like a Dnet Fterm with the window sized to some peculiar # dimension larger than 80 columns. # :k0=\E9~ map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;' # :F1-FA removed F11 through F20. amiga|Amiga ANSI:\ :co#80:li#24:am:bs:bw:\ :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\ :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:IC=\E[%d@:\ :ae=\017:al=\E[L:as=\016:bl=\007:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\ :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ho=\E[H:ic=\E[@:is=\E[20l:\ :k1=\E0~:k2=\E1~:k3=\E2~:k4=\E3~:k5=\E4~:k6=\E5~:k7=\E6~:k8=\E7~:\ :k9=\E8~:k0=\E9~:kn#10:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\E[D:\ :mb=\E[7;2m:md=\E[1m:me=\E[0m:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:\ :rs=\Ec:se=\E[0m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[0m:up=\E[A:us=\E[4m:\ :vb=\007:ve=\E[\040p:vi=\E[\060\040p:xn: # The pcplot IBM-PC terminal emulation program is really messed up. It is # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly, # doesn't support scrolling regions, ignores add line commands, and ignores # delete line commands. Consequently, the resulting behavior looks like a # crude adm3a-type terminal. # Steve Jacobson 8/85 pcplot:\ :cs@:sc@:rc@:xn@:tc=vt100: # From Joel Rubin, jmrubin@coral, a preliminary TERMCAP for VIDTEX, # a terminal program sold by Compuserve. Line and column numbers are # computer-dependent (I have a Commodore '64); you should use the meta-B # option to shut off clean-breaking of lines. No key codes included # since some of them are programmable and most are machine-specific. # Works on vi if you don't use clean-breaking. Very similar to the IBM 3101 # termcap. Escape-D used for backspace because control-H is destructive # backspace. There seem to be a few weirdnesses (especially at the beginning # of a wrapped line), and the cursor does not, unfortunately, flash. vid|vidtex|Compuserve vidtex program:\ :am:bc=\ED:cl=^L:li#25:co#40:nd=\EC:up=\EA:cd=\EJ:ce=\EK:\ :ho=\EH:cm=\EY%+\40%+\40:pt: # Fortune from c160-3bp@Coral (Robert Nathanson) via tut Wed Oct 5, 1983 fos|fortune|Fortune system:\ :is=^_..:li#25:co#80:am:bs:bw:cl=20^L:cd=3*^\Y:\ :ic=5^\Q:dc=5^\W:dl=15^\R:al=15^\E:cm=^\C%+ %+ :ta=^Z:ho=10^^:do=3^J:\ :up=3^K:bs=^H:kb=^H:kd=^Ay\r:kh=^A?\r:kl=^Aw\r:kr=^Az\r:ku=^Ax\r:\ :nl=5^J:so=^\H`:se=^\I`:sg=0:us=^\HP:ue=^\IP:ug=0:ce=^\Z:rv=\EH:re=\EI:\ :rg=0:GS=\Eo:GE=^O:GG=0:GV=-:GH=&:GU=%:GD=#:G1=(:G2= :G3=":G4=*:CF=\E]:\ :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\ :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:PU=^An\r:PD=^Ao\r:\ :PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F: # basis from Peter Harrison, Computer Graphics Lab, San Francisco # ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA basis|BASIS108 computer with terminal translation table active:\ :do=5000^J:nl=5000*^J:\ :cd=\EY:ce=\ET:cl=300\E*:ma=^K^P^R^L^L :\ :kb=^H:kl=^H:ku=^K:kr=^L:kd=^J:so=\E(:se=\E):tc=adm3a: # From Peter Harrison, Computer Graphics Lab, San Francisco # ucbvax!ucsfmis!harrison .....uucp # ucbvax!ucsfmis!harrison@BERKELEY .......ARPA # "These two work. If you don't have the inverse video chip for the # Apple with videx then remove the so and se fields." DaleApple|Apple with videx videoterm 80 column board with inverse video:\ :do=^J:am:le=^H:bs:cd=^K:ce=^]:cl=300^L:cm=^^%r%+ %+ :co#80:ho=^Y:\ :kd=^J:kl=^H:kr=^U:kh=^Y:\ :li#24:nd=^\:pt:so=^Z3:se=^Z2:up=^_:xn: ibmaed|IBM Experimental display:\ :al=\EN:am:bs:cd=\EJ:ce=\EI:cl=\EH\EK:cm=\EY%+\40%+\40:co#80:\ :dc=\EQ:dl=\EO:do=\EB:ho=\EH:ic=\EP:li#52:\ :nd=\EC:ms:so=\E0:se=\E0:us=:ue=:up=\EA:\ :kb=^h:ku=\EA:kd=\EB:kl=\ED:kr=\EC:eo:vb=\EG:pt: # funny terminal that the TANDEM uses. 653|t653x|Tandem 653x multipage terminal:\ :li#24:co#80:ho=\EH:cm=\023%+ %+ :cl=\EI:cd=\EJ:ce=\EK:am:bs:\ :if=/usr/share/tabset/tandem653:sb=\ES:sr=\ET:da:db:so=\E6$:se=\E6 :\ :us=\E60:ue=\E6 :sg#1:ug#1:up=\EA:do=\012:le=\010:nd=\EC:\ :hs:ts=\Eo:fs=\r:ds=\Eo\r:ws#64: # From Paul Leondis, unllab@amber.berkeley.edu ifmr|Informer D304:\ :am:bs:cd=\E/:ce=\EQ:cl=\EZ:cm=\EY%r%+ %+ :co#80:dc=\E\\:\ :do=^J:ic=\E[:li#24:nd=\EC:so=\EJ:se=\EK:up=\EA:\ :sr=\En:ho=\EH: # From Christian Weisgerber, naddy@mips.inka.de, a TERMCAP entry # for Linux consoles. linux|Linux Console:\ :am:eo:mi:ms:xn:xo:\ :co#80:it#8:li#25:\ :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:\ :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:K2=\E[G:\ :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:\ :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\ :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\ :im=\E[4h:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:\ :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\ :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:kh=\E[1~:kH=\E[4~:@7=\E[4~:*6=\E[4~:\ :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\ :me=\E[0;10m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:\ :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\ :ue=\E[24m:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:\ :ve=\E[?25h:vi=\E[?25l:\ :k;=\E[21~:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\ :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~: linux-m|Linux Console no color:\ :pa@:Co@:AF@:AB@:op@:\ :tc=linux: cygwin:\ :xn@:op=\E[39;49m:Km=\E[M:tc=linux: # Multilingual Sysinstall (kon2 console) # HOSOKAWA, Tatsumi (hosokawa@FreeBSD.org) kons25x|kons25-euc:\ :ac=q\207x\214m\205v\212j\202t\210n\206u\211l\204w\213k\203y\053z\053f\336~\245a\043h\043`^D.v-\136I^U0\215:\ :ve=\E[25h:vi=\E[25l:\ :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\ :k9=\E[U:k;=\E[V:F1=\E[W:F2=\E[X:K2=\E[E:\ :kN=\E[G:kP=\E[I:\ :tc=linux: kons25x-m|kons25-euc-mono:\ :pa@:Co@:Sf@:Sb@:op@:us=\E[4m:ue=\E[m:md@:mh@:tc=kons25x: # Termcap for Top Gun Telnet and SSH on the Palm Pilot. # http://www.ai/~iang/TGssh/ pilot|tgtelnet:am:xn:bs:co#39:li#16:cl=\Ec:cm=\Em%+ %+ :ho=\Em :nw=\Em~ :\ :so=\Eb:se=\EB:bl=^g:cr=^m:do=^j:le=^h:kP=^k:kN=^l: # Termcap entry for rxvt, taken from the sources of rxvt-2.6.3 # with additional @7 capability to make END work correctly. # From Giorgos Keramidas # Fix alternate character set capabilities (ae, as) -- nectar@freebsd.org rxvt-mono|rxvt terminal emulator (monochrome) (X Window System):\ :am:eo:km:mi:ms:xn:xo:\ :co#80:it#8:li#24:\ :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\ :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\ :RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:\ :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\ :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\ :ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:im=\E[4h:\ :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\ :k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\ :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\ :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\ :kh=\E[7~:@7=\E[8~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\ :md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\ :se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\ :te=\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:us=\E[4m:\ :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h: # Termcap entry for rxvt-unicode, taken from http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.html#I_need_a_termcap_file_entry rxvt-unicode|rxvt-unicode terminal (X Window System):\ :SF=\E[%dS:SR=\E[%dT:bw:ec=\E[%dX:kb=\177:kd=\EOB:ke=\E[?1l\E>:\ :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:lm#0:te=\E[r\E[?1049l:\ :ti=\E[?1049h:tc=rxvt-mono: rxvt|rxvt terminal emulator (X Window System):\ :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:tc=rxvt-mono: rxvt-256color|rxvt terminal emulator with 256 colors:\ :Co#256:pa#32767:\ :AB=\E[48;5;%dm:AF=\E[38;5;%dm:op=\E[39;49m:tc=rxvt-unicode: rxvt-unicode-256color|rxvt-unicode terminal with 256 colors (X Window System):\ :tc=rxvt-256color: # Termcap entry for Eterm, taken from the sources of Eterm-0.9.2 Eterm|Eterm Terminal Emulator (X11 Window System):\ :am:bw:eo:km:mi:ms:xn:xo:\ :co#80:it#8:li#24:lm#0:pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39m\E[49m:\ :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\ :K1=\E[7~:K2=\EOu:K3=\E[5~:K4=\E[8~:K5=\E[6~:LE=\E[%dD:\ :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\ :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\ :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\ :ec=\E[%dX:ei=\E[4l:ho=\E[H:i1=\E[?47l\E>\E[?1l:ic=\E[@:\ :im=\E[4h:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\ :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\ :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\ :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=:kh=\E[7~:\ :kl=\E[D:kr=\E[C:ks=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\ :me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:\ :sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\ :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\ :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\ :ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~: # # END OF TERMCAP # ------------------------ Index: stable/9/share/termcap =================================================================== --- stable/9/share/termcap (revision 277016) +++ stable/9/share/termcap (revision 277017) Property changes on: stable/9/share/termcap ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head/share/termcap:r228993 Index: stable/9/share =================================================================== --- stable/9/share (revision 277016) +++ stable/9/share (revision 277017) Property changes on: stable/9/share ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head/share:r228993 Index: stable/9 =================================================================== --- stable/9 (revision 277016) +++ stable/9 (revision 277017) Property changes on: stable/9 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r228993