Thread View: gnu.epoch.misc
1 messages
1 total messages
Started by Sean.Levy
Thu, 06 May 1993 21:38
axp_osf1: epoch/emacs shell buffer prob
Author: Sean.Levy
Date: Thu, 06 May 1993 21:38
Date: Thu, 06 May 1993 21:38
319 lines
10385 bytes
10385 bytes
I just *know* I've seen this before, but cannot remember the damned fix...
This happens with both normal shell mode and cmushell mode, in epoch-4.2
on an axp running osf/1 rev 10. It does *not* happen in the
distribution of GNU Emacs 18.58.13 that comes with osf/1.
Whenever I start a {cmu}shell buffer, I see:
Warning: no access to tty; thus no job control in this shell...
~ 1 %
Control-C, Control-Z, etc do not work (the shell appears to ignore all
interrupts). This does not happen in the Emacs distributed with osf/1,
so it would seem it's some build tweak for epoch on the axp, but I can't
figure which one. Does anyone know?
My s-dec-osf-1.h file looks like:
-----------
/* Definitions file for GNU Emacs running on bsd 4.3
Copyright (C) 1985, 1986 Free Software Foundation, Inc.
This file is not a part of GNU Emacs.
GNU Emacs is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 1, or (at your option)
any later version.
GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Emacs; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifndef DECOSF
#define DECOSF
#endif
#ifndef YMAKEFILE
#include <sys/param.h> /* define BSD, BSD4_3 */
#endif /* BSD */
#undef SYSTEM_TYPE
#define SYSTEM_TYPE "DEC OSF/1"
/* DEC OSF/1 needs dirent.h unlike it's parent os. Ultrix. */
/* #define SYSV_SYSTEM_DIR */
/* nomultiplejobs should be defined if your system's shell
does not have "job control" (the ability to stop a program,
run some other program, then continue the first one). */
/* #define NOMULTIPLEJOBS */
/* Default is to set interrupt_input to 1: do input buffering within Emacs */
#undef INTERRUPT_INPUT
/* #define INTERRUPT_INPUT */
/* First pty name is /dev/ptyp0. */
#define FIRST_PTY_LETTER 'p'
/*
* Define HAVE_TIMEVAL if the system supports the BSD style clock values.
* Look in <sys/time.h> for a timeval structure.
*/
#define HAVE_TIMEVAL
/*
* Define HAVE_SELECT if the system supports the `select' system call.
*/
#define HAVE_SELECT
#define HAVE_DUP2
#define HAVE_GETWD
#define HAVE_GETTIMEOFDAY
#define HAVE_VFORK /* removed for pixies */
#define HAVE_UNION_WAIT
#define HAVE_SETSID
/*
* Define HAVE_PTYS if the system supports pty devices.
*/
#define HAVE_PTYS
/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
#define HAVE_SOCKETS
/* Define this symbol if your system has the functions bcopy, etc. */
#define BSTRING
/* subprocesses should be defined if you want to
have code for asynchronous subprocesses
(as used in M-x compile and M-x shell).
This is generally OS dependent, and not supported
under most USG systems. */
#define subprocesses
/* If your system uses COFF (Common Object File Format) then define the
preprocessor symbol "COFF". */
#define COFF
/* define MAIL_USE_FLOCK if the mailer uses flock
to interlock access to /usr/spool/mail/$USER.
The alternative is that a lock file named
/usr/spool/mail/$USER.lock. */
#define MAIL_USE_FLOCK
/* Define CLASH_DETECTION if you want lock files to be written
so that Emacs can tell instantly when you try to modify
a file that someone else has modified in his Emacs. */
#define CLASH_DETECTION
/* We use the Berkeley (and usg5.2.2) interface to nlist. */
#define NLIST_STRUCT
/* The file containing the kernel's symbol table is called /vmunix. */
#define KERNEL_FILE "/vmunix"
/* The symbol in the kernel where the load average is found
is named _avenrun.
#define LDAV_SYMBOL "_avenrun" */
/*
* Can't compile the assamebly version of alloca.
*/
#define SYSTEM_MALLOC
/* Need to define _BSD to make the include files know we're running under
* the BSD universe and not the SYSV universe.
*/
#define C_SWITCH_SYSTEM -D_BSD
#define LIBS_SYSTEM -lbsd
#define LD_SWITCH_SYSTEM -call_shared
#define LINKER cc
#define LIBS_DEBUG
#define START_FILES
---------------
My m-alpha.h file looks like:
---------------
/*
* @DEC_COPYRIGHT@
*/
/* The following three symbols give information on
the size of various data types. */
#define SHORTBITS 16 /* Number of bits in a short */
#define INTBITS 32L /* Number of bits in an int */
#define LONGBITS 64L /* Number of bits in a long */
/* Define BIG_ENDIAN iff lowest-numbered byte in a word
is the most significant byte. */
/* #define BIG_ENDIAN */
/* Define NO_ARG_ARRAY if you cannot take the address of the first of a
* group of arguments and treat it as an array of the arguments. */
#define NO_ARG_ARRAY
/* Define WORD_MACHINE if addresses and such have
* to be corrected before they can be used as byte counts. */
/* #define WORD_MACHINE */
/* Define how to take a char and sign-extend into an int.
On machines where char is signed, this is a no-op. */
#define SIGN_EXTEND_CHAR(c) ((signed char)(c))
/* Now define a symbol for the cpu type, if your compiler
does not define it automatically:
Ones defined so far include vax, m68000, ns16000, pyramid,
orion, tahoe, APOLLO and many others */
/* Use type int rather than a union, to represent Lisp_Object */
/* This is desirable for most machines. */
#define NO_UNION_TYPE
/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
the 24-bit bit field into an int. In other words, if bit fields
are always unsigned.
If you use NO_UNION_TYPE, this flag does not matter. */
#define EXPLICIT_SIGN_EXTEND
/* Data type of load average, as read out of kmem. */
/* Load average requires special crocks. Version 19 has them.
For now, don't define this. */
/* #define LOAD_AVE_TYPE long */
/* Convert that into an integer that is 100 for a load average of 1.0 */
/* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / 256.0) */
/* Define CANNOT_DUMP on machines where unexec does not work.
Then the function dump-emacs will not be defined
and temacs will do (load "loadup") automatically unless told otherwise. */
/* #define CANNOT_DUMP */
/* Define VIRT_ADDR_VARIES if the virtual addresses of
pure and impure space as loaded can vary, and even their
relative order cannot be relied on.
Otherwise Emacs assumes that text space precedes data space,
numerically. */
/* #define VIRT_ADDR_VARIES */
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
#undef C_ALLOCA
#define HAVE_ALLOCA
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
code will not be sharable; but that's better than failing completely. */
#define NO_REMAP
/* This machine requires completely different unexec code
which lives in a separate file. Specify the file name. */
#define UNEXEC unexmips.o
/* Describe layout of the address space in an executing process. */
#define TEXT_START 0x120000000 /* user text starts at 9*2^29 */
#define DATA_START 0x140000000 /* user data starts at 10*2^29 */
/*
* Cast pointers to this value on Alpha machines.
*/
#define PNTR_COMPARISON_TYPE unsigned long
/*
* These definitions do NOT work properly on Alpha, since these bit
* operations result in strange addresses if we are not longword aligned.
*/
#define VALBITS 56L
/* #define VALMASK ((1L<<VALBITS) - 1) */
#define VALMASK 0x00ffffffffffffffL
#define MARKBIT 0x8000000000000000L
#define ARRAY_MARK_FLAG 0x4000000000000000L
#define XSETTYPE(a, b) ((a) = XUINT (a) | ((long)(b) << VALBITS))
#define XINT(a) (((long)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS)
#define XUINT(a) ((long)(a) & VALMASK)
#define XSETINT(a, b) ((a) = (long)((a) & ~VALMASK) | (long)((b) & VALMASK))
#define XSET(var, type, ptr) \
((var) = (long)((long)(type) << VALBITS) + ((long) (ptr) & VALMASK))
#define XMARKBIT(a) ((a) & MARKBIT)
#define XSETMARKBIT(a,b) ((a) = ((a) & ~MARKBIT) | (b))
#define XMARK(a) ((a) |= MARKBIT)
#define XUNMARK(a) ((a) &= ~MARKBIT)
/* Don't try to use SIGIO or FIONREAD even though they are defined. */
#undef SIGIO
#define PURESIZE 628000
#define START_FILES
#define LIB_STANDARD -lbsd -lc
/* PDS CHECK all below */
#define HAVE_VFORK
#define HAVE_TIMEVAL
#define HAVE_DUP2
#define HAVE_GETWD
#define HAVE_GETTIMEOFDAY
#define HAVE_PTYS
#define HAVE_SOCKETS
#define HAVE_UNION_WAIT
#undef NOMULTIPLEJOBS
#define utimes utime /* Someone should check this. */
---------------
TIA,
-- Sean
--
Sean Levy, n-dim Group, EDRC, CMU, 5000 Forbes Ave, PGH, PA 15213
Email: snl+@cmu.edu, Phone: +1 412 268 5221, Fax: +1 412 268 5229
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads