Re: [newbie] neat trick: man completion

2003-07-02 Thread Tom Brinkman
On Tuesday July 1 2003 11:19 pm, Eric Huff wrote:
   Tab doesn't work when the app follows man. Try  'man
   cdrecTab' and nuthin' will happen.
  
   Miark
 
  H it does here. Maybe because I'm runnin 9.2

 Cool.  You're using bash, right?


   Yep, but I think the Esc twice is probly a good idea. I've 
since tested Tab on other apps besides 'cdrec' and it doesn't 
always work.  So I guess I've learned somethin new ;) 
-- 
Tom Brinkman  Corpus Christi, Texas


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] neat trick: man completion

2003-07-02 Thread Eric Huff
  Cool.  You're using bash, right?
 
Yep, but I think the Esc twice is probly a good idea. I've 
 since tested Tab on other apps besides 'cdrec' and it doesn't 
 always work.  So I guess I've learned somethin new ;) 

Funny, because Esc twice doesn't work here!  I gotta Esc !

What a strange feature...

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] neat trick: man completion

2003-07-02 Thread Tom Brinkman
On Wednesday July 2 2003 10:11 am, Eric Huff wrote:
   Cool.  You're using bash, right?
 
 Yep, but I think the Esc twice is probly a good idea. I've
  since tested Tab on other apps besides 'cdrec' and it doesn't
  always work.  So I guess I've learned somethin new ;)

 Funny, because Esc twice doesn't work here!  I gotta Esc !

 What a strange feature...

No you're right, I screwed up. Don't know why I wrote 'Esc 
twice', it's  Esc! that works.  Guess I've still got some 
learnin to do ;)

-- 
Tom Brinkman  Corpus Christi, Texas


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


RE: [newbie] neat trick: man completion

2003-07-02 Thread Kaminsky Moshe

Hi,

At least in zsh, completion is programmable: there is a context
sensitive completion that you can define for any command, and it is all
done with the same key (tab for me, but you can change that). And zsh
comes with completion already programed for almost anything I use (eg
make targets after 'make', perl modules with 'perldoc' and with the -M
switch, and, of course, man topics after 'man'). I don't know if bash
has this as well

Moshe

 -Original Message-
 From: Eric Huff [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, June 28, 2003 6:58 PM
 To: [EMAIL PROTECTED]
 Subject: [newbie] neat trick: man completion
 
 
 Haven't seen it before, but very useful:
 
 To use word completion with man, hit ESC !.
 
 IE:
 
 [EMAIL PROTECTED] huff]$ man pk   here i hit ESC !
 pk2bm   pkg-config  pkill   pktogf  pktopbm pktype
 
 and it gave all the solutions.
 
 This is straight out of the ML 9.0 Command line manual (p19).
 
 eric
 
 
 
 
 This message is processed by the PrivaWall Email Security Server. 
 
 


 The information contained in this communication is proprietary to Israel Aircraft 
Industries Ltd. 
and/or third parties, may contain confidential or privileged information, and is 
intended only for 
the use of the intended addressee thereof. If you are not the intended addressee, 
please be aware 
that any use, disclosure, distribution and/or copying of this communication is 
strictly prohibited.
If you receive this communication in error, please notify the sender immediately and 
delete it from 
your computer. Thank you. 


This message is processed by the PrivaWall Email Security Server. 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] neat trick: man completion

2003-07-01 Thread Tom Brinkman
On Monday June 30 2003 06:48 pm, Miark wrote:
 Tab doesn't work when the app follows man. Try  'man
 cdrecTab' and nuthin' will happen.

 Miark

H it does here. Maybe because I'm runnin 9.2


 On Mon, 30 Jun 2003 10:47:51 -0500

 Tom Brinkman [EMAIL PROTECTED] wrote:
  Once, twice w/wo the ! key, what'a y'all goin on about?
  the Tab key is used for auto completion, no?  Well, OK, Esc
  twice works too, but why not just hit Tab once?

-- 
Tom Brinkman  Corpus Christi, Texas


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] neat trick: man completion

2003-07-01 Thread John Drouhard
On Sat, 28 Jun 2003 09:58:03 -0700
Eric Huff [EMAIL PROTECTED] wrote:

 Haven't seen it before, but very useful:
 
 To use word completion with man, hit ESC !.
 
 IE:
 
 [EMAIL PROTECTED] huff]$ man pk   here i hit ESC !
 pk2bm   pkg-config  pkill   pktogf  pktopbm pktype
 
 and it gave all the solutions.
 
 This is straight out of the ML 9.0 Command line manual (p19).
 
 eric
 

I tried man che and returned cheatmake, checkinstall, and checkXML. I
tried man checkinstall and it said no manual entry for checkinstall. So
this little trick isn't perfect! :/

Oh well,
John Drouhard


-- 
Tue Jul  1 16:47:59 CDT 2003
-
They told me to install Windows 98 or better, so I installed Linux.
Registered Linux User # 315649
Registered Machine # 201001

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] neat trick: man completion

2003-07-01 Thread Eric Huff
  [EMAIL PROTECTED] huff]$ man pk   here i hit ESC !
  pk2bm   pkg-config  pkill   pktogf  pktopbm pktype
 
  and it gave all the solutions.
 
  This is straight out of the ML 9.0 Command line manual (p19).
 
  eric
 
 Hey Eric. Just curious, I have to hit esc twice here, and it asks if I want 
 to display all 102 possibilities :-0

Hmmm... Don't know why you had to hit esc 2X.  You should also be able to hold down 
alt instead of esc:

alt !  (don't forget that ! is shift-1, not just 1).

As for 102 possibilities, whew!  Maybe you have a lot more pk's installed than i do?  
In which case you hafta know another letter of the thing you are looking up...  If i 
do just p i get similar:

[EMAIL PROTECTED] huff]$ man p  here i hit ESC !
Display all 340 possibilities? (y or n)
[EMAIL PROTECTED] huff]$ man p


eric

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] neat trick: man completion

2003-07-01 Thread Miark
That sounds like there's simply no manual for checkinstall,
in which case the Esc! is acting normally. (I know some
have only --help/-h switches instead of actual man pages.)

Miark


On Tue, 1 Jul 2003 16:49:28 -0500, John Drouhard [EMAIL PROTECTED] wrote:

 I tried man che and returned cheatmake, checkinstall, and checkXML. I
 tried man checkinstall and it said no manual entry for checkinstall. So
 this little trick isn't perfect! :/

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] neat trick: man completion

2003-07-01 Thread Eric Huff
 I tried man che and returned cheatmake, checkinstall, and checkXML. I
 tried man checkinstall and it said no manual entry for checkinstall. So
 this little trick isn't perfect! :/

Oddly, none of the three che files had man pages!

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] neat trick: man completion

2003-06-30 Thread Miark
By ESC !, Eric mean Escape keyExclamation mark key. :-)

Miark



On Sat, 28 Jun 2003 13:39:19 -0400
Ronald J. Hall [EMAIL PROTECTED] wrote:

 Hey Eric. Just curious, I have to hit esc twice here, and it asks if I want 
 to display all 102 possibilities :-0

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] neat trick: man completion

2003-06-30 Thread Ronald J. Hall
On Saturday 28 June 2003 06:07 pm, Eric Huff wrote:

 Hmmm... Don't know why you had to hit esc 2X.  You should also be able to
 hold down alt instead of esc:

 alt !  (don't forget that ! is shift-1, not just 1).

 As for 102 possibilities, whew!  Maybe you have a lot more pk's installed
 than i do?  In which case you hafta know another letter of the thing you
 are looking up...  If i do just p i get similar:

 [EMAIL PROTECTED] huff]$ man p  here i hit ESC !
 Display all 340 possibilities? (y or n)
 [EMAIL PROTECTED] huff]$ man p


 eric

Ah - ok - my bad, I got it now, thanks! :-)

-- 
  
  /\  
DarkLord 
  \/  


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] neat trick: man completion

2003-06-30 Thread Tom Brinkman
On Sunday June 29 2003 02:06 pm, Miark wrote:
 By ESC !, Eric mean Escape keyExclamation mark key. :-)

 Miark

 On Sat, 28 Jun 2003 13:39:19 -0400

 Ronald J. Hall [EMAIL PROTECTED] wrote:
  Hey Eric. Just curious, I have to hit esc twice here, and it
  asks if I want to display all 102 possibilities :-0


Once, twice w/wo the ! key, what'a y'all goin on about? the 
Tab key is used for auto completion, no?  Well, OK, Esc twice 
works too, but why not just hit Tab once?
-- 
Tom Brinkman  Corpus Christi, Texas


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] neat trick: man completion

2003-06-28 Thread Eric Huff
Haven't seen it before, but very useful:

To use word completion with man, hit ESC !.

IE:

[EMAIL PROTECTED] huff]$ man pk   here i hit ESC !
pk2bm   pkg-config  pkill   pktogf  pktopbm pktype

and it gave all the solutions.

This is straight out of the ML 9.0 Command line manual (p19).

eric

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] neat trick: man completion

2003-06-28 Thread Ronald J. Hall
On Saturday 28 June 2003 12:58 pm, Eric Huff wrote:
 Haven't seen it before, but very useful:

 To use word completion with man, hit ESC !.

 IE:

 [EMAIL PROTECTED] huff]$ man pk   here i hit ESC !
 pk2bm   pkg-config  pkill   pktogf  pktopbm pktype

 and it gave all the solutions.

 This is straight out of the ML 9.0 Command line manual (p19).

 eric

Hey Eric. Just curious, I have to hit esc twice here, and it asks if I want 
to display all 102 possibilities :-0

-- 
  
  /\  
DarkLord 
  \/  


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com