What stty/SET TERM settings for long pastes?

Peter Scott pjs at euclid.jpl.nasa.gov
Tue Jan 8 09:28:34 AEST 1991


I often wish to cut a large piece of text from one xterm (I have
saveLines set to 1000) into another (e.g., sending session scripts
from a different machine in mail, etc) and I find that not all of
the pasted text gets accepted sometimes.

If I'm pasting text into, say, a Unix cat >thing or mail some at one
command, somewhere short of ~100 average lines the pasted text
will be truncated.  The truncation point is pseudo-random; I can
paste again and again and it will move.  It seems to me that this
could be solved with some stty setting but I don't know what; this
is what I have set in my xterms:

speed 9600 baud, 57 rows, 80 columns
parenb -parodd cs7 -cstopb -hupcl cread -clocal -crtscts
-ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
ixon -ixany -ixoff imaxbel
isig iexten icanon -xcase echo echoe echok -echonl -noflsh -tostop
echoctl -echoprt echoke
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel
erase  kill   werase rprnt  flush  lnext  susp   intr   quit   stop   eof
^?     ^U     ^W     ^R     ^O     ^V     ^Z/^Y  ^C     ^\     ^S/^Q  ^D

Closely related to this, pasting text into a VMS session window results
in even less being accepted, with a corresponding data overrun error.
The window is an xterm in which telnet has been executed; after logging
on to VMS I execute a SET TERM/INQUIRE command.  This is what I end up
with:

Terminal: _XXA0:      Device_Type: VT100         Owner: Peter Scott
                                              Username: PJS

   Input:   9600      LFfill:  0      Width:  80      Parity: None
   Output:  9600      CRfill:  0      Page:   24

Terminal Characteristics:
   Interactive        Echo               Type_ahead         No Escape
   No Hostsync        TTsync             Lowercase          Tab
   Wrap               Scope              Remote             No Eightbit
   Broadcast          No Readsync        No Form            Fulldup
   Modem              No Local_echo      Autobaud           Hangup
   No Brdcstmbx       No DMA             No Altypeahd       Set_speed
   Line Editing       Overstrike editing No Fallback        No Dialup
   No Secure server   Disconnect         No Pasthru         No Syspassword
   No SIXEL Graphics  No Soft Characters No Printer Port    Numeric Keypad
   ANSI_CRT           No Regis           No Block_mode      Advanced_video
   No Edit_mode       DEC_CRT            No DEC_CRT2        No DEC_CRT3

I would dearly love to know how to solve either or both of these
problems, they are cramping my style something severe.  Thanks in
advance for any help; send me e-mail and I'll summarize.

The workstation is a Sun IPC (4/40), running SunOS 4.1, X11R4.18, motif 1.1.

-- 
This is news.  This is your       |    Peter Scott, NASA/JPL/Caltech
brain on news.  Any questions?    |    (pjs at euclid.jpl.nasa.gov)



More information about the Comp.unix.questions mailing list