📄 rxvtlibproto.h
字号:
/*--------------------------------*-C-*---------------------------------* * File: rxvtlibproto.h *----------------------------------------------------------------------* * $Id: command.c,v 1.85.2.23 1999/08/12 16:32:39 mason Exp $ * * All portions of code are copyright by their respective author/s. * Copyright (C) 1992 John Bovey, University of Kent at Canterbury <jdb@ukc.ac.uk> * - original version * Copyright (C) 1994 Robert Nation <nation@rocket.sanders.lockheed.com> * - extensive modifications * Copyright (C) 1995 Garrett D'Amore <garrett@netcom.com> * - vt100 printing * Copyright (C) 1995 Steven Hirsch <hirsch@emba.uvm.edu> * - X11 mouse report mode and support for * DEC "private mode" save/restore functions. * Copyright (C) 1995 Jakub Jelinek <jj@gnu.ai.mit.edu> * - key-related changes to handle Shift+function * keys properly. * Copyright (C) 1997 MJ Olesen <olesen@me.queensu.ca> * - extensive modifications * Copyright (C) 1997 Raul Garcia Garcia <rgg@tid.es> * - modification and cleanups for Solaris 2.x * and Linux 1.2.x * Copyright (C) 1997,1998 Oezguer Kesim <kesim@math.fu-berlin.de> * Copyright (C) 1998 Geoff Wing <gcw@pobox.com> * Copyright (C) 1998 Alfredo K. Kojima <kojima@windowmaker.org> * Copyright (C) 1996-2000 Paul Sheer <psheer@icon.co.za> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *----------------------------------------------------------------------*//*************************************************************************//* This code has only the vaguest resemblance to rxvt-2.6.1 - Paul Sheer *//*************************************************************************/void rxvtlib_init (rxvtlib *o);int getdtablesize (void);void privileges (int mode);RETSIGTYPE Child_signal (int unused);RETSIGTYPE Exit_signal (int sig);void clean_exit (void);int rxvtlib_get_pty (rxvtlib *o);int rxvtlib_get_tty (rxvtlib *o);void debug_ttymode (const ttymode_t * ttymode);void get_ttymode (ttymode_t * tio);void rxvtlib_run_command (rxvtlib *o, const char *const *argv, int do_sleep);void rxvtlib_get_ourmods (rxvtlib *o);void rxvtlib_init_command (rxvtlib *o, const char *const *argv, int do_sleep);void rxvtlib_init_xlocale (rxvtlib *o);void rxvtlib_tt_winsize (rxvtlib *o, int fd);void rxvtlib_tt_resize (rxvtlib *o);void rxvtlib_lookup_key (rxvtlib *o, XEvent * ev);unsigned int rxvtlib_cmd_write (rxvtlib *o, const unsigned char *str, unsigned int count);unsigned char rxvtlib_cmd_getc (rxvtlib *o);void rxvtlib_mouse_report (rxvtlib *o, const XButtonEvent * ev);void rxvtlib_process_x_event (rxvtlib *o, XEvent * ev);int rxvtlib_check_our_parents (rxvtlib *o);void rxvtlib_tt_printf (rxvtlib *o, const char *fmt, ...);FILE *rxvtlib_popen_printer (rxvtlib *o);int pclose_printer (FILE * stream);void rxvtlib_process_print_pipe (rxvtlib *o);void rxvtlib_process_escape_seq (rxvtlib *o);void rxvtlib_process_csi_seq (rxvtlib *o);void rxvtlib_process_window_ops (rxvtlib *o, const int *args, int nargs);void rxvtlib_process_xterm_seq (rxvtlib *o);void rxvtlib_process_terminal_mode (rxvtlib *o, int mode, int priv, unsigned int nargs, const int *arg);void rxvtlib_process_sgr_mode (rxvtlib *o, unsigned int nargs, const int *arg);void rxvtlib_process_graphics (rxvtlib *o);void rxvtlib_AddToCNQueue (rxvtlib *o, int width, int height);int rxvtlib_RemoveFromCNQueue (rxvtlib *o, int width, int height);void rxvtlib_main_loop (rxvtlib *o);void rxvtlib_tt_write (rxvtlib *o, const unsigned char *d, int len);void rxvtlib_setSize (rxvtlib *o, XRectangle * size);void rxvtlib_setColor (rxvtlib *o, unsigned long *fg, unsigned long *bg);void rxvtlib_IMSendSpot (rxvtlib *o);void rxvtlib_setTermFontSet (rxvtlib *o);void rxvtlib_setPreeditArea (rxvtlib *o, XRectangle * preedit_rect, XRectangle * status_rect, XRectangle * needed_rect);void rxvtlib_IMDestroyCallback (XIM xim, XPointer client_data, XPointer call_data);void rxvtlib_IMInstantiateCallback (Display * display, XPointer client_data, XPointer call_data);void rxvtlib_IMSetStatusPosition (rxvtlib *o);void rxvtlib_XProcessEvent (rxvtlib *o, Display * display);void rxvtlib_Gr_NewWindow (rxvtlib *o, int nargs, int args[]);void rxvtlib_Gr_ClearWindow (rxvtlib *o, grwin_t * grwin);void rxvtlib_Gr_Text (rxvtlib *o, grwin_t * grwin, grcmd_t * data);void rxvtlib_Gr_Geometry (rxvtlib *o, grwin_t * grwin, grcmd_t * data);void rxvtlib_Gr_DestroyWindow (rxvtlib *o, grwin_t * grwin);void rxvtlib_Gr_Dispatch (rxvtlib *o, grwin_t * grwin, grcmd_t * data);void rxvtlib_Gr_Redraw (rxvtlib *o, grwin_t * grwin);void rxvtlib_Gr_ButtonReport (rxvtlib *o, int but, int x, int y);void rxvtlib_Gr_do_graphics (rxvtlib *o, int cmd, int nargs, int args[], unsigned char *text);void rxvtlib_Gr_scroll (rxvtlib *o, int count);void rxvtlib_Gr_ClearScreen (rxvtlib *o);void rxvtlib_Gr_ChangeScreen (rxvtlib *o);void rxvtlib_Gr_expose (rxvtlib *o, Window win);void rxvtlib_Gr_Resize (rxvtlib *o, int w, int h);void rxvtlib_Gr_reset (rxvtlib *o);int rxvtlib_Gr_Displayed (rxvtlib *o);/* void rxvt_update_wtmp (const char *fname, const struct utmp *putmp); */void rxvtlib_makeutent (rxvtlib *o, const char *pty, const char *hostname);void rxvtlib_cleanutent (rxvtlib *o);XErrorHandler xerror_handler (const Display * display, const XErrorEvent * event);void rxvtlib_color_aliases (rxvtlib *o, int idx);void rxvtlib_set_colorfgbg (rxvtlib *o);void rxvtlib_Get_Colours (rxvtlib *o);void rxvtlib_Create_Windows (rxvtlib *o, int argc, const char *const *argv);void rxvtlib_resize_subwindows (rxvtlib *o, int width, int height);void rxvtlib_resize_all_windows (rxvtlib *o);void rxvtlib_resize_window (rxvtlib *o, unsigned int width, unsigned int height);void rxvtlib_set_widthheight (rxvtlib *o, unsigned int width, unsigned int height);void rxvtlib_szhints_set (rxvtlib *o);void rxvtlib_szhints_recalc (rxvtlib *o);void rxvtlib_set_title (rxvtlib *o, const char *str);void rxvtlib_set_iconName (rxvtlib *o, const char *str);void rxvtlib_set_window_color (rxvtlib *o, int idx, const char *color);void rxvtlib_xterm_seq (rxvtlib *o, int op, const char *str);void rxvtlib_change_font (rxvtlib *o, int init, const char *fontname);void rxvtlib_init_vars (rxvtlib *o);const char **rxvtlib_init_resources (rxvtlib *o, int argc, const char *const *argv);void rxvtlib_init_env (rxvtlib *o);int rxvtlib_main (rxvtlib *o, int argc, const char *const *argv, int do_sleep);menuitem_t *menuitem_find (const menu_t * menu, const char *name);void rxvtlib_menuitem_free (rxvtlib *o, menu_t * menu, menuitem_t * item);int action_type (action_t * action, unsigned char *str);int rxvtlib_action_dispatch (rxvtlib *o, action_t * action);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -