I'm a Unix newbie.
In a shell-script, is there any way to accept keyboard input (via STDIN) without having it display on the screen? I know keying in a login password sort of does this by replacing what you key with astericks (*) but I believe that's a "C" routine. I'd like to be able to... (2 Replies)
How can I write to another user's pseudo tty, but not to its current prompt position (as in open("/dev/pts007", ...) followed by write() ). Instead I would like to write to the top center of the screen using color red, for example. Like curses, but from another console. (6 Replies)
I am developing a script that will run with '/bin/ksh' shell.
The script is intended to receive a password by keyboard input, but for security reasons I would like to hide what the user is typing.
The keyboard input is being caught by 'read' command.
exmaple :
echo "Please type your new... (1 Reply)
Hi all,
i type a command along with dtterm what i would like to have is that the output of the command to be shown in the new terminal .
Any Idea on how to acheive this? (0 Replies)
Hey,
How can I transfer the terminal output to a file ?
For example :
command "fuser" returns the "process-id" and prints the output on the terminal, but I want that output to a file as well. How can I do that ?
/clocal/mqbrkrs/user/mqsiadm/sanjay/AccessMonitor $ fuser -uf... (2 Replies)
My knowledge of Unix input/output/devices is very hazy so could someone please tell me if the following is secure?
I log on to an account on a shared Unix server (Linux 2.6.18-6-686) using ssh (PuTTY). I start a python program and then type into it (python raw_input command) the... (2 Replies)
Hello everybody!!!
I am writing my own rm command in unix.
I prompt the user to type if he wants to delete a file and then read what he typed.
But how do i check what he typed?
This is my program so far:
echo 'Delete prog1.c (y/n)?'
read yesOrNo
if yesOrNo == 'y'
then
rm prog1.c... (6 Replies)
Hello, everyone.
Could someone, please, tell me how to get the number of bytes in the terminal input queue without blocking and without consuming these bytes? I guess it could be called the peek functionality.
I've looked at termio tcgetattr() and tcsetattr() functions but could not find... (4 Replies)
This is my input file like this
03,105581,,015,+00000416418,,,901,+00000000148,,,922,+00000000354,,/
49,+00000000000416920,00002/
03,5313236,,015,+00231036992,,,045,+00231036992,,,901,+00000048428,,/
88,100,+0000000000000,0000000,,400,+0000000000000,0000000,/
88,902,+0000000079077,,/... (0 Replies)
Hello All,
I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly.
Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies
LEARN ABOUT DEBIAN
genpng
genpng(1) User Manuals genpng(1)NAME
genpng - Generate an overview image from a source file
SYNOPSIS
genpng [-h|--help] [-v|--version]
[-t|--tab-size tabsize] [-w|--width width]
[-o|--output-filename output-filename]
source-file
DESCRIPTION
genpng creates an overview image for a given source code file of either plain text or .gcov file format.
Note that the GD.pm Perl module has to be installed for this script to work (it may be obtained from http://www.cpan.org).
Note also that genpng is called from within genhtml so that there is usually no need to call it directly.
OPTIONS -h
--help
Print a short help text, then exit.
-v
--version
Print version number, then exit.
-t tab-size
--tab-size tab-size
Use tab-size spaces in place of tab.
All occurrences of tabulator signs in the source code file will be replaced by the number of spaces defined by tab-size (default is
4).
-w width
--width width
Set width of output image to width pixel.
The resulting image will be exactly width pixel wide (default is 80).
Note that source code lines which are longer than width will be truncated.
-o filename
--output-filename filename
Write image to filename.
Specify a name for the resulting image file (default is source-file.png).
AUTHOR
Peter Oberparleiter <Peter.Oberparleiter@de.ibm.com>
SEE ALSO lcov(1), genhtml(1), geninfo(1), gendesc(1), gcov(1)2010-08-06 LCOV 1.9 genpng(1)