ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/command.C
(Generate patch)

Comparing rxvt-unicode/src/command.C (file contents):
Revision 1.229 by root, Tue Jan 3 17:34:44 2006 UTC vs.
Revision 1.233 by root, Wed Jan 4 01:16:34 2006 UTC

50#include "rxvtperl.h" 50#include "rxvtperl.h"
51#include "version.h" 51#include "version.h"
52#include "command.h" 52#include "command.h"
53 53
54#if HAVE_SCHED_YIELD 54#if HAVE_SCHED_YIELD
55#undef HAVE_SCHED_YIELD // disabled for the time being
55# include <sched.h> 56//# include <sched.h>
56#endif 57#endif
57 58
58#ifdef KEYSYM_RESOURCE 59#ifdef KEYSYM_RESOURCE
59# include "keyboard.h" 60# include "keyboard.h"
60#endif 61#endif
1095{ 1096{
1096 ssize_t n = cmdbuf_endp - cmdbuf_ptr; 1097 ssize_t n = cmdbuf_endp - cmdbuf_ptr;
1097 1098
1098 if (CBUFSIZ == n) 1099 if (CBUFSIZ == n)
1099 { 1100 {
1100 rxvt_warn ("pty_fill on full buffer, draining input, continuing.\n"); 1101 rxvt_warn ("PLEASE REPORT: pty_fill on full buffer, draining input, continuing.\n");
1101 n = 0; 1102 n = 0;
1102 } 1103 }
1103 1104
1104 memmove (cmdbuf_base, cmdbuf_ptr, n); 1105 memmove (cmdbuf_base, cmdbuf_ptr, n);
1105 cmdbuf_ptr = cmdbuf_base; 1106 cmdbuf_ptr = cmdbuf_base;
3961 } 3962 }
3962 break; 3963 break;
3963 3964
3964 case URxvt_view_up: 3965 case URxvt_view_up:
3965 case URxvt_view_down: 3966 case URxvt_view_down:
3967 {
3966 int lines = atoi (str); 3968 int lines = atoi (str);
3967 3969
3968 if (lines) 3970 if (lines)
3969 scr_page (op == URxvt_view_up ? UP : DN, lines); 3971 scr_page (op == URxvt_view_up ? UP : DN, lines);
3970 else 3972 else
3971 {
3972 scr_erase_savelines (); 3973 scr_erase_savelines ();
3973 } 3974 }
3974 3975
3976 break;
3977#endif
3978
3979#if ENABLE_PERL
3980 case URxvt_perl:
3981 if (PERL_INVOKE ((this, HOOK_OSC_SEQ, DT_STRING, str, DT_END)))
3982 ; // no responses yet
3975 break; 3983 break;
3976#endif 3984#endif
3977 } 3985 }
3978} 3986}
3979/*----------------------------------------------------------------------*/ 3987/*----------------------------------------------------------------------*/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines