terminal: add systemd-subterm example

The systemd-subterm example is a stacked terminal that shows how to
use sd-term. Instead of rendering images and displaying it via X11/etc.,
it uses its parent terminal to display the page (terminal-emulator inside
a terminal-emulator) (like GNU-screen and friends do).

This is only for testing and not installed system-wide!
This commit is contained in:
David Herrmann
2014-07-17 11:10:53 +02:00
parent e432f9e8f9
commit 5ab887e98d
3 changed files with 1003 additions and 0 deletions

1
.gitignore vendored
View File

@@ -107,6 +107,7 @@
/systemd-shutdownd
/systemd-sleep
/systemd-socket-proxyd
/systemd-subterm
/systemd-sysctl
/systemd-system-update-generator
/systemd-sysusers

View File

@@ -2849,6 +2849,17 @@ libsystemd_terminal_la_LIBADD = \
libsystemd-internal.la \
libsystemd-shared.la
noinst_PROGRAMS += \
systemd-subterm
systemd_subterm_SOURCES = \
src/libsystemd-terminal/subterm.c
systemd_subterm_LDADD = \
libsystemd-terminal.la \
libsystemd-internal.la \
libsystemd-shared.la
test_term_page_SOURCES = \
src/libsystemd-terminal/test-term-page.c

File diff suppressed because it is too large Load Diff