patches and low-level development discussion
 help / color / mirror / code / Atom feed
41ae0aa21c2045b8d5c6d3e0f1681b1dfb097b50 blob 617 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
#!/bin/execlineb -P
# SPDX-License-Identifier: EUPL-1.2+
# SPDX-FileCopyrightText: 2021 Alyssa Ross <hi@alyssa.is>

export TERM foot
export TERMINFO_DIRS /usr/share/terminfo
export TMPDIR /run

backtick USER { id -un }
backtick HOME {
  importas -i user USER
  homeof $user
}

importas -i home HOME
cd $home

redirfd -u 0 /dev/hvc0
fdmove -c 1 0
fdmove -c 2 0

foreground { clear }
unexport ?

# Run catgirl, then a login shell to allow for debugging.
foreground { printf "IRC nick (to join #spectrum): " }
foreground {
  backtick -E nick { head -1 }
  catgirl -h irc.libera.chat -j "#spectrum" -n $nick
}
exec -l sh
debug log:

solving 41ae0aa ...
found 41ae0aa in https://spectrum-os.org/git/spectrum

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).