(linenum→info "unix/slp.c:2238")

emacs/22.1/src/ChangeLog.1

    1: 1986-05-18  Richard M. Stallman  (rms@prep)
    2: 
    3:         * alloc.c (malloc_warning_1): Add some advice on
    4:         the significance of the warning.
    5: 
    6: 1986-05-09  Richard M. Stallman  (rms@prep)
    7: 
    8:         * sysdep.c (get_screen_size):
    9:         Reject values of TIOCGSIZE if they are ridiculous.
   10: 
   11: 1986-05-05  Richard M. Stallman  (rms@prep)
   12: 
   13:         * process.c (send_process_1):
   14:         If pipe buffer is full, wait a second and try again.
   15: 
   16: 1986-05-02  Richard M. Stallman  (rms@prep)
   17: 
   18:         * termcap.c (tputs): Round rather than truncating
   19:         when dividing padcount.
   20: 
   21: 1986-04-24  Richard M. Stallman  (rms@prep)
   22: 
   23:         * insdel.c (del_range): Args passed to adjust_markers
   24:         are now properly adjusted for the gap.
   25: 
   26: 1986-04-20  Richard M. Stallman  (rms@prep)
   27: 
   28:         * alloca.c: Declare xmalloc.
   29: 
   30: 1986-04-17  Richard M. Stallman  (rms@prep)
   31: 
   32:         * filelock.c (unlock_buffer): New function to unlock
   33:         a specified buffer.  Use in Fdelete_buffer_internal
   34:         to avoid lossage if buffer being killed is not current.
   35: 
   36: 1986-04-14  Richard M. Stallman  (rms@prep)
   37: 
   38:         * alloc.c (malloc_warning, Fgarbage_collect):
   39:         If malloc_warning is called during GC, just save warning
   40:         in malloc_warn_string.  Try again to warn when GC ends.
   41: 
   42: 1986-04-12  Richard M. Stallman  (rms@prep)
   43: 
   44:         * m-celerity.h: Remove spurious effectless #define BSTRINGS.
   45: 
   46: 1986-04-10  Richard M. Stallman  (rms@prep)
   47: 
   48:         * xfns.c (Fx_get_default):
   49:         Avoid doing strlen(value) if value is 0.
   50: 
   51: 1986-04-08  Richard M. Stallman  (rms@prep)
   52: 
   53:         * indent.c (compute_motion):
   54:         Change unsigned short back to short.  unsigned short is plain
   55:         wrong and causes infinite loops when horizontal scrolling is used.
   56:         Introduced macros HPOS and VPOS for extracting components of cpos.
   57:         Alternate HPOS definition for Celerity since casting to (short)
   58:         loses there.
   59: 
   60: 1986-04-07  Richard M. Stallman  (rms@prep)
   61: 
   62:         * dispnew.c (update_screen):
   63:         Don't zero OPhysScreen and DesiredScreen until after
   64:         final error check.  Omit the error check unless debug_end_pos.
   65: 
   66: 1986-04-06  Richard M. Stallman  (rms@prep)
   67: 
   68:         * cm.c (calccost):
   69:         Was returning garbage if arrived at fail: by goto fail;.
   70: 
   71: 1986-03-27  Richard Mlynarik  (mly@prep)
   72: 
   73:         * dispnew.c:
   74:         Typo: `#ifdef defined...' => `#if defined...'
   75: 
   76: 1986-03-26  Richard M. Stallman  (rms@prep)
   77: 
   78:         * doc.c (FSnarf_documentation):
   79:         Appending the arg to the file name must be done
   80:         whether or not CANNOT_DUMP.
   81: 
   82: 1986-03-25  Richard M. Stallman  (rms@prep)
   83: 
   84:         * fileio.c (Fsubstitute_in_file_name):
   85:         // at beginning of filename is meaningful on Apollo.
   86: 
   87:         * keyboard.c (command_loop_1):
   88:         If C_ALLOCA, cause it to garbage collect each time around this loop.
   89: 
   90:         * crt0.c: If NEED_ERRNO defined, declare errno.
   91:         * m-7300.h: New file.
   92: 
   93: 1986-03-25  Richard Mlynarik  (mly@prep)
   94: 
   95:         * alloc.c (Fmake_symbol):
   96:         CHECK_STRING the argument.
   97: 
   98: 1986-03-24  Richard M. Stallman  (rms@prep)
   99: 
  100:         * xfns.c (Fx_proc_mouse_event):
  101:         Use shifts rather than byte addressing to extract from .detail.
  102: 
  103: 1986-03-24  Richard Mlynarik  (mly@prep)
  104: 
  105:         * minibuf.c (do_completion):
  106:         Only funcall predicate if it is non-nil
  107:         Make completion of "nil" in obarrays work.
  108: 
  109: 1986-03-21  Richard M. Stallman  (rms@prep)
  110: 
  111:         * fileio.c (Fsubstitute_in_file_name):
  112:         #if 0 last change (LOGNAME); it makes vax running 5.0 crash.
  113: 
  114: 1986-03-20  Richard M. Stallman  (rms@prep)
  115: 
  116:         * unexec.c (make_hdr): Avoid comparing a_bss field with 0.
  117:         It is unsigned on some machines.  Save sbrk (0) in tem.
  118: 
  119: 1986-03-19  Richard M. Stallman  (rms@prep)
  120: 
  121:         * minibuf.c (do_completion):
  122:         Don't say string is exact match if it fails the predicate.
  123: 
  124:         * process.c (create_process):
  125:         For STRIDE: use FIONBIO to make pipe/pty non-blocking.
  126:         The fcntl alone failed to do it.
  127: 
  128:         * fileio.c (Ffile_directory_p, Ffile_modes):
  129:         Don't remove trailing slash for stat if path is "/".
  130: 
  131:         * process.c (kill_buffer_processes):
  132:         Pass nil, not 0, to sig_process for current_group arg.
  133: 
  134: 1986-03-18  Richard M. Stallman  (rms@prep)
  135: 
  136:         * process.c (handle_process_output):
  137:         Avoid error if process's buffer is dead.
  138: 
  139:         * eval.c (un_autoload,do_autoload):
  140:         The Vautoload_queue mechanism was all broken.
  141: 
  142:         * fileio.c (Fsubstitute_in_file_name):
  143:         On USG, if looking for env var USER and not found, use LOGNAME.
  144: 
  145: 1986-03-16  Richard M. Stallman  (rms@prep)
  146: 
  147:         * s-usg*.h, s-unipl*.h:
  148:         Replace default ADDR_CORRECT with a no-op.
  149:         Default triggers compiler bug on some systems.
  150:         Remove same thing from m-stride.h since now redundant there.
  151: 
  152:         * keyboard.c (init_keyboard, interrupt_signal):
  153:         For USG, handle SIGQUIT just like SIGINT.
  154: 
  155:         * sysdep.c (init_sys_modes):
  156:         For HPUX, use C-g for the SIGQUIT char as well as the SIGINT char
  157:         as using CDEL causes Meta-DEL to send a SIGQUIT!
  158: 
  159:         * process.c: On Uniplus, time.h is under sys/, as in bsd.
  160: 
  161:         * sysdep.c (reset_sys_modes):
  162:         Don't use FASYNC if it is not defined.
  163: 
  164: 1986-03-15  Richard M. Stallman  (rms@prep)
  165: 
  166:         * window.c (save_window_restore):
  167:         Fix logic for handling dead buffers.
  168:         Don't try to store nil for the mark into the buffer
  169:         if the buffer is nil.
  170: 
  171:         * alloca.s: Put #ifndef HAVE_ALLOCA AFTER including config.
  172: 
  173:         * ymakefile: Always assemble alloca.s if C_ALLOCA isn't set.
  174: 
  175: 1986-03-14  Richard M. Stallman  (rms@prep)
  176: 
  177:         * s-usg5.0.h: Remove LOADER_N_SWITCH.
  178: 
  179: 1986-03-14  Richard Mlynarik  (mly@prep)
  180: 
  181:         * editfns.c:
  182:         Improve doc for bolp, bobp, eolp.
  183: 
  184: 1986-03-14  Richard M. Stallman  (rms@prep)
  185: 
  186:         * cm.c (calccost): Refuse to use incremental cursor motion
  187:         after wrapping on terminals with MagicWrap (xn flag).
  188: 
  189: 1986-03-13  Richard M. Stallman  (rms@prep)
  190: 
  191:         * emacs.c (main): For APOLLO: reserve 4meg with set_sbrk_size.
  192: 
  193:         * alloc.c (Fpurecopy): Fix typo unsignedint.
  194: 
  195: 1986-03-12  Richard M. Stallman  (rms@prep)
  196: 
  197:         * dired.c (file_name_completion):
  198:         Allow exact match against an ignored extension.
  199:         Can thus delete foo.o even if foo.out exists.
  200: 
  201:         * s-hpux.h: Turn off HAVE_PTYS since their csh has "sanity
  202:         checking" and other programs seem to lose with ptys.
  203: 
  204: 1986-03-11  Richard M. Stallman  (rms@prep)
  205: 
  206:         * sysdep.c ({un,}request_sigio and callers):
  207:         Make alternate names init_sigio and reset_sigio;
  208:         callers in sysdep.c use those names.
  209:         In 4.1, change {un,}request_sigio to do sighold/sigrelse;
  210:         don't change init_sigio and reset_sigio.
  211: 
  212:         * m-vax.h: If USG5_2, use -lPW and HAVE_ALLOCA.
  213: 
  214:         * alloc.c (Fpurecopy, mark_object): In tests for pureness,
  215:         always use XUINT and unsigned comparison.
  216:         * lisp.h (CHECK_IMPURE): Likewise.
  217: 
  218:         * doc.c (FSnarf_documentation):
  219:         If CANNOT_DUMP, find DOC in directory PATH_EXEC.
  220: 
  221:         * ymakefile (APOLLO only): Set LTERMCAP.
  222:         * m-apollo.h: Alter VALBITS and GCTYPEBITS.
  223: 
  224:         * term.c (delete_chars): Pass num chars to the hook.
  225:         * term.c (raw_topos), termhooks.h: Add raw_topos_hook.
  226: 
  227:         * unexec.c (make_hdr):
  228:         New compiler switch NO_REMAP means don't change text/data boundary.
  229: 
  230: 1986-03-10  Richard M. Stallman  (rms@prep)
  231: 
  232:         * indent.c, window.c, xdisp.c:
  233:         Make compute_motion, vmotion and display_text_line
  234:         all return a pointer to a global structure, not a struct itself.
  235:         Add * to all calls.
  236: 
  237:         * syntax.c (scan_sexps_forward):
  238:         Make it return a pointer to a global structure,
  239:         not a struct itself.  Change caller (Fparse_partial_sexp).
  240: 
  241:         * s-usg*.h: #define static as nothing.
  242:         * m-hp200.h: No longer needs to #define static.
  243: 
  244:         * unexec.c (adjust_lnnoptrs):
  245:         Replace dummy defn with one that does the job.  Also
  246:         involves including syms.h and making global vars
  247:         bias and lnnoptr that are set in make_hdr.
  248: 
  249: 1986-03-08  Richard M. Stallman  (rms@prep)
  250: 
  251:         * editfns.c (init_editfns):
  252:         Make AMPERSAND_FULL_NAME case start with USER_FULL_NAME.
  253: 
  254:         * crt0.c (BOGUS case):
  255:         Move "start:" from non-tower32 case to unconditional.
  256: 
  257:         * unexec.c [COFF]:
  258:         Put the rounding-to-page-boundaries of section positions
  259:         within the file into a UMAX conditional.  (See Feb 19).
  260: 
  261: 1986-03-06  Richard M. Stallman  (rms@prep)
  262: 
  263:         * ymakefile: Add -k100000 switch to ld, for celerity.
  264: 
  265:         * eval.c (funcall_lambda):
  266:         Change a comma-sequence to a compound statement.
  267: 
  268: 1986-03-03  Richard M. Stallman  (rms@prep)
  269: 
  270:         * xfns.c, xterm.c:
  271:         Install much-changed versions already tested at Athena.
  272: 
  273:         * ymakefile: Replace -lc with $(LIBSTD) and define LIBSTD
  274:         according to a config macro LIB_STANDARD.
  275:         m-tower32.h must define LIB_STANDARD.
  276: 
  277:         * process.c (read_process_output):
  278:         New subroutine that does the reading and handling of process output.
  279:         Do so until none is left.
  280:         (wait_reading_process_input): Call new subroutine.
  281:         (sig_process): If we get a pgrp number, make it negative.
  282:         Always send signal to pggrp; use killpg if BSD, kill otherwise.
  283:         (child_signal): Don't deactivate dead processes here.
  284:         (change_msgs): Deactivate them here, when notification is done.
  285:         But first, call read_process_output to get any output that's left.
  286: 
  287:         * keyboard.c (read_avail_input):
  288:         (for sysV) Use fcntl, not ioctl, to make read not wait.
  289: 
  290:         * alloca.s: Put entire file inside #ifndef HAVE_ALLOCA.
  291: 
  292:         * sysdep.c (child_setup_tty, init_sys_modes):
  293:         (for sysV) Set VTIME to zero; with VMIN=1 this means
  294:         no time limit.
  295: 
  296: 1986-03-02  Richard M. Stallman  (rms@prep)
  297: 
  298:         * keyboard.c (quit_throw_to_get_char):
  299:         Before really throwing, clear waiting_for_input
  300:         so another interrupt won't also try to throw.
  301:         (get_char): Add error check for getcjmp being zero
  302:         where it should not be.  Put this under DEBUG switch.
  303: 
  304: 1986-03-01  Richard M. Stallman  (rms@prep)
  305: 
  306:         * crt0.c: Defining BOGUS forces use of the vax-tahoe-sequent case.
  307:         Add a small conditional within it for tower32.
  308:         Don't allow use of the m68000/m68k code if BOGUS is defined.
  309: 
  310:         * sysdep.c (init_sys_modes):
  311:         For sysV: If want flow control, actively set IXON,
  312:         and also clear IXANY if that is defined.
  313: 
  314:         * sysdep.c (rename):
  315:         It was doing completely wrong things to various files.
  316: 
  317:         * tparam.c (tgoto): Move buf outside the function
  318:         and rename as tgoto_buf.  In case #define static as nothing.
  319: 
  320:         * unexec.c (make_hdr):
  321:         If macro EXEC_MAGIC is defined, let it specify the magic
  322:         number for the output file.
  323: 
  324:         * xdisp.c (message): Change name `buf' to `message_buf'
  325:         to avoid name clash when #define static as nothing.
  326: 
  327:         * ymakefile: Change DOCSTR to DOC.
  328: 
  329: 1986-02-28  Richard M. Stallman  (rms@prep)
  330: 
  331:         * buffer.c (Fdelete_buffer_internal):
  332:         Unchain all markers from a buffer being killed.
  333: 
  334: 1986-02-27  Richard M. Stallman  (rms@prep)
  335: 
  336:         * unexec.c, malloc.c:
  337:         If NBPG is used for getpagesize, multiply it by CLSIZE
  338:         and define that as 1 if not otherwise defined.
  339: 
  340: 1986-02-26  Richard M. Stallman  (rms@prep)
  341: 
  342:         * lread.c (Fload):
  343:         Detect when fdopen returns 0 given a valid descriptor.
  344: 
  345:         * sysdep.c (stuff_char):
  346:         Declare arg as char, so TIOCSTI does not give wrong address.
  347: 
  348: 1986-02-25  Richard M. Stallman  (rms@prep)
  349: 
  350:         * dispnew.c (update_screen):
  351:         * xdisp.c (DoDsp, Fredraw_display):
  352:         Insert checks to abort if screen_height is zero,
  353:         to detect the memory clobbering bug.
  354: 
  355:         * process.c:
  356:         For 4.1, include wait.h, not sys/wait.h.
  357:         Use O_NDELAY only if it is defined.
  358: 
  359:         * s-bsd4.1.h:
  360:         Don't HAVE_TIMEVAL.  Define open as sys_open and lstat as stat.
  361:         Define the O_ symbols for open args.
  362:         Turn off CLASH_DETECTION, for now.  Turn off HAVE_TIMEVAL.
  363: 
  364:         * sysdep.c (bcopy, bzero, bcmp):
  365:         Make them really do the work, not try to use memset, memcopy, etc.
  366: 
  367:         * sysdep.c (get_system_name):
  368:         4.1 needs its own definition of this.
  369: 
  370:         * sysdep.c (for BSD 4.1):
  371:         Define sys_open, since 4.1 open takes only two args.
  372:         Redefine LLITOUT as 0; it loses in 4.1.
  373:         Define LNOFLSH.  Include wait.h, not sys/wait.h.
  374: 
  375: 1986-02-24  Richard M. Stallman  (rms@prep)
  376: 
  377:         * malloc.c: Define getpagesize as macro when not avail as syscall.
  378: 
  379: 1986-02-23  Richard M. Stallman  (rms@prep)
  380: 
  381:         * terminfo.c: Provide a definition of ospeed.
  382: 
  383: 1986-02-22  Richard M. Stallman  (rms@prep)
  384: 
  385:         * alloca.s (hack_sky):
  386:         Move label hack3; bug was making some floating ops dump core.
  387: 
  388:         * dispnew.c (update_screen):
  389:         Don't free a line twice if it is in both DesiredScreen
  390:         and OPhysScreen.  Can happen if line is copied into
  391:         DesiredScreen by `scrolling', then lost from PhysScreen
  392:         by the scrolling that is done.
  393:         Also remove a debugging check that did not go off
  394:         when this bug hit.
  395: 
  396: 1986-02-18  Richard M. Stallman  (rms@prep)
  397: 
  398:         * indent.c (compute_motion):
  399:         Change all short to unsigned short.  Needed for celerity.
  400: 
  401:         * keyboard.c (init_keyboard):
  402:         Initialize kbd_ptr.  Needed for celerity.
  403: 
  404:         * unexec.c (make_hdr for celerity):
  405:         Copy their own header field a_scovfrl from ohdr.
  406: 
  407:         * unexec.c for COFF:
  408:         Round positions of text and and data sections in output file
  409:         to page boundaries.
  410: 
  411:         * crt0.c: Install version for Encore machines.
  412:         Also for celerity (same as pyramid and orion).
  413: 
  414:         * ymakefile:
  415:         Don't use -X for BSD systems that use COFF.
  416:         On UMAX, give ld the file align.umax (a new file)
  417:         via the make-macro ALIGNMENT.
  418: 
  419:         * align.umax, s-umax.h:
  420:         Two new files for Encore computers.
  421: 
  422:         * lread.c (Vload_path): Make it not static.
  423:         In sysV, static vars go in a place in memory below my_edata.
  424: 
  425:         * dispnew.c (make_display_lines):
  426:         Store all the lines in an array for debugging, to help
  427:         debug the problem where lines get lost.
  428: 
  429: 1986-02-14  Richard M. Stallman  (rms@prep)
  430: 
  431:         * alloca.s (ns16000):
  432:         Change non-sequent defn of REGISTER: add a displacement of zero.
  433: 
  434: 1986-02-13  Richard M. Stallman  (rms@prep)
  435: 
  436:         * alloc.c (purecopy, mark_object), lisp.h:
  437:         Use XUINT, not XINT, in VIRT_ADDR_VARIES checks for pure object.
  438: 
  439: 1986-02-11  Richard M. Stallman  (rms@prep)
  440: 
  441:         * fns.c (Fload_average):
  442:         Don't use struct nlist if no LOAD_AVE_TYPE.
  443: 
  444:         * crt0.c: Add missing semicolon in vax/tahoe/sequent code.
  445: 
  446: 1986-02-10  Richard M. Stallman  (rms@prep)
  447: 
  448:         * crt0.c: Remove duplicate _start for pyramid.
  449: 
  450: 1986-02-07  Richard M. Stallman  (rms@prep)
  451: 
  452:         * sysdep.c (gettimeofday): Define this only if HAVE_TIMEVAL.
  453: 
  454:         * m-vax.h:
  455:         If USG, don't define LOAD_AVE_... and do define C_ALLOCA.
  456: 
  457:         * filelock.c: On USG, include fcntl.h.
  458:         (lock_file): Declare getpwuid external.
  459: 
  460:         * window.c (Fmove_to_window_line):
  461:         If window start is out of restriction,
  462:         choose a new start here.
  463: 
  464:         * alloca.s:
  465:         Modify ns16000 assembler syntax for the sequent machine.
  466: 
  467:         * crt0.c: Sequent uses same code as vax except start1
  468:         takes one extra first arg that it ignores.
  469:         A new macro BOGUS is defined to allow machines to use the
  470:         same code and control how many args to ignore.
  471: 
  472:         * unexec.c: For sequent machine, handle its incompatible
  473:         meaning of N_TXTOFF, and use N_ADDRADJ where necessary.
  474: 
  475: 1986-02-06  Richard M. Stallman  (rms@prep)
  476: 
  477:         * sysdep.c (init_sys_modes):
  478:         Set tty flags ISTRIP, CS8 and PARENB right for Meta key.
  479: 
  480:         * ymakefile:
  481:         Define CPP macro as name of cpp to use.  Use it for alloca.s.
  482:         Make LOADER_N_SWITCH control solely the -N.
  483: 
  484: 1986-02-06  Richard Mlynarik  (mly@prep)
  485: 
  486:         * fns.c (Frequire):
  487:         Fix documentation.
  488: 
  489: 1986-02-06  Richard M. Stallman  (rms@prep)
  490: 
  491:         * indent.c (compute_motion):
  492:         For tabs, make sure to take remainder of positive #
  493:         since % can round upward with negative numbers.
  494: 
  495:         * bytecode.c (syms_of_bytecode):
  496:         Fix typo in symbol name "byte-code".
  497: 
  498:         * xdisp.c (try_window_id):
  499:         Use adjusted hpos of bp in computation of ep.
  500:         Adjustde hpos can be negative after a continuation.
  501: 
  502:         * fileio.c (Finsert_file_contents):
  503:         Was failing to update n as chars were read.
  504:         Rearrange order of actions to make it more like InsCStr.
  505:         Call prepare_to_modify_buffer even if no CLASH_DETECTION.
  506:         Don't make gap if gap is big enough.
  507: 
  508: 1986-02-05  Richard M. Stallman  (rms@prep)
  509: 
  510:         * termcap.c (tgetent):
  511:         Only use TERMCAP var as termcap entry value
  512:         if it has a name that matches the specified one.
  513:         New function name_match to match an entry against a name.
  514:         Do allow matching the first name in an entry.
  515: 
  516:         * indent.c (pos_tab_offset):
  517:         Take remainder by window-width - 1 (# of effective columns)
  518:         to fix bug where alternating TAB 1 TAB 1... causes a 1
  519:         to shift sideways in incremental redisplay in DoDsp.
  520: 
  521: 1986-02-04  Richard M. Stallman  (rms@prep)
  522: 
  523:         * keyboard.c (command_loop_1):
  524:         Don't do direct output if input is pending.
  525: 
  526:         * xterm.h: Find the file Xlib.h in /usr/include/X.
  527: 
  528: 1986-02-03  Richard M. Stallman  (rms@prep)
  529: 
  530:         * process.c (pty): HPUX has different dir for pty-tty devices.
  531: 
  532:         * termcap.c: Don't include types.h or file.h.
  533: 
  534: 1986-02-02  Richard M. Stallman  (rms@prep)
  535: 
  536:         * print.c (print):
  537:         Print a marker's corrected position, not its bufpos.
  538: 
  539:         * window.c (Fselect_window):
  540:         If old and new windows show same buffer,
  541:         make sure new point is inside the clipping region.
  542: 
  543: 1986-01-31  Richard M. Stallman  (rms@prep)
  544: 
  545:         * fns.c (Fload_average):
  546:         In NLIST_STRUCT case, set nl[1] to 0, not "".
  547:         Fix KERNEL_FILE and LDAV_SYMBOL for HPUX.
  548: 
  549: 1986-01-30  Richard M. Stallman  (rms@prep)
  550: 
  551:         * m-pyramid.h: Turn on NO_UNION_TYPE.
  552: 
  553:         * fns.c: For BSD, include sys/param.h.
  554: 
  555: 1986-01-29  Richard M. Stallman  (rms@prep)
  556: 
  557:         * fns.c (Fload_average):
  558:         Define a few symbols LDAV_SYMBOL and KERNEL_FILE_NAME
  559:         and NLIST_STRUCT to use later to simplify the code.
  560: 
  561:         * s-usg5.2.h: Turn on `subprocesses'.
  562: 
  563:         * sysdep.c:
  564:         #undef open, read and write at the start.
  565:         Make sys_read, etc. always available for uses that need
  566:         a nonaborting read.
  567:         (select): Several bug fixes for system V.
  568:         (init_sys_modes, child_setup_tty): Init VTIME to a large #, not 0.
  569:         Use TCSETA, not TCSETAW (why wait?).
  570: 
  571:         * process.c:
  572:         (wait_reading_process_output): If don't HAVE_TIMEVAL
  573:         and no timeout desired, use 100000 seconds, which
  574:         the select emulator recognizes.
  575:         When reading data, if a char is buffered in proc_buffered_char,
  576:         put it at the front of the data read.
  577:         (kill_buffer_process): Ignore processes really already dead.
  578:         (init_process): Initialize proc_buffered_char to -1 (empty).
  579: 
  580:         * keyboard.c (fake_suspend):
  581:         Don't mess with the SIGCLD handler.
  582:         Use wait_for_termination to detect subshell termination.
  583:         (read_avail_input, for USG):
  584:         Use TCSETA, not TCSETAW; no waiting.
  585: 
  586:         * term.c (set_terminal_modes): Don't clear screen here.
  587:         * xdisp.c (Fredraw_display): Clear screen here instead.
  588: 
  589: 1986-01-28  Richard M. Stallman  (rms@prep)
  590: 
  591:         * s-hpux.h: Do #undef SIGIO.
  592: 
  593:         * callproc.c, data.c, dispnew.c, emacs.c, keyboard.c,
  594:         * process.c, sysdep.c:
  595:         Include signal.h before config so can #undef SIGIO in config.
  596: 
  597:         * lread.c (read_escape):
  598:         Make ?\^? produce 0177.
  599: 
  600:         * sysdep.c:
  601:         Define SIGCHLD as SIGCLD only if SIGCHLD not already defined.
  602:         (select): Don't give select_alarmed an initialization.
  603: 
  604:         * unexec.c:
  605:         For HPUX, copy the peculiar header fields for debugger info.
  606: 
  607:         * keyboard.c (kbd_buffer_get_char): Don't call read_avail_input
  608:         if kbd_count is nonzero.  (Don't know how it can be, but
  609:         it is observed to happen.)
  610: 
  611:         * process.c:
  612:         Define SIGCHLD as SIGCLD only if SIGCHLD not already defined.
  613:         (wait_handling_process_output): Fill in one non-HAVE_TIMEVAL case.
  614: 
  615: 1986-01-27  Richard M. Stallman  (rms@prep)
  616: 
  617:         * sysdep.c (reset_sys_modes):
  618:         Call unrequest_sigio twice.
  619:         Make sure FASYNC is clear in old_fcntl_flags.
  620: 
  621: 1986-01-26  Richard M. Stallman  (rms@prep)
  622: 
  623:         * fns.c (Frandom):
  624:         Removed case for number as arg, since it has problems
  625:         in union-type case and it is not documented or used.
  626: 
  627:         * lisp.h (XSET):
  628:         Fix bugs in the union-type definition.
  629: 
  630: 1986-01-24  Richard M. Stallman  (rms@prep)
  631: 
  632:         * process.c:
  633:         Define macros for accessing the `union wait' structure.
  634: 
  635:         * keyboard.c (fake_suspend):
  636:         Set subshell current dir to current buffer's default dir.
  637: 
  638: 1986-01-23  Richard M. Stallman  (rms@prep)
  639: 
  640:         * dispnew.c (Fsit_for):
  641:         Call gobble_input only if SIGIO exists.
  642: 
  643:         * keyboard.c (fake_suspend):
  644:         Save and restore the SIGCLD handler, if that exists.
  645: 
  646:         * process.c (create_process):
  647:         SKTPAIR-or-not now controls only what to do if cannot use a pty.
  648:         For USG other than UNIPLUS, instead of sigsetmask (nonexistent),
  649:         save away and temporarily turn off the SIGCHLD handler.
  650:         (child_sig): Various USG changes.
  651: 
  652:         * sysdep.c (wait_for_termination):
  653:         Provide case for sysV not UNIPLUS (right for STRIDE at least).
  654:         * sysdep.c (child_setup_tty):
  655:         Set the VMIN and VTIME fields.
  656: 
  657:         * callint.c (Fcall_interactively):
  658:         Globalize the variable argfuns, for HPUX's sake.
  659: 
  660:         * keyboard.c (fake_suspend):
  661:         Use execlp, not execl.
  662: 
  663:         * sysdep.c (random, srqndom):
  664:         Add dummy for srandom => srand.  Enable both for 4.1 and USG.
  665:         * fns.c (Frandom):
  666:         Remove conditional; let those dummies serve.
  667: 
  668:         * Makefile:
  669:         Use sed to remove blank lines and from xmakefile.
  670: 
  671:         * ymakefile:
  672:         Pass alloca.s thru more seds to remove #... lines, etc.
  673:         Move tparam.o into otherobjs; for HPUX, use terminfo.o instead.
  674:         No need to conditionalize recipes for xfns.o and xterm.o.
  675:         No longer need to duplicate the xemacs: line.
  676:         For HPUX, define LIBBSD.  Use that in LIBES.
  677: 
  678:         * editfns.c (init_editfns):
  679:         Handle case of pw == 0 (USER is not a known user).
  680: 
  681:         * cm.c:
  682:         Include config.  Make cost and evalcost global.
  683:         (cmcostinit): Don't pass 0 as string to tgoto (new macro CMCOST).
  684: 
  685:         * terminfo.c (new file):
  686:         Defines a version of tparam for use with terminfo.
  687: 
  688: 1986-01-22  Richard M. Stallman  (rms@prep)
  689: 
  690:         * dispnew.c:
  691:         If HPUX, insert time.h instead of sys/time.h.
  692: 
  693:         * sysdep.c:
  694:         If HPUX, insert time.h instead of sys/time.h.
  695:         In get_system_name, globalize a static variable `name'.
  696:         In readdir, globalize `dir' as `dir_static'.
  697:         Make some system-call imitations "not HPUX".
  698: 
  699:         * process.c:
  700:         If HPUX, insert time.h instead of sys/time.h.
  701:         Do them only if HAVE_TIMEVAL.
  702:         If HAVE_PTYS and HPUX, insert sys/ptyio.h.
  703:         In function `pty', globalize static var `name' as `ptyname'.
  704: 
  705:         * term.c:
  706:         (term_init): If TERMINFO, where tbuf is not used,
  707:         allocate combuf with size 2044.
  708:         (evalcost): Flush it.  Make it extern and use the one in cm.c.
  709: 
  710:         * dired.c:
  711:         Include stat.h before config.h so config can override S_IFLNK on
  712:         HPUX (where that symbol exists but there are no symbolic links).
  713:         Do not include time.h; not needed.
  714: 
  715:         * xdisp.c (fmodetrunc, decode_mode_spec):
  716:         Rename local static buffers buf, tbuf and make them global.
  717:         Static variables go into initialized data space in HPUX.
  718:         * fns.c (Fload_average):
  719:         Similar hack for internal static vars initialized, channel, nl.
  720: 
  721:         * lread.c:
  722:         Change condition for defining X_OK to be that X_OK is not defined.
  723: 
  724:         * alloc.c (init_alloc_once):
  725:         Fix erroneous names data_bytes_{un,}used
  726:         inside the VIRT_ADDR_VARIES conditions.
  727: 
  728:         * emacs.c:
  729:         Don't include time.h or resource.h; just #define PRIO_PROCESS.
  730: 
  731:         * xdisp.c (redisplay_window):
  732:         Don't shift window-start to avoid end of buffer
  733:         unless window contents have changed too.
  734: 
  735:         * xdisp.c (DoDsp):
  736:         If nothing has changed except minibuffer message,
  737:         no need to call redisplay_window.
  738: 
  739:         Problem: standard sysV has no file ioctl.h.
  740: 
  741:         * process.c, keyboard.c, dispnew.c, sysdep.c:
  742:         Include ioctl.h in BSD, termio.h and/or fcntl.h in sysV.
  743: 
  744:         * callproc.c: No longer needs ioctl.h; don't include.
  745:         * xdisp.c: No longer needs ioctl.h or signal.h; don't include.
  746: 
  747:         * emacs.c:
  748:         Include sys/ioctl.h only for BSD.  ioctl used only in BSD.
  749: 
  750: 1986-01-21  Richard Mlynarik  (mly@prep)
  751: 
  752:         * keyboard.c (EchoThem):
  753:         Always display an explicit prompt, even if echo_keystrokes == 0.
  754: 
  755: 1986-01-21  Richard M. Stallman  (rms@prep)
  756: 
  757:         * keyboard.c (kbd_buffer_store_char, fake_suspend):
  758:         Take the STRIDE code for subshell out of kbd_buffer_store_char
  759:         and call it fake_suspend.  Call it from previous place and
  760:         also from Fsuspend_buffer, on all systems that lack SIGTSTP.
  761:         Clean the code up a little bit.
  762: 
  763:         * process.c:
  764:         Don't include sgtty.h; no longer needed.
  765:         Make use of wait3 depend on existence of WNOHANG.
  766: 
  767:         * unexec.c:
  768:         Allow the m- file to override defn of ADDR_CORRECT (m-stride.h does).
  769:         Have and use pagemask to round data_start in COFF case too.
  770:         Always define getpagesize as macro, for 4.1 and USG where
  771:         it is not provided as a system call.
  772:         This takes care of the STRIDE changes for unexec.
  773: 
  774:         * ymakefile:
  775:         Give ld the arg $(STARTFLAGS), and define that based on cpp macro
  776:         TEXT_START_ADDR when that is defined.  This is for systems where
  777:         the -T switch is necessary.
  778: 
  779:         * unexec.c (make_hdr):
  780:         Make one sun3 fix machine-independent.
  781:         (Prevent a_bss from being negative).
  782: 
  783:         * casefiddle.c (casify_region):
  784:         New flag value CAPITALIZE_UP which is like CAPITALIZE
  785:         but changes only the initials.  Function upcase_initials_region