old-www/LDP/GNU-Linux-Tools-Summary/html/virtual-terminals.html

241 lines
3.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>Virtual Terminals and screen</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="GNU/Linux Command-Line Tools Summary"
HREF="index.html"><LINK
REL="UP"
TITLE="Shell Tips"
HREF="shell-tips.html"><LINK
REL="PREVIOUS"
TITLE="Other Key combinations"
HREF="other-key-combinations.html"><LINK
REL="NEXT"
TITLE="Help"
HREF="help.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>GNU/Linux Command-Line Tools Summary</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="other-key-combinations.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 4. Shell Tips</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="help.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="VIRTUAL-TERMINALS"
></A
>4.4. Virtual Terminals and screen</H1
><P
>Using the key combination
<B
CLASS="KEYCAP"
>ALT</B
>-<B
CLASS="KEYCAP"
>F*</B
>
keys you may change to different virtual terminals. You will have several (usually 6) virtual terminals setup with shells. Number 7 is usually setup with X you need to use
<B
CLASS="KEYCAP"
>CTRL</B
>-<B
CLASS="KEYCAP"
>ALT</B
>-<B
CLASS="KEYCAP"
>F*</B
>
to change to a terminal from within X (X as in the X windowing system).</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
>screen</DT
><DD
><P
>is a great program that allows you to switch between multiple virtual terminals on the one physical terminal that you are using. Its a command-line based window manager, clearly this isn't that useful if you do have virtual terminals, but its amazingly useful when you log into machines remotely, using ssh and similar, see <A
HREF="remote-administration.html"
>Section 13.3</A
>. It works on key-combinations, you type</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>screen</PRE
></FONT
></TD
></TR
></TABLE
><P
>On the command-line to begin. Now you start with one virtual terminal by default, but using the key combination
<B
CLASS="KEYCAP"
>CTRL</B
>-<B
CLASS="KEYCAP"
>A</B
>
and then hitting "C" you can create another virtual terminal to use. </P
><P
>Use
<B
CLASS="KEYCAP"
>CTRL</B
>-<B
CLASS="KEYCAP"
>N</B
>
to go to the next virtual terminal and
<B
CLASS="KEYCAP"
>CTRL</B
>-<B
CLASS="KEYCAP"
>P</B
>
to go to the previous virtual terminal. Also try hitting
<B
CLASS="KEYCAP"
>CTRL</B
>-<B
CLASS="KEYCAP"
>A</B
>
to go backwards and forwards between two particular terminals.</P
><P
><EM
>screen</EM
> also has various other abilities that you can test out. The documentation and guides are well written so please feel free to read the manual page or try searching the internet.</P
></DD
></DL
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="other-key-combinations.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="help.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Other Key combinations</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="shell-tips.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Help</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>