Mercurial > emacs
annotate src/s/bsd-common.h @ 109489:b4b02bfd4d95
SQL Mode Version2.4 - Improved login prompting
* progmodes/sql.el: Version 2.4. Improved Login prompting.
(sql-login-params): New widget definition.
(sql-oracle-login-params, sql-mysql-login-params)
(sql-solid-login-params, sql-sybase-login-params)
(sql-informix-login-params, sql-ingres-login-params)
(sql-ms-login-params, sql-postgres-login-params)
(sql-interbase-login-params, sql-db2-login-params)
(sql-linter-login-params): Use it.
(sql-sqlite-login-params): Use it; Define "database" parameter as
a file name.
(sql-sqlite-program): Change to "sqlite3"
(sql-comint-sqlite): Make sure database name is complete.
(sql-for-each-login): New function.
(sql-connect, sql-save-connection): Use it.
(sql-get-login-ext): New function.
(sql-get-login): Use it.
(sql-make-alternate-buffer-name): Handle :file parameters.
author | Michael Mauger <mmaug@yahoo.com> |
---|---|
date | Thu, 22 Jul 2010 20:59:43 -0400 |
parents | d86e65007470 |
children | 4504e82595bb |
rev | line source |
---|---|
96303 | 1 /* Definitions file for GNU Emacs running on bsd 4.3 |
108379
203aa49071bf
Move MAIL_USE_FLOCK, MAIL_USE_LOCKF, BLESSMAIL_TARGET from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents:
108235
diff
changeset
|
2 |
203aa49071bf
Move MAIL_USE_FLOCK, MAIL_USE_LOCKF, BLESSMAIL_TARGET from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents:
108235
diff
changeset
|
3 Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
203aa49071bf
Move MAIL_USE_FLOCK, MAIL_USE_LOCKF, BLESSMAIL_TARGET from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents:
108235
diff
changeset
|
4 2008, 2009, 2010 Free Software Foundation, Inc. |
96303 | 5 |
6 This file is part of GNU Emacs. | |
7 | |
8 GNU Emacs is free software: you can redistribute it and/or modify | |
9 it under the terms of the GNU General Public License as published by | |
10 the Free Software Foundation, either version 3 of the License, or | |
11 (at your option) any later version. | |
12 | |
13 GNU Emacs is distributed in the hope that it will be useful, | |
14 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 GNU General Public License for more details. | |
17 | |
18 You should have received a copy of the GNU General Public License | |
19 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |
20 | |
21 | |
108511
f8e62c2bf3e9
Reformat some comments in src/s/*.h.
Glenn Morris <rgm@gnu.org>
parents:
108379
diff
changeset
|
22 /* Define symbols to identify the version of Unix this is. |
f8e62c2bf3e9
Reformat some comments in src/s/*.h.
Glenn Morris <rgm@gnu.org>
parents:
108379
diff
changeset
|
23 Define all the symbols that apply correctly. */ |
96303 | 24 |
25 /* We give these symbols the numeric values found in <sys/param.h> to | |
26 avoid warnings about redefined macros. */ | |
27 #ifndef BSD4_3 | |
28 #define BSD4_3 1 | |
29 #endif /* BSD4_3 */ | |
30 | |
31 #ifndef BSD_SYSTEM | |
32 #define BSD_SYSTEM 43 | |
33 #endif /* BSD_SYSTEM */ | |
34 | |
107442
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
35 /* For mem-limits.h. */ |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
36 #define BSD4_2 |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
37 |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
38 #define TABDLY OXTABS |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
39 #define TAB3 OXTABS |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
40 |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
41 /* These aren't needed, since we have getloadavg. */ |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
42 #undef KERNEL_FILE |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
43 #undef LDAV_SYMBOL |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
44 |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
45 #define HAVE_TERMIOS |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
46 #define NO_TERMIO |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
47 |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
48 #define SYSV_SYSTEM_DIR |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
49 |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
50 /* If the system's imake configuration file defines `NeedWidePrototypes' |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
51 as `NO', we must define NARROWPROTO manually. Such a define is |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
52 generated in the Makefile generated by `xmkmf'. If we don't |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
53 define NARROWPROTO, we will see the wrong function prototypes |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
54 for X functions taking float or double parameters. */ |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
55 #define NARROWPROTO 1 |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
56 |
96303 | 57 /* SYSTEM_TYPE should indicate the kind of system you are using. |
58 It sets the Lisp variable system-type. */ | |
59 #define SYSTEM_TYPE "berkeley-unix" | |
60 | |
61 /* Do not use interrupt_input = 1 by default, because in 4.3 | |
62 we can make noninterrupt input work properly. */ | |
63 #undef INTERRUPT_INPUT | |
64 | |
65 /* First pty name is /dev/ptyp0. */ | |
66 #define FIRST_PTY_LETTER 'p' | |
67 | |
108379
203aa49071bf
Move MAIL_USE_FLOCK, MAIL_USE_LOCKF, BLESSMAIL_TARGET from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents:
108235
diff
changeset
|
68 /* Define HAVE_PTYS if the system supports pty devices. */ |
96303 | 69 #define HAVE_PTYS |
70 | |
71 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | |
72 #define HAVE_SOCKETS | |
73 | |
74 /* Define CLASH_DETECTION if you want lock files to be written | |
75 so that Emacs can tell instantly when you try to modify | |
76 a file that someone else has modified in his Emacs. */ | |
77 #define CLASH_DETECTION | |
78 | |
79 /* The file containing the kernel's symbol table is called /vmunix. */ | |
80 #define KERNEL_FILE "/vmunix" | |
81 | |
108511
f8e62c2bf3e9
Reformat some comments in src/s/*.h.
Glenn Morris <rgm@gnu.org>
parents:
108379
diff
changeset
|
82 /* The kernel symbol where the load average is found is named _avenrun. */ |
96303 | 83 #define LDAV_SYMBOL "_avenrun" |
84 | |
85 /* Send signals to subprocesses by "typing" special chars at them. */ | |
86 #define SIGNALS_VIA_CHARACTERS | |
87 | |
88 /* arch-tag: 0c367245-bde3-492e-9029-3ff6898beb95 | |
89 (do not change this comment) */ |