summaryrefslogtreecommitdiffstats
path: root/cpukit/telnetd/pty.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-04-05Update email address of Fernando Ruiz Casas to <fruizcasas@gmail.com>Joel Sherrill1-4/+7
This was requested to be executed prior to relicensing to BSD-2.
2021-04-13Revert "cpukit: Remove telnetd"Vijay Kumar Banerjee1-0/+401
This reverts commit 3299dda2454a8847c670a732f6c12ef1f2cc5dd0.
2021-04-07cpukit: Remove telnetdVijay Kumar Banerjee1-401/+0
Update #3850
2018-10-11telnetd: Create sessions at startSebastian Huber1-12/+21
Update #3543.
2018-10-09telnetd: Ignore setsockopt() return statusSebastian Huber1-1/+1
Update #3529.
2018-10-01telnetd: Convert pty driver to new Termios APISebastian Huber1-372/+102
Update #3526.
2018-08-29cpukit/telnetd/pty.c: Fix format overflow warning on sprintf()Joel Sherrill1-5/+6
cpukit/telnetd/pty.c:436:47: warning: '%X' directive writing between 1 and 8 bytes into a region of size 3 [-Wformat-overflow=] The devname area was malloc'ed. Now it is statically allocated and sufficiently large to account for the potential buffer overflow.
2018-05-02telnetd: Use syslog() instead of printk()Sebastian Huber1-2/+8
Update #3419.
2016-04-25telnetd: Fix warningsSebastian Huber1-0/+1
2012-09-28telnetd: Map CRLF to CRSebastian Huber1-4/+3
It is not so easy to use Termios for that. We already map CRNUL to CR, thus we cannot ignore CRs. We could change the shell code to map CRNL to a single line end, but this is more intrusive than the change here.
2012-09-28telnetd: Inform client that we will echoSebastian Huber1-12/+15
The standard line editor rtems_shell_line_editor() produces an echo.
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-2/+0
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
2009-12-102009-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-4/+4
* telnetd/pty.c: Reflect changes to rtems_termios_callbacks->write.
2009-12-02Whitespace removal.Ralf Corsepius1-17/+17
2008-07-29Add prototypes. Remove misc. C++-code pollution.Ralf Corsepius1-51/+6
2007-11-262007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-10/+18
* telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up. Now works on gen5200/icecube.
2007-11-062007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-24/+0
* telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Fix headers and formatting.
2007-10-112007-10-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-97/+111
* score/include/rtems/score/copyrt.h: Update year.
2007-09-252007-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-315/+315
* telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c, telnetd/telnetd.h: telnetd rewrite. * telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
2007-09-242007-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-182/+475
PR 1262/filesystem * libcsupport/Makefile.am, libnetworking/libc/herror.c, libnetworking/libc/res_send.c, libnetworking/sys/uio.h, telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am, telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and writev() including documentation and test case. * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
2006-04-27Accept <CR><NUL> as equivalent to <CR><LF>.Eric Norum1-1/+1
2005-10-25Make many functions static.Ralf Corsepius1-23/+24
Rename rtems_telnetd_maximum_ptys to rtems_pty_maximum_ptys.
2005-10-252005-10-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-16/+16
* sapi/include/confdefs.h, telnetd/pty.c, telnetd/pty.h: Attempt to fix MAX_PTYS and provide a real configuration entry. This should make telnetd some suitable for inclusion in cpukit.
2002-05-282002-05-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-1/+1
* rtems_telnetd/pty.c: Remove bsp.h. Include <rtems/bspIo.h>.
2002-01-222002-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-6/+5
* rtems_telnetd/pty.c: Move config.h to were it belongs. Remove printf (Reported by Till Straumann <strauman@SLAC.Stanford.EDU>).
2001-08-092001-08-09 Fernando-Ruiz Casas <correo@fernando-ruiz.com>Joel Sherrill1-11/+13
* Makefile.am, configure.in, rtems_servers/Makefile.am, rtems_servers/telnetd.c, rtems_servers/telnetd.h, rtems_telnetd/Makefile.am, rtems_telnetd/README, rtems_telnetd/icmds.c, rtems_telnetd/pty.c, rtems_telnetd/pty.h, rtems_telnetd/telnetd.c, rtems_telnetd/telnetd.h, wrapup/Makefile.am: - pty and telnetd have a new subdir rtems_telnetd to avoid the side effect when ftpd change. - the tcp/ip stats have been implemented into icmds.c and started when telnetd daemon is started. * rtems_servers/telnetd.c, rtems_servers/telnetd.h: Removed. * rtems_telnetd: New directory. * rtems_telnetd/Makefile.am, rtems_telnetd/README, rtems_telnetd/icmds.c, rtems_telnetd/pty.c, rtems_telnetd/pty.h, rtems_telnetd/telnetd.c, rtems_telnetd/telnetd.h: New files.
2001-05-242000-05-24 Fernando Ruiz Casas <fernando.ruiz@ctv.es>Joel Sherrill1-0/+406
* 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.