John Benediktsson
|
f221b7b396
|
unix.groups: 64 ought to be enough, right?
|
2012-02-02 19:41:39 -08:00 |
Joe Groff
|
eee483654a
|
use radix literals
|
2011-11-23 19:03:40 -08:00 |
Joe Groff
|
afa0ed1f6e
|
unix.process: take raise from unix.ffi
And fix introduced ambiguity between unix.ffi:kill and unix.process:kill
|
2011-11-08 10:42:51 -08:00 |
Joe Groff
|
37494b301b
|
new module unix.signals: app-level signal handlers
example:
IN: scratchpad USING: unix.ffi unix.signals ;
Loading resource:basis/unix/signals/signals.factor
IN: scratchpad [ V{ "Me not that kind of orc!" "Me busy, leave me alone!" "Work work" "Zug zug" } pop print flush ] SIGINFO add-signal-handler
IN: scratchpad load: 0.60 cmd: factor 41541 running 0.28u 0.16s
Zug zug
load: 0.71 cmd: factor 41541 running 0.28u 0.16s
Work work
load: 0.71 cmd: factor 41541 running 0.28u 0.16s
Me busy, leave me alone!
load: 0.73 cmd: factor 41541 running 0.28u 0.16s
Me not that kind of orc!
|
2011-11-08 10:21:49 -08:00 |
Doug Coleman
|
a3ceb95060
|
Fix bootstrap. Add missing using on io.serial.linux. Fixes #351.
|
2011-11-04 06:08:02 -07:00 |
Joe Groff
|
88dbe09c4c
|
unix.ffi: add signal constants
|
2011-11-04 00:24:18 -07:00 |
Joe Groff
|
75cba3106a
|
remove BSD,solaris,etc. misc platform support code
|
2011-11-02 17:13:51 -07:00 |
Doug Coleman
|
be12f2b27d
|
Make "foo.private" require load foo instead.
Move require from vocabs.loader to vocabs. Update everything.
Fixes #201.
|
2011-11-02 11:50:03 -07:00 |
Doug Coleman
|
1260d00739
|
Add options to set the child process group id or session for Unix. This fixes part of #307.
|
2011-10-29 02:47:10 -07:00 |
Doug Coleman
|
ace41a6d61
|
Fix bootstrap on mac by adding back the PF_INET constant
|
2010-10-09 16:53:54 -07:00 |
Slava Pestov
|
76dc59e563
|
unix.ffi.bsd: fix load errors
|
2010-10-09 15:16:14 -07:00 |
Slava Pestov
|
c557a1c5ab
|
unix.ffi.bsd: fix AF_INET6 constants on FreeBSD and OpenBSD
|
2010-10-09 15:04:49 -07:00 |
Doug Coleman
|
e1a34c1caf
|
Implement a raw port. Make ping only run on Windows and Mac because the other platforms require root privs.
|
2010-09-21 22:00:18 -05:00 |
Doug Coleman
|
a58278d0a3
|
Squashed commit of the following:
commit 90deaafa9db083ecdb9e0e30ad3694317e616399
Merge: f392dfd 32cf7bb
Author: Doug Coleman <doug.coleman@gmail.com>
Date: Tue Sep 21 00:33:37 2010 -0500
Merge branch 'icmp-ping' of git://github.com/mrjbq7/factor into icmp-ping2
commit 32cf7bb0e0b876309bce248944dfeca243f02594
Author: John Benediktsson <mrjbq7@gmail.com>
Date: Fri Sep 10 14:01:47 2010 -0700
ping: Adding a simple IPv4 ping implementation.
commit da0c5ce7acf1407256c3ac2b98ac5b68858878c1
Author: John Benediktsson <mrjbq7@gmail.com>
Date: Fri Sep 10 14:01:15 2010 -0700
io.sockets.icmp: Adding ICMP support.
commit 60fdf7e7d995d63c11be87e8e1398f7bdd593833
Author: John Benediktsson <mrjbq7@gmail.com>
Date: Fri Sep 10 14:00:48 2010 -0700
io.sockets: Adding protocol support for sockets.
commit 2f130f1f9e0e2ea44d798beaad244a9c33b0d86a
Author: John Benediktsson <mrjbq7@gmail.com>
Date: Fri Sep 10 14:00:28 2010 -0700
Adding getprotobyname().
|
2010-09-21 11:15:33 -05:00 |
Joe Groff
|
d294c9a513
|
unix.ffi: third argument of ioctl should be void*, not c-string (reported by ceninan)
|
2010-06-30 09:09:16 -07:00 |
Doug Coleman
|
ea8689efcf
|
Fix all-users word by calling setpwent to rewind file
|
2010-06-23 10:25:08 -05:00 |
Doug Coleman
|
b4274253d5
|
Fix a bug when calling all-groups twice. Add some users/groups utility words, unit tests, and docs.
|
2010-06-21 12:07:56 -05:00 |
Slava Pestov
|
b5fb679943
|
Move system word from unix.ffi to libc since its not Unix-specific
|
2010-06-02 02:59:56 -04:00 |
Joe Groff
|
d951be1832
|
"cdecl" -> cdecl
|
2010-03-31 19:20:35 -07:00 |
Joe Groff
|
96ab4492d2
|
rename current string-mangling "char*" to "c-string". char* is now just a boring old pointer to char
|
2010-02-23 11:42:02 -08:00 |
Joe Groff
|
b24eabb7d8
|
_DARWIN_MAXNAMELEN+1 should actually be _DARWIN_MAXNAMELEN + 1
|
2010-02-22 23:55:52 -08:00 |
Doug Coleman
|
03059ec9ff
|
Check if we're using ttys before starting curses, since initscr exits on error for some dumb reason
|
2010-02-21 23:38:18 -06:00 |
Slava Pestov
|
0aad3e6e12
|
vocabs.metadata: replace unportable tag with a platforms.txt file for more fine-grained control. Rename unportable tag to untested for remaining cases
|
2010-02-20 13:30:49 +13:00 |
Doug Coleman
|
6bc071bfc1
|
unix-system-call io-error -> unix-system-call drop
make unix.ffi, unix.ffi.linux unportable
fix spacing in io.cpp before refactoring
|
2010-01-23 09:07:35 -06:00 |
Doug Coleman
|
f32b824d8a
|
Fix netbsd load error
|
2010-01-22 17:10:32 -06:00 |
Doug Coleman
|
847f88e9e8
|
Move netbsd.structs into netbsd
|
2010-01-22 14:49:32 -06:00 |
Doug Coleman
|
08e722e7dc
|
Fix load error
|
2010-01-22 14:45:15 -06:00 |
Doug Coleman
|
cc7615248d
|
Handle EINTR in a lot of cases where it wasn't handled before. Split off unix into unix.ffi and unix.
|
2010-01-22 12:59:24 -06:00 |