---
layout: doc
title: general / request_term_type
---
# request_term_type

### NAME

    request_term_type() - request the user's terminal type

### SYNOPSIS

    void request_term_type();

### DESCRIPTION

    Sends a TELNET TERMINAL-TYPE SEND subnegotiation to the current
    interactive object.  If the client answers with a terminal type, the
    driver calls terminal_type(string) on the interactive object.

    This efun should only be called by a user object.  If it is called by a
    non-interactive object, the driver writes a warning to debug output and
    otherwise has no effect.

    request_term_type() asks for a terminal type after terminal-type
    negotiation is already available.  start_request_term_type() starts the
    negotiation by sending DO TERMINAL-TYPE.

### SEE ALSO

    start_request_term_type(3), request_term_size(3), terminal_type(4)
