/[qemacs]/qemacs/shell.c
ViewVC logotype

Diff of /qemacs/shell.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16 by chqrlie, Wed Jun 1 23:49:30 2005 UTC revision 1.17 by chqrlie, Fri Jul 8 09:30:44 2005 UTC
# Line 319  static void tty_init(ShellState *s) Line 319  static void tty_init(ShellState *s)
319      }      }
320  }  }
321    
322  static void tty_write(ShellState *s, const unsigned char *buf, int len)  static void tty_write(ShellState *s, const char *buf, int len)
323  {  {
324      int ret;      int ret;
325    
# Line 509  void shell_key(void *opaque, int key) Line 509  void shell_key(void *opaque, int key)
509  static void tty_emulate(ShellState *s, int c)  static void tty_emulate(ShellState *s, int c)
510  {  {
511      int i, offset, offset1, offset2, n;      int i, offset, offset1, offset2, n;
512      unsigned char buf1[10];      char buf1[10];
513            
514  #define ESC2(c1,c2)  (((c1)<<8)|((unsigned char)c2))  #define ESC2(c1,c2)  (((c1)<<8)|((unsigned char)c2))
515      /* some bytes are state independent */      /* some bytes are state independent */
# Line 1120  void shell_move_eol(EditState *e) Line 1120  void shell_move_eol(EditState *e)
1120    
1121  void shell_write_char(EditState *e, int c)  void shell_write_char(EditState *e, int c)
1122  {  {
1123      unsigned char ch;      char ch;
1124    
1125      if (e->interactive) {      if (e->interactive) {
1126          ShellState *s = e->b->priv_data;          ShellState *s = e->b->priv_data;

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26