mdixon@parc.xerox.com (Mike Dixon) (07/04/90)
so i got a copy of Stuart, and was happy -- here's a terminal/shell program that does the right thing. scrollback, cut/paste, full vt100 emulation, and a meta-key. then it occured to me that i could start using the editmode=emacs feature of NeXT's csh -- quite a win, if you already use emacs. except that i wanted to use the meta-key for things like meta-b, and csh uses an esc prefix instead. i'd have thought i'd be able to rebind it, but csh carefully strips the meta bit from each character before it looks at it (even after you've said 'stty pass8' to stop the tty handler from grabbing it). so... here are two patches to csh to (a) stop it from stripping the meta bit, and (b) restore esc completion (editmode=emacs normally makes it take 2 escapes to do a completion). if you can figure out how to apply these, i'll assume you're clever enough not to clobber your only copy of csh and thus i'm omitting all the obvious warnings about that. as an added bonus, as soon as you turn meta-bits on, the bindings that were set up for an esc-prefix start working with the meta-key! at offset 66169 in /bin/csh, change 0x0212007f to 0x021200ff (don't mask off the meta-bit) at offset 66661 in /bin/csh, change 0x4e56000023f9 to 0x4ef9000131a8 (single escape completion) once you've done this, add 'stty pass8' to your .login, set the hacked copy of csh as your Shell default in Stuart, and you're ready to roll. (sources? we don't need your steenking sources...) -- .mike.
scott@xcf.Berkeley.EDU (Scott Silvey) (07/04/90)
In article <MDIXON.90Jul3201341@thelonius.parc.xerox.com>, mdixon@parc.xerox.com (Mike Dixon) writes: |> so i got a copy of Stuart, and was happy -- here's a terminal/shell |> program that does the right thing. scrollback, cut/paste, full vt100 |> emulation, and a meta-key. |> .mike. Ah! So there IS a reasonable terminal emulator that uses the NeXT windowing system. I posted a request for such info at the beginning of this week but have gotten no replies as of yet. So what is this program, what does it do, and how can it be obtained? I am very interested in something with these features you mentioned... Thanks, Scott
mdixon@parc.xerox.com (Mike Dixon) (07/05/90)
Stuart is shareware. a pre-1.0 version is available at all the major ftp sites (e.g. j.cc.purdue.edu) -- 1.0 is promised RealSoonNow. if you decide you like it, make sure to send your $40 in to Scott. there are a couple of known bugs in the pre-release version; if you avoid them it seems to be quite solid: (a) don't set the preferences with the preferences panel (use dwrite), and (b) don't set your window length to a power of two (e.g. 32 or 64). there's also a display bug with underlined characters and some roughness in the mouse selection. all this is supposed to be fixed in 1.0. despite the gotchas in the current version, i definitely recommend it over either Terminal or Shell. -- .mike.