summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dconschat/dconschat.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC 284913:pfg2015-07-011-1/+1
| | | | | | dconschat(8): Use NULL instead of 0 for the last argument in execl(3) Found while experimenting with the gcc sentinel attribute.
* Fix the following warning from clang trunk:dim2012-03-191-1/+4
| | | | | | | | | | | | 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
* Include <sys/wait.h> and <signal.h> for wait() and kill().ed2009-06-141-0/+2
|
* Set the default escape character as described in the manpage of dconschat(8).simokawa2007-07-121-1/+4
| | | | | | | Fix a cut-and-paste error. Spotted by: avatar Approved by: re (rwatson)
* - Add an option to change escape character.simokawa2007-06-151-30/+113
| | | | | | - Use CTRL macro. - Make target reset work on telnet port. - Add a key bind to invoke kgdb on the terminal. (experimental)
* Reset dc->paddr and dc->reset if we cannot read configuration ROM.simokawa2007-06-081-1/+1
|
* Clean up escape sequence handling and add support forsimokawa2007-06-081-14/+83
| | | | resetting target and suspending dconschat.
* Add heuristics for smooth reconnection.simokawa2007-06-071-4/+22
|
* Discard backlog on GDB port when connected.simokawa2007-05-311-0/+10
| | | | MFC after: 3 days
* Fix typos in comments.stefanf2005-03-111-3/+3
|
* Use socklen_t where appropriate.stefanf2005-03-111-3/+4
|
* Invalidate dcons buffer address if the magic is wrong.simokawa2004-09-261-1/+5
|
* Use new eui64(3) functions to print EUI-64s and to allow access to nodesbrooks2004-05-261-4/+7
| | | | | | by EUI-64 and name. Reviewed by: simokawa
* Normalize polling interval while the target is offline.simokawa2004-02-201-4/+7
|
* Increase MAXDEV up to 10.simokawa2003-11-091-1/+1
|
* Cosmetic change.simokawa2003-11-071-2/+2
|
* remove debug message.simokawa2003-10-251-1/+0
|
* Add dumb console driver and related bits.simokawa2003-10-241-0/+959
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.
OpenPOWER on IntegriCloud