aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-09-20 20:23:23 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-09-20 20:23:23 +0000
commit3a7294f969ab28ccbb1b7e9816db99f120fafdee (patch)
tree67c765e42927533461ed20eb026f57614bb8f07c
parent40addcba86d492135bd6667feb10b1cf0d40a6a6 (diff)
dashed out quick hostname object based on [uname]
svn path=/trunk/externals/hcs/; revision=5986
-rw-r--r--hostname-help.pd8
-rw-r--r--hostname.pd8
2 files changed, 16 insertions, 0 deletions
diff --git a/hostname-help.pd b/hostname-help.pd
new file mode 100644
index 0000000..ce81cfb
--- /dev/null
+++ b/hostname-help.pd
@@ -0,0 +1,8 @@
+#N canvas 1004 669 454 304 10;
+#X obj 124 139 hostname;
+#X msg 124 94 bang;
+#X symbolatom 124 174 0 0 0 0 - - -;
+#X text 14 19 get the hostname of the machine. Currently it probably
+doesn't work on Windows...;
+#X connect 0 0 2 0;
+#X connect 1 0 0 0;
diff --git a/hostname.pd b/hostname.pd
new file mode 100644
index 0000000..62908a4
--- /dev/null
+++ b/hostname.pd
@@ -0,0 +1,8 @@
+#N canvas 0 22 454 304 10;
+#X obj 91 29 inlet;
+#X obj 92 108 uname;
+#X obj 92 131 unpack symbol symbol symbol symbol symbol;
+#X obj 162 209 outlet;
+#X connect 0 0 1 0;
+#X connect 1 0 2 0;
+#X connect 2 1 3 0;