10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I have an ascii file in which few columns are having hex values which i need to convert into ascii. Kindly suggest me what command can be used in unix shell scripting?
Thanks in Advance (2 Replies)
Discussion started by: HemaV
2 Replies
2. Programming
Hi,
I want to convert ebcdic values to ascii values. Are there anyany specific c++ libraries with g++ compiler, which can do it ?
gcc version 4.1.2 20080704 (Red Hat 4.1.2-54) (19 Replies)
Discussion started by: tostay2003
19 Replies
3. Linux
Currently in a fresh install of arch linux and I have been trying to install some stuff with pacman. Every operation returns multiple errors such as no address record when using -Sy and unable to retrieve file when trying to install something. I have tried so many different configurations of... (5 Replies)
Discussion started by: a sandwhich
5 Replies
4. Programming
Hello guys,
i want to convert a text file to hex and have written this code :
int main(int argc, char **argv)
{
ifstream file;
string fileName = "CODEZ";
file.open(fileName.c_str()); // oeffen im Text-Modus
if(file)
{... (5 Replies)
Discussion started by: Kingbruce
5 Replies
5. Programming
Let's suppose i have a hexadecimal array with 16 cells.for example
b3e2d5f636111780
i want to convert it to an array of ascii characters(in C) so that
i can reduce total size of the file i want to put it in.
But i am afraid i have not fully understand the difference between ascii
and hex(i... (3 Replies)
Discussion started by: bashuser2
3 Replies
6. Shell Programming and Scripting
I am getting a character with a "question mark inside a box". Does anybody know what ascii character i.e. what ascii number would it be. When I copy it in word I get it but when I copy it in notepad it only gives a box. I need to replace that inside my sed command in .SH file so I need to type it... (4 Replies)
Discussion started by: RubinPat
4 Replies
7. Shell Programming and Scripting
Hi gurus,
I have a file in unix with ascii values. I need to convert all the ascii values in the file to ascii characters. File contains nearly 20000 records with ascii values. (10 Replies)
Discussion started by: sandeeppvk
10 Replies
8. Shell Programming and Scripting
after converting my ebcidic file to ascii i get the following output
2097152+0 records in
1797345+1 records out
Why is there a difference in number of records.
Is the converson chopping off any records.
All i am doing is just a conversion using the following script
dd if=xaa cbs=152 ... (0 Replies)
Discussion started by: rintingtong
0 Replies
9. UNIX for Dummies Questions & Answers
a silly question but is there a way to display individual ascii values
say if i type 65 it will display the letter instead?
thanks fo any help. (3 Replies)
Discussion started by: melkor
3 Replies
10. UNIX Desktop Questions & Answers
I've been having trouble trying to read an ASCII file. I'm on an IRIX machine, by the way. I've tried "cat" and I get a bunch of unreadable text, and the "string" command gets the "Command not Found" error. Please advise.
Thanks. (1 Reply)
Discussion started by: sherbet808
1 Replies
UI::Dialog::Console(3pm) User Contributed Perl Documentation UI::Dialog::Console(3pm)
NAME
UI::Dialog::Console
SYNOPSIS
use UI::Dialog::Console;
my $d = new UI::Dialog::Console ( title => 'Default',
height => 20, width => 65,
listheight => 5 );
# Either a CDialog, Whiptail or ASCII msgbox widget should be displayed
# with a preference for CDialog.
$d->msgbox( title => 'Welcome!', text => 'Welcome one and all!' );
ABSTRACT
UI::Dialog::Console is simply another meta-class for UI::Dialog. This class simply has a different order of priority than UI::Dialog and no
GUI support.
DESCRIPTION
This class is simply a nice way to try and ensure a Console based widget set.
EXPORT
None
INHERITS
UI::Dialog
CONSTRUCTOR
new( @options )
EXAMPLE
my $d = new( title => 'Default Title', backtitle => 'Backtitle',
width => 65, height => 20, listheight => 5,
order => [ 'cdialog', 'whiptail', 'ascii' ] );
DESCRIPTION
This is the Class Constructor method. It accepts a list of key => value pairs and uses them as the defaults when interacting with
the various widgets.
RETURNS
A blessed object reference of the UI::Dialog::Console class.
OPTIONS
The (...)'s after each option indicate the default for the option.
debug = 0,1,2(0)
order = [ kdialog, xdialog ] (as indicated)
PATH = [ /bin, /usr/bin, /usr/local/bin, /opt/bin ] (as indicated)
backtitle = "backtitle" ('')
title = "title" ('')
beepbefore = 0,1(0)
beepafter = 0,1(0)
height = d+(20)
width = d+(65)
listheight = d+(5)
SEE ALSO
PERLDOC
UI::Dialog
UI::Dialog::Backend
UI::Dialog::Backend::ASCII
UI::Dialog::Backend::CDialog
UI::Dialog::Backend::Whiptail
MAN FILES
dialog(1), whiptail(1)
BUGS
Please email the author with any bug reports. Include the name of the module in the subject line.
AUTHOR
Kevin C. Krinke, <kckrinke@opendoorsoftware.com>
COPYRIGHT AND LICENSE
Copyright (C) 2003 Kevin C. Krinke <kckrinke@opendoorsoftware.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
perl v5.8.8 2004-08-01 UI::Dialog::Console(3pm)