OK, turing.

<- leave blank

Wed Nov 14 11:32:25 EST 2018

Chan*
chaninit(char *server)
{
	Chan *cp;
	char buf[3*NAMELEN];
	int p[2];

	// P9P demands we strip the #s stuff

	sprint(buf, "#s/%s", server);
	if(sfd < 0){
		if(pipe(p) < 0)
			panic("can't make a pipe");
		sfd = p[0];
		rfd = p[1];
	}

	// Replace as per 9660srv code in p9p
	srvfd(buf, 0666, sfd);
	close(sfd);

	cp = ialloc(sizeof *cp);
	cons.srvchan = cp;
	dochaninit(cp, rfd);
	return cp;
}

Wed Nov 14 11:13:18 EST 2018
    if(stdio) {
	pipefd[0] = 0;
	pipefd[1] = 1;
    } else {
	close(0);
	close(1);
	open("/dev/null", OREAD);
	open("/dev/null", OWRITE);
	if(pipe(pipefd) < 0)
	    panic(1, "pipe");

	if(post9pservice(pipefd[0], srvname, mtpt) < 0)
	    sysfatal("post9pservice: %r");
	close(pipefd[0]);
    }
    srvfd = pipefd[1];

Wed Nov 14 09:50:56 EST 2018
I would say that the comic book market is the worst market that there is on the
face of the earth for creative talent, and the reasons are numberless and legion.
I have had many talented people ask me how to get into the comic book business.
If they were talented enough, the first answer I would give them is, why would you
want to get into the comic book business?  Because even if you succeed, even if
you reach what might be considered the pinnacle of success in comics, you will be
less successful, less secure, and less effective than if you are just an average
practitioner of your art in television, radio, movies, or what have you.  It is a
business in which the creator, as was mentioned before, owns nothing of his
creation.  The publisher owns it… … Unfortunately, in the comic field, the artist,
the writer, and the editor, if you will, are the most helpless people in the
world.

— Stan Lee, 1971

Wed Nov 14 04:52:06 EST 2018
Test12

Tue Nov 13 19:02:47 EST 2018
Yeah yeah
Namespace Diver
You've been down too long in the midnight grid
Oh what's becoming of me
Ride the unix
You can see his stripes but you know he's clean
Oh don't you see what I mean
Gotta bind away
Namespace Diver, yeah
Shiny diamonds
Like the eyes of a cat in the black and blue
Something is coming for you
Race for the morning
You can hide in the sun 'till you see the light
Oh we will pray it's all right
Gotta bind away
Bind away
Between the velvet lies
There's a truth that's hard as steel
The vision never dies
Life's a never ending wheel, yeah
Namespace Diver
You're the star of the masquerade
No need to look so afraid
Jump on the unix
You can feel his srv but you know he's mean
Some light can never be seen
Namespace Diver
You've been down too long in the midnight grid
Oh what's becoming of me, no, yeah
Ride the unix
You can see his stripes but you know he's clean
Oh don't you see what I mean
Gotta bind away, bind away (bind away)
Gotta bind away, bind away, yeah, yeah
Namespace Diver, sole survivor
Your srv is clean
Yeah, Namespace Diver (Namespace diver)
Namespace Diver (Namespace Diver)
You're caught in the middle coming after you, Namespace Diver
Oh, Namespace Diver (Namespace Diver)
Bind away, bind away, bind away, come on


Tue Nov 13 19:02:13 EST 2018
Yeah yeah
Holy Diver
You've been down too long in the midnight sea
Oh what's becoming of me
Ride the tiger
You can see his stripes but you know he's clean
Oh don't you see what I mean
Gotta get away
Holy Diver, yeah
Shiny diamonds
Like the eyes of a cat in the black and blue
Something is coming for you
Race for the morning
You can hide in the sun 'till you see the light
Oh we will pray it's all right
Gotta get away
Get away
Between the velvet lies
There's a truth that's hard as steel
The vision never dies
Life's a never ending wheel, yeah
Holy Diver
You're the star of the masquerade
No need to look so afraid
Jump on the tiger
You can feel his heart but you know he's mean
Some light can never be seen
Holy Diver
You've been down too long in the midnight sea
Oh what's becoming of me, no, yeah
Ride the tiger
You can see his stripes but you know he's clean
Oh don't you see what I mean
Gotta get away, get away (get away)
Gotta get away, get away, yeah, yeah
Holy Diver, sole survivor
Your heart is clean
Yeah, Holy Diver (Holy diver)
Holy Diver (Holy Diver)
You're caught in the middle coming after you, Holy Diver
Oh, Holy Diver (Holy Diver)
Get away, get away, get away, come on

Tue Nov 13 18:33:31 EST 2018
bind -a $home/bin/rc /bin
bind -a $home/bin/$cputype /bin
if(!  syscall create /tmp/xxx 1 0666 >[2]/dev/null)
	ramfs # in case we're running off a cd
font=/lib/font/bit/dejavusans/unicode.18.font
term=(`{cat /dev/user}^@^`{cat /dev/sysname}^:^`{pwd}^'% ' '')
switch($service){
case terminal
	if(!  webcookies >[2]/dev/null)
		webcookies -f /tmp/webcookies
	webfs
	plumber
	echo -n accelerated > '#m/mousectl'
	echo -n 'res 3' > '#m/mousectl'
	prompt=$term(1)
	fn cd { builtin cd $* && prompt=(`{cat /dev/user}^@^`{cat
	/dev/sysname}^:^`{pwd}^'% ' '')}
	fn $prompt{ $* }
	layout
	rio -s -b -i riostart
case cpu
	bind /mnt/term/dev/cons /dev/cons
	bind -q /mnt/term/dev/consctl /dev/consctl
	>[2] /dev/null {
		cp /dev/sysname /mnt/term/dev/label
		if(wsys=`{cat /mnt/term/env/wsys})
			wsys=/mnt/term^$wsys
	}
	bind -a /mnt/term/dev /dev
	prompt=('cpu% ' ' ')
	fn cpu%{ $* }
case con
	prompt=('cpu% ' ' ')
}


Tue Nov 13 17:09:40 EST 2018
% gdb ./o.emu
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
(gdb) run
Starting program: /usr/home/mveety/purgatorio/emu/FreeBSD/o.emu

Program received signal SIGSEGV, Segmentation fault.
0x28162f76 in ??  ()
(gdb) backtrace
#0 0x28162f76 in ??  ()
#1 0x2817b000 in ??  ()
#2 0xffffcad8 in ??  ()
#3 0x281766bc in ??  ()
#4 0xffffcaa4 in ??  ()
#5 0x2815ef5e in ??  ()
#6 0x2817b000 in ??  ()
#7 0xffffd57c in ??  ()
#8 0x281766bc in ??  ()
#9 0xffffd448 in ??  ()
#10 0x2815e35d in ??  ()
#11 0xffffcad8 in ??  ()
#12 0x00000000 in ??  ()
(gdb) quit
The program is running.  Exit anyway?  (y or n) y


Mon Nov 12 22:26:48 EST 2018
glenda@cirno:/usr/glenda% ./6.out -d 7
./6.out: usbcmd: /dev/usb/ep7.0: required 4 attempts (no data from device)
./6.out: usbcmd: /dev/usb/ep7.0: required 4 attempts (no data from device)
report descriptor:
	0x05 0x01 0x09 0x06 0xa1 0x01 0x05 0x08
	0x19 0x01 0x29 0x03 0x15 0x00 0x25 0x01
	0x75 0x01 0x95 0x03 0x91 0x02 0x95 0x05
	0x91 0x01 0x05 0x07 0x1a 0xe0 0x00 0x2a
	0xe7 0x00 0x95 0x08 0x81 0x02 0x75 0x08
	0x95 0x01 0x81 0x01 0x19 0x00 0x2a 0x91
	0x00 0x26 0xff 0x00 0x95 0x06 0x81 0x00
	0x05 0x0c 0x0a 0xc0 0x02 0xa1 0x02 0x1a
	0xc1 0x02 0x2a 0xc6 0x02 0x95 0x06 0xb1
	0x03 0xc0 0xc0
report descriptor:
	0x05 0x01 0x09 0x02 0xa1 0x01 0x05 0x01
	0x09 0x02 0xa1 0x02 0x85 0x1a 0x09 0x01
	0xa1 0x00 0x05 0x09 0x19 0x01 0x29 0x05
	0x95 0x05 0x75 0x01 0x15 0x00 0x25 0x01
	0x81 0x02 0x75 0x03 0x95 0x01 0x81 0x01
	0x05 0x01 0x09 0x30 0x09 0x31 0x95 0x02
	0x75 0x10 0x16 0x01 0x80 0x26 0xff 0x7f
	0x81 0x06 0xa1 0x02 0x85 0x12 0x09 0x48
	0x95 0x01 0x75 0x02 0x15 0x00 0x25 0x01
	0x35 0x01 0x45 0x0c 0xb1 0x02 0x85 0x1a
	0x09 0x38 0x35 0x00 0x45 0x00 0x95 0x01
	0x75 0x10 0x16 0x01 0x80 0x26 0xff 0x7f
	0x81 0x06 0xc0 0xa1 0x02 0x85 0x12 0x09
	0x48 0x75 0x02 0x15 0x00 0x25 0x01 0x35
	0x01 0x45 0x0c 0xb1 0x02 0x35 0x00 0x45
	0x00 0x75 0x04 0xb1 0x01 0x85 0x1a 0x05
	0x0c 0x95 0x01 0x75 0x10 0x16 0x01 0x80
	0x26 0xff 0x7f 0x0a 0x38 0x02 0x81 0x06
	0xc0 0xc0 0xc0 0xc0 0x05 0x0c 0x09 0x01
	0xa1 0x01 0x05 0x01 0x09 0x02 0xa1 0x02
	0x85 0x1f 0x05 0x0c 0x0a 0x38 0x02 0x95
	0x01 0x75 0x10 0x16 0x01 0x80 0x26 0xff
	0x7f 0x81 0x06 0x85 0x17 0x06 0x00 0xff
	0x0a 0x06 0xff 0x0a 0x0f 0xff 0x15 0x00
	0x25 0x01 0x35 0x01 0x45 0x0c 0x95 0x02
	0x75 0x02 0xb1 0x02 0x0a 0x04 0xff 0x35
	0x00 0x45 0x00 0x95 0x01 0x75 0x01 0xb1
	0x02 0x75 0x03 0xb1 0x01 0xc0 0xc0
report descriptor:
	0x05 0x0c 0x09 0x01 0xa1 0x01 0x85 0x20
	0x06 0x00 0xff 0x15 0x00 0x26 0xff 0x00
	0x75 0x08 0x95 0x12 0x0a 0x0a 0xfa 0xb1
	0x02 0x85 0x21 0x06 0x00 0xff 0x15 0x00
	0x25 0x01 0x75 0x01 0x95 0x10 0x1a 0x10
	0xfa 0x2a 0x1f 0xfa 0x81 0x02 0x85 0x28
	0x06 0x00 0xff 0x1a 0x10 0xfa 0x2a 0x1f
	0xfa 0xb1 0x02 0x85 0x22 0x06 0x00 0xff
	0x15 0x00 0x26 0xff 0x00 0x75 0x08 0x95
	0x1a 0x0a 0x0a 0xfa 0xb1 0x02 0x85 0x23
	0x06 0x00 0xff 0x0a 0x0a 0xfa 0xb1 0x02
	0x85 0x24 0x06 0x00 0xff 0x95 0x1f 0x0a
	0x0a 0xfa 0xb1 0x02 0x85 0x25 0x06 0x00
	0xff 0x0a 0x0a 0xfa 0xb1 0x02 0x85 0x26
	0x06 0x00 0xff 0x0a 0x0a 0xfa 0xb1 0x02
	0x85 0x27 0x06 0x00 0xff 0x0a 0x0a 0xfa
	0x81 0x02 0x85 0x14 0x06 0x00 0xff 0x15
	0x00 0x25 0x03 0x75 0x02 0x95 0x01 0x0a
	0x01 0xfe 0x81 0x02 0x75 0x06 0x81 0x01
	0x85 0x04 0x06 0x00 0xff 0x15 0x00 0x25
	0x03 0x75 0x02 0x95 0x01 0x0a 0x01 0xfe
	0x81 0x02 0x75 0x06 0x81 0x01 0xc0 0x05
	0x0c 0x09 0x01 0xa1 0x01 0x85 0x07 0x05
	0x0c 0x19 0x00 0x2a 0xff 0x03 0x95 0x01
	0x75 0x10 0x15 0x00 0x26 0xff 0x03 0x81
	0x00 0x05 0x07 0x19 0x00 0x29 0xff 0x75
	0x08 0x26 0xff 0x00 0x81 0x00 0x81 0x01
	0x06 0x00 0xff 0x0a 0x03 0xfe 0x0a 0x04
	0xfe 0x75 0x01 0x95 0x02 0x25 0x01 0x81
	0x02 0x0a 0x05 0xff 0x95 0x01 0x75 0x05
	0x25 0x1f 0x81 0x02 0x75 0x01 0x81 0x01
	0x1a 0x01 0xfd 0x2a 0xff 0xfd 0x15 0x01
	0x26 0xff 0x00 0x75 0x08 0x81 0x00 0x0a
	0x02 0xff 0x26 0xff 0x00 0x15 0x00 0x81
	0x02 0xc0 0x06 0xbc 0xff 0x09 0x88 0xa1
	0x01 0x85 0x08 0x19 0x01 0x29 0xff 0x15
	0x01 0x26 0xff 0x00 0x95 0x01 0x75 0x08
	0x81 0x00 0xc0 0x05 0x01 0x09 0x80 0xa1
	0x01 0x85 0x03 0x19 0x00 0x29 0xff 0x15
	0x00 0x26 0xff 0x00 0x81 0x00 0xc0
glenda@cirno:/usr/glenda%

Mon Nov 12 15:43:53 EST 2018
diff -r 2662504d75ff helper.go
--- a/helper.go Tue Apr 10 18:21:19 2018 -0500
+++ b/helper.go Mon Nov 12 15:44:43 2018 -0700
@@ -87,11 +87,14 @@
 //MessagePrint prints one correctly formatted Message to stdout
 func MessagePrint(Time, Username, Content string) {
	//var Color color.Attribute
- TimeStamp, _ := time.Parse(time.RFC3339, Time)
- LocalTime := TimeStamp.Local().Format("2006/01/02 15:04:05")
-
	log.SetFlags(0)
- log.Printf("%s > %s > %s\n", LocalTime, Username, Content)
+ if *timeStamp {
+ log.Printf("%s > %s\n", Username, Content)
+ } else {
+ TimeStamp, _ := time.Parse(time.RFC3339, Time)
+ LocalTime := TimeStamp.Local().Format("2006/01/02 15:04:05")
+ log.Printf("%s > %s > %s\n", LocalTime, Username, Content)
+ }
	log.SetFlags(log.LstdFlags)
 }

diff -r 2662504d75ff main.go
--- a/main.go Tue Apr 10 18:21:19 2018 -0500
+++ b/main.go Mon Nov 12 15:44:43 2018 -0700
@@ -3,6 +3,7 @@
 package main

 import (
+ "flag"
	"log"
	"regexp"
	"bitbucket.org/henesy/disco/DiscordState"
@@ -33,7 +34,14 @@
 //MsgType is a string containing global message type
 type MsgType string

+var timeStamp = flag.Bool("t", false, "Hide timestamps in channel log")
+
 func main() {
+ flag.Parse()
+ if flag.Lookup("h") != nil {
+ flag.Usage()
+ os.Exit(1)
+ }
	//Initialize Config
	GetConfig()
	CheckState()


Mon Nov 12 15:07:52 EST 2018
diff -r 2662504d75ff helper.go
--- a/helper.go Tue Apr 10 18:21:19 2018 -0500
+++ b/helper.go Mon Nov 12 15:08:27 2018 -0700
@@ -87,11 +87,14 @@
 //MessagePrint prints one correctly formatted Message to stdout
 func MessagePrint(Time, Username, Content string) {
	//var Color color.Attribute
- TimeStamp, _ := time.Parse(time.RFC3339, Time)
- LocalTime := TimeStamp.Local().Format("2006/01/02 15:04:05")
-
	log.SetFlags(0)
- log.Printf("%s > %s > %s\n", LocalTime, Username, Content)
+ if ! *timeStamp {
+ TimeStamp, _ := time.Parse(time.RFC3339, Time)
+ LocalTime := TimeStamp.Local().Format("2006/01/02 15:04:05")
+ log.Printf("%s > %s > %s\n", LocalTime, Username, Content)
+ } else {
+ log.Printf("%s > %s\n", Username, Content)
+ }
	log.SetFlags(log.LstdFlags)
 }

diff -r 2662504d75ff main.go
--- a/main.go Tue Apr 10 18:21:19 2018 -0500
+++ b/main.go Mon Nov 12 15:08:27 2018 -0700
@@ -3,6 +3,7 @@
 package main

 import (
+ "flag"
	"log"
	"regexp"
	"bitbucket.org/henesy/disco/DiscordState"
@@ -33,7 +34,17 @@
 //MsgType is a string containing global message type
 type MsgType string

+var timeStamp = flag.Bool("t", false, "Hide timestamps in channel log")
+
 func main() {
+ flag.Parse()
+ if flag.Lookup("h") != nil {
+ flag.Usage()
+ os.Exit(1)
+ }
+ if flag.Lookup("t") != nil {
+ *timeStamp = true
+ }
	//Initialize Config
	GetConfig()
	CheckState()


prev | next