summaryrefslogtreecommitdiff
path: root/sys/lib
AgeCommit message (Collapse)Author
2021-08-17git: better handling of absolute paths, regex metacharsOri Bernstein
Git currently gets a bit confused if you try to manipulate files by absolute path. There were also a number of places where user-controlled file paths ended up getting passed to regex interpretation, which could confuse things. This change mainly does 2 things: - Adds a 'drop' function which drops a non-regex prefix from a string, and uses that to manipulate paths, simplifies 'subst', and removes 'subst -g', which was only used with fixed regexes; sed does this job fine. - When getting a path from a user, we make it absolute and then strip out the head Along the way it cleans up a couple of stupids: - 'for(f in $list) if(! ~ $#f 0) use $f: $f can't be a nil list because of list flattening. - removes a useless substitution here: all=`$nl{{git/query -c $1 $2; git/query -c $2 $3} | sed 's/^..//' | \ gsubst '^('$ourbr'|'$basebr'|'$theirbr')/*' | sort | uniq} where git/query -c doesn't produce paths prefixed with the query.
2021-06-15troff: fix mangled fonts and character filesAnthony Martin
All of these files appear to have been imported from sources in a case-insensitive manner and consequently lost their original content. - Hx, Hb, and Hi fonts should be narrow versions of Helvetica - c[1-3] fonts should be condensed versions of Century Old Style - the lH character should be a filled left hand symbol - the rh character should be a stroked right hand symbol - the rc character should be the right ceiling symbol I've verified that these are the only files that collide with others when ignoring case (aside from rc/bin/[Kk]ill but those are correct).
2021-06-14python, hg: tow outside the environment.Ori Bernstein
they've served us well, and can ride off into the sunset.
2021-06-13/sys/lib/dist/mkfile: test for .git directoryglenda
2021-06-06distproto: remove .hgnore and .hg and add .git directoryOri Bernstein
again.
2021-06-06distproto: sync with hgOri Bernstein
2021-06-05git/branch: merge correct set of filesglenda
we were switching branches before we got the full list of modified files, which could garble what we were trying to merge.
2021-06-05git/{branch,pull}: merge files correctlyOri Bernstein
merge1 would clobber the global '$base' variable, which is not what we wanted. Run it in a subshell with its own env.
2021-06-05distproto: remove .hgnore and .hg and add .git directoryglenda
2021-05-30git/fs: move mount point to $repo/.git/fsOri Bernstein
Moving the mount point to within the repo directory means that we can have multiple git repos mounted at once with no conflict.
2021-05-20/sys/lib/kbmap/colemak: map capslock to backspace (thanks jacob wb)cinap_lenrek
2021-05-17git: add missing fileOri Bernstein
Forgot to add common.rc in the initial commit.
2021-04-09printfont: load all fonts for `printfont all`Humm
2021-04-09trofftable.rc: make workHumm
2021-03-23kbmap/tr: add one missing key to Turkish keymap (thanks kemal)Ori Bernstein
while we're here, change the hex values to unicode chars.
2021-03-07riostart: revert, this doesnt fix anythingcinap_lenrek
This change does not work and the real fix is in rio.
2021-03-02[9front] riostart: make text window focused by defaultJosé Miguel Sánchez García
This change makes the text window be focused on startup when using default riostart (e.g: when using the release ISO). This little change makes you able to immediately reach the rc shell without clicking the window, which at the very least is more convenient, and if you have problems to use your mouse but want to install the system, you also can (I had to stop profile from running at boot to patch it in my VPS KVM console because the mouse wasn't working properly. Could install and setup it to connect through drawterm).
2021-02-08[9front] mimetype: add entry for .patch extensionMichael Forney
This way, upas/vf won't flag .patch files as suspicious by default.
2021-01-17dpost prologue: update /radicalex to fix square displacement (thanks ↵Sigrid
umbraticus and Ethan)
2021-01-12plumb/basic: handle tga, wav, au, mid and musSigrid
2020-12-18kbmap: add Turkish keymap (thanks Kemal)kvik
2020-12-11update Finnish kbmap: fix ¤ on shift+4 and add more AltGr variantsSigrid
2020-12-07aux/kbdfs, kbmaps: enable Kmod4 for other layouts, not just neo2Sigrid
2020-11-26kbmap/neo2: add support for neo2 kbmak (thanks jstsmthrgk)Ori Bernstein
2020-11-02profile: don't create $wsys if it doesn't existOri Bernstein
When $wsys doesn't exist (eg, drawterm -G, or rcpu from a text console), the profile would create an empty $wsys variable, and sessions started in this environment would fail with a null list in concatenation. This change tests if /mnt/term/env/wsys exists before assigning it.
2020-10-25kbmap: add latvian keymap (thanks freddy)cinap_lenrek
2020-10-25kbmap: add croatian kbmap (thanks skerbergs)cinap_lenrek
2020-05-04tmac.eai: wrapper around -me: auto indexing sections, .TC macro (thanks ↵Sigrid
sirjofri)
2020-05-04add missing /sys/lib/tmac/me files (thanks sirjofri)Sigrid
2020-03-21update colemak kbmap, simpler version with scroll working (thanks jeremy)Sigrid
2020-03-21add colemak kbmap (thanks Silas McCroskey)Sigrid
2020-03-21add swiss german kbmap (thanks mike)Sigrid
2020-02-26include section 9 in manpage plumb rules.Ori Bernstein
We added section 9 to the manual. However, the plumb rule only recognized sections 1 through 8. Fix it to include section 9.
2020-02-23/sys/lib/kbmap: update 0xf860 to Kshift value, fix fake shifts on esc1Sigrid
2019-12-09riostart: when system uses serial console, provide a system shell on itcinap_lenrek
on systems with serial console and graphics such as the raspberry pi, it is nice to get a system shell on the serial console even when no monitor is connected.
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-13backup: Set execution bits in backup scriptsRoberto E. Vargas Caballero
2019-09-12acid/kernel: for stacktraces, try to use context from error stack when ↵cinap_lenrek
process is not sleeping when a process state has not been saved (Proc.mach != nil) then the contents of Proc.sched should be considered invalid. to approximate a stacktrace in this case, we use the error stack and get a stacktrace from the last waserror() call.
2019-08-24/sys/lib/dist/mkfile: adjust 2GB for pi3 and zynq imgcinap_lenrek
2019-08-24/sys/lib/dist/mkfile: storage vendors idea of 2GB is deflatingcinap_lenrek
2019-08-21/sys/lib/acid/kernel: fix procstk() for arm64, set kdir for arm/arm64 to ↵cinap_lenrek
bcm/bcm64
2019-08-18add missing device tree file for raspberry pi 4cinap_lenrek
2019-08-18add raspberry pi 4 kernel and bootloader to pi3.img targetcinap_lenrek
2019-05-23gs: apply fixes for CVE-2018-16509 (thanks jsmoody)cinap_lenrek
2019-05-06dist/mkfile: add *.pi3.img target for ARM64 raspberry pi3cinap_lenrek
2019-05-04acid: add arm64 supportcinap_lenrek
2019-05-03rootstub: add /sys/lib/dist/ndb/dhcp/cinap_lenrek
2019-04-23distproto: add /lib/news/ (thanks lyndon)cinap_lenrek
2019-04-19distproto: add /lib/ndb/dhcp/ directory (thanks lyndon)cinap_lenrek
2019-04-08rootstub: create arm64 directoriescinap_lenrek