From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Message-id: <11A53CD6-7C4F-4B2B-9AB5-A1D6423D5B93@mac.com> From: Pietro Gagliardi To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-reply-to: Date: Mon, 13 Oct 2008 18:51:59 -0400 References: Subject: Re: [9fans] several things Topicbox-Message-UUID: 1dc950dc-ead4-11e9-9d60-3106f5b1d025 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Oct 13, 2008, at 5:35 PM, Rudolf Sykora wrote: > Hello > > few questions: > > 1) Having a window with rc and pressing CTRL+d usually closes the > window. However, from time to time it does not. Instead, I can see > EOT (one character; diagonally) written after the prompt, the window > stays, I can write anything into the window, but my commands are not > executed. When does this happen? When you're running a server, such as ext2srv or dossrv. If I recall correctly, this was discussed before. > 2) Reading pwd.c I can see 'char pathname[512]' at the beginning of > the main function. Does it mean plan9 paths are thus limited? No. How many characters can be stored in an absolute pathname is program-dependent. > 3) Why do I have to press END key several times to get to the bottom > of a window (usu when there is a lot of output text from the issued > command)? > (The rio maunual says just one press.) rio windows don't scroll by default. To enable scrolling for a certain window, middle-click and hit scroll, or type echo scroll >/dev/wctl To make scrolling the default, edit $home/lib/profile and change every instance of exec rio to exec rio -s Log out and log back in. > 4) What is the sense of > bind 'sth' 'the_same_sth' > ? (like 'bind / /' or 'bind /usr/ruda/a /usr/ruda/a') Think of it as making an alias or link. > 5) When I do > > cd > mkdir a > mntgen a > bind lib a/b > unmount a > > all these command finish ok, but I am left with > > bind /usr/ruda/lib /usr/ruda/a/b > > in the namespace (see the result of the 'ns' command; there you can > also spot that after issueing the 'mntgen' command a line > 'bind /usr/ruda/a /usr/ruda/a/' appears; that relates to my 4th > question; this bind is the one removed by the 'unmount' command). > How can I get rid of that then? Delete the namespace by closing the window. You just found a bug; congratulations. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkjz0Q8ACgkQuv7AVNQDs+yPUgCePQ1xijeQfxMC8iWZPuzNGCxH gCMAnR636iteBBjHhYLW4rdKjfIVIkj8 =aCUq -----END PGP SIGNATURE-----