lenny@quincy.UUCP (Lenny Tropiano) (12/01/87)
In ksh on my AT&T 3B2/310, I typed "<ESC>=" while in VI-mode. It responded with a "ls-type" directory with each of the files numbered 1 thru X. What good it is? What does it do? I don't see it in my manual page. Can someone enlighten me? -Lenny -- Lenny Tropiano ...seismo!uunet!godfre!quincy!lenny -or- American LP Systems, Inc. ...cmcl2!phri!gor!helm!quincy!lenny -or- 1777-18 Veterans Memorial Hwy. ...mtune!quincy!lenny -or Islandia, New York 11722 +1 516-582-5525 ...ihnp4!icus!quincy!lenny
lvc@tut.UUCP (12/01/87)
In article <73@quincy.UUCP>, lenny@quincy.UUCP (Lenny Tropiano) writes: > In ksh on my AT&T 3B2/310, I typed "<ESC>=" while in VI-mode. It responded > with a "ls-type" directory with each of the files numbered 1 thru X. What > good it is? What does it do? I don't see it in my manual page. Can > someone enlighten me? > -Lenny In the "Other Edit Commands" section of the "Vi Editing Mode" section (on page 23 of my man page): = List the filenames that match the current word if an asterisk were appended to it. If your are typing a command and you forget the exact spelling of a filename, you can use this to see it without losing what you've typed so far. I haven't used this feature of ksh very much myself, but its nice to have around. -- Larry Cipriani AT&T Network Systems at cbosgd!osu-cis!tut!lvc Ohio State University
twb@hoqax.UUCP (BEATTIE) (12/02/87)
In article <2497@tut.cis.ohio-state.edu>, lvc@tut.cis.ohio-state.edu (Lawrence V. Cipriani) writes: Re: <ESC>= > If you are typing a command and you forget the exact spelling of a > filename, you can use this to see it without losing what you've typed > so far. I haven't used this feature of ksh very much myself, but its > nice to have around. In emacs mode you can also use <ESC><ESC> to do filename completion - A very nice feature that I use all the time. Too bad vi users don't get that capability. Tom.
cms@ho7cad.UUCP (12/03/87)
In article <1232@hoqax.UUCP>, twb@hoqax.UUCP (BEATTIE) writes: > In emacs mode you can also use <ESC><ESC> to do filename completion - A > very nice feature that I use all the time. > Too bad vi users don't get that capability. Filename completion works in vi mode, on the command line something like $ cat file.*<ESC>* will complete the filename, this seems to work with all the vi pattern matching meta-characters. Dean S. Jones AT&T BL HO (AT&T Gateways)!ho7cad!cms (AT&T Gateways)!ho7cad!dean
lwv@n8emr.UUCP (Larry W. Virden) (12/05/87)
I use vi mode a lot. I found a quirk when trying the vi mode version of this: imagine a directory which includes the file "sorted.news". I typed : ls s<esc>. and I got: lsorted.news Any ideas out there? Also, I am wondering if anyone knows of any patches for ksh, especially for Ultrix. I see several strange occurances - like a tracked alias which disappears occasionally, an invalid identifier which only appears when I log in from a modem port - not a directly wired port, am frustrated by not being able to do string replacement on numbers only when accessing the history list, and a few other such things. I am really interested in any and all patches that you know about. -- Larry W. Virden 75046,606 (CIS) 674 Falls Place, Reynoldsburg, OH 43068 (614) 864-8817 cbosgd!n8emr!lwv (UUCP) cbosgd!n8emr!lwv@ucbvax.Berkeley.EDU (BITNET) We haven't inherited the world from our parents, but borrowed it from our children.
hogue@hsi.UUCP (Jim Hogue) (11/14/89)
Has anyone attempted to *fix* (or is this a feature) ksh such that it will allow type ahead when coming out of a stopped job? In particular I am in an editor, I write out my changes, stop the job, type make, and I keep getting things like "ake not found" or I end up in the editor (e). I seem to recall that early versions of csh (or perhaps some ports) had this problem and it was fixed. Anyone taken on ksh yet? (FYI, Vanilla 4.3 BSD on a VAX). -- It was to wet to go out. To cold to play ball. So we sat in the house. We did nothing at all -- Dr. Seuss So they invented computers! Jim Hogue hogue@hsi.com or {noao, uunet, yale}!hsi!hogue