Age | Commit message (Collapse) | Author | Files | Lines |
|
Fix ecah -> each typo.
Reported-by: Steven Honeyman
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
|
|
We don't want to export libeloop so link it statically. Avoid installing
into into the system.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
|
|
We shouldn't export libraries which we don't really allow linkink
externally. Link libuterm statically and avoid installing it into /lib.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
|
|
uvt is not used inside of kmscon. Moved into a separate library if
some-one is interested.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
|
|
The freetype2 font backend lacks support for proper combining marks and I
do not intend to ever implement that. Use pango!
If you don't want heavy dependencies, you can use the unifont or 8x16
backends.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
|
|
TSM was extracted from kmscon sources so it can more easily be used by
other emulators. It is available at:
http://cgit.freedesktop.org/~dvdhrm/libtsm
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
|
|
cdev sessions are outdated. Use libuvt instead. Remove all references to
cdev-sessions and clean up the build chain.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
|
|
We currently use the old systemd syntax that was copied from
getty@.service. It doesn't allow enabling specific TTYs, though. So use
the new WantedBy syntax instead.
Thanks to "trusktr" for investigating and reporting upstream to systemd
developers.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
|
|
This helper returns the VT-number for the given VT if, and only if, it
is a real VT. In all other cases 0 is returned.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
|
|
This moves the description of kmscon.conf to a separate "Configuration"
section and adds some example kmscon.conf configuration lines.
This addresses #71 (at least, with this change in place I probably would
not have been momentarily confused by the exact syntax used in
kmsconf.conf).
(removed trailing whitespaces)
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
|
|
This adds an --xkb-keymap <FILE> option to kmscon. When given, kmscon
will try to compile the keymap from the file before trying the other
options (like the XkbKeymap option in xorg.conf).
This is useful for users who have a customized XKB keymap, which is
usually kept in a single file. Example, in X:
xkbcomp $DISPLAY my_keymap.xkb
Customize my_keymap.xkb to your liking, and then in .xinitrc, or
xorg.conf:
xkbcomp my_keymap.xkb $DISPLAY
Now you can also do this in kmscon.conf.
Additionally, lacking such an option, kmscon is quite difficult to use
without an installed xkeyboard-config package, which provides the
infrastructure for the "rules" configuration mechanism. We might even
want to distribute some plain xkb file as a last ditch, for
robustness, if even the default RMLVO fails... without a keyboard a
terminal is not very useful.
(changed Ran's patch to use *_from_string() instead of *_from_file())
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
|
|
This implements two new keyboard shortcuts zoom-in and zoom-out that
increase/decrease font size of the current terminal.
This is similar to how wlterm does it and allows runtime modification of
fonts.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
|
|
This adds the uvt_client symbols to the public symbol list and exports
them so we can use them in uvtd.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
|
|
Two new functions to retrieve the current major number and dynamically
allocate minor numbers.
This can be used by clients that allocate more than one CDEV for VTs to
dynamically retrieve a new minor number.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
|
|
We need to export the symbols to make use of them. This exports all useful
ctx+cdev functions for outside use. The other subsystems still need to get
reviewed before we export them.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
|
|
UVT is based heavily on the old cdev-sessions. It uses CUSE/FUSE to
implement virtual terminals in user-space.
This move into a library allows to use it in other projects, too. There is
no reason to limit it to kmscon sessions. In fact, we will remove the
cdev-sessions, soon and make kmscon a stand-alone terminal emulator
without any session capability.
Instead, the uvtd program will provide the VT emulation.
This library is not finished, nor ready for use. However, feel free to
contribute patches so we can eventually release a stable API.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
|
|
We now provide an experimental pixman backend. It still suffers from the
same problems but that cannot be fixed easily. Check it out if you want
it. Disabled by default, though.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
|
|
Provided via github. Fixes typos in documentation and comments.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
|
|
Major overhaul of the build system. This introduces symbol-versioning for
all exported libraries. Please note that none of these libraries is
stable, yet!
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
|
|
This is no longer used and was replaced by kmsconvt@.service some time
ago.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
|
|
We forgot to rename the templates from kmscon to kmsconvt in the comments.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
|
|
We used font-size=15 in the past but changed it long ago. However, the
documentation still used 15 so fix this now.
Reported-by: James Buren <ryu0@ymail.com>
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
|
|
This new template can be used as replacement for getty@.service. It has
the same semantics and can be used as drop-in replacement. It even uses
getty@.service as fallback if kmscon fails.
See the comments in the files for more information.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
|
|
We must pass "-p" to make "login" preserve the environment. We make sure
the environment is correctly reset before calling it so it is safe.
Furthermore, this allows us to pass additional environment variables to
the child without having /bin/login reset it.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
|
|
This option controls whether we reset the environment before spawning the
PTY child.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
|
|
Two simple obvious typos.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
|
|
This unit file is a new replacement for standard systemd-getty files.
Installed into /etc/systemd/system it replaces the standard systemd unit
and spawns kmscon instead of agetty on virtual terminals.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
|
|
This option uses XDG_SEAT to determine the current seat. If this is NULL,
we fall back to "seat0".
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
|
|
Instead of relying on --switchvt, we should always activate fake-VTs
during startup. Otherwise, we might end up with dead seats as there is no
way to wake up kmscon later.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
|
|
Add a very basic man-page infrastructure so we can easily add new
docbook-style manpages.
Also add kmscon.1 man-page with a basic overview.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
|
|
We want only C-source files in ./src and the documents ./docs directory is
meant to contain any other sources.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
|
|
This almost certainly can be optimized, but we should be able to mask
getty@.service with kmscon@.service.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
|
|
This is a very basic unit that can start kmscon with a login shell. We may
have to improve it to replace agetty/etc fully, but it is a good start.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
|
|
This never really worked and was horrible to maintain. We need to find
something else for documentation, but we will probably have to do it with
a separate XML file without any generator.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
|
|
We didn't use pixman for rendering in kmscon. This documents shows some
code how we could do it but also explains why this would not improve
performance.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
|
|
This document contains several special Unicode characters which can be
used to test the terminal font-engine/UTF-8-engine.
Written-by: Theodore Kotz <ted@kotz.us>
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
|
|
There is really no reason to have _two_ documentation directories.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
|
|
It still used the old name. So convert it to use the more general name as
we are building all documentation into one global document.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
|
|
This adds gtk-doc documentation builds to kmscon. All documentation is
build in a central place due to gtk-doc restrictions.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
|