mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 16:31:06 +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
65 lines
2.0 KiB
Plaintext
65 lines
2.0 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" initial_width="800" initial_height="600"/>
|
|
</start>
|
|
|
|
<start name="terminal">
|
|
<resource name="RAM" quantum="4M"/>
|
|
<provides> <service name="Terminal"/> </provides>
|
|
<config>
|
|
<vfs> <dir name="fonts"> <fs/> </dir> </vfs>
|
|
</config>
|
|
<route>
|
|
<service name="File_system"> <parent label="fonts"/> </service>
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
</route>
|
|
</start>
|
|
|
|
<start name="noux" caps="500">
|
|
<resource name="RAM" quantum="60M" />
|
|
<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="report"> <fs label="report"/> </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="File_system" label="report"> <parent label="report"/> </service>
|
|
<service name="ROM" label="vimrc"> <parent label="vimrc"/> </service>
|
|
<service name="Terminal"> <child name="terminal"/> </service>
|
|
<any-service> <parent/> </any-service>
|
|
</route>
|
|
</start>
|
|
</config>
|