Server IP : 103.119.228.120 / Your IP : 18.119.143.45 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/doc/kbd-1.15.5/ |
Upload File : |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9"> <TITLE>The Linux keyboard and console HOWTO: The TERM variable</TITLE> <LINK HREF="kbd.FAQ-12.html" REL=next> <LINK HREF="kbd.FAQ-10.html" REL=previous> <LINK HREF="kbd.FAQ.html#toc11" REL=contents> </HEAD> <BODY> <A HREF="kbd.FAQ-12.html">Next</A> <A HREF="kbd.FAQ-10.html">Previous</A> <A HREF="kbd.FAQ.html#toc11">Contents</A> <HR> <H2><A NAME="s11">11. The TERM variable</A></H2> <P> <!-- TERM environment variable --> <!-- environment variables!TERM --> <P>Many programs use the <CODE>TERM</CODE> variable and the database <CODE>/etc/termcap</CODE> or <CODE>/usr/lib/terminfo/*</CODE> to decide which strings to send for clear screen, move cursor, etc., and sometimes also to decide which string is sent by the users backspace key, function keys etc. This value is first set by the kernel (for the console). Usually, this variable is re-set by <CODE>getty</CODE>, using <CODE>/etc/ttytype</CODE> or the argument specified in <CODE>/etc/inittab</CODE>. Sometimes, it is also set in <CODE>/etc/profile</CODE>. <P>Older systems use <CODE>TERM=console</CODE> or <CODE>TERM=con80x25</CODE>. Newer systems (with ncurses 1.8.6) use the more specific <CODE>TERM=linux</CODE> or <CODE>TERM=linux-80x25</CODE>. However, old versions of <CODE>setterm</CODE> test for <CODE>TERM=con*</CODE> and hence fail to work with <CODE>TERM=linux</CODE>. <P>Since kernel version 1.3.2, the kernel default for the console is <CODE>TERM=linux</CODE>. <P>If you have a termcap without entry for linux, add the word linux to the entry for the console: <BLOCKQUOTE><CODE> <PRE> console|con80x25|linux:\ </PRE> </CODE></BLOCKQUOTE> and make <CODE>/usr/lib/terminfo/l/linux</CODE> a copy of or symbolic link to <CODE>/usr/lib/terminfo/c/console</CODE>. <P> <H2><A NAME="ss11.1">11.1 Terminfo</A> </H2> <P> <!-- terminfo --> <P>The terminfo entry for the linux console from ncurses 1.8.6 misses the entry <CODE>kich1=\E[2~</CODE>, needed by some programs. Edit the file and <CODE>tic</CODE> it. <P> <HR> <A HREF="kbd.FAQ-12.html">Next</A> <A HREF="kbd.FAQ-10.html">Previous</A> <A HREF="kbd.FAQ.html#toc11">Contents</A> </BODY> </HTML>