On Sat, Oct 31, 2009 at 11:25:29AM +0100, Sebastian A. Liem wrote:
> John A. Grahor wrote:
> > I'd like a terminal emulator that has a "dumb" terminal mode, i.e. where
> > line editing can happen locally and what one types is only sent to the tty
> > when one hits return (or some other key).
> Or
> there's no way to put ssh into a line mode as can be done with
> telnet.
Looks like it is problem of ssh, not terminal emulator.
On Sun, Nov 15, 2009 at 06:32:15AM +0100, Uriel wrote:
> The C preprocessor has been pretty much ignored by any decent C
> programmer for decades now, getting rid of it in Go is a non-issue.
It was not ignored. sys/queue.h is very useful
Currently I have only found one simple password manager: pwsafe. It can be used
from command line, can work with X clipboard and uses good cryptography I
think. But it is not supported now and it's code depends on readline,
autotools, written in C++ and consists of one .cpp file. As I can see su
> Currently I have only found one simple password manager: pwsafe. It can be
> used from command line, can work with X clipboard and uses good cryptography
> I think. But it is not supported now and it's code depends on readline,
> autotools, written in C++ and consists of one .cpp file. As I ca
On Thu, Dec 10, 2009 at 11:14:15PM +0100, Nibble wrote:
> Hi,
>
> It is just a little "toy", but maybe it could be useful for someone
> else ;)
>
> http://nibble.develsec.org/hg/toys/file/da45af463c1c/passman
>
> Kind regards,
> Nibble
It can't work with X, but use of GPG instead of creating ne
On Thu, Dec 10, 2009 at 11:03:25PM +, Rob wrote:
> Perhaps you could alter the script to pipe the nth line into xsel, or change
> the format of the 'database'
> e.g.
> gmail hunter2
> supersecritsight.org 1234
> and prompt the user for a site? (man read, xmessage?)
>
>
> From xsel's man page:
> Actually, I think passwordmanagers are not secure. All your passwords are
> just as strong as your PM encryption.
> I have an mnemoc/algorithm which enables me to generate a quite strong
> password (without pen&paper) which depends on the name of the webpage
> and/or username I use there.
But w
> You're right, perhaps it's an xsel bug?
> Perhaps you could
>
> echo "password" | xsel -i
> sleep 0.5
> xsel -c # or -d?
>
> Maybe xclip offers more
pwsafe clears PRIMARY right after you use it. Then it exits. That way
you can use it only one time and you can be sure no one can see you
passwor
> Thanks for the tip :) I updated passman accordingly and now it uses
> "shred -fuz" instead of "rm -f".
Also if you want to make code shorter you can use
[ expr ] && echo true || echo false
instead of if..else.
On BSD systems (like FreeBSD) make is BSD Make and gmake is GNU Make.
On GNU systems (like Debian) make is GNU Make and pmake is BSD Make.
When I wanted to learn more about networks, I started to write
a simple port scanner. Goal was to follow unix-way, so I implemened it
as a program that gets list of hosts as it's arguments and output
table of ports in the format similar to unix `ls` program.
Now I have implemented connect scan and
Removing retransmission will result into some overhead for restarting
the program, processing text output, resolving DNS names. But with DNS
caching it should not be too high.
Maybe I should not compare my program to nmap, it focus on speed, while
my programs should focus on simplicity.
> If the program prints a expanation message and fails if it has read
> permission, then I'd agree with you.
>
Maybe just add chmod inside makefile's install rule?
> sourceforge? are you joking?
>
Maybe http://bitbucket.org/, it is ok? What can you recommend?
> Why don't you use mercurial?
>
Bitbucket is Mercurial hosting I think. If it is ok, I can create
account there.
Ok, code is here: http://bitbucket.org/noname/netscan/
On Sat, Jan 02, 2010 at 02:04:37PM +0100, hiro wrote:
> licenses are stupid
>
I agree. What should be done to place it into the public domain?
Will adding of "/* Public Domain */" into every source file be enough?
> Here is a patch to let it build on OpenBSD:
>
> --- parse.c.origSat Jan 2 12:54:18 2010
> +++ parse.c Sat Jan 2 12:54:01 2010
> @@ -1,3 +1,5 @@
> +#include
> +#include
> #include
>
> #include
> @@ -5,6 +7,7 @@
> #include
> #include
> #include
> +#include
> #include
On Sat, Jan 02, 2010 at 11:46:36AM -0500, Ray Kohler wrote:
> On Sat, Jan 2, 2010 at 11:37 AM, anonymous wrote:
> > On Sat, Jan 02, 2010 at 02:04:37PM +0100, hiro wrote:
> >> licenses are stupid
> >>
> >
> > I agree. What should be done to place it int
> so I needed the following patch to compile it over here on my (lunar-)linux
> box.
>
> --- makefile 2010-01-02 18:56:40.0 +0100
> +++ makefile.patched 2010-01-02 18:58:08.0 +0100
> @@ -13 +13 @@
> - $(CC) $(LDFLAGS) $(OBJS) -o $(PROG)
> + $(CC) $(OBJS) -o $(PROG) $(LDFLAG
Something from gcc manpage:
"It makes a difference where in the command you write this option; the
linker searches and processes libraries and object files in the order
they are specified. Thus, foo.o -lz bar.o searches library z after
file foo.o but before bar.o. If bar.o refers to functions in
Thanks for these fixes. I have applied them and fixed bug (lost break
inside switch) while reviewing the code.
> Is it planned to implement this in DWM?
$ expr 2000 - `wc -l dwm.c | awk '{print $1}'`
It is impossible to implement in two lines of code. More probabily
status bar will be fully removed from dwm then something will be added
to it.
IP ranges are not supported (only single hosts and CIDR) but there is a
(public domain) tool that can convert IP ranges into CIDR:
http://www.spamshield.org/cidr-convert.c
dump_tree function has a bug: "v >> 24" should be written as "v >> 24 &
0xff" instead. After fixing it this tool can be used a
On Sat, Jan 16, 2010 at 10:41:40AM -0500, Joseph Xu wrote:
> So my first question is, has anybody actually ran into problems due
> to violating this rule?
Sometimes there is two headers that depend on some third. First header
includes this third and the second header don't (you may forgot to do
it
> This thread is hilarious, I find it pretty funny that on a mailing list of
> the
> suckless project people are suggesting all kinds of weird things to solve
> this
> instead just using exec /usr/bin/dwm in ~/.xinitrc rather than /usr/bin/dwm.
> Seriously, WTF?!
>
Just checked: I was always
Why not Slackware?
> Problem here is not using exec startx or startx & exit, not using or not
> using exec in xinitrc/xsession!
>
Problem here is (not (using exec startx or startx & exit)), not (using
or not using exec in xinitrc/xsession).
Right?
On Tue, Jan 19, 2010 at 10:46:55PM +0100, Moritz Wilhelmy wrote:
> On Tue, Jan 19, 2010 at 11:56:56PM +0300, anonymous wrote:
> > Why not Slackware?
> >
>
> Why not suse?
>
Maybe it is ok too, but I haven't tried it. I suggest Slackware because
I think that it
On Wed, Jan 20, 2010 at 02:13:49PM +0100, Moritz Wilhelmy wrote:
> On Wed, Jan 20, 2010 at 03:11:03PM +0300, anonymous wrote:
> > Maybe it is ok too, but I haven't tried it. I suggest Slackware because
> > I think that it is what OP asked for: you can build software by hand,
This changeset is not released, but it introduced a bug and it have not
fixed for a month.
The problem is that when you call `focus(lastsel)` from `unmanage`
there is a possibility that lastsel is NULL. In this case `focus` first
first checks `if (!c)` on line 390 and sets `c` to `sel` (line 391).
Where programs should store their options? Sometimes it is said that
global variables are bad, but what is better? Some huge structure
storing all options? Of course, they can be divided into many
structures or they can be passed on a stack instead of passing pointer
to structure but it is not effe
> TAOUP also recommends small programs that do just one thing. If you
> have so many options that you need a "huge structure" to store them,
> that might be a sign that your program is overly complex. Consider
> factoring it into a set of smaller cooperating processes.
It is not too big, but the
Radare INSTALL says "The WAF build system is supossed to replace the
ACR one.". This means that ACR is going to be replaced with WAF?
In the section "HOW TO COMPILE" there is "Standard way" with
configure && make && make install and "Alternative (going to be
deprecated)" based on waf. This means t
On Wed, Jan 27, 2010 at 07:07:49AM +, David Tweed wrote:
> On Wed, Jan 27, 2010 at 6:25 AM, Uriel wrote:
> > Why the fucking hell should the fucking build tool know shit about the
> > OS it is running on?!?!?!
> >
> > If you need to do OS guessing, that is a clear sign that you are doing
> > t
> If you need mkstemp you have have two options: either you restrict
> your program to run only on platforms that include it, or you
> implement your own version. In either case there is *zero* advantage
> of finding out at build time whatever your system includes it or not.
What if there is diffe
I have tried to put code from http://surf.suckless.org/files/link_hints
to ~/.surf/user.js, but it didn't work. Then I looked at config.h and
moved user.js to script.js. It didn't work too. Even putting
"alert('test');" to script.js don't work. style.css works as expected.
Is there anything I obvi
> Having said that, in case of rfork vice versa from FreeBSD.
Yes, I am talking about FreeBSD. With configure you can make your
program portable between FreeBSD and Linux. Most probably other
systems won't implement clone/rfork their own way so program will be
portable between all systems with som
This works:
window.alert('test');
Numbered links still don't, I'll try to fix them.
Looks like script is not evaluated sometimes. Just simple script like
`window.alert("debug");` don't work sometimes. On suckless.org it
evaluates only when I go there with ^g, not when I start `surf
suckless.org`.
Probably binding JS evaluation to "window-object-cleared" is wrong. I
don't know whe
On Wed, Mar 03, 2010 at 03:25:38PM -0600, eze.program...@gmail.com wrote:
> I think this is a good project idea, and it would prove more than useful
> also im looking forward to the simple port scanner, these project ideas
> have caugth my attention.
I have already posted a thread about port scann
> What about fork()? Nowadays hardware is so powerful ;) fork() results
> in nicer code ;)
Creating thread is not as complex as passing host structures. For example,
libthread from Plan 9 has channels. With pthread I should use condition
variables and mutexes to implement queue.
On Thu, Mar 04, 2010 at 01:51:12PM +0100, Mate Nagy wrote:
> In non-uriel style, yes, font rendering is horribly complicated and an
> entirely fucked up discipline, but I don't think a "real" widget set can
> skip out on it. Bitmap fonts are fine for programming (and I even use it
> for web browsin
On Thu, Mar 04, 2010 at 08:14:17PM +0200, Dmitry Maluka wrote:
> Maybe I miss something, but why not just output results as far as hosts
> are scanned? Output isn't that slow to use threads.
The main idea was abstraction: scanning function just pass scanned host
to next stage instead of calling ou
On Thu, Mar 04, 2010 at 11:17:08PM +0200, Dmitry Maluka wrote:
> What is the profit from this abstraction? You call remove_scanned()
> which moves host from host queue to scanned queue; output() takes hosts
> from scanned queue and calls hostprint() for them; and you do
> synchronization. Why not j
On Sat, Mar 06, 2010 at 08:08:34PM +0100, Uriel wrote:
> Go has no threads, they are called goroutines for a very important
> reason: to avoid the ambiguous and totally confused meaning of
> 'threads' which makes serious and useful discussion of concurrency
> almost impossible as long as that word
On Sun, Mar 07, 2010 at 11:48:38PM +0100, Uriel wrote:
> On Sat, Mar 6, 2010 at 9:46 PM, anonymous wrote:
> > portscan compiles when I include u.h, libc.h and thread.h and set CC=9c,
> > LD=9l, I can try to switch to libthread.
>
> Or use libtask, hell, or even Erlang
Revision 175 of surf removed lines 158-162:
/* cookie persistance */
s = webkit_get_default_session();
cookies = soup_cookie_jar_new();
soup_session_add_feature(s, SOUP_SESSION_FEATURE(cookies));
g_signal_connect(cookies, "changed", G_CALLBACK(changecookie), NULL);
Then variable `s` is used again
Better fix:
diff -r 688bf1f96927 surf.c
--- a/surf.cMon Mar 08 10:06:32 2010 +0100
+++ b/surf.cWed Mar 10 23:24:05 2010 +0300
@@ -675,7 +675,6 @@
void
setup(void) {
- SoupSession *s;
char *proxy;
char *new_proxy;
SoupURI *puri;
@@ -703,7 +702,7 @@
Use stable version. Now most of cookies-related code is removed and it
will be rewritten for multi-process design. The problem with existing
cookies code is that it stores cookies when you exit and reloads when you
start new surf process. So if you run 2 surf processes, login in first,
close it and
On Thu, Mar 11, 2010 at 02:33:50PM +, Sean Whitton wrote:
> What do you mean by "stable version"? I've been using 0.3, the .tar.gz
> download, and am not pulling from Mercurial.
I decided you are pulling from hg after I read this:
> It's got worse this week, in that surf has basically stoppe
I have tried to put code from http://surf.suckless.org/files/link_hints
to ~/.surf/user.js, but it didn't work. Then I looked at config.h and
moved user.js to script.js. It didn't work too. Even putting
"alert('test');" to script.js don't work. style.css works as expected.
Is there anything I obvi
Sorry, it is repost. Something strange happened with my MUA, don't know
why it reposted it. I have started this thread some time ago and problem
is already solved.
On Tue, Mar 16, 2010 at 09:56:53PM +0100, julien steinhauser wrote:
> I know it won't help you a lot but both middle_click
> (which also work with ^click) and link_hints
> work here in my ~/.surf/script.js.
>
> I only have little issue with link_hints on a very few sites
> (including suckless.org)
You can use gvim if you really need vim.
Instead of screen you can use your tiling window manager.
On Tue, Mar 23, 2010 at 01:43:41PM +, Anselm R Garbe wrote:
> More sucking technologies don't work on suckless.org ;)
Seriously, it is possible to throw javascript away. Arora implements hints (hit
ctrl) without javascript, it manipulates DOM through WebKit API. Maybe hints
can be distribute
What if we run 2 dmenu? They will raise themselfs forever? When
first raises, second hides and vice versa.
On Sun, Apr 04, 2010 at 05:49:18PM +0100, Kai Hendry wrote:
> As for HTML, don't use . Use .
> Same goes for
> Instead of , use
Instead of you can use . is deprecated alias for
in HTML 4 and redefined for another purpose in HTML 5, but it is
still for creating lists.
By the way, I don't lik
On Tue, Apr 06, 2010 at 09:26:14PM +0200, Claudio M. Alessi wrote:
> On Tue, Apr 06, 2010 at 08:50:07PM +0400, anonymous wrote:
> > You don't put same symlinks (to ~/doc, ~/src etc.) in every directory of
> > your filesystem. Most directories have only one link to them. The
On Tue, Apr 06, 2010 at 10:05:09PM +0100, twfb wrote:
> On 21:26 Tue 06 Apr, Claudio M. Alessi wrote:
> Well crafted index pages combined with breadcrumbs can create very
> usable websites, even when they are quite large. It is also useful in
> printed documents as it shows where the document can b
On Wed, Apr 07, 2010 at 10:23:46AM -0400, Kurt H Maier wrote:
> On Wed, Apr 7, 2010 at 10:05 AM, anonymous wrote:
> > If "back" moves you to upper level, it is not same as above, it require
> > only 1 click. If "back" moves you to previous page in your history
On Sat, Apr 10, 2010 at 06:26:12PM +0200, finkler wrote:
> This is my collection of redundancy so far:
> arch uname -m
> dir ls -C
> groupsid -nG
> head sed 11q
> mkfifomknod FILE q
> nlgrep -n
> rmdir rm -r
> tac
http://www.plan9.bell-labs.com/wiki/plan9/Unix_to_Plan_9_command_translation/index.html
head = sed 10q
I have written the following function:
static char*
skip(char *s, char c) {
while(*s != c && *s != '\0')
s++;
if (*s != '\0')
*s++ = '\0';
return s;
}
Then I can rewrite `ctok` like this:
static char*
ctok(char **s, int c) {
char *p
On Thu, Apr 15, 2010 at 02:57:59AM +0400, anonymous wrote:
> Also sometimes sic.c uses tok(&s) function instead of ctok(&s, ' ')
> even if RFC says there should be only one space character.
Fix: RFC says there should be only spaces, while tok accepts tabs,
newlines etc.
Another two bugs.
Lines 70-73:
if(!c || !isspace(msg[1]))
sout("%s", msg);
else {
if(msg[1])
If line 73 is executed, isspace(msg[1]) is true. So it can't be equal
to '\0'. Therefore, condition `msg[1]` is always true.
* * *
When you type
:abcd
line 97
sout("%c %s", c, m
Patch attached. What I have changed:
* Replaced `tok` and `ctok` functions with `skip` and (already
existing, but a little different) `eat`
* Changed parsing of separators ( from RFC) in server
responses. Now tabs are not skipped. Also no more than one space is
skipped. RFC says there
Update. Renamed one variable (msg to par, cause it is for command
parameters), rearranged parsein so it don't repeat the same line two
times.
Is there any maintainer for "sic"? Please review patch, I hope it can
be applied, it is not for adding features, it just cleans and fixes
the code.
diff -
On Thu, Apr 15, 2010 at 11:31:28PM -0400, Samuel Baldwin wrote:
> Currently it uses popen() to open a pipe to dmenu, which then sets an
> xproperty, which on update switches to the window matching that title.
> As you can imagine this is a little hackish and I'm not particularly
> proud of this, bu
On Sat, Apr 17, 2010 at 12:06:16AM +0200, pmarin wrote:
> I am a Vim user but besides the highlight syntax and the multiple undo
> I don't need a bloated editor, I usually prefer to write my own
> scritpt in sed/ed/awk than the Vim scripting language. The traditonal
> Vi have macros, abbreviations
Do we really need that "What Works" list on http://surf.suckless.org/?
It tells reader what sites works with WebKit?
On Wed, May 12, 2010 at 08:24:43AM +0100, Anselm R Garbe wrote:
> because it's quite a nightmare to work with existing ones for rapid
> prototyping unless you don't want to use something very heavyweight
> like Qt.
What about Tk? It is very useful for prototyping.
Really nice patch. There were threads about this bug, but nobody
fixed it. Now it is fixed and ^f (links numbering script) works on
suckless.org.
On Thu, May 13, 2010 at 06:11:08PM +0200, pancake wrote:
> Check t/ui.c and you will understand why SwkWindow is not global variable.
>
> Do somebody noticed this file? I mean..the UI can be done not only by code..
> also in ascii art. About the other questions..I think i'm not the
> right person
On Fri, May 14, 2010 at 08:02:57PM +, Bjartur Thorlacius wrote:
> > 1. good tools should have a way to define easily keyboard shortcuts.
> True. It's quite irritating that some tools use the arrow keys for scrolling,
> others use hjkl (which doesn't make sense on all keyboards) and one
> has to
On Sat, May 15, 2010 at 05:11:48PM -0400, Ersin Akinci wrote:
> Thus, dynamic libraries would still be used, but at least they would
> be duplicated, independent, and isolated for each program that needed it.
What problem you are trying to solve? You want to make binaries
independent from environ
On Sat, May 15, 2010 at 11:56:43PM +, Connor Lane Smith wrote:
> On 15/05/2010, anonymous wrote:
> dmenu uses alt for a couple of bindings. Apparently ctrl binds are
> shell-like and alt binds are vim-like, which is a bit weird (also
> M-p). I'd prefer to remove the alt one
On Sun, May 16, 2010 at 04:22:27AM +0400, anonymous wrote:
Also removing Alt keybindings will simplify dmenu code: there will be
only one switch instead of two, one "default" branch instead of two,
less manipulation with masks and everytihing else related.
On Mon, May 17, 2010 at 12:22:52PM +, Bjartur Thorlacius wrote:
> > 1. Window manager
> > 2. Windows.
>3. User shortcuts
What you mean by user shortcuts? To create shortcut you can configure
your window manager. So user shortcuts start with Alt. User should
make sure that his shortcuts
On Sun, May 16, 2010 at 04:25:45AM +0400, anonymous wrote:
> Also removing Alt keybindings will simplify dmenu code: there will be
> only one switch instead of two, one "default" branch instead of two,
> less manipulation with masks and everytihing else related.
>
Patch (
On Mon, May 17, 2010 at 01:39:38PM +, Bjartur Thorlacius wrote:
> On 5/17/10, anonymous wrote:
> > What you mean by user shortcuts? To create shortcut you can configure
> > your window manager. So user shortcuts start with Alt. User should
> > make sure that his sh
On Mon, May 17, 2010 at 02:40:25PM +, Bjartur Thorlacius wrote:
> On 5/17/10, Kurt H Maier wrote:
> > On Mon, May 17, 2010 at 9:39 AM, Bjartur Thorlacius
> > wrote:
> >> I just felt that it was weird that the program that draws borders around
> >> my
> >> windows is also a keyboard shortcut h
On Tue, May 18, 2010 at 11:13:47PM +0200, Szabolcs Nagy wrote:
> On 5/18/10, Marvin Vek wrote:
> >> the user agent string is unnecessary
> >
> > According to the RFC, it's required.
>
> "User agents SHOULD include this field with requests."
>
> SHOULD: "This word, or the adjective "RECOMMENDED",
On Wed, May 19, 2010 at 01:56:22PM +0200, Marvin Vek wrote:
> Hang on, do you suggest the code for sending the User-Agent string
> should be removed, or have the User-Agent string empty by default?
Is it possible to remove User-Agent completely without patching
WebKit?
On Mon, May 24, 2010 at 07:51:48AM -0400, Kris Maglione wrote:
> On Mon, 24 May 2010 10:02:47 +0200
> Premysl Hruby wrote:
> What version of sic are you using? The current version doesn't have
> that code anymore.
Looks like 1.0.
Why config.def.h is not named config.h.def? Extra "extensions" are
usually added after existing, like "config.h.bak".
That way it would be possible to write
config.h:
@echo creating $@ from $...@.def
@cp $...@.def $@
Or even better (will work if you don't rename it too):
config
I have disabled JavaScript (and plugins) in surf by replacing line
static gboolean loadimage = 1, plugin = 1, script = 1;
with
static gboolean loadimage = TRUE, plugin = FALSE, script = FALSE;
BTW: why don't you use TRUE and FALSE constants here but use them in line
static gboolean sho
On Tue, Jun 15, 2010 at 12:48:34PM +0100, Nick wrote:
> Incidentally, can anyone recommend a good gopher client? I missed it
> the first time 'round, and I'd be curious to see a different
> paradigm of web type thing.
Lynx and Mozilla Firefox support Gopher.
On Sun, Jun 20, 2010 at 09:46:12PM +0200, ⚖ Alexander "Surma" Surma wrote:
> I was just about to ask, Creatives Common BY-SA?
Already discussed on this list, but for software instead of art.
Unlicense[1] for software, CC0[2] for art if you want to place your
work into "public domain" and allow any
On Mon, Jun 21, 2010 at 09:13:44AM -0400, Donald Allen wrote:
> 1. Gmail complains that "your browser has cookies disabled" unless the
> sessiontime variable in config.def.h is set to something non-zero. Perhaps
> something non-zero should be the default (said without understanding the
> implicatio
On Wed, Jun 23, 2010 at 05:50:32PM -0700, Evan Gates wrote:
> I just took a stab at writing a simple wrapper to make sic and ii more
> usable, althought it can be used for other things, too. When using
> this with sic, new messages don't interupt your typing, and when you
> send a message, it does
Works nice, but with 9term it is possible to move cursor and edit
line. If you don't want to use readline (because of license), you can
use libedit from BSD.
Another similar program: http://www.lightandmatter.com/when/when.html
If you use $XDG_CONFIG_HOME, don't use dot in the name of config file.
Look into your $XDG_CONFIG_HOME for examples.
Looks like you have removed support for XDG_CONFIG_HOME. I don't like
dotfiles and my XDG_CONFIG_HOME is set to $HOME/lib (and
XDG_CACHE_HOME is set to $HOME/var). Directory names
On Sat, Aug 14, 2010 at 03:29:35PM -0700, Suraj Kurapati wrote:
> Congratulations on choosing the ISC license for your project. Too
> many projects still use MIT/X these days when ISC is clearly more
> suckless IMHO: because it has less LOL (lines of license ;-) Cheers.
"License: ISC" don't mean
What I would really like to see is a some kind of `when` clone with
cron-like syntax written in C.
I have just written very simple prototype of it in rc:
#!/usr/bin/env rc
date=`{date}
month=$date(2)
day=$date(3)
while (line=`{read}) {
if ({~ $line(1) '*' || ~ $line(1
On Sun, Aug 15, 2010 at 10:04:18PM +0200, Alexander Teinum wrote:
> I realize that there are ways to do this that are closer to the Unix
> way of thinking. Editor of choice for adding and editing. Instead of
> tagging items, one would should have one file for university and
> another one for work i
On Tue, Aug 17, 2010 at 05:40:40PM +0200, Alexander Teinum wrote:
> What is the most concise way of outputting a usage and help text?
>
> Must the usage text be unambiguous when it comes to valid combinations?
No, compatibility of options should be described in man page.
> What should the progra
On Tue, Aug 17, 2010 at 08:07:05PM +0200, Alexander Teinum wrote:
> > I think the best format for usage is something like what Plan 9
> > utilities use (BSD use the same):
> >
> > usage: cmd [-abcde] [-f file] [-g pattern] [file ...]
>
> Options without values are combined? Is that correct?
Yes.
1 - 100 of 153 matches
Mail list logo