Overview
| Comment: | before initial relase |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
c4dee8e7814b6176797fdad95fa3f2c2 |
| User & Date: | johannes@zellner.org on 1999-02-28 16:54:42.000 |
| Other Links: | manifest | tags |
Context
|
1999-02-28
| ||
| 17:08 | before initial relase check-in: ea3499a82a user: johannes@zellner.org tags: trunk | |
| 16:54 | before initial relase check-in: c4dee8e781 user: johannes@zellner.org tags: trunk | |
| 16:52 | ci after porting this to configure check-in: eb8595aabf user: johannes@zellner.org tags: trunk | |
Changes
Added GPL version [4238e547f1].
Modified Makefile.in
from [22dc368b41]
to [cf235d43cd].
1 2 3 | 1 2 3 4 5 6 7 8 9 10 11 | - + | # -*- make -*- # # FILE: "/home/joze/src/tclreadline/Makefile.in" |
| ︙ | |||
171 172 173 174 175 176 177 | 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 | - + |
aux/mkinstalldirs \
aux/vimtags
MISC = README GPL
MAN = tclreadline.n
|
| ︙ | |||
250 251 252 253 254 255 256 | 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 | - - + + - - + + | vimtags: tcltags vimtags tags: vimtags |
Added README version [20d94bdcdb].
Modified tclreadline.c
from [75bdea63cb]
to [83b24cf018].
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + |
|
| ︙ | |||
48 49 50 51 52 53 54 | 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | - - - |
do { \
STRIPLEFT (ptr); \
STRIPRIGHT (ptr); \
} while (0)
|
| ︙ | |||
74 75 76 77 78 79 80 81 82 83 84 85 86 87 | 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | + + + + + + |
int TclReadlineEventHook (void);
int TclReadlineParse (char **args, int maxargs, char *buf);
static int line_complete = 0;
static char *line = (char *) NULL;
/*
* Script to set the tclreadline library path in the
* variable global "tclreadline_library"
*/
int TclReadlineCmd (clientData, interp, argc, argv)
ClientData clientData; /* Main window associated with interpreter */
Tcl_Interp *interp; /* Current interpreter */
int argc; /* Number of arguments */
char **argv; /* Argument strings */
|
| ︙ | |||
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 | 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 | + + + + + + + + - + |
else if (c == 'a' && strncmp (argv[1], "add", length) == 0) {
if (argc != 3)
goto BAD_COMMAND;
else if (TclReadlineKnownCommands (argv[2], (int) 0, _CMD_SET))
Tcl_AppendResult (interp, "unable to add command \"",
argv[2], "\"\n", (char *) NULL);
}
else if (c == 'c' && strncmp (argv[1], "complete", length) == 0) {
if (argc != 3)
goto BAD_COMMAND;
else if (Tcl_CommandComplete (argv[2]))
Tcl_AppendResult (interp, "1", (char *) NULL);
else
Tcl_AppendResult (interp, "0", (char *) NULL);
}
else
goto BAD_COMMAND;
return TCL_OK;
BAD_COMMAND:
Tcl_AppendResult (interp,
"wrong # args: should be \"readline option ?arg ...?\"",
(char *) NULL);
|
| ︙ | |||
190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 | 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 | + + - - - |
int Tclreadline_SafeInit (Tcl_Interp *interp)
{
return (Tclreadline_Init (interp));
}
int Tclreadline_Init (Tcl_Interp *interp)
{
Tcl_CreateCommand (interp, "::tclreadline::readline", TclReadlineCmd,
(ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
return (Tcl_PkgProvide (interp, "tclreadline", TCLREADLINE_VERSION));
}
char *TclReadlineInitialize (char *historyfile)
{
rl_readline_name = "tclreadline";
using_history ();
|
| ︙ |
Added tclreadline.h.in version [9edfb6a933].
Added tclreadline.n.in version [95320aa273].
Modified tclreadlineConfig.sh.in
from [627accf60a]
to [6ae67959cd].
|
Modified tclreadlineInit.tcl.in
from [e886e245f9]
to [bd7543348e].
1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - + + - - - - - - - - - + + + + + + + + + + + + + + + + + - | #!/usr/local/bin/tclsh |
Added tclreadlineSetup.tcl.in version [b4f2d71b1d].