summaryrefslogtreecommitdiff
path: root/include/linux/selection.h
AgeCommit message (Collapse)Author
2010-10-22vcs: invoke the vt update callback when /dev/vcs* is written toNicolas Pitre
A notifier chain is called whenever the vt code modifies a terminal content, except for one case which is when the modification comes through writes to /dev/vcs* devices. Let's add the missing notifier invocation at the end of vcs_write() for that case too. Signed-off-by: Nicolas Pitre <nicolas.pitre@canonical.com> Cc: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-10-16vt: Fix warnings in selection.hRalf Baechle
<linux/selection.h> assumes that struct tty_struct has previously been included. If not, this pile of warnings will result: CC [M] drivers/video/console/newport_con.o In file included from drivers/video/console/newport_con.c:18: include/linux/selection.h:16: warning: 'struct tty_struct' declared inside param eter list include/linux/selection.h:16: warning: its scope is only this definition or decl aration, which is probably not what you want include/linux/selection.h:17: warning: 'struct tty_struct' declared inside param eter list include/linux/selection.h:20: warning: 'struct tty_struct' declared inside param eter list Fixed by adding a forward declaration of struct tty_struct. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Antonino Daplas <adaplas@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-08-22selection.h: add tty_struct forward declarationAndrew Morton
In file included from drivers/video/console/newport_con.c:16: include/linux/selection.h:16: warning: "struct tty_struct" declared inside parameter list include/linux/selection.h:16: warning: its scope is only this definition or declaration, which is probably not what you want Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2005-01-10[PATCH] cleanup virtual console <-> selection.c interfaceChristoph Hellwig
Pass around pointers instead of indices into a global array between various files of the virtual console implementation and stop using obsfucting macros that expect certain variables to be in scope. This is a first step to get rid of the various global arrays in the VC code. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2004-05-30[PATCH] sparse: vt and friendsAlexander Viro
vt, vt_ioctl, consolemap and selection annotated, struct unimapdesc and struct consolefontdesc got __user on their pointer members.
2004-02-03[PATCH] console: support for > 127 charsAndrew Morton
From: Nigel Cunningham <ncunningham@users.sourceforge.net> Change the console code to support up to 256 (maybe 255?) columns.
2003-06-11[PATCH] tioclinux() numbers in <linux/tiocl.h>Andrew Morton
From: Samuel Thibault <Samuel.Thibault@ens-lyon.fr> Tioclinux() uses "magic numbers" that applications should know to use it. Here is a patch which adds an include/linux/tiocl.h which holds them and can be used by applications to properly call iotcl(TIOCLINUX). It might stand for documentation as well, replacing the not up-to-date man ioctl_list. A structure for the selection argument is also defined.
2002-02-04Import changesetLinus Torvalds