syscons.h (197085) | syscons.h (197539) |
---|---|
1/*- 2 * Copyright (c) 1995-1998 S�ren Schmidt 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to The DragonFly Project 6 * by Sascha Wildner <saw@online.de> 7 * 8 * Redistribution and use in source and binary forms, with or without --- 14 unchanged lines hidden (view full) --- 23 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 24 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 25 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 29 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 * | 1/*- 2 * Copyright (c) 1995-1998 S�ren Schmidt 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to The DragonFly Project 6 * by Sascha Wildner <saw@online.de> 7 * 8 * Redistribution and use in source and binary forms, with or without --- 14 unchanged lines hidden (view full) --- 23 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 24 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 25 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 29 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 * |
31 * $FreeBSD: head/sys/dev/syscons/syscons.h 197085 2009-09-11 02:07:24Z delphij $ | 31 * $FreeBSD: head/sys/dev/syscons/syscons.h 197539 2009-09-27 18:19:41Z ed $ |
32 */ 33 34#ifndef _DEV_SYSCONS_SYSCONS_H_ 35#define _DEV_SYSCONS_SYSCONS_H_ 36 37#include <sys/lock.h> 38#include <sys/mutex.h> 39 --- 269 unchanged lines hidden (view full) --- 309 int mouse_oldpos; /* mouse old buffer position */ 310 short mouse_xpos; /* mouse x coordinate */ 311 short mouse_ypos; /* mouse y coordinate */ 312 short mouse_oldxpos; /* mouse previous x coordinate */ 313 short mouse_oldypos; /* mouse previous y coordinate */ 314 short mouse_buttons; /* mouse buttons */ 315 int mouse_cut_start; /* mouse cut start pos */ 316 int mouse_cut_end; /* mouse cut end pos */ | 32 */ 33 34#ifndef _DEV_SYSCONS_SYSCONS_H_ 35#define _DEV_SYSCONS_SYSCONS_H_ 36 37#include <sys/lock.h> 38#include <sys/mutex.h> 39 --- 269 unchanged lines hidden (view full) --- 309 int mouse_oldpos; /* mouse old buffer position */ 310 short mouse_xpos; /* mouse x coordinate */ 311 short mouse_ypos; /* mouse y coordinate */ 312 short mouse_oldxpos; /* mouse previous x coordinate */ 313 short mouse_oldypos; /* mouse previous y coordinate */ 314 short mouse_buttons; /* mouse buttons */ 315 int mouse_cut_start; /* mouse cut start pos */ 316 int mouse_cut_end; /* mouse cut end pos */ |
317 int mouse_level; /* xterm mouse protocol */ |
|
317 struct proc *mouse_proc; /* proc* of controlling proc */ 318 pid_t mouse_pid; /* pid of controlling proc */ 319 int mouse_signal; /* signal # to report with */ 320 321 u_short bell_duration; 322 u_short bell_pitch; 323 324 u_char border; /* border color */ --- 234 unchanged lines hidden (view full) --- 559void sc_set_cursor_image(scr_stat *scp); 560void sc_change_cursor_shape(scr_stat *scp, int flags, 561 int base, int height); 562int sc_clean_up(scr_stat *scp); 563int sc_switch_scr(sc_softc_t *sc, u_int next_scr); 564void sc_alloc_scr_buffer(scr_stat *scp, int wait, int discard); 565int sc_init_emulator(scr_stat *scp, char *name); 566void sc_paste(scr_stat *scp, const u_char *p, int count); | 318 struct proc *mouse_proc; /* proc* of controlling proc */ 319 pid_t mouse_pid; /* pid of controlling proc */ 320 int mouse_signal; /* signal # to report with */ 321 322 u_short bell_duration; 323 u_short bell_pitch; 324 325 u_char border; /* border color */ --- 234 unchanged lines hidden (view full) --- 560void sc_set_cursor_image(scr_stat *scp); 561void sc_change_cursor_shape(scr_stat *scp, int flags, 562 int base, int height); 563int sc_clean_up(scr_stat *scp); 564int sc_switch_scr(sc_softc_t *sc, u_int next_scr); 565void sc_alloc_scr_buffer(scr_stat *scp, int wait, int discard); 566int sc_init_emulator(scr_stat *scp, char *name); 567void sc_paste(scr_stat *scp, const u_char *p, int count); |
567void sc_respond(scr_stat *scp, const u_char *p, int count); | 568void sc_respond(scr_stat *scp, const u_char *p, 569 int count, int wakeup); |
568void sc_bell(scr_stat *scp, int pitch, int duration); 569 570/* schistory.c */ 571#ifndef SC_NO_HISTORY 572int sc_alloc_history_buffer(scr_stat *scp, int lines, 573 int prev_ysize, int wait); 574void sc_free_history_buffer(scr_stat *scp, int prev_ysize); 575void sc_hist_save(scr_stat *scp); --- 98 unchanged lines hidden --- | 570void sc_bell(scr_stat *scp, int pitch, int duration); 571 572/* schistory.c */ 573#ifndef SC_NO_HISTORY 574int sc_alloc_history_buffer(scr_stat *scp, int lines, 575 int prev_ysize, int wait); 576void sc_free_history_buffer(scr_stat *scp, int prev_ysize); 577void sc_hist_save(scr_stat *scp); --- 98 unchanged lines hidden --- |