4.104.114.84.95
Last change
on this file since b2712e3 was
b2712e3,
checked in by Joel Sherrill <joel.sherrill@…>, on 05/24/01 at 21:58:39
|
2000-05-24 Fernando Ruiz Casas <fernando.ruiz@…>
- monitor/mon-prmisc.c: Correct print line.
- shell/Makefile.am: Added new file telnetd.c.
- shell/telnetd.c, shell/telnetd.h, shell/pty.c: New files.
- shell/shell.c, shell/cmds.c, shell/shell.h: Numerous improvments:
- The shell_init has a new parameter 'forever' because in
/dev/console you need that this process runs forever but in
tcp/ip not. (respawn?)
- A new task for every session opened trought tcp/ip telnet client.
(the chargen,daytime and more are possible of implementation but
I ask me if they are necesary)
- Exit from the session delete the task and when the client fails too.
- More cmds have been implemented. (very reduced version of these)
umask, chmod, id, whoami, rm, cat, ...
- A reduced line edit has been implemented.
Ctrl-C abort the input,
Ctrl-d in the first position gives EOF (logout).
'\b' and DEL makes the rubout operation.
I think that readline() for every session spents a lot of resources.
|
-
Property mode set to
100644
|
File size:
919 bytes
|
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
6 | |
---|
7 | include_rtemsdir = $(includedir)/rtems |
---|
8 | |
---|
9 | LIBNAME = libshell-tmp |
---|
10 | LIB = $(ARCH)/$(LIBNAME).a |
---|
11 | |
---|
12 | C_FILES = cmds.c shell.c pty.c telnetd.c |
---|
13 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
---|
14 | |
---|
15 | include_rtems_HEADERS = shell.h telnetd.h |
---|
16 | |
---|
17 | OBJS = $(C_O_FILES) |
---|
18 | |
---|
19 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
20 | include $(top_srcdir)/../../../automake/compile.am |
---|
21 | include $(top_srcdir)/../../../automake/lib.am |
---|
22 | |
---|
23 | $(PROJECT_INCLUDE)/rtems: |
---|
24 | @$(mkinstalldirs) $@ |
---|
25 | $(PROJECT_INCLUDE)/rtems/%.h: %.h |
---|
26 | $(INSTALL_DATA) $< $@ |
---|
27 | |
---|
28 | # |
---|
29 | # (OPTIONAL) Add local stuff here using += |
---|
30 | # |
---|
31 | |
---|
32 | $(LIB): $(OBJS) |
---|
33 | $(make-library) |
---|
34 | |
---|
35 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \ |
---|
36 | $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%) |
---|
37 | |
---|
38 | all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) |
---|
39 | |
---|
40 | .PRECIOUS: $(LIB) |
---|
41 | |
---|
42 | EXTRA_DIST = README shell.c cmds.c pty.c telnetd.c shell.h telnetd.h |
---|
43 | |
---|
44 | include $(top_srcdir)/../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.