亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? edterm.c

?? clips源代碼
?? C
字號:
   /*******************************************************/   /*      "C" Language Integrated Production System      */   /*                                                     */   /*              CLIPS Version 6.24  06/05/06           */   /*                                                     */   /*                                                     */   /*******************************************************/   /*************************************************************//* Purpose:                                                  *//*                                                           *//* Principal Programmer(s):                                  *//*                                                           *//* Contributing Programmer(s):                               *//*                                                           *//* Revision History:                                         *//*                                                           *//*      6.24: Corrected code generating compilation          *//*            warnings.                                      *//*                                                           *//*************************************************************/#include "setup.h"#if   EMACS_EDITOR && ! RUN_TIME#define _EDTERM_SOURCE_#include "ed.h"#include <stdlib.h>#if ANSIstatic void ansimove(int,int);static void ansieeol(void);static void ansieeop(void);static void ansibeep(void);static void ansiparm(int);static void ansiopen(void);#endif#if VT52static void vt52move(int,int);static void vt52eeol(void);static void vt52eeop(void);static void vt52beep(void);static void vt52parm(int);static void vt52open(void);#endif#if IBM_PCstatic void pc_open(void);static int scinit(int);static int getboard(void);static int pc_getc(void);static void pc_putc(int);static void pc_move(int,int);static void pc_eeol(void);static void pc_eeop(void);static void pc_beep(void);#endif#if TERMCAP#include <termcap.h>/*extern int tgetent(char *,char *);extern char *tgoto(char *,int,int);extern int tputs(register char *,int,int (*)(int));extern char *tgetstr(char *,char **);*/static void tcapmove(int,int);static void tcapeeol(void);static void tcapeeop(void);static void tcapbeep(void);static void tcapopen(void);static void putpad(char *);#endif/* ========================================================================== *                              ANSI Terminal * ========================================================================== */#if     ANSI/* * The routines in this section provide support for ANSI style terminals * over a serial line. The serial I/O services are provided by routines in * "termio.c". It compiles into nothing if not an ANSI device. */#define NROW    23                      /* Screen size.                 */#define NCOL    77                      /* Edit if you want to.         */#define BEL     0x07                    /* BEL character.               */#define ESC     0x1B                    /* ESC character.               *//* * Standard terminal interface dispatch table. Most of the fields point into * "termio" code. */TERM    term    = {        NROW-1,        NCOL,        ansiopen,        ttclose,        ttgetc,        ttputc,        ttflush,        ansimove,        ansieeol,        ansieeop,        ansibeep};static void ansimove(int row,int col){        ttputc(ESC);        ttputc('[');        ansiparm(row+1);        ttputc(';');        ansiparm(col+1);        ttputc('H');}static void ansieeol(){        ttputc(ESC);        ttputc('[');        ttputc('K');}static void ansieeop(){        ttputc(ESC);        ttputc('[');        ttputc('J');}static void ansibeep(){        ttputc(BEL);        ttflush();}static void ansiparm(int    n){        register int    q;        q = n/10;        if (q != 0)                ansiparm(q);        ttputc((n%10) + '0');}static void ansiopen(){#if     UNIX_7 || UNIX_V        register char *cp;        if ((cp = getenv("TERM")) == NULL) {                puts("Shell variable TERM not defined!");                exit(1);        }        if (strcmp(cp, "vt100") != 0) {                puts("Terminal type not 'vt100'!");                exit(1);        }#endif        ttopen();}#endif/* ========================================================================== *                              VT52 Terminal * ========================================================================== */#if     VT52/* * The routines in this section * provide support for VT52 style terminals * over a serial line. The serial I/O services are * provided by routines in "termio.c". It compiles * into nothing if not a VT52 style device. The * bell on the VT52 is terrible, so the "beep" * routine is conditionalized on defining BEL. */#define NROW    24                      /* Screen size.                 */#define NCOL    80                      /* Edit if you want to.         */#define BIAS    0x20                    /* Origin 0 coordinate bias.    */#define ESC     0x1B                    /* ESC character.               */#define BEL     0x07                    /* ascii bell character         *//* * Dispatch table. All the * hard fields just point into the * terminal I/O code. */globle TERM    term    = {        NROW-1,        NCOL,        vt52open,        ttclose,        ttgetc,        ttputc,        ttflush,        vt52move,        vt52eeol,        vt52eeop,        vt52beep};static void vt52move(int row,int col){        ttputc(ESC);        ttputc('Y');        ttputc(row+BIAS);        ttputc(col+BIAS);}static void vt52eeol(){        ttputc(ESC);        ttputc('K');}static void vt52eeop(){        ttputc(ESC);        ttputc('J');}static void vt52beep(){#ifdef  BEL        ttputc(BEL);        ttflush();#endif}static void vt52open(){#if     UNIX_7 || UNIX_V        register char *cp;        if ((cp = getenv("TERM")) == NULL) {                puts("Shell variable TERM not defined!");                exit(1);        }        if (strcmp(cp, "vt52") != 0 && strcmp(cp, "z19") != 0) {                puts("Terminal type not 'vt52'or 'z19' !");                exit(1);        }#endif        ttopen();}#endif/* ========================================================================== *                              IBM PC Code * ========================================================================== */#if   IBM_PC                                    /* Should be an IBM PC using    */                                                /* the Microsoft C compiler     */                                                /* or the Turbo C compiler      */                                                /* or the Zortech C compiler    */                                                /* or the Intel C Code builder  */#if   IBM_MSC || IBM_TBC || IBM_GCC#include        <dos.h>#if IBM_MSC || IBM_GCC#include    <conio.h>#endif#define NROW    25                      /* Screen size. rows            */#define NCOL    80                      /* Columns                      */#define BEL     0x07                    /* BEL character.               */#define ESC     0x1B                    /* ESC character.               */#define SPACE   32#define	SCADC	0xb8000000L     /* CGA address of screen RAM	*/#define	SCADM	0xb0000000L     /* MONO address of screen RAM	*/#define MONOCRSR 0x0B0D			/* monochrome cursor	    */#define CGACRSR 0x0607			/* CGA cursor		    */#define	CDCGA	0			/* color graphics card		*/#define	CDMONO	1			/* monochrome text card		*/#define	CDSENSE	9			/* detect the card type		*/#define NDRIVE	3			/* number of screen drivers	*//* * Standard terminal interface dispatch table. Most of the fields point into * "termio" code. */globle TERM    term    = {        NROW-1,        NCOL,        pc_open,        ttclose,        pc_getc,        pc_putc,        ttflush,        pc_move,        pc_eeol,        pc_eeop,        pc_beep};static int dtype = -1;		/* current display type		*/static long scadd;		/* address of screen ram	*/static int *scptr[NROW];	/* pointer to screen lines	*/static unsigned int sline[NCOL];/* screen line image		*/static union REGS rg;static void pc_open(){ scinit(CDSENSE); ttopen();}static int scinit(	/* initialize the screen head pointers */int type)	/* type of adapter to init for */{#if IBM_ICB	union {		int laddr;	/* long form of address */		short *paddr;	/* pointer form of address */	} addr;#else	union {		long laddr;	/* long form of address */		int *paddr;	/* pointer form of address */	} addr;#endif	int i;	/* if asked...find out what display is connected */	if (type == CDSENSE)		type = getboard();	/* if we have nothing to do....don't do it */	if (dtype == type)		return(TRUE);	switch (type) {		case CDMONO:	/* Monochrome adapter */				scadd = SCADM;				break;		case CDCGA:	/* Color graphics adapter */				scadd = SCADC;				break;	}	dtype = type;	/* initialize the screen pointer array */	for (i = 0; i < NROW; i++) {		addr.laddr = scadd + (long)(NCOL * i * 2);		scptr[i] = addr.paddr;	}	return(TRUE);}/* getboard:	Determine which type of display board is attached.		Current known types include:		CDMONO	Monochrome graphics adapter		CDCGA	Color Graphics Adapter*//* getbaord:	Detect the current display adapter		if MONO		set to MONO		   CGA		set to CGA*/static int getboard(){	int type;	/* board type to return */	type = CDCGA;	int86(0x11, &rg, &rg);	if ((((rg.x.ax >> 4) & 3) == 3))		type = CDMONO;        return(type);}static int pc_getc(){   int intrpt = 22;                  /* ROM-BIOS call for keyboard read */   rg.h.al = 0;                  /* Clear input registers   */   rg.h.ah = 0;                  /* and set service to read */   int86(intrpt, &rg, &rg);   if(rg.h.al != 0)            /* If low byte is not clear */     return(rg.h.al);          /* then return value        */   else {                           /* else,                    */     switch(rg.h.ah) {         /* check hi byte for code   */       case  3 :                return(COTL_AT_SIGN);       case 71 :                return(HOME_KEY);       case 72 :                return(UP_ARROW);       case 73 :                return(PGUP_KEY);       case 75 :                return(LEFT_ARROW);       case 77 :                return(RIGHT_ARROW);       case 79 :                return(END_KEY);       case 80 :                return(DOWN_ARROW);       case 81 :                return(PGDN_KEY);       case 115 :                return(COTL_LEFT_ARROW);       case 116 :                return(COTL_RIGHT_ARROW);       default :			 return(BADKEY);       }   }}static void pc_putc(int c){	rg.h.ah = 14;		/* write char to screen with current attrs */	rg.h.al = (unsigned char) c;        rg.h.bh = 0;	rg.h.bl = 0x07;	int86(0x10, &rg, &rg);}static void pc_move(int row,int col){	rg.h.ah = 2;		/* set cursor position function code */	rg.h.dl = (unsigned char) col;	rg.h.dh = (unsigned char) row;	rg.h.bh = 0;		/* set screen page number */	int86(0x10, &rg, &rg);}static void pc_eeol(){	unsigned int attr;	/* attribute byte mask to place in RAM */	unsigned int *lnptr;	/* pointer to the destination line */	int i;	int ccol;	/* current column cursor lives */	int crow;	/*	   row	*/	/* find the current cursor position */	rg.h.ah = 3;		/* read cursor position function code */	rg.h.bh = 0;		/* current video page */	int86(0x10, &rg, &rg);	ccol = rg.h.dl;		/* record current column */	crow = rg.h.dh;		/* and row */	/* build the attribute byte and setup the screen pointer */	attr = 0x0700;	lnptr = &sline[0];	for (i=0; i < term.t_ncol; i++)		*lnptr++ = SPACE | attr;	if (dtype == CDCGA) {		/* wait for vertical retrace to be off */		while ((inp(0x3da) & 8))			;			/* and to be back on */		while ((inp(0x3da) & 8) == 0)			;	}				/* and send the string out */	memmove(scptr[crow]+ccol, &sline[0], (term.t_ncol-ccol)*2);}static void pc_eeop(){	int attr;		/* attribute to fill screen with */	rg.h.ah = 6;		/* scroll page up function code */	rg.h.al = 0;		/* # lines to scroll (clear it) */	rg.x.cx = 0;		/* upper left corner of scroll */	rg.x.dx = (term.t_nrow << 8) | (term.t_ncol - 1);				/* lower right corner of scroll */	attr = 0x07;	rg.h.bh = (unsigned char) attr;	int86(0x10, &rg, &rg);}static void pc_beep(){        pc_putc(BEL);        ttflush();}#endif#endif/* ========================================================================== *                         Termcap Terminal * ========================================================================== */#if TERMCAP/* * The routines in this section provide support for terminals supported * through the UNIX termcap capability. * * You need to include the termcap library at link time * or else most of the calls to t____ functions don't work */#define NROW    24#define NCOL    80#define BEL     0x07#define ESC     0x1B#define TCAPSLEN 315static char tcapbuf[TCAPSLEN];static char    /*PC,*/        *CM,        *CE,        /* *UP, */        *CD;globle TERM term = {        NROW-1,        NCOL,        tcapopen,        ttclose,        ttgetc,        ttputc,        ttflush,        tcapmove,        tcapeeol,        tcapeeop,        tcapbeep};static void tcapopen(){        char *t, *p;        char tcbuf[1024];        char *tv_stype;        char err_str[72];        if ((tv_stype = getenv("TERM")) == NULL)        {                puts("Environment variable TERM not defined!");                exit(1);        }        if((tgetent(tcbuf, tv_stype)) != 1)        {                gensprintf(err_str, "Unknown terminal type %s!", tv_stype);                puts(err_str);                exit(1);        }        p = tcapbuf;        t = tgetstr("pc", &p);        if(t)                PC = *t;        CD = tgetstr("cd", &p);        CM = tgetstr("cm", &p);        CE = tgetstr("ce", &p);        UP = tgetstr("up", &p);        if(CD == NULL || CM == NULL || CE == NULL || UP == NULL)        {                puts("Incomplete termcap entry\n");                exit(1);        }        if (p >= &tcapbuf[TCAPSLEN])        {                puts("Terminal description too big!\n");                exit(1);        }        ttopen();}static void tcapmove(  int row,   int col){        putpad(tgoto(CM, col, row));}static void tcapeeol(){        putpad(CE);}static void tcapeeop(){        putpad(CD);}static void tcapbeep(){        ttputc(BEL);}static void putpad(   char *str){        tputs(str, 1, (int (*)(int)) ttputc);}#endif#endif          /* end original EMACS_EDITOR definition */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人av在线资源| 亚洲天天做日日做天天谢日日欢| 日韩欧美亚洲另类制服综合在线| 6080午夜不卡| 久久综合九色综合97_久久久| 26uuu精品一区二区在线观看| 日韩一区二区麻豆国产| 精品欧美一区二区在线观看| 久久影视一区二区| 国产精品国产三级国产普通话99| 亚洲另类在线视频| 久草在线在线精品观看| 成人网在线播放| 99久久99久久久精品齐齐| 欧美年轻男男videosbes| 日韩精品一区二区三区四区视频| 久久久久久久久久久电影| 国产精品欧美久久久久无广告| 亚洲精品乱码久久久久久黑人| 五月天久久比比资源色| 韩国女主播一区二区三区| 成人国产精品免费网站| 欧美亚洲国产一区二区三区 | 精品少妇一区二区三区免费观看| 精品成a人在线观看| 中文字幕一区二区三区蜜月| 最新国产成人在线观看| 亚洲精品乱码久久久久久黑人| 日本成人中文字幕在线视频| 国产白丝网站精品污在线入口| 国产女人水真多18毛片18精品视频| 中文字幕不卡在线播放| 亚洲福中文字幕伊人影院| 精品一区免费av| 国产91对白在线观看九色| 欧美怡红院视频| 久久中文字幕电影| 亚洲国产裸拍裸体视频在线观看乱了 | 欧美日韩免费一区二区三区| 久久久久久日产精品| 亚洲高清中文字幕| 国产激情91久久精品导航| 欧美午夜精品久久久久久孕妇| 久久天堂av综合合色蜜桃网 | 99久久婷婷国产综合精品电影| 欧美视频在线播放| 国产亚洲欧洲一区高清在线观看| 亚洲一区二区偷拍精品| 国产一区二区按摩在线观看| 欧美亚洲国产怡红院影院| 中文字幕免费不卡| 亚洲图片欧美一区| 国产aⅴ综合色| 欧美三级韩国三级日本一级| 国产拍揄自揄精品视频麻豆| 亚洲福利视频三区| 成人午夜av影视| 久久青草国产手机看片福利盒子| 亚洲国产一区视频| av在线不卡观看免费观看| 日韩一级片网站| 蜜桃视频一区二区三区在线观看| 一本一道久久a久久精品| 国产视频一区不卡| 免费观看在线色综合| 欧美日韩一级大片网址| 亚洲女同女同女同女同女同69| 国产高清视频一区| 日韩午夜在线观看视频| 亚洲图片欧美综合| 色av综合在线| 亚洲欧美日韩久久| 成人精品免费网站| 久久综合九色综合97婷婷女人| 日本不卡一区二区三区高清视频| 色天使色偷偷av一区二区| 中文字幕中文乱码欧美一区二区 | 成人av电影在线观看| 国产情人综合久久777777| 国产在线精品一区二区不卡了| 日韩毛片视频在线看| 国产一区二区三区高清播放| 日韩一区二区高清| 麻豆精品一区二区综合av| 欧美三级中文字幕在线观看| 亚洲日本护士毛茸茸| 国产成人在线视频免费播放| 久久久久久久久蜜桃| 日韩不卡在线观看日韩不卡视频| 欧美一区日韩一区| 日韩成人午夜电影| 日韩一级片网站| 激情五月婷婷综合网| 欧美xxxxx裸体时装秀| 国产成人免费高清| 国产精品乱人伦| 国精品**一区二区三区在线蜜桃| 精品欧美黑人一区二区三区| 国产在线精品国自产拍免费| 精品噜噜噜噜久久久久久久久试看| 久久99精品视频| 精品国产sm最大网站免费看| 国产一区二区免费在线| 久久亚洲欧美国产精品乐播| 国产精品1区2区3区| 国产偷国产偷精品高清尤物| 成人免费视频播放| 中文字幕在线一区二区三区| 色综合天天综合色综合av| 一区二区三区小说| 欧美精品视频www在线观看| 日韩av不卡在线观看| 精品久久久网站| 国产福利一区二区三区视频 | 国产欧美精品在线观看| 成人99免费视频| 亚洲美女免费视频| 欧美日韩五月天| 精品一区二区三区香蕉蜜桃| 国产亚洲精品久| 欧美视频一区二区三区| 蜜桃久久久久久| 国产欧美日韩麻豆91| 91久久一区二区| 秋霞午夜鲁丝一区二区老狼| 久久综合精品国产一区二区三区 | 国产精品一区在线观看乱码 | 免费成人性网站| 国产农村妇女毛片精品久久麻豆| 91网站在线观看视频| 午夜精品久久久久久久99樱桃| 91精品国产综合久久久久久漫画| 国产精品白丝av| 国产精品亚洲第一| 一区二区三区日韩| 日韩三级精品电影久久久| 91丨porny丨户外露出| 视频一区视频二区中文| 欧美大度的电影原声| 91福利国产成人精品照片| 美女精品一区二区| 亚洲色图视频网站| 欧美成人r级一区二区三区| 国产成人在线观看| 日韩av一级片| 国产精品人成在线观看免费| 日韩欧美综合一区| 色屁屁一区二区| 狠狠狠色丁香婷婷综合久久五月| 亚洲超丰满肉感bbw| 中文成人av在线| 色婷婷av一区| 国产精品亚洲第一 | 欧美一级高清大全免费观看| 成人手机在线视频| 麻豆一区二区在线| 亚洲另类在线视频| 国产欧美综合色| 欧美一区二区三区的| 色哟哟日韩精品| 粉嫩av亚洲一区二区图片| 日韩影院在线观看| 亚洲伦理在线免费看| 26uuu欧美| 欧美精品v国产精品v日韩精品 | 青青草97国产精品免费观看无弹窗版| 中文一区二区在线观看| 欧美一区二区日韩一区二区| 91捆绑美女网站| 国产成人一区在线| 日韩avvvv在线播放| 亚洲综合男人的天堂| 国产精品欧美久久久久无广告| 欧美成人一区二区三区| 欧美日韩美少妇| 欧美日韩三级视频| 欧美日韩免费电影| 欧美精品乱人伦久久久久久| 99久久久国产精品免费蜜臀| 91在线免费看| 成人动漫精品一区二区| 成人aa视频在线观看| 99久久综合色| 色av综合在线| 欧美伊人久久大香线蕉综合69| 91在线播放网址| 欧美在线三级电影| 精品视频一区二区三区免费| 欧美美女视频在线观看| 欧美久久久久久蜜桃| 日韩视频永久免费| 久久久久久久电影| 国产精品久久久久一区二区三区共| 中文字幕巨乱亚洲| 亚洲日本成人在线观看| 一区二区三区波多野结衣在线观看| 亚洲精品视频一区| 国产91丝袜在线播放九色| 国产麻豆精品theporn| 国产很黄免费观看久久|