03-18-2015
Quote:
Trying to say:
With my knowledge, to my understanding ncruses seems like its providing a programming language API which then needs to be compiled - and therefor is not a script. (please correct me if i'm mistaken on this)
Quote:
Originally Posted by
cjcox
...
Scripts use binaries. In *ix it's essential.... scripting gives power to use those binary programs in strange and fabulous ways to do truly interesting things.
...
People in general don't seem to care much for terminals anymore... sad, but true.
Misunderstanding, yes its a binary package, as most packages are.
And that one calls binaries from a script is obvious.
Calling a binary from another binary isnt that 'nice'.
But me (was) talking about how to
use ncurses, as it seems (to me) one must do binaries too, which isnt scripting - which is where the TO wanted to use bold text (though that would be tput =! ncurse).
Hope you understand me?
Maybe i have gotten just all the wrong youtube videos... but in all of those i watched, NONE of the shown code was bash/csh/ksh!
I love terminals (and scripting), thats why i wrote TUI, as another style of ncurses, and actualy be usable within scripts, without needing to compile it first.
10 More Discussions You Might Find Interesting
1. Programming
I made a liitle source about that..
BUt I got a trouble when making files'authority..
How can I display them??
p.s.) used struct stat .. (1 Reply)
Discussion started by: sangjinn
1 Replies
2. Shell Programming and Scripting
We have some unseen chars in unix, like '^T's, can be seen with 'cat -v' command.
Is there any way, with which, we can replace these ^T s with a space? (1 Reply)
Discussion started by: videsh77
1 Replies
3. UNIX for Dummies Questions & Answers
pls disregard got my question answered . as you can't do bold in vi (0 Replies)
Discussion started by: xzyan
0 Replies
4. UNIX for Dummies Questions & Answers
Folks;
I'm writing this as a part of a script:
echo "col1 hdg|col2hdg|col3hdg|"
How can i make these fields shows in Bold text? (10 Replies)
Discussion started by: moe2266
10 Replies
5. Shell Programming and Scripting
I was using the following bash command inside the emacs compile command to search C++ source code:
grep -inr --include='*.h' --include='*.cpp' '"' * | sed "/include/d" | sed "/_T/d" | sed '/^ *\/\//d' | sed '/extern/d'
Emacs will then position me in the correct file and at the correct line... (0 Replies)
Discussion started by: siegfried
0 Replies
6. Programming
I need tutorial on Make utility on Unix.
Any help or link appreciated.
many thanks
Mirko (3 Replies)
Discussion started by: mmipko
3 Replies
7. Shell Programming and Scripting
I know this should be simple, but I've been manning sed awk grep and find and am stupidly stumped :(
I'm trying to use sed (or awk, find, etc) to find 4 characters on the second line of a file.txt 44-47 characters in. I can find lots of sed things for lines, but not characters. (4 Replies)
Discussion started by: unclecameron
4 Replies
8. Shell Programming and Scripting
Is there any way to redirect characters in bold to .csv file using KSH. I need to open this csv in MS EXCEL.
thanks (4 Replies)
Discussion started by: param_it
4 Replies
9. Shell Programming and Scripting
Hi ,
Could you please guide me how to remove formatting (bold text) in a unix file?
vi editor showing like this...
^
Cat command showing like this...
tl21ss01
tl21ss02
tl21ss03 (6 Replies)
Discussion started by: suresh3566
6 Replies
10. UNIX for Beginners Questions & Answers
Hi Team,
I have a file a1.txt with data as follows.
dfjakjf...asdfkasj</EnableQuotedIDs><SQL><SelectStatement modified='1' type='string'><!
The delimiter string: <SelectStatement modified='1' type='string'><!
dlm="<SelectStatement modified='1' type='string'><!
The above command is... (7 Replies)
Discussion started by: kmanivan82
7 Replies
LEARN ABOUT DEBIAN
sieve-dump
SIEVE-DUMP(1) Pigeonhole SIEVE-DUMP(1)
NAME
sieve-dump - Pigeonhole's Sieve script binary dump tool
SYNOPSIS
sieve-dump [options] sieve-binary [out-file]
DESCRIPTION
The sieve-dump command is part of the Pigeonhole Project (pigeonhole(7)), which adds Sieve (RFC 5228) support to the Dovecot secure IMAP
and POP3 server (dovecot(1)).
Using the sieve-dump command, Sieve binaries, which are produced for instance by sievec(1), can be transformed into a human-readable tex-
tual representation. This can provide valuable insight in how the Sieve script is executed. This is also particularly useful to view cor-
rupt binaries that can result from bugs in the Sieve implementation. This tool is intended mainly for development purposes, so normally
system administrators and users will not need to use this tool.
The format of the output is not explained here in detail, but it should be relatively easy to understand. The Sieve binaries comprise a set
of data blocks, each of which can contain arbitrary data. For the base language implementation two blocks are used: the first containing a
specification of all required language extensions and the second containing the main Sieve program. Compiled Sieve programs are represented
as flat byte code and therefore the dump of the main program is a disassembly listing of the interpreter operations. Extensions can define
new operations and use additional blocks. Therefore, the output of sieve-dump depends greatly on the language extensions used when compil-
ing the binary.
OPTIONS
-c config-file
Alternative Dovecot configuration file path.
-h Produce per-block hexdump output of the whole binary instead of the normal human-readable output.
-x extensions
Set the available extensions. The parameter is a space-separated list of the active extensions. By prepending the extension identi-
fiers with + or -, extensions can be included or excluded relative to the configured set of active extensions. If no extensions have
a + or - prefix, only those extensions that are explicitly listed will be enabled. Unknown extensions are ignored and a warning is
produced.
For example -x "+imapflags -enotify" will enable the deprecated imapflags extension and disable the enotify extension. The rest of
the active extensions depends on the sieve_extensions and sieve_global_extensions settings. By default, i.e. when sieve_extensions
and sieve_global_extensions remain unconfigured, all supported extensions are available, except for deprecated extensions or those
that are still under development.
ARGUMENTS
sieve-binary
Specifies the Sieve binary file that needs to be dumped.
out-file
Specifies where the output must be written. This argument is optional. If omitted, the output is written to stdout.
EXIT STATUS
sieve-dump will exit with one of the following values:
0 Dump was successful. (EX_OK, EXIT_SUCCESS)
1 Operation failed. This is returned for almost all failures. (EXIT_FAILURE)
64 Invalid parameter given. (EX_USAGE)
FILES
/etc/dovecot/dovecot.conf
Dovecot's main configuration file.
/etc/dovecot/conf.d/90-sieve.conf
Sieve interpreter settings (included from Dovecot's main configuration file)
REPORTING BUGS
Report bugs, including doveconf -n output, to the Dovecot Mailing List <dovecot@dovecot.org>. Information about reporting Dovecot and
Pigeonhole bugs is available at: http://dovecot.org/bugreport.html
SEE ALSO
dovecot(1), dovecot-lda(1), sieve-filter(1), sieve-test(1), sievec(1), pigeonhole(7)
Pigeonhole for Dovecot v2.1 2012-01-07 SIEVE-DUMP(1)