Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 1995 08:20:08 -0800 (PST)
From:      batie@agora.rdrop.com (Alan Batie)
To:        bugs@freebsd.org
Subject:   2.1.0 & ttys
Message-ID:  <m0tSniy-000AlkC@agora.rdrop.com>

index | next in thread | raw e-mail

Since I've upgraded to 2.1.0, I've gotten a lot of complaints from my
users about the ttys, but I'm still making sure most of them aren't
coincidencidental user errors or my configuration problem.  This one
I caught dead on though (I went to look at the modem on ttydj, and it
is not connected; ttydj is on the second Boca 2016 in my system, although
I've been seeing this on random ports):

xxxxxxx   3271     1   296  dj  TWs+ 10:16PM    0:00.21 -wsh (wsh)
xxxxxxx   4020  3271   296  dj  TW+  10:37PM    0:00.01 -wsh (wsh)
xxxxxxx   4021  4020  5448  dj  TW+  10:37PM    0:01.42 /usr/local/bin/tin

<agora.rdrop.com> [515] $ w
 7:19AM  up 1 day,  8:37, 11 users, load averages: 0.02, 0.11, 0.08
USER     TTY FROM              LOGIN@  IDLE WHAT
xxxxxxx  dj  -                10:17PM  8:36 /usr/local/bin/tin

speed 115200 baud; 0 rows; 0 columns;
lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
	-echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo
	-extproc
iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel ignbrk
	brkint -inpck -ignpar -parmrk
oflags: opost onlcr oxtabs
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb crtscts -dsrflow
	-dtrflow -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
	eol2 = <undef>; erase = ^H; intr = ^C; kill = ^U; lnext = ^V;
	min = 1; quit = ^\; reprint = ^R; start = ^Q; status = <undef>;
	stop = ^S; susp = ^Z; time = 0; werase = ^W;


This is the SIGHUP handler for wsh:

void
f_exit()
{
  signal(SIGINT, SIG_IGN);
  clear();
  refresh();
  mvcur(0, COLS - 1, LINES - 1, 0);
  
  endwin();
  
  save_config(NULL);
  
  exit(0);
}

-- 
Alan Batie                            ______
batie@agora.rdrop.com                 \    /      Freedom for me to be and do
+1 503 452-0960                        \  /       only what *you* approve of
45 28 59 N / 122 43 20 W / 440' MSL     \/        is no freedom at all.

It is my policy to avoid purchase of any products from companies which use
unrequested email advertisements or telephone solicitation.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0tSniy-000AlkC>