From 7fb4f0a6349a99dcf248b9809ee9c6baf432ff57 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 5 Oct 2009 14:37:29 +0200 Subject: public_hurd_boxen/domu_console -> public_hurd_boxen/xen_handling --- public_hurd_boxen/domu_console.mdwn | 31 ------------------------------- public_hurd_boxen/xen_handling.mdwn | 31 +++++++++++++++++++++++++++++++ public_hurd_boxen/zenhost.mdwn | 2 +- 3 files changed, 32 insertions(+), 32 deletions(-) delete mode 100644 public_hurd_boxen/domu_console.mdwn create mode 100644 public_hurd_boxen/xen_handling.mdwn diff --git a/public_hurd_boxen/domu_console.mdwn b/public_hurd_boxen/domu_console.mdwn deleted file mode 100644 index bf171a41..00000000 --- a/public_hurd_boxen/domu_console.mdwn +++ /dev/null @@ -1,31 +0,0 @@ -[[!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 (this -command line will also start the domU in case that it isn't running already): - - $ host=[domU] && sudo screen -DRRS console-$host sh -c "xm console $host || xm create -c $host" - -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 `host=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. Using `export COLUMNS=143 -LINES=44` does work, but is a manual process. diff --git a/public_hurd_boxen/xen_handling.mdwn b/public_hurd_boxen/xen_handling.mdwn new file mode 100644 index 00000000..8407cd58 --- /dev/null +++ b/public_hurd_boxen/xen_handling.mdwn @@ -0,0 +1,31 @@ +[[!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]]."]]"""]] + +# domU consoles + +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 (this +command line will also start the domU in case that it isn't running already): + + $ host=[domU] && sudo screen -DRRS console-$host sh -c "xm console $host || xm create -c $host" + +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 `host=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. Using `export COLUMNS=143 +LINES=44` does work, but is a manual process. diff --git a/public_hurd_boxen/zenhost.mdwn b/public_hurd_boxen/zenhost.mdwn index e5f42aab..525f4e36 100644 --- a/public_hurd_boxen/zenhost.mdwn +++ b/public_hurd_boxen/zenhost.mdwn @@ -12,4 +12,4 @@ License|/fdl]]."]]"""]] (see the table on [[public hurd boxen]] for a list). -[[!inline pages=public_hurd_boxen/domu_console feeds=no]] +[[!inline pages=public_hurd_boxen/xen_handling feeds=no]] -- cgit v1.2.3