Johan Danielsson
3ca5f8150f
remove advertising clause
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7463 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 16:58:55 +00:00
Assar Westerlund
fafad0688f
(sl_command_loop): remove unused variable
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5230 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-11-22 09:47:49 +00:00
Johan Danielsson
a5f54865d4
merge strcpy_truncate branch
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5027 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-09 19:25:40 +00:00
Assar Westerlund
82ec807191
s/2/1
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4691 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-28 10:38:56 +00:00
Johan Danielsson
5efdfea618
(sl_loop): check that there is at least one argument before calling
...
sl_command
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4612 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-20 23:46:46 +00:00
Johan Danielsson
ce3a350343
(sl_loop): Fix general broken-ness.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4511 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-01 04:55:19 +00:00
Johan Danielsson
6c7a2f0901
Cleanup printing of help strings.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4506 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-01 04:14:33 +00:00
Assar Westerlund
2138c1d014
(sl_loop): got rid of a warning
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4449 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-02-21 15:26:26 +00:00
Johan Danielsson
351afe16c3
Use fprintf instead of warnx.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4403 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-02-15 04:19:25 +00:00
Johan Danielsson
c7268ff433
Move command line split to function `sl_make_argv'.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4396 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-02-15 04:12:05 +00:00
Assar Westerlund
9b80ffd367
(sl_help): actually use the help' field of
SL_cmd'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3635 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-19 23:12:40 +00:00
Johan Danielsson
353e922dbc
sl_command
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3011 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-15 21:39:59 +00:00
Assar Westerlund
4381cacb0e
let each sl_func return an int indicate if sl_loop should return or not
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2428 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-18 01:04:57 +00:00
Assar Westerlund
49e6c777dd
Initialize the `lasts' to NULL before calling strtok_r the first time.
...
With our strtok_r it's not necessary, but the man-page on SGIs says it
should be done.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1791 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-01 03:15:07 +00:00
Assar Westerlund
72212eb758
(sl_match): initialize `partial_cmd'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1557 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-04-11 14:30:22 +00:00
Johan Danielsson
e1282e7dfc
Update copyright strings.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1541 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-04-01 08:19:18 +00:00
Assar Westerlund
5069362b4a
stupid type change
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1487 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-23 05:09:06 +00:00
Johan Danielsson
b36f1cf6d6
Add prototypes for readline and add_history.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-20 19:32:57 +00:00
Björn Groenvall
e60914acca
Made things compile under SunOS4 again.
...
Fix lots of warnings under SunOS4.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1201 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-01-27 14:08:08 +00:00
Assar Westerlund
868f583bbc
removed unused variables
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1197 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-01-26 20:33:24 +00:00
Assar Westerlund
9bae6325d3
Nicer help output.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1067 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-23 18:29:23 +00:00
Assar Westerlund
57644d9c33
Allow unlimited number of arguments.
...
Use `strtok_r' to divide up string into arguments.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1049 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-19 03:57:59 +00:00
Assar Westerlund
d92314772e
Let `readline' to the \n-removal.
...
Handle empty lines.
Don't store empty lines in the history.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1045 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-18 23:45:33 +00:00
Johan Danielsson
0d06afde69
Use readline compatible i/o.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1044 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-18 20:36:51 +00:00
Assar Westerlund
70bb7de493
new directory
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1040 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-17 23:48:51 +00:00