History log of /freebsd-11.0-release/usr.sbin/dconschat/dconschat.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 303975 11-Aug-2016 gjb

Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASE
cycle.

Prune svn:mergeinfo from the new branch, and rename it to RC1.

Update __FreeBSD_version.

Use the quarterly branch for the default FreeBSD.conf pkg(8) repo and
the dvd1.iso packages population.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 302408 08-Jul-2016 gjb

Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, as nothing has been merged
here.

Additional commits post-branch will follow.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 284913 28-Jun-2015 pfg

dconschat(8): Use NULL instead of 0 for the last argument in execl(3)

Found while experimenting with the gcc sentinel attribute.

MFC after: 3 days


# 233195 19-Mar-2012 dim

Fix the following warning from clang trunk:

usr.sbin/dconschat/dconschat.c:163:65: error: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'off_t' (aka 'long long') [-Werror,-Wformat]
snprintf(buf, PAGE_SIZE, "\r\n[dconschat reset target(addr=0x%zx)...]\r\n", dc->reset);
~~^ ~~~~~~~~~
%llx

Silence this by casting dc->reset to intmax_t, and using the appropriate
length modifier. While here, wrap the line to a 80 character margin.

MFC after: 3 days


# 194187 14-Jun-2009 ed

Include <sys/wait.h> and <signal.h> for wait() and kill().


# 171397 12-Jul-2007 simokawa

Set the default escape character as described in the manpage of dconschat(8).
Fix a cut-and-paste error.

Spotted by: avatar
Approved by: re (rwatson)


# 170775 15-Jun-2007 simokawa

- Add an option to change escape character.
- Use CTRL macro.
- Make target reset work on telnet port.
- Add a key bind to invoke kgdb on the terminal. (experimental)


# 170433 08-Jun-2007 simokawa

Reset dc->paddr and dc->reset if we cannot read configuration ROM.


# 170422 08-Jun-2007 simokawa

Clean up escape sequence handling and add support for
resetting target and suspending dconschat.


# 170399 07-Jun-2007 simokawa

Add heuristics for smooth reconnection.


# 170146 31-May-2007 simokawa

Discard backlog on GDB port when connected.

MFC after: 3 days


# 143416 11-Mar-2005 stefanf

Fix typos in comments.


# 143415 11-Mar-2005 stefanf

Use socklen_t where appropriate.


# 135821 26-Sep-2004 simokawa

Invalidate dcons buffer address if the magic is wrong.


# 129760 26-May-2004 brooks

Use new eui64(3) functions to print EUI-64s and to allow access to nodes
by EUI-64 and name.

Reviewed by: simokawa


# 126038 20-Feb-2004 simokawa

Normalize polling interval while the target is offline.


# 122356 09-Nov-2003 simokawa

Increase MAXDEV up to 10.


# 122224 07-Nov-2003 simokawa

Cosmetic change.


# 121503 25-Oct-2003 simokawa

remove debug message.


# 121468 24-Oct-2003 simokawa

Add dumb console driver and related bits.

dcons(4): very simple console and gdb port driver
dcons_crom(4): FireWire attachment
dconschat(8): User interface to dcons

Tested with: i386, i386-PAE, and sparc64.