Path: utzoo!mnetor!tmsoft!torsqnt!hybrid!scifi!bywater!uunet!crdgw1!barnett From: barnett@grymoire.crd.ge.com (Bruce Barnett) Newsgroups: comp.windows.open-look Subject: Re: Cmdtool stty problems Message-ID: Date: 25 Feb 91 14:16:26 GMT References: <1991Feb11.091407.27845@cbnewse.att.com> <1991Feb14.093919@Unify.com> <6854@ecs.soton.ac.uk> Sender: news@crdgw1.crd.ge.com Reply-To: barnett@crdgw1.ge.com Organization: GE Corp. R & D, Schenectady, NY Lines: 32 In-reply-to: djp@ecs.soton.ac.uk's message of 20 Feb 91 14:33:51 GMT In article <6854@ecs.soton.ac.uk> djp@ecs.soton.ac.uk (David Pritchard) writes: > Even though we, too, like the sexy scrollbars, we have so much stuff which > just will not work with cmdtool (or shelltool) that we are on the point of > abandoning xview and going back to vanilla X11 :-( Don't forget that cmdtool allows you to use the mouse to edit the command line. This is the real problem, because the terminal is trying to emulate cbreak mode (not vt100 mode). If xterm tried to provide the same functionality, it would have similar problems. Most termcap applications should send out the TI sequence, which turns off scrollbars automatically, putting the window into shelltool mode - which doesn't have to emulate cbreak. If your program doesn't do this, you can use the following aliases: alias ScrollOn '/usr/5bin/echo "\033[>4h\c"' alias ScrollOff '/usr/5bin/echo "\033[>4l\c"' You can also split the window into two views, and have scrollbars in one window, and run your application in the other. Does xterm allow you to cut and paste wide lines between two different width windows, and retain the original line length? Also - does Xterm allow you to select text outside of the current view of the window? I also use secondary selection a lot, which xterm doesn't support. IMHO, Both xterm and cmdtool need work. -- Bruce G. Barnett barnett@crd.ge.com uunet!crdgw1!barnett