summaryrefslogtreecommitdiff
path: root/public_hurd_boxen
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2009-07-01 19:29:35 +0200
committerThomas Schwinge <tschwinge@gnu.org>2009-07-01 19:29:35 +0200
commit91f936897739d93aa9d1e10f3736f2a3f820cd71 (patch)
tree3d65c5a1185de735b9043ffd9d03995fee313183 /public_hurd_boxen
parent08583f242a8c2fd5b8406d14e0198498f8c2c7fa (diff)
public_hurd_boxen/domu_console: How to deal with domU consoles.
Diffstat (limited to 'public_hurd_boxen')
-rw-r--r--public_hurd_boxen/domu_console.mdwn29
-rw-r--r--public_hurd_boxen/zenhost.mdwn3
2 files changed, 32 insertions, 0 deletions
diff --git a/public_hurd_boxen/domu_console.mdwn b/public_hurd_boxen/domu_console.mdwn
new file mode 100644
index 00000000..56f6ac9c
--- /dev/null
+++ b/public_hurd_boxen/domu_console.mdwn
@@ -0,0 +1,29 @@
+[[!meta copyright="Copyright © 2009 Free Software Foundation, Inc."]]
+
+[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
+id="license" text="Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no Invariant
+Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license
+is included in the section entitled [[GNU Free Documentation
+License|/fdl]]."]]"""]]
+
+[[!meta title="domU console"]]
+
+To avoid any complications with people trying to use the same console at the
+same time, please use this command for attaching to a domU's console:
+
+ $ sudo screen -DRRS xen-console-[domU] xm console [domU]
+
+Otherwise, if one attaches to the same console twice, the second instance will
+in fact forward input to the domU (possibly infering with what the person is
+doing on the first instance), but the output won't be sent back to the second
+instance.
+
+After having typed this once, Bash's `reverse-search-history` (`C-r`), followed
+by typing in `console-flubber`, for example, will be enough to get access to
+that machine's console.
+
+/!\ TODO: How does one get the environment variables `COLUMNS` and `LINES` set
+properly when using `xm console`? This is relevant for everything using
+`(n)curses` -- for interactive console applications.
diff --git a/public_hurd_boxen/zenhost.mdwn b/public_hurd_boxen/zenhost.mdwn
index 732e18e8..e5f42aab 100644
--- a/public_hurd_boxen/zenhost.mdwn
+++ b/public_hurd_boxen/zenhost.mdwn
@@ -10,3 +10,6 @@ License|/fdl]]."]]"""]]
*zenhost* is a Xen dom0 (hosted by [[bddebian]]) which is hosting several domUs
(see the table on [[public hurd boxen]] for a list).
+
+
+[[!inline pages=public_hurd_boxen/domu_console feeds=no]]