home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 310.lha / PDAux / NewChanges < prev    next >
Text File  |  1980-12-09  |  3KB  |  92 lines

  1. Article 4582 of comp.sys.amiga:
  2. Path: mcdsun!noao!hao!gatech!rutgers!sri-spam!ames!ucbcad!ucbvax!decvax!decwrl!cgfsv1.dec.com!drew
  3. From: drew@cgfsv1.dec.com (Steve Drew)
  4. Newsgroups: comp.sys.amiga
  5. Subject: Notes on AUX: handler, Emacs.
  6. Message-ID: <9846@decwrl.DEC.COM>
  7. Date: 13 May 87 00:08:09 GMT
  8. Sender: daemon@decwrl.DEC.COM
  9. Organization: Digital Equipment Corporation
  10. Lines: 78
  11.  
  12. Heres a couple of notes for those with manx 3.4a in regards to
  13. my aux-handler:
  14.  
  15.  
  16. Making AUX HANDLER shrink from 5736 bytes to approx 4450 bytes:
  17. ---------------------------------------------------------------
  18.  
  19. One thing I meant to do before posting my Aux-handler was to remove
  20. the Large Code/Date switches. I had compiled this way while debugging just
  21. to play it safe. Anyway I tried it now with-out +C +D and the executable
  22. shrinks from 5736 bytes to 4344 bytes. (Link with c32.lib instead of cl32.lib)
  23. (This is all with manx 3.4a.)
  24.  
  25. Small (minor) Bug fix:
  26. ----------------------
  27.  
  28. Problem: Handler eats up ^C in RAW mode when it should'nt.
  29.  
  30. Fix: add the line in read_ser() that's indicated below:
  31.  
  32.     if (c == 3) {       /* ^C typed so immediately send the signal */
  33. ==>     if (!(aux_stat & AUX_RAW))
  34.         c = 0;
  35.         if (reader)
  36.             Signal(reader,SIGBREAKF_CTRL_C);
  37.     }
  38.  
  39.  
  40. PATCH TO MAKE MicroEmacs 3.x run through AUX:
  41. ---------------------------------------------
  42.  
  43. (This was even easier than I thought it would be!)
  44.  
  45. Just add the indicated lines below (=>) to the 'termio.c' module and
  46. recompile.
  47. What it does: When invoked emacs will now only open a RAW window if 'Run',
  48. if you just invoke emacs eg: '1> emacs file' from it will change the console
  49. to RAW mode and use that. Since my aux-handler supports RAW mode it works
  50. the same way to a ansi (vt100) style terminal.
  51.  
  52. ttopen()
  53. {
  54. #if     AMIGA
  55.  
  56. =>    extern int Enable_Abort;
  57. =>    
  58. =>    Enable_Abort = 0;
  59. =>    if (IsInteractive(Input()) && IsInteractive(Output())) {
  60. =>        terminal = (long)Output();
  61. =>        set_raw();
  62. =>    }
  63. =>    else    
  64.  
  65.             terminal = Open("RAW:0/0/640/200/MicroEMACS 3.8b", NEW);
  66. #endif
  67.  
  68.  
  69. ttclose()
  70. {
  71. #if     AMIGA
  72.         amg_flush();
  73.  
  74. =>        if (Output() != terminal) 
  75.          Close(terminal);
  76. =>        else
  77. =>            set_con();
  78.  
  79. #endif
  80.  
  81. Ok, so now we can dail up, use shell, emacs a file, compile it, hummm... 
  82. all we need now it a mini kermit server. (And a hard drive, sniff)
  83.  
  84. /Steve.
  85. ============================================================================
  86.         Steve Drew at    ENET:    CGFSV1::DREW
  87.                 ARPA:    drew%cfgsv1.dec.com@decwrl.dec.com
  88.                 USENET:  {decvax!decwrl}!cgfsv1.dec.com!drew    
  89. ============================================================================
  90.  
  91.  
  92.