-----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-----