SunQuest
           BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old April 18th, 2002, 04:39 AM
nickj nickj is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Manchester, UK
Posts: 1 nickj User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
OpenBSD: Applications not responding to INTR control character

I'm having a relatively trivial (but very weird) problem with my installation of OpenBSD that has now got me pulling my hair out in frustration as I'm all out of ideas as to how to solve it.

Basically, certain applications such as tail don't respond to an INTR generated using (for example), Ctrl-C. If I do `tail -f /var/log/messages`, and then try to break out of that using the usual Ctrl-C sequence, it's ignored. The ^C is echoed to the screen, but it doesn't interrupt tail.

So as you can imagine, this is somewhat annoying. I can generate a QUIT to get out of such a situation but usually it (it being whatever application I'm using at the time) dumps core so it's probably not a good idea.

The only clue I've got to go on is that this doesn't occur locally, only when I'm connected remotely via SSH.

I've tried a multitude of SSH clients (both Windows and UNIX based), and a variety of termtypes but to no avail. I've messed with stty until I'm blue in the face, and still this problem persists. I've also tried different shells including bash, sh, and ksh. Oh, and it occurs with both my kernel and a GENERIC kernel.

I'm running OpenBSD 3.0-STABLE (source synchronised and rebuilt 15/04/02), with OpenSSH_3.1. Below is an output of wsconsctl -a, and an output of stty -a. My /etc/termcap is termtypes.master,v 1.30, and my /etc/ttys is ttys,v 1.16 2001/02/11 - both unmodified.

If there is something else that anyone requires to help diagnose and solve this problem then just let me know and I'll be happy to provide it.

[wconsctl -a]
keyboard.type=pc-xt
keyboard.bell.pitch=400
keyboard.bell.period=100
keyboard.bell.volume=50
keyboard.bell.pitch.default=400
keyboard.bell.period.default=100
keyboard.bell.volume.default=50
keyboard.repeat.del1=400
keyboard.repeat.deln=100
keyboard.repeat.del1.default=400
keyboard.repeat.deln.default=100
keyboard.ledstate=0
keyboard.encoding=uk
display.type=vga-pci
display.focus=0
display.screen_on=250
display.screen_off=600000
display.vblank=off
display.kbdact=off
display.msact=off
display.outact=off
[/wsconsctl -a]

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

Reply With Quote
  #2  
Old May 6th, 2002, 07:37 AM
Fjodor Fjodor is offline
Slacker
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: Sweden
Posts: 76 Fjodor User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Hiya.

This happens on some SSH clients, but it is indeed strange that you get this with many clients as in my experience, most have support for this.

I can tell you that I, that have a box where I run OpenBSD 3.0-STABLE with no modifications (except the http, ftp and sendmail parts) like you, have no problems like this.

I use SecureCRT for SSH'ing from my windows, and it supports all escape characters. Of the clients I've tried, I like that one the most... Naturally it has some problems aswell, but what program doesnt? The others have more of them....

Hopefully changeing your client will solve your problem.

From your post I assume this happens remotely, not locally.

/Fjodor

Reply With Quote
  #3  
Old May 8th, 2002, 01:10 PM
estrabd's Avatar
estrabd estrabd is offline
o0o.o0o
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: m00n
Posts: 184 estrabd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 48 sec
Reputation Power: 8
Send a message via ICQ to estrabd Send a message via AIM to estrabd Send a message via Yahoo to estrabd
what is the TERM environmental variable set to once you have logged in?

Brett

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > OpenBSD: Applications not responding to INTR control character


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway