summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-11-30os(1): add c implementation of inferno os command and cmd(3) device manpagescinap_lenrek
this is a reimplementation of infernos os(1) command, which allows running commands in the underhying host operating system when inferno runs in hosted mode (emu). but unlike inferno, we want to use it to run commands on the client side of a inferno or drawterm session from the plan9 cpu server, so it defaults to /mnt/term/cmd for the mountpoint.
2019-11-24sd53c8xx: fix the driver for amd64, fix alignment/padding issues, fix ↵cinap_lenrek
freechain handling
2019-11-24upas/fs: remove useless loop in rf822()cinap_lenrek
2019-11-23fix ref822 again: remove uniqarray(), fix case with many entries in 'n'.Ori Bernstein
2019-11-22upas/marshal: fix printinreplyto functionAlex Musolino
According to RFC822, the message identifier (msg-id) in a "In-Reply-To" header must start with a '<' and end with a '>'.
2019-11-21fix ref882 reference parsing.Ori Bernstein
we were getting nils in the list when there were many references. this fixes and simplifies the copying loop and makes the code rhyme.
2019-11-21show urls in html messages.Ori Bernstein
sometimes, I get phishing emails with links that I have an unstoppable urge to click.
2019-11-21grep: error if sbrk failsBurnZeZ
2019-11-20mergeOri Bernstein
2019-11-20improve language in delay(9)Ori Bernstein
give the reader enough context to know when to use and not use the delay family of functions.
2019-11-21mergecinap_lenrek
2019-11-21vac(1): assimilate manpage additions from plan9port and complete usage lines ↵cinap_lenrek
(thanks joe9) the usage lines in vac where out of sync with the implementation and the manpages. document the -a and -x options, from: https://github.com/9fans/plan9port/blob/master/man/man1/vac.1
2019-11-20mail(1): fix typoAlex Musolino
2019-11-20timezones: change DST timezone string for South AustraliaAlex Musolino
Use "CDT" for DST as distinct from "CST" for non-DST.
2019-11-19mergeOri Bernstein
2019-11-19add start of section 9 manpages (thanks rgl)Ori Bernstein
this change adds some of the kernel manpages from 9legacy, fixed and updated to match the changes in 9front.
2019-11-19rio: fix cons read breakage from previous commitcinap_lenrek
2019-11-19rio(4): update description of wctl file formatAlex Musolino
State strings are now padded to 12-characters. Remove ambiguous reference to "12-character style", instead referring the reader to image(6).
2019-11-19rio: pad window status strings in wctl filesAlex Musolino
This makes it possible to read the entire initial contents of the wctl files without blocking.
2019-11-19rio: fix bug causing short reads of wctl filesAlex Musolino
Previously, reads of wctl files would return one byte less than requested as the returned string must be null terminated. Now we pass the actual size of the allocated buffer to the handler, which is large enough to accommodate a trailing partial rune and terminating null byte.
2019-11-18document 'T' flag misbehavior (thanks rgl)Ori Bernstein
2019-11-17Specifiy the restrictions on 9boot file names more clearly.Ori Bernstein
2019-11-17Document 9bootfat limitation.Ori Bernstein
2019-11-17sdiahci: implement reset timeout for ahciencreset(), make blink() never ↵cinap_lenrek
block, fix map[] access in ledkproc() Ori_B reports that his controller gets stuck in the ahciencreset() wait loop. so we implement a 1000 ms timeout. we replace delay() with esleep() as we are always called from the ledkproc(). blink() could enter infinite delay loop as well, so instead of waiting for the message to get transmitted we exit making it non-blocking (we will get called again anyway). the access to the controller map[] was wrong in ledkproc(). the index is the controller number, not the drive number!
2019-11-17bootrc: for wireless netbooting, set the WPA/WPA2 preshard key with ↵cinap_lenrek
wpapsk=password boot parameter this allows automatic netbooting without password prompt for the wirelss network.
2019-11-15Parse global pax header in the right place.Ori Bernstein
2019-11-14Add pax extended header support to tar.Ori Bernstein
Support for 'path=', 'uname=', 'gname=', 'size=', and 'atime=' pax headers is useful. Others are ignored, possibly with a warning. We were running into missing support with the 'go' extraction. At the same time, this cleans up the way that we handle paths, getting rid of static buffers with hidden space at the front.
2019-11-12thread(2): fix manpage typos (thanks rgl)Ori Bernstein
2019-11-11draw(2): fix manpage typo (thanks rgl)Ori Bernstein
2019-11-10devip: use the routing table for local source ip address selectioncinap_lenrek
when making outgoing connections, the source ip was selected by just iterating from the first to the last interface and trying each local address until a route was found. the result was kind of hard to predict as it depends on the interface order. this change replaces the algorithm with the route lookup algorithm that we already have which takes more specific desination and source prefixes into account. so the order of interfaces does not matter anymore.
2019-11-05Fix directory heuristic for long file names.Ori Bernstein
Tar specifies that a filename ending with '/' is a directory. We were incorrectly looking at the short name. This meant that when we have long filenames with a '/' at the 100th character, we would decide it was a directory. This change uses the long name when deciding the size for extraction, and trusts the header size when just skipping forward in the stream.
2019-11-03games/turtle: do exit instead of crash in redraw() when there where no lines ↵cinap_lenrek
drawn
2019-11-03add games/linden and turtle to mkfileaiju
2019-11-03add games/linden and games/turtleaiju
2019-11-02tar: fix memory corruption in extract1 (thanks petter)cinap_lenrek
extract1() expects two extra bytes to be avilabe before fname buffer so it can prepend ./ before the name. this used to be the case with name(), but was violated when long name support was added and getname() was used in place of name() which did not reserve the 2 extra bytes. this change reserves two extra bytes in the getname()'s static buffer and also removes the extra copy as name() already makes a copy.
2019-11-02upasfs(4): fix manpage typo (thanks rgl)cinap_lenrek
2019-11-01file: add (very) basic support for detecting mpeg4 formatsAlex Musolino
2019-10-31upas/fs: fix handling of numeric timezone offsets in strtotmAlex Musolino
Since numeric timezone offsets are relative to GMT, initialise zone to GMT so tm2sec(2) does not assume local time. Note that if strtotm encounters a timezone *string* and consequently overwrites zone then we will end up in the same mess since tm2sec(2) only deals with GMT or local time.
2019-10-28Check if 'm' is null when updating messages.Ori Bernstein
2019-10-27bcm: fix software cursor avoidance for loadimage() case (thanks bitmapper)cinap_lenrek
2019-10-22ip/dhcpd: prevent client from increasing max reply size beyond the reply ↵cinap_lenrek
buffer capacity
2019-10-21Make ctrl+g focus text windows and cycle zeroxed copies (thanks kvik)Ori Bernstein
2019-10-22/sys/lib/plumb/basic: open nedmail windows with -noscrollAlex Musolino
This preserves the desired behaviour of *not* scrolling to the bottom of plumbed messages even when rio(1) is invoked with the -s flag.
2019-10-13ndb/dns: handle empty $DNSSERVERcinap_lenrek
when $DNSSERVER is empty, query ndb for local dns servers instead of not using any at all.
2019-10-13backup: Set execution bits in backup scriptsRoberto E. Vargas Caballero
2019-10-11ether82563: fix multicast for i210cinap_lenrek
MTA has 128 entries, according to section 8.10.15 in the datasheet. this fixes ipv6 in apu2 which has 3x i210 (8086/157b).
2019-10-10Fetch IMAP flags from server. This makes us sync read/answered/... flags ↵Ori Bernstein
with unix.
2019-10-09awk: make empty FS unicodely-correct.Ori Bernstein
2019-10-08sdiahci: force Hudson SATA Controller to AHCI modecinap_lenrek
2019-10-07sshfs: fix dir2attrib() memory leak in wstat error case (thanks BurnZeZ)cinap_lenrek