From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5455 invoked from network); 12 Mar 1999 14:35:12 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 12 Mar 1999 14:35:12 -0000 Received: (qmail 4390 invoked by alias); 12 Mar 1999 14:34:40 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5777 Received: (qmail 4375 invoked from network); 12 Mar 1999 14:34:38 -0000 To: zsh-workers@sunsite.auc.dk Path: mason From: mason@primenet.com.au (Geoff Wing) Newsgroups: lists.zsh.workers Subject: Re: Debug / cut'n'paste on IRIX Date: 12 Mar 1999 14:33:21 GMT Organization: PrimeNet Computer Consultants Distribution: local Message-ID: References: <001201be6c72$18aaa260$21c9ca95@mowp.siemens.ru> Reply-To: mason@primenet.com.au NNTP-Posting-Host: coral.primenet.com.au X-Trace: coral.primenet.com.au 921249201 5435 203.43.15.2 (12 Mar 1999 14:33:21 GMT) X-Complaints-To: usenet@coral.primenet.com.au NNTP-Posting-Date: 12 Mar 1999 14:33:21 GMT User-Agent: slrn/0.9.5.4 (UNIX) Andrej Borsenkow typed: :[I am sorry for all these mails] :> that's what happens. I could not find the relevant part in :> sources - anybody (Geoff) - could you get a look: :> :> Cut'n'pasted in another shell. As you see, after it gets first :> new line it does ioctl(10, TCSETSW,...) before PS2, that, :> unfortunately, throughs away all pending input :-( The following :> FIONREAD is useless in this case. There is a problem I have on my machine with nearly every shell with pasting large amounts into the shell. At one time I made a quick aborted effort into searching for it. I wondered if it was to do with ungetting characters unsafely but haven't fixed my thinking as that being the cause for the buffer overwriting. It needs a larger amount of data (not, say, < 200 chars as reported in the Irix case) before I'm likely to see it. Many other applications don't show it, e.g. vim in the shell will work fine. My normal check here is select a screen worth into the cut buffer then type "echo '" and paste. It'll beep at me (several times) and lose most of the stuff. Anyway, I'll make another look for it soon (i.e. not today). Regards, -- Geoff Wing Mobile : (Australia) 0412 162 441 Work URL: http://www.primenet.com.au/ Ego URL: http://pobox.com/~gcw/