zsh-users
 help / color / mirror / code / Atom feed
From: DervishD <zsh@dervishd.net>
To: Chris Johnson <cjohnson@cs.utk.edu>
Cc: zsh-users@sunsite.dk
Subject: Re: ZLE widget to run gdb on command line
Date: Fri, 6 Oct 2006 17:50:09 +0200	[thread overview]
Message-ID: <20061006155009.GA30867@DervishD> (raw)
In-Reply-To: <20061006153637.GA1901@namib.cs.utk.edu>

    Hi Chris :)

 * Chris Johnson <cjohnson@cs.utk.edu> dixit:
> DervishD sent me the following 1.0K:

    This is the most funny attribution line I've ever seen XDDDD
 
> > > Hi.  I just thought I'd share a widget that I find helpful.  Invoking
> > > gdb is something I need to do a lot lately, it seems, and I often think
> > > I can pass the program's arguments as arguments to gdb:
> >
> >     Try this:
> > 
> >     gdb --args myprog arg1 arg2 arg3
> 
> You think they'd document these things in the man pages.  Or maybe my
> man pages are out of date.

    With GNU things, don't rely on manpages, rely on the info
documentation (yes, I hate that format too, but...). In the --help
output the "--args" option is slightly documented (being "slightly"
the keyword here...).

    Unfortunately, not all software is as well documented as zsh,
specially GNU software.

> >     (if you don't use a core argument, of course)
> > 
> >     BTW, the widget is quite useful, not only for gdb, but for other
> > interactive programs too where you ALWAYS run certain command at
> > startup. Thanks :))
> 
> Yep, you still need to type "run" with --args.  Thanks for the heads-up.

    I'm using your widget right now with a friend's ftp server that
forces me to do "epsv4 off" in my ftpclient each time I connect. As I
said, this is quite useful :))

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!


  reply	other threads:[~2006-10-06 15:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-06 14:52 Chris Johnson
2006-10-06 15:23 ` DervishD
2006-10-06 15:36   ` Chris Johnson
2006-10-06 15:50     ` DervishD [this message]
2006-10-06 16:38       ` John Eikenberry
2006-10-06 15:25 ` Drew Perttula
2006-10-06 17:04 ` Phil Pennock
2006-10-07  2:10   ` Bart Schaefer
2006-10-07  2:31 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061006155009.GA30867@DervishD \
    --to=zsh@dervishd.net \
    --cc=cjohnson@cs.utk.edu \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).