cinap_lenrek
d1799f65ca
nusb/serial: fix nusb/serial hang with ftdi
...
have to create process, not a thread in ftdi code so main
process can exit after posting fs service.
2014-12-24 11:04:18 +01:00
mischief
d44d679793
pci: import pci script and updated database from 9atom
2014-12-20 21:41:34 -08:00
cinap_lenrek
2e802acf34
hpost: break up tags with newlines to avoid sed line buffer limit
2014-11-16 01:59:29 +01:00
cinap_lenrek
4cd03abefe
hpost: fix multipart/form variable name mangeling when field value contains newlines
...
com='MH3U
pic unrelated
' hpost -u ... -m post com:$com
resulted in wrong field name like:
--HJBOUNDARY
Content-Disposition: form-data; name="com pic unrelated"
MH3U
pic unrelated
2014-11-15 23:51:01 +01:00
khm
39cabc7269
Don't quit ircrc on blank line (thanks Ray)
2014-11-07 12:51:16 -05:00
cinap_lenrek
0aea317dd2
inst: copy efi bootloader in bootsetup
2014-11-05 21:38:28 +01:00
cinap_lenrek
0560d1d6b6
termrc: setup mouse when we have a framebuffer
...
previously, we setup mouse only when vgasize= was specifid in
plan9.ini. with efi systems, the framebuffer is already setup
for us and theres no requirement for going thru aux/vga setup,
but we still want to setup the mouse.
so do the mouseport= check once theres a framebuffer by testing
the existence of '#i/winname' (which fails when thers no
framebuffer).
2014-11-05 20:42:47 +01:00
stanley lieber
c82569c6dd
bullshit: don't pollute the environment
2014-11-02 13:16:33 -05:00
stanley lieber
678db0fbb1
newt: delete lines
2014-10-29 00:20:41 -04:00
stanley lieber
e02e4045f2
newt: do not print first message twice when stepping through messages
2014-10-29 22:49:08 -04:00
Kurt H Maier
392ca817ba
disable useless ssh daemon by default
2014-10-29 13:12:44 -04:00
stanley lieber
cefc352c74
newt: only print a date if we've managed to extract a date
2014-10-29 12:03:32 -04:00
stanley lieber
e1b0ab1745
newt: removed unused function
2014-10-28 00:43:52 -04:00
stanley lieber
6213e137ff
newt: implement ned-style address ranges and overhaul h command to suit
2014-10-28 00:38:58 -04:00
cinap_lenrek
d91fe5b38b
inst: ignore *bootscreen= variable when generating plan9.ini
2014-10-19 21:17:08 +02:00
BurnZeZ
81e0d6e988
sysupdate/psfax/play: fix unquoted brackets causing rc to perform unnecessary file lookups
2014-10-15 15:57:51 -04:00
aiju
02ea56dbda
added gbatype
2014-09-30 20:46:13 +02:00
cinap_lenrek
59ab557f31
sysinfo: relax regex for start of kernel boot messages
...
we used to look for /^Plan 9$/ for the start of kernel
boot messages in /dev/kmesg. but the xen kernel prints
Plan 9 (.....) on boot. so just look for line starting
with /^Plan 9/ for now.
2014-09-21 18:28:35 +02:00
ftrvxmtrx
d14b6a0bf9
usps: yet another update
2014-08-01 20:44:58 +02:00
cinap_lenrek
98d518cc8c
fstype: fix kfs detection (thanks kenji okomoto)
2014-07-30 20:34:45 +02:00
stanley lieber
b46a3ee95f
rc-httpd/handlers/serve-static: restore simple test for file type and hardcode max_age to 1 hour (thanks eekee)
2014-07-11 23:24:27 -04:00
cinap_lenrek
2fb18c3339
sysinfo: add cpuid info
2014-07-11 23:20:15 +02:00
cinap_lenrek
336e605a11
support for huawei e220 g3 modem, cleanup nusb/serial
2014-07-05 23:19:13 +02:00
cinap_lenrek
4275c49e72
nusb: implement aijus stable uniqueue device names
...
instead of naming devices by ther dynamically assigned device address,
we hash device uniqueue fields from the device descriptor and produce
a 5 digit hex string that will identify the device across machines.
when there is a collision (less than 1% chance with 100 devices),
usbd will append the device address to the name to make it uniqueue
for this machine.
the hname is passed to drivers in the devid argument, which now has
the form addr:hname, where the colon and hname can be omited (for backwards
compatibility).
when the new behaviour isnt desired, nousbhname= environment variable
can be defined giving the old behaviour.
2014-06-28 18:09:43 +02:00
stanley lieber
e9b6f349b8
termrc, cpurc: clarify comments by removing lies
2014-06-12 15:56:54 -04:00
ftrvxmtrx
f815f7273a
g: add *.cpp
2014-06-05 12:10:43 +02:00
cinap_lenrek
b98b2c57cf
play: set user-agent, otherwise server thinks we'r mozilla m(
2014-05-14 01:15:33 +02:00
cinap_lenrek
bf093528fd
usps: remove redundant uhtml pipeline
2014-05-12 02:46:04 +02:00
stanley lieber
ab2838aa39
newt: write message header and body to virtual file before printing, to avoid stutter
2014-04-25 09:25:08 -04:00
cinap_lenrek
c88d48d58d
termrc, cpurc: exclude wpa from oom kill and swap
2014-04-22 04:26:17 +02:00
stanley lieber
c57fe0690f
aanuke: only print commands to kill the current user's aan procs
2014-04-14 21:01:55 -04:00
stanley lieber
d8e4904d0a
aanuke: check both /net and /net.alt (thanks, mischief)
2014-04-14 19:24:27 -04:00
stanley lieber
0812a26f00
add /rc/bin/aanuke
2014-04-14 19:05:57 -04:00
stanley lieber
4ae2015d86
newt: add 'kf' command to grep $home/lib/newsgroups for group names
2014-04-11 13:19:18 -04:00
stanley lieber
794197adb1
newt: improve input filtering
2014-04-09 01:57:03 -04:00
stanley lieber
ea3c192bb5
newt: always prefix single digit days with 0 in 'h' view
2014-04-09 21:26:43 -04:00
stanley lieber
a4d818eedb
newt: fix 'h' formatting
2014-04-09 21:20:02 -04:00
stanley lieber
95c100a3d6
newt: clean up regexp
2014-04-02 15:49:24 -04:00
stanley lieber
8347075fd9
add newt(1): nntp client for use with nntpfs(4)
2014-04-01 14:34:29 -04:00
cinap_lenrek
e118352324
hget: revert hget -v change, this needs more thought
...
problems that need to be addressed:
- reads in the whole /proc every second for no reason
- breaks when http server doesnt include Content-Length header
- length is wrong for continued download (-o option)
2014-03-23 18:47:59 +01:00
mischief
a710914b36
hget: add the -v option to produce progress on stderr, like old hget
2014-03-22 23:28:42 -07:00
cinap_lenrek
0c9a1e6653
inst/bootsetup: do not copy 9pccpuf kernel to 9fat
...
theres no cpuserver install anymore and pc kernels can
assume cpu role with service=cpu boot parameter.
2014-03-15 19:13:27 +01:00
stanley lieber
0201795805
rc-httpd/handlers/serve-static: restore Content-length
2014-02-22 02:24:37 -05:00
aiju
b9496190d3
added florenate
2014-02-21 22:00:34 +01:00
mischief
0598844894
hpost: fix Content-Type parameter separator for multipart/form-data POSTs
2014-01-13 17:57:45 -08:00
stanley lieber
ee4ddd77f7
weather: trim garbage from output
2014-01-06 14:55:42 -05:00
cinap_lenrek
536423eba6
9fs: add atom and atomdump (fix the mount spec)
2014-01-03 22:53:21 +01:00
cinap_lenrek
e05d100804
9fs: add atom alias for atom.9atom.org
2014-01-03 22:25:55 +01:00
cinap_lenrek
221129dc30
window: fix various problems, cleanup
...
with window -m, properly remove the old wsys from /dev before
binding new window to it, so the original window wont leak
into the new namespace.
do not pass -pid when $wsys does not refer to a local running rio.
cleanup environment before running sub-process.
set window label consistentently no matter if -m is used or not.
2013-12-25 01:30:43 +01:00
cinap_lenrek
66f86d03a5
fshalt: rfork n to avoid limbo namespace when the command fails
2013-12-22 17:26:31 +01:00
stanley lieber
8916f971fa
/rc/bin/": fix typo
2013-11-08 15:19:32 -05:00
stanley lieber
82663f62be
/rc/bin/", /rc/bin/"": handle the venerable ; prompt
2013-11-07 14:01:42 -05:00
cinap_lenrek
191568e549
play: guess file type from file extension if mimetype fails
2013-10-30 00:09:27 +01:00
BurnZeZ
ecab88b983
rc: make default path safer
2013-10-26 17:23:08 -04:00
cinap_lenrek
0d378e905e
inst: cleanup installer making it not rely on path containing .
...
always explicitely execute installer modules with ./name instead
of relying that the path contians the dot.
2013-10-26 20:17:56 +02:00
stanley lieber
ebdc47dad6
usps: update for new usps website (thanks, mischief)
2013-10-15 15:47:56 -04:00
cinap_lenrek
ab7fe19ae2
hget: handle http contentencoding (compression)
2013-10-12 02:22:57 +02:00
cinap_lenrek
4e015eb5c7
merge
2013-09-20 17:41:51 +02:00
cinap_lenrek
91ce0a07ca
hpost: dont emit /bin/hpost but just hpost
...
just emiting "hpost" makes it simpler to override it as a
rc function.
2013-09-20 17:39:33 +02:00
stanley lieber
565a4d478e
rename /rc/bin/ok to /rc/bin/webpaste
2013-09-20 11:32:42 -04:00
stanley lieber
4d9ce0fb3c
add /rc/bin/ok, tool for okturing.com pastebin
2013-09-18 15:03:50 -04:00
cinap_lenrek
fde528ace4
tcp113: fix null list in concatenation error
2013-08-10 08:55:39 +02:00
stanley lieber
28ff3a3cda
ups: fix typo
2013-08-06 21:38:56 -04:00
stanley lieber
cc542f2b2d
ups: give me my computer
2013-08-06 21:36:11 -04:00
cinap_lenrek
1c379c1667
inst: remove systype step. system will be terminal with a disk after installation.
2013-08-02 03:47:27 +02:00
stanley lieber
bbf7f29d26
tcp993: we're not plan9.bell-labs.com
2013-07-31 23:45:21 -04:00
cinap_lenrek
ff4d45d147
rexec: redirect error (fd=2) to network for tcp17009
...
the new listen doesnt redirect stderr for us, so do it
in the service script.
2013-07-12 23:16:49 +02:00
stanley lieber
252b0ff3c9
sysinfo: add -e to include a reply-to e-mail address
2013-07-05 15:42:45 -04:00
stanley lieber
76677bb8f0
sysinfo: remove -m, add -p, which posts output at http://sysinfo.9front.org , which forwards the information to 9front-sysinfo@9front.org mailing list
2013-07-04 20:52:12 -04:00
cinap_lenrek
be351877f2
remove iwl-firmware download script, this should be a package
2013-06-05 20:34:04 +02:00
mveety
b014e2c479
added a script to automate downloading and installing of iwl firmware
2013-06-04 12:52:18 -04:00
cinap_lenrek
03f364d167
inst/ndbsetup: allow setting sysname more than once
...
In the installation, if you run the ndbsetup task n times (n > 1),
the installed /lib/ndb/local will have n sys= entries.
The problem is that ndb(8) will use the first sys= entry found, but
one would expect that the last configuration in the ndbsetup task
would be the active one.
Remove any previous entry in ndbsetup before adding new one.
2013-06-01 16:14:53 +02:00
ftrvxmtrx
392f92b82b
ircrc: target is more important (especially in winwatch)
2013-05-29 11:37:30 +02:00
ppatience0
410ce8feec
tojpg: add jpeg encoder
2013-05-26 21:56:56 -04:00
cinap_lenrek
172b290e05
netaudit: check if ipgw= is an ip address
2013-05-14 18:54:42 +02:00
aiju
694de270c7
blogcom +x
2013-04-30 17:02:14 +02:00
aiju
5335987c66
added blogcom
2013-04-30 16:57:27 +02:00
ppatience0
c3d51106e1
inst/mountcwfs, inst/mounthjfs: fix typos
2013-03-12 17:55:00 -04:00
cinap_lenrek
8a903895a0
termrc: termrc.local can start ndb/cs for us, so check if its already running
2013-02-27 18:04:35 +01:00
cinap_lenrek
ec49732fae
add cpurc.local and termrc.local hooks
2013-02-27 17:59:57 +01:00
stanley lieber
40dee61f91
rc-httpd/handlers/serve-static: charset=utf-8
2013-02-19 18:13:32 -06:00
cinap_lenrek
27a8b509c9
sysinfo: list ethernet devices #l[0-3], fix spaces -> tabs
2013-02-16 03:52:33 +01:00
stanley lieber
2f49aa7a8d
add !tcp80
2013-02-04 16:42:13 -06:00
stanley lieber
c877493fb0
add rc-httpd
2013-02-04 16:40:05 -06:00
mveety
e322e84f5f
reverted changes to termrc
2013-01-29 21:48:57 -05:00
mveety
b8f88c803c
made the timesync failure more obvious on the rpi.
2013-01-29 19:03:10 -05:00
ppatience0
f0a451d667
Fixed some ircrc bugs. Only the last channel given to the -t flag is set as target. Unknown commands are not sent to the server. Control-D can be used to exit the client. When the connection is lost, an error message is displayed and the client waits for user input before exiting. Manual page updated.
2013-01-29 23:56:29 -05:00
mveety
12f51e356a
added support for the dos partition on raspberry pi.
2013-01-28 18:48:34 -05:00
cinap_lenrek
696659ad21
remove /rc/bin/mousereset
2013-01-28 16:40:50 +01:00
cinap_lenrek
2eb678a7b5
valley: fix random numbers
2013-01-28 03:54:17 +01:00
khm
115e5f88ed
hurr
2013-01-27 17:46:31 -05:00
khm
1859bc9832
added valley(1)
2013-01-27 17:36:05 -05:00
cinap_lenrek
b226a645bc
cpu: make incoming cpu connections work with aan(8) by default
2012-12-21 21:11:28 +01:00
cinap_lenrek
91cc172719
inst: fix pbs update for bootsetup, remove stopether and stopppp tasks
...
the pbs update might fail if we dont unmount the 9fat.
2012-12-20 11:17:10 +01:00
cinap_lenrek
a2b94beae0
play: use audio/sundec instead of audio/µlawdec
2012-12-14 05:00:51 +01:00
cinap_lenrek
7148847ff0
µlaw audio support (from erik quanstro)
2012-12-08 09:18:44 +01:00
cinap_lenrek
a81a6f2ff4
inst: add a linebreak before install boot record description
2012-12-06 07:09:16 +01:00
cinap_lenrek
b929f24b92
inst: remove broken winnt boot setup
2012-12-06 06:35:36 +01:00
cinap_lenrek
0750687012
move usb ethernet in bootfs.paq
2012-12-05 13:53:34 +01:00
cinap_lenrek
87ab441ab4
upas: handle Bcc: header
...
when -8 flag is given, upas/marshal override To:, Cc: and Bcc: headers.
add -B option for Bcc. it is also now valid to pass recipient list
on upas/marshal arguments and have -8 flag set. make nedmail and
/rc/bin/mail call upas/marshal with -8 now to make it effective.
2012-11-27 21:10:55 +01:00
stanley lieber
0ef9131b08
sysinfo: -m handle e-mail from unconfigured systems
2012-11-26 16:38:25 -06:00
cinap_lenrek
e96b16ee7f
merge
2012-11-12 07:01:25 +01:00
cinap_lenrek
1f02aabc6b
tap: various improvements
...
dont use sed pipeline for indention, cache process arguments,
get process list once at start.
2012-11-12 02:12:05 +01:00
stanley lieber
1f0260b5f8
ssam: add usage
2012-11-10 21:24:58 +00:00
cinap_lenrek
b5a6a26fd8
hpost: better handling of optional -u flag
2012-10-18 14:55:56 +02:00
cinap_lenrek
7c3ea4360b
hpost: add -l flag to get location url after POST
2012-10-18 14:38:07 +02:00
cinap_lenrek
143fcc0a42
formpost becomes hpost
2012-10-14 06:28:58 +02:00
cinap_lenrek
68537b7e96
ircrc: fix spurious autojoin
2012-10-12 19:13:34 +02:00
cinap_lenrek
fe13029eb4
ircrc: various improvements (thanks again pap!)
...
the -t option was ineffective. this fixes is.
fix incompatibility with 9vx as its tcp/status
file returns slightly different format than
Plan 9.
strip annoying character from nickserv.
2012-10-12 01:05:34 +02:00
stanley lieber
b786ff0544
add /rc/bin/formpost; add formpost to hget(1) man page
2012-10-11 16:37:48 -05:00
cinap_lenrek
df66638fb5
netaudit changes and manual page
2012-10-08 00:56:00 +02:00
cinap_lenrek
4af5408953
replace urlencode with c version that isnt broken for utf-8
2012-10-05 23:14:23 +02:00
stanley lieber
0c93da13ae
add /rc/bin/urlencode
2012-10-04 14:08:32 -05:00
stanley lieber
7bada4bf2a
hget: fix usage
2012-09-28 16:37:51 -05:00
cinap_lenrek
b65b65df1c
inst: fix typo
2012-09-17 11:45:25 +02:00
cinap_lenrek
9a02104699
hget -P to read postbody from stdin
2012-09-15 07:07:19 +02:00
cinap_lenrek
cc459aa7ab
hget: fix -p to not put a newline into the postbody at the end
2012-09-15 06:25:32 +02:00
aiju
681f273489
more netaudit stuff
2012-08-26 16:10:01 +02:00
aiju
90ea636ce1
fixed netaudit blunder
2012-08-26 15:56:16 +02:00
aiju
e935fec9be
added netaudit
2012-08-26 14:15:08 +02:00
cinap_lenrek
73e924d847
hg: hook system_rcpath and user_rcpath instead of polluting enviroment by setting HGRCPATH
2012-08-13 09:53:04 +02:00
cinap_lenrek
929441dd26
inst: ask to ream the filesystem in mounthjfs
2012-08-11 13:02:31 +02:00
cinap_lenrek
35ba0d047c
add hjfs to the dontkill list
2012-08-11 12:22:13 +02:00
cinap_lenrek
76b93f6c2c
fix inst/mountcwfs
2012-08-09 20:17:51 +02:00
cinap_lenrek
286a035b6c
inst/configfs: change spaces into tabs
2012-08-09 20:13:28 +02:00
aiju
2e19497159
hjfs: default service name, fshalt
2012-08-07 18:43:13 +02:00
aiju
4c4a3cbfd4
fix inst/bootsetup
2012-08-07 18:01:53 +02:00
aiju
b21b9ba89c
added hjfs
2012-08-07 17:57:04 +02:00
stanley lieber
75aeefd396
/rc/bin/9fs: add partition argument for 9fat
2012-07-30 10:58:17 -05:00
cinap_lenrek
956a50e8c5
ssam: chmod +x
2012-07-08 19:18:15 +02:00
cinap_lenrek
754bcbc480
g: chmod +x
2012-07-08 19:14:07 +02:00
cinap_lenrek
f976fbe8c7
g: more extensions
2012-07-05 20:24:00 +02:00
stanley lieber
b6993361e0
g: expand matched files list and add to grep(1) man page
2012-07-05 13:12:04 -05:00
cinap_lenrek
7de41e2435
inst: remove the cdboot parameter from plan9.ini
2012-07-04 01:32:49 +02:00
aiju
1eff3709b4
acpi shutdown
2012-06-29 16:55:48 +02:00
cinap_lenrek
90b38f03a5
inst: pass on kernel parameters to installed plan9.ini
2012-06-18 22:54:16 +02:00
cinap_lenrek
845db4c372
fix more enviroment pollution
2012-05-26 21:50:10 +02:00
cinap_lenrek
812e0fd058
hget/play: fix enviroment leaks
2012-05-26 21:18:41 +02:00
cinap_lenrek
9f150d42a3
juke: fix script to work with mntgen /mnt, fix "empty filename" error for jukefs
2012-05-25 07:12:05 +02:00
cinap_lenrek
e06ca3a3ec
lp: remove bogus test -w check and bind for /tmp
2012-05-25 07:09:43 +02:00
cinap_lenrek
c910640fdd
inst: remove fdisk/prep stuff from mainloop, remove inst/startwin
2012-05-21 03:51:38 +02:00
cinap_lenrek
4eb1ba4583
play: boost priority
2012-05-08 12:39:30 +02:00
stanley lieber
fb948ee521
add /rc/bin/sysinfo
2012-05-06 21:51:12 -05:00
cinap_lenrek
466808d9e3
remove dmaon
2012-05-07 22:21:31 +02:00
cinap_lenrek
6bd82b34fd
async clunk for cached mounts, fix closeproc explosion
2012-04-27 17:51:20 +02:00
Christoph Lohmann
e20bac0e98
Adding a way to ignore hg incoming on sysupdate.
2012-04-16 15:57:40 +02:00
Kurt H Maier
934e5dc5a5
rc stands for 'run commands.' this has the phrase 'man' in it and is therefore unsuitable for feminize(1). use sed instead.
2012-04-06 16:36:28 -04:00
cinap_lenrek
f000760ec0
use sysname as dhcp host
2012-03-29 18:23:21 +02:00
stanley lieber
7e0017ebd6
usps: fix broken api call, filter out html junk
2012-03-16 03:24:14 -05:00
stanley lieber
692d66feff
hget: -p should work the same as in old hget
2012-03-16 12:58:01 -05:00