9 days before my lab. Found out the real UNIX equivalent of

From: johngibson1541@yahoo.com
Date: Sat Jul 21 2007 - 20:39:00 ART


OK, "wall" doesn't sent to those /dev/tty*

wall only sends to /dev/pts/* , which we telnet "forward" into
Linux.

I am trying to do IOS's "send *" which I have my routers
"reverse" telnet to my Linux.

I am looking at wall's source code. It is actually a small
200 line dowall.c . Turns out the /dev/pts/* are the
stdin/stdout file-descriptor-like hooks.

The correct answer is , ready,

[johnpc@johnpc ~]$ echo "reload^M" > /dev/ttyUSB*
.

There are 2 ways to key in the [Enter] key,
1. Ctrl-V then Ctrl-[Enter]
2. Ctrl-V then Ctrl-M

The first Ctrl-V escapes your Linux gnome terminal, the second key
sequence generates the actual [Enter] key ascii bits.

So, minicom or IOS's telnet(when used not in TCP/IP), actually
does fd=fopen(/dev/ttyUSB...) to get the file descriptor. Then
they just go wild fprint(fd,"whatever-crazy-strings") to display
their legend or catch escape keys Ctrl-Shift-6 , or display
remote IP addresses.

John



This archive was generated by hypermail 2.1.4 : Sat Aug 18 2007 - 08:17:41 ART