Displaying 3 results from an estimated 3 matches for "nlogin".
Did you mean:
login
2010 Jun 16
2
Sending a null byte to a socket
Hello,
I am trying to write some code in R to communicate over sockets via the
STOMP protocol (http://stomp.codehaus.org/Protocol).
As you can see, a null byte (ASCII 0) is used as the "over" signal.
I'd like to be able to do something like this:
write.socket(socket, "CONNECT\nlogin: me\npasscode: pass\n\n\000")
However, R does not like it when you put "\000" in a string:
> "\000"
Error: embedded nul in string: '\0'
I thought perhaps that write.socket would automatically send a null byte,
but it doesn't appear to.
I'm getting sim...
2009 May 19
1
[PATCH node-image] Fixing the autotest script.
...n\n"
+ send_log "\nTimeout waiting for marker..\n\n"
exit 1
} eof {
- send_log "Unexpected end of file."
+ send_log "Unexpected end of file."
exit 2
}
}
@@ -616,11 +614,11 @@ expect {
-re "localhost.*login:" { send_log "\n\nLogin marker found\n\n"; exit }
timeout {
- send_log "\nMarker not found.\n\n"
- exit 1
+ send_log "\nMarker not found.\n\n"
+ exit 1
} eof {
- send_log "Unexpected end of file."
- exit 2
+ send_log "Unexpected end of file.&q...
2010 Mar 26
3
[PATCH node] Update autobuild and autotest scripts for new build structure
...quot;
+
+ expect -c '
+set timeout '${timeout_period}'
+log_file stateful-pxe.log
+
+send_log "Restarted node, booting from hard disk.\n"
+
+spawn sudo virsh console '"${nodename}"'
+
+expect {
+ -re "localhost.*login:" { send_log "\n\nLogin marker found\n\n"; exit }
+
+ timeout {
+send_log "\nMarker not found.\n\n"
+exit 1
+ } eof {
+send_log "Unexpected end of file."
+exit 2
+ }
+}
+
+send_log "\n\nUnexpected end of interaction.\n\n"
+
+exit 3
+'
+
+ expect -c '
+set timeout...