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

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

?? display.c

?? 基于的linux的oracle sqlplus替代工具
?? C
?? 第 1 頁 / 共 5 頁
字號:
	  /* Since _rl_backspace() doesn't know about invisible characters in the	     prompt, and there's no good way to tell it, we compensate for	     those characters here and call _rl_backspace() directly. */	  if (wrap_offset && cursor_linenum == 0 && nleft < _rl_last_c_pos)	    {	      _rl_backspace (_rl_last_c_pos - nleft);	      if (MB_CUR_MAX > 1 && rl_byte_oriented == 0)		_rl_last_c_pos = _rl_col_width (&visible_line[pos], 0, nleft);	      else		_rl_last_c_pos = nleft;	    }	  if (MB_CUR_MAX > 1 && rl_byte_oriented == 0)	    _rl_move_cursor_relative (nleft, &invisible_line[pos]);	  else if (nleft != _rl_last_c_pos)	    _rl_move_cursor_relative (nleft, &invisible_line[pos]);	}    }  else				/* Do horizontal scrolling. */    {#define M_OFFSET(margin, offset) ((margin) == 0 ? offset : 0)      int lmargin, ndisp, nleft, phys_c_pos, t;      /* Always at top line. */      _rl_last_v_pos = 0;      /* Compute where in the buffer the displayed line should start.  This	 will be LMARGIN. */      /* The number of characters that will be displayed before the cursor. */      ndisp = c_pos - wrap_offset;      nleft  = prompt_visible_length + wrap_offset;      /* Where the new cursor position will be on the screen.  This can be	 longer than SCREENWIDTH; if it is, lmargin will be adjusted. */      phys_c_pos = c_pos - (last_lmargin ? last_lmargin : wrap_offset);      t = _rl_screenwidth / 3;      /* If the number of characters had already exceeded the screenwidth,	 last_lmargin will be > 0. */      /* If the number of characters to be displayed is more than the screen	 width, compute the starting offset so that the cursor is about	 two-thirds of the way across the screen. */      if (phys_c_pos > _rl_screenwidth - 2)	{	  lmargin = c_pos - (2 * t);	  if (lmargin < 0)	    lmargin = 0;	  /* If the left margin would be in the middle of a prompt with	     invisible characters, don't display the prompt at all. */	  if (wrap_offset && lmargin > 0 && lmargin < nleft)	    lmargin = nleft;	}      else if (ndisp < _rl_screenwidth - 2)		/* XXX - was -1 */	lmargin = 0;      else if (phys_c_pos < 1)	{	  /* If we are moving back towards the beginning of the line and	     the last margin is no longer correct, compute a new one. */	  lmargin = ((c_pos - 1) / t) * t;	/* XXX */	  if (wrap_offset && lmargin > 0 && lmargin < nleft)	    lmargin = nleft;	}      else	lmargin = last_lmargin;      /* If the first character on the screen isn't the first character	 in the display line, indicate this with a special character. */      if (lmargin > 0)	line[lmargin] = '<';      /* If SCREENWIDTH characters starting at LMARGIN do not encompass	 the whole line, indicate that with a special character at the	 right edge of the screen.  If LMARGIN is 0, we need to take the	 wrap offset into account. */      t = lmargin + M_OFFSET (lmargin, wrap_offset) + _rl_screenwidth;      if (t < out)	line[t - 1] = '>';      if (!rl_display_fixed || forced_display || lmargin != last_lmargin)	{	  forced_display = 0;	  update_line (&visible_line[last_lmargin],		       &invisible_line[lmargin],		       0,		       _rl_screenwidth + visible_wrap_offset,		       _rl_screenwidth + (lmargin ? 0 : wrap_offset),		       0);	  /* If the visible new line is shorter than the old, but the number	     of invisible characters is greater, and we are at the end of	     the new line, we need to clear to eol. */	  t = _rl_last_c_pos - M_OFFSET (lmargin, wrap_offset);	  if ((M_OFFSET (lmargin, wrap_offset) > visible_wrap_offset) &&	      (_rl_last_c_pos == out) &&	      t < visible_first_line_len)	    {	      nleft = _rl_screenwidth - t;	      _rl_clear_to_eol (nleft);	    }	  visible_first_line_len = out - lmargin - M_OFFSET (lmargin, wrap_offset);	  if (visible_first_line_len > _rl_screenwidth)	    visible_first_line_len = _rl_screenwidth;	  _rl_move_cursor_relative (c_pos - lmargin, &invisible_line[lmargin]);	  last_lmargin = lmargin;	}    }  fflush (rl_outstream);  /* Swap visible and non-visible lines. */  {    char *vtemp = visible_line;    int *itemp = vis_lbreaks, ntemp = vis_lbsize;    visible_line = invisible_line;    invisible_line = vtemp;    vis_lbreaks = inv_lbreaks;    inv_lbreaks = itemp;    vis_lbsize = inv_lbsize;    inv_lbsize = ntemp;    rl_display_fixed = 0;    /* If we are displaying on a single line, and last_lmargin is > 0, we       are not displaying any invisible characters, so set visible_wrap_offset       to 0. */    if (_rl_horizontal_scroll_mode && last_lmargin)      visible_wrap_offset = 0;    else      visible_wrap_offset = wrap_offset;  }}/* PWP: update_line() is based on finding the middle difference of each   line on the screen; vis:			     /old first difference	/beginning of line   |	      /old last same       /old EOL	v		     v	      v		    vold:	eddie> Oh, my little gruntle-buggy is to me, as lurgid asnew:	eddie> Oh, my little buggy says to me, as lurgid as	^		     ^	^			   ^	\beginning of line   |	\new last same	   \new end of line			     \new first difference   All are character pointers for the sake of speed.  Special cases for   no differences, as well as for end of line additions must be handled.   Could be made even smarter, but this works well enough */static voidupdate_line (old, new, current_line, omax, nmax, inv_botlin)     register char *old, *new;     int current_line, omax, nmax, inv_botlin;{  register char *ofd, *ols, *oe, *nfd, *nls, *ne;  int temp, lendiff, wsatend, od, nd;  int current_invis_chars;  int col_lendiff, col_temp;#if defined (HANDLE_MULTIBYTE)  mbstate_t ps_new, ps_old;  int new_offset, old_offset, tmp;#endif  /* If we're at the right edge of a terminal that supports xn, we're     ready to wrap around, so do so.  This fixes problems with knowing     the exact cursor position and cut-and-paste with certain terminal     emulators.  In this calculation, TEMP is the physical screen     position of the cursor. */  temp = _rl_last_c_pos - W_OFFSET(_rl_last_v_pos, visible_wrap_offset);  if (temp == _rl_screenwidth && _rl_term_autowrap && !_rl_horizontal_scroll_mode	&& _rl_last_v_pos == current_line - 1)    {#if defined (HANDLE_MULTIBYTE)      if (MB_CUR_MAX > 1 && rl_byte_oriented == 0)	{	  wchar_t wc;	  mbstate_t ps;	  int tempwidth, bytes;	  size_t ret;	  /* This fixes only double-column characters, but if the wrapped	     character comsumes more than three columns, spaces will be	     inserted in the string buffer. */	  if (_rl_wrapped_line[current_line] > 0)	    _rl_clear_to_eol (_rl_wrapped_line[current_line]);	  memset (&ps, 0, sizeof (mbstate_t));	  ret = mbrtowc (&wc, new, MB_CUR_MAX, &ps);	  if (ret == (size_t)-1 || ret == (size_t)-2)	    {	      tempwidth = 1;	      ret = 1;	    }	  else if (ret == 0)	    tempwidth = 0;	  else	    tempwidth = wcwidth (wc);	  if (tempwidth > 0)	    {	      int count;	      bytes = ret;	      for (count = 0; count < bytes; count++)		putc (new[count], rl_outstream);	      _rl_last_c_pos = tempwidth;	      _rl_last_v_pos++;	      memset (&ps, 0, sizeof (mbstate_t));	      ret = mbrtowc (&wc, old, MB_CUR_MAX, &ps);	      if (ret != 0 && bytes != 0)		{		  if (ret == (size_t)-1 || ret == (size_t)-2)		    memmove (old+bytes, old+1, strlen (old+1));		  else		    memmove (old+bytes, old+ret, strlen (old+ret));		  memcpy (old, new, bytes);		}	    }	  else	    {	      putc (' ', rl_outstream);	      _rl_last_c_pos = 1;	      _rl_last_v_pos++;	      if (old[0] && new[0])		old[0] = new[0];	    }	}      else#endif	{	  if (new[0])	    putc (new[0], rl_outstream);	  else	    putc (' ', rl_outstream);	  _rl_last_c_pos = 1;		/* XXX */	  _rl_last_v_pos++;	  if (old[0] && new[0])	    old[0] = new[0];	}    }        /* Find first difference. */#if defined (HANDLE_MULTIBYTE)  if (MB_CUR_MAX > 1 && rl_byte_oriented == 0)    {      memset (&ps_new, 0, sizeof(mbstate_t));      memset (&ps_old, 0, sizeof(mbstate_t));      new_offset = old_offset = 0;      for (ofd = old, nfd = new;	   (ofd - old < omax) && *ofd &&	     _rl_compare_chars(old, old_offset, &ps_old, new, new_offset, &ps_new); )	{	  old_offset = _rl_find_next_mbchar (old, old_offset, 1, MB_FIND_ANY);	  new_offset = _rl_find_next_mbchar (new, new_offset, 1, MB_FIND_ANY);	  ofd = old + old_offset;	  nfd = new + new_offset;	}    }  else#endif  for (ofd = old, nfd = new;       (ofd - old < omax) && *ofd && (*ofd == *nfd);       ofd++, nfd++)    ;  /* Move to the end of the screen line.  ND and OD are used to keep track     of the distance between ne and new and oe and old, respectively, to     move a subtraction out of each loop. */  for (od = ofd - old, oe = ofd; od < omax && *oe; oe++, od++);  for (nd = nfd - new, ne = nfd; nd < nmax && *ne; ne++, nd++);  /* If no difference, continue to next line. */  if (ofd == oe && nfd == ne)    return;  wsatend = 1;			/* flag for trailing whitespace */#if defined (HANDLE_MULTIBYTE)  if (MB_CUR_MAX > 1 && rl_byte_oriented == 0)    {      ols = old + _rl_find_prev_mbchar (old, oe - old, MB_FIND_ANY);      nls = new + _rl_find_prev_mbchar (new, ne - new, MB_FIND_ANY);      while ((ols > ofd) && (nls > nfd))	{	  memset (&ps_old, 0, sizeof (mbstate_t));	  memset (&ps_new, 0, sizeof (mbstate_t));	  _rl_adjust_point (old, ols - old, &ps_old);	  _rl_adjust_point (new, nls - new, &ps_new);	  if (_rl_compare_chars (old, ols - old, &ps_old, new, nls - new, &ps_new) == 0)	    break;	  if (*ols == ' ')	    wsatend = 0;	  ols = old + _rl_find_prev_mbchar (old, ols - old, MB_FIND_ANY);	  nls = new + _rl_find_prev_mbchar (new, nls - new, MB_FIND_ANY);	}    }  else    {#endif /* HANDLE_MULTIBYTE */  ols = oe - 1;			/* find last same */  nls = ne - 1;  while ((ols > ofd) && (nls > nfd) && (*ols == *nls))    {      if (*ols != ' ')	wsatend = 0;      ols--;      nls--;    }#if defined (HANDLE_MULTIBYTE)    }#endif  if (wsatend)    {      ols = oe;      nls = ne;    }#if defined (HANDLE_MULTIBYTE)  /* This may not work for stateful encoding, but who cares?  To handle     stateful encoding properly, we have to scan each string from the     beginning and compare. */  else if (_rl_compare_chars (ols, 0, NULL, nls, 0, NULL) == 0)#else  else if (*ols != *nls)#endif    {      if (*ols)			/* don't step past the NUL */	{	  if (MB_CUR_MAX > 1 && rl_byte_oriented == 0)	    ols = old + _rl_find_next_mbchar (old, ols - old, 1, MB_FIND_ANY);	  else	    ols++;	}      if (*nls)	{	  if (MB_CUR_MAX > 1 && rl_byte_oriented == 0)	    nls = new + _rl_find_next_mbchar (new, nls - new, 1, MB_FIND_ANY);	  else	    nls++;	}    }  /* count of invisible characters in the current invisible line. */  current_invis_chars = W_OFFSET (current_line, wrap_offset);  if (_rl_last_v_pos != current_line)    {      _rl_move_vert (current_line);      if (current_line == 0 && visible_wrap_offset)	_rl_last_c_pos += visible_wrap_offset;    }  /* If this is the first line and there are invisible characters in the     prompt string, and the prompt string has not changed, and the current     cursor position is before the last invisible character in the prompt,     and the index of the character to move to is past the end of the prompt     string, then redraw the entire prompt string.  We can only do this     reliably if the terminal supports a `cr' capability.     This is not an efficiency hack -- there is a problem with redrawing     portions of the prompt string if they contain terminal escape     sequences (like drawing the `unbold' sequence without a corresponding     `bold') that manifests itself on certain terminals. */  lendiff = local_prompt ? strlen (local_prompt) : 0;  od = ofd - old;	/* index of first difference in visible line */  if (current_line == 0 && !_rl_horizontal_scroll_mode &&      _rl_term_cr && lendiff > prompt_visible_length && _rl_last_c_pos > 0 &&      od >= lendiff && _rl_last_c_pos <= prompt_last_invisible)    {#if defined (__MSDOS__)      putc ('\r', rl_outstream);#else      tputs (_rl_term_cr, 1, _rl_output_character_function);#endif      _rl_output_some_chars (local_prompt, lendiff);      if (MB_CUR_MAX > 1 && rl_byte_oriented == 0)	_rl_last_c_pos = _rl_col_width (local_prompt, 0, lendiff);      else	_rl_last_c_pos = lendiff;    }  _rl_move_cursor_relative (od, old);  /* if (len (new) > len (old))     lendiff == difference in buffer     col_lendiff == difference on screen     When not using multibyte characters, these are equal */  lendiff = (nls - nfd) - (ols - ofd);  if (MB_CUR_MAX > 1 && rl_byte_oriented == 0)    col_lendiff = _rl_col_width (new, nfd - new, nls - new) - _rl_col_width (old, ofd - old, ols - old);  else    col_lendiff = lendiff;  /* If we are changing the number of invisible characters in a line, and     the spot of first difference is before the end of the invisible chars,     lendiff needs to be adjusted. */  if (current_line == 0 && !_rl_horizontal_scroll_mode &&      current_invis_chars != visible_wrap_offset)    {      if (MB_CUR_MAX > 1 && rl_byte_oriented == 0)	{	  lendiff += visible_wrap_offset - current_invis_chars;	  col_lendiff += visible_wrap_offset - current_invis_chars;	}      else	{	  lendiff += visible_wrap_offset - current_invis_chars;	  col_lendiff = lendiff;	}    }  /* Insert (diff (len (old), len (new)) ch. */  temp = ne - nfd;  if (MB_CUR_MAX > 1 && rl_byte_oriented == 0)    col_temp = _rl_col_width (new, nfd - new, ne - new);  else    col_temp = temp;  if (col_lendiff > 0)	/* XXX - was lendiff */    {      /* Non-zero if we're increasing the number of lines. */      int gl = current_line >= _rl_vis_botlin && inv_botlin > _rl_vis_botlin;      /* Sometimes it is cheaper to print the characters rather than	 use the terminal's capabilities.  If we're growing the number	 of lines, make sure we actually cause the new line to wrap	 around on auto-wrapping terminals. */      if (_rl_terminal_can_insert && ((2 * col_temp) >= col_lendiff || _rl_term_IC) && (!_rl_term_autowrap || !gl))	{	  /* If lendiff > prompt_visible_length and _rl_last_c_pos == 0 and	     _rl_horizontal_scroll_mode == 1, inserting the characters with	     _rl_term_IC or _rl_term_ic will screw up the screen because of the	     invisible characters.  We need to just draw them. */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美体内she精高潮| 在线91免费看| 国产+成+人+亚洲欧洲自线| 麻豆精品视频在线| 免费成人在线播放| 久久国产剧场电影| 国产酒店精品激情| 国产1区2区3区精品美女| www.亚洲在线| 91黄色免费网站| 在线精品观看国产| 欧美剧情片在线观看| 91精品在线观看入口| 日韩欧美激情四射| 久久久精品欧美丰满| 国产精品入口麻豆九色| 亚洲人成人一区二区在线观看| 亚洲激情网站免费观看| 亚洲午夜羞羞片| 蜜桃久久精品一区二区| 国产一区二区调教| 99热这里都是精品| 欧美视频一区二区三区在线观看| 欧美影院一区二区三区| 制服丝袜中文字幕一区| 精品区一区二区| 中文字幕av不卡| 亚洲一区二区三区视频在线| 午夜影视日本亚洲欧洲精品| 日韩精品亚洲专区| 国内精品视频666| 成人av网址在线| 欧美亚洲高清一区二区三区不卡| 欧美精品 日韩| 国产欧美精品一区| 亚洲亚洲人成综合网络| 久久99精品国产| 不卡的av在线| 欧美一区二区在线看| 国产片一区二区| 亚洲午夜久久久久久久久久久| 老汉av免费一区二区三区| 成a人片亚洲日本久久| 欧美日韩在线播放| 国产亚洲欧美色| 亚洲午夜在线观看视频在线| 激情偷乱视频一区二区三区| 91免费小视频| 精品免费一区二区三区| 一区二区三区四区不卡在线| 激情伊人五月天久久综合| 91国产丝袜在线播放| 精品区一区二区| 亚洲午夜一区二区| 波多野结衣视频一区| 日韩欧美在线影院| 亚洲一卡二卡三卡四卡五卡| 国产高清精品网站| 91精品国产福利| 亚洲三级视频在线观看| 国产一区二区三区在线观看精品| 精品视频色一区| 国产精品网站一区| 激情久久久久久久久久久久久久久久| 一本色道亚洲精品aⅴ| 久久蜜臀精品av| 日本亚洲免费观看| 欧亚一区二区三区| 欧美国产精品劲爆| 麻豆国产一区二区| 欧美日本精品一区二区三区| 中文字幕永久在线不卡| 国产精品综合av一区二区国产馆| 欧美人妇做爰xxxⅹ性高电影| 国产精品狼人久久影院观看方式| 免费人成黄页网站在线一区二区| 在线观看亚洲a| 国产精品久久久久三级| 国产一区二区三区黄视频 | 国产日产欧产精品推荐色 | 成人av电影在线播放| 久久婷婷色综合| 日日摸夜夜添夜夜添亚洲女人| 色婷婷综合久久久久中文| 欧美高清在线精品一区| 国产真实乱子伦精品视频| 91精品国产综合久久精品| 亚洲国产日日夜夜| 91日韩精品一区| 亚洲视频免费观看| 99这里只有久久精品视频| 国产午夜精品理论片a级大结局 | 成人在线视频一区| 日韩欧美国产综合一区| 日本网站在线观看一区二区三区| 欧美三区在线视频| 亚洲图片欧美综合| 精品视频免费在线| 亚洲亚洲精品在线观看| 欧美中文字幕不卡| 亚洲精品国产无天堂网2021| 91亚洲资源网| **欧美大码日韩| 99久久国产综合精品色伊| 国产精品久久久久久久久晋中| 国产成人精品免费网站| 国产精品热久久久久夜色精品三区| 国产黄色91视频| 国产日韩欧美高清在线| 成人一级视频在线观看| 亚洲欧洲99久久| 91片在线免费观看| 亚洲国产精品一区二区久久 | 久久久久久电影| 国产电影精品久久禁18| 国产欧美精品日韩区二区麻豆天美| 色婷婷亚洲综合| 亚洲精品乱码久久久久久 | 26uuu国产在线精品一区二区| 麻豆成人免费电影| 亚洲精品在线电影| 成人性视频免费网站| 成人免费在线视频观看| 在线免费不卡视频| 秋霞成人午夜伦在线观看| 久久综合色8888| 色综合天天性综合| 香蕉影视欧美成人| 精品国产乱码久久久久久老虎 | 91久久精品一区二区| 午夜久久福利影院| 精品999在线播放| 成人精品国产一区二区4080| 亚洲女人的天堂| 日韩视频中午一区| 波多野结衣中文一区| 亚洲一区二区三区在线看| 欧美tickling挠脚心丨vk| 成人免费视频国产在线观看| 一区二区三区免费在线观看| 日韩久久免费av| 99久久精品一区| 久久精品国产亚洲5555| 136国产福利精品导航| 制服丝袜国产精品| 本田岬高潮一区二区三区| 日本免费新一区视频| 国产精品久久久久影院老司 | 国产色产综合产在线视频| 91美女精品福利| 精品一区二区三区免费播放| 中文字幕一区av| 精品美女在线观看| 91女人视频在线观看| 精品午夜久久福利影院| 亚洲精品国产无套在线观| 日韩欧美区一区二| 在线亚洲一区观看| 国产一区二区三区四区五区入口| 亚洲一区自拍偷拍| 国产日韩欧美制服另类| 欧美日本免费一区二区三区| proumb性欧美在线观看| 久久国产欧美日韩精品| 亚洲影视在线播放| 中文字幕制服丝袜成人av| 精品日韩在线观看| 欧美日韩一区二区欧美激情| av电影在线观看完整版一区二区| 欧美丰满美乳xxx高潮www| 国产成人av一区二区三区在线| 亚洲九九爱视频| 久久久久亚洲蜜桃| 777精品伊人久久久久大香线蕉| 成人免费视频播放| 国产一区二区网址| 91久久精品国产91性色tv | 精品一区二区三区在线观看| 国产欧美一区二区精品性色超碰 | 婷婷综合久久一区二区三区| 成人国产一区二区三区精品| 国产蜜臀97一区二区三区 | 26uuu久久综合| 国产福利精品一区二区| 国产视频不卡一区| 国模套图日韩精品一区二区| 国产欧美一区二区三区沐欲| 成人v精品蜜桃久久一区| 国产精品久久三区| 一本一道久久a久久精品| 日韩毛片高清在线播放| 成人小视频在线观看| 久久精品亚洲精品国产欧美kt∨ | 99精品视频在线播放观看| 99亚偷拍自图区亚洲| 久久久久国产精品厨房| 国产成人av一区二区三区在线| 蜜臀av国产精品久久久久| 蜜臀av一区二区| 麻豆91精品91久久久的内涵|