mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 06:33:31 +00:00
1f1302e185
This patch replaces the terminal's formerly built-in fonts with the new VFS-based font handling. To avoid the copying of the terminal's font configuration across run scripts, this patch adds the new terminal/pkg runtime package, which includes everything needed for instantiating a terminal: the actual terminal component, the library dependencies (vfs_ttf, which in turn depends on the libc), a font (bitstream-vera), and a reasonable default configuration. Fixes #2758
64 lines
1.9 KiB
Plaintext
64 lines
1.9 KiB
Plaintext
<config>
|
|
<parent-provides>
|
|
<service name="ROM"/>
|
|
<service name="PD"/>
|
|
<service name="RM"/>
|
|
<service name="CPU"/>
|
|
<service name="LOG"/>
|
|
<service name="Timer"/>
|
|
<service name="File_system"/>
|
|
<service name="Nitpicker"/>
|
|
</parent-provides>
|
|
|
|
<default-route> <any-service> <parent/> <any-child/> </any-service> </default-route>
|
|
|
|
<default caps="100"/>
|
|
|
|
<start name="nit_fb">
|
|
<resource name="RAM" quantum="4M"/>
|
|
<provides> <service name="Framebuffer"/> <service name="Input"/> </provides>
|
|
<config xpos="10" ypos="10" width="800" height="600"/>
|
|
</start>
|
|
|
|
<start name="terminal">
|
|
<binary name="terminal"/>
|
|
<resource name="RAM" quantum="4M"/>
|
|
<provides> <service name="Terminal"/> </provides>
|
|
<route>
|
|
<service name="ROM" label="config"> <parent label="fonts.config"/> </service>
|
|
<service name="Framebuffer"> <child name="nit_fb"/> </service>
|
|
<service name="Input"> <child name="nit_fb"/> </service>
|
|
<any-service> <parent/> </any-service>
|
|
</route>
|
|
</start>
|
|
|
|
<start name="noux" caps="500">
|
|
<binary name="noux"/>
|
|
<resource name="RAM" quantum="64M" />
|
|
<exit propagate="yes"/>
|
|
<config>
|
|
<fstab>
|
|
<tar name="bash-minimal.tar" />
|
|
<tar name="coreutils-minimal.tar" />
|
|
<tar name="vim-minimal.tar" />
|
|
<dir name="dev"> <zero/> <null/> </dir>
|
|
<dir name="rw"> <fs label="target"/> </dir>
|
|
<dir name="config"> <fs label="config"/> </dir>
|
|
<dir name="tmp"> <ram /> </dir>
|
|
<dir name="share"> <dir name="vim"> <rom name="vimrc"/> </dir> </dir>
|
|
</fstab>
|
|
<start name="/bin/bash">
|
|
<env name="TERM" value="screen" />
|
|
<env name="PS1" value="noux:$PWD> " />
|
|
</start>
|
|
</config>
|
|
<route>
|
|
<service name="File_system" label="target"> <parent label="target"/> </service>
|
|
<service name="File_system" label="config"> <parent label="config"/> </service>
|
|
<service name="Terminal"> <child name="terminal"/> </service>
|
|
<any-service> <parent/> </any-service>
|
|
</route>
|
|
</start>
|
|
</config>
|
|
|