mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-08-12 00:20:25 -04:00
Use console lexer instead of bash with a prompt
This commit is contained in:
parent
ba609d123e
commit
b53776e1eb
49 changed files with 256 additions and 256 deletions
|
@ -17,7 +17,7 @@ To a different VM
|
|||
|
||||
As an example of forwarding terminal output to another VM on the same machine:
|
||||
|
||||
.. code:: bash
|
||||
.. code:: console
|
||||
|
||||
$ mkfifo /tmp/foo
|
||||
$ qvm-run -p some-vm 'xterm -e "cat 0<&5" 5<&0' </tmp/foo >/dev/null 2>&1 &
|
||||
|
@ -31,7 +31,7 @@ To a different machine
|
|||
|
||||
In this case over SSH (from a network-connected VM):
|
||||
|
||||
.. code:: bash
|
||||
.. code:: console
|
||||
|
||||
$ mkfifo /tmp/foo
|
||||
$ qvm-run -p some-vm \
|
||||
|
@ -55,7 +55,7 @@ Terminal size
|
|||
|
||||
It is up to you to ensure the sizes of the local and remote terminal are the same, otherwise things may display incorrectly (especially in interactive programs). Depending on your shell, the size of your local (blind) terminal is likely stored in the ``$LINES`` and ``$COLUMNS`` variables.
|
||||
|
||||
.. code:: bash
|
||||
.. code:: console
|
||||
|
||||
$ echo $COLUMNS $LINES
|
||||
80 24
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue