[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

trouble with ^C on Solaris.



Hi, 

set up is as follows:

client is an OpenBSD box, 3.0, with the included Heimdal, also tested on
FreeBSD, with handbuilt heimdal-0.4e. 

server is Solaris 8, also on heimdal-0.4e,l built with compat options, 
using krb4-1.1.

When logging in over console server or via SSH everythings fine, all ^chars
do their expected deeds, but using Heimdal:

### start ###
$ uname -a
OpenBSD slimsixten 3.0 SLIMSIXTEN#5 i386
$ kauth
mansaxel@SUNET.SE's Password: 
$ klist
Credentials cache: FILE:/tmp/krb5cc_1004
        Principal: mansaxel@SUNET.SE

  Issued           Expires          Principal             
Feb 14 14:33:50  Feb 15 00:34:06  krbtgt/SUNET.SE@SUNET.SE

v4-ticket file: /tmp/tkt1004
Principal:      mansaxel@SUNET.SE

  Issued           Expires          Principal             
Feb 14 14:33:50  Feb 15 00:38:50  krbtgt.SUNET.SE@SUNET.SE
$ telnet segate
Trying 192.36.125.6...
Connected to segate.
Escape character is '^]'.
[ Trying mutual KERBEROS5 (host/segate.sunet.se@SUNET.SE)... ]
[ Kerberos V5 accepts you as ``mansaxel@SUNET.SE'' ]
Sun Microsystems Inc.   SunOS 5.8       Generic February 2000
segate.sunet.se$ 

### stop ### 

So, ^Z and other things like ^A, ^K (emacs editing keys in ksh) work, but
^C doesn't even show up as garbage under ksh, which it will do under sh:

segate.sunet.se$ sh
segate.sunet.se$ ^C^C^C^C^C^C
segate.sunet.se$

(i had to type an Enter there to get a newline..) 

stty -a says:

speed 38400 baud; 
rows = 56; columns = 100; ypixels = 0; xpixels = 0;
csdata ?
eucw 1:0:0:0, scrw 1:0:0:0
intr = ^c; quit = ^\; erase = ^h; kill = ^u;
eof = ^d; eol = <undef>; eol2 = <undef>; swtch = <undef>;
start = ^q; stop = ^s; susp = ^z; dsusp = ^y;
rprnt = ^r; flush = ^o; werase = ^w; lnext = ^v;
-parenb -parodd cs8 -cstopb -hupcl cread -clocal -loblk -crtscts -crtsxoff
-parext 
-ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc 
ixon -ixany -ixoff imaxbel 
isig icanon -xcase echo echoe echok -echonl -noflsh 
-tostop echoctl -echoprt echoke -defecho -flusho -pendin iexten 
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel 

Any ideas? 

-- 
Måns Nilsson            Systems Specialist
+46 70 681 7204         KTHNOC
                        MN1334-RIPE