www.delorie.com/gnu/docs/elisp-manual-21/elisp_559.html   search  
 
Buy the book!


GNU Emacs Lisp Reference Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

33.10.8 Terminal I/O Encoding

Emacs can decode keyboard input using a coding system, and encode terminal output. This is useful for terminals that transmit or display text using a particular encoding such as Latin-1. Emacs does not set last-coding-system-used for encoding or decoding for the terminal.

Function: keyboard-coding-system
This function returns the coding system that is in use for decoding keyboard input--or nil if no coding system is to be used.

Function: set-keyboard-coding-system coding-system
This function specifies coding-system as the coding system to use for decoding keyboard input. If coding-system is nil, that means do not decode keyboard input.

Function: terminal-coding-system
This function returns the coding system that is in use for encoding terminal output--or nil for no encoding.

Function: set-terminal-coding-system coding-system
This function specifies coding-system as the coding system to use for encoding terminal output. If coding-system is nil, that means do not encode terminal output.


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003