Sponsored Content
Full Discussion: ASCII Files
Top Forums UNIX for Dummies Questions & Answers ASCII Files Post 5250 by LivinFree on Thursday 9th of August 2001 07:27:56 AM
Old 08-09-2001
See if you have the editor pico on your system... If not, search www.google.com for a vi tutorial...

http://www.google.com/search?q=simple+vi+tutorial
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How can I ... (Modifying large ASCII files)

Hi Everybody! Situation: I have a large ASCII file (for example: 1-2 Mbytes) without linebreaks (\n). Task: I like inserting linebreaks after all 420 digits (byte). (pattern: *\n*\n*\n...etc.) My problem: How? :-) I like using shell script or (maybe) AWK (short) program. Please,... (2 Replies)
Discussion started by: hviktor
2 Replies

2. Programming

open ASCII files

Anyone knows how to open an ASCII file by using C Thanks :D (2 Replies)
Discussion started by: Wing m. Cheng
2 Replies

3. UNIX for Advanced & Expert Users

viewing binary files in ASCII

Hi, How to view binary files in ASCII format.???????????????? Bye (2 Replies)
Discussion started by: manjunath
2 Replies

4. UNIX for Dummies Questions & Answers

String substitutions in ASCII files -

We need to scramble data in a number of ASCII files. Some of these files are extremely large (1.2 GB). By scrambling, I mean that we need to substitute certain strings, which number around 400, with scrambled strings. An example has been given below If "London" occurs in the file, then it... (2 Replies)
Discussion started by: SanjivNagraj
2 Replies

5. UNIX for Dummies Questions & Answers

word count ascii files

how do I display the total number of words in a file which is of the type ascii text (1 Reply)
Discussion started by: madtim
1 Replies

6. UNIX for Advanced & Expert Users

Need to convert Binary files to ascii

Dear Experts I need to read a binary file. I know for example in byte number 3801-3804 there is a 4 byte number embeded. Is there a way to extract this number from this file and then convert it to ascii via unix?? Your help would be highly appreciated. Very Best Regards Reza (5 Replies)
Discussion started by: Reza Nazarian
5 Replies

7. UNIX for Dummies Questions & Answers

Finding and using (only) ASCII files.

Hi, I had to do something I could do in a way that worked fine, but I'm still wondering if there's a shorter way (which I think there is)... I had to find only the ASCII files of a directory, and then work with them (that is, not only showing on screen) What I did was ls | xargs... (4 Replies)
Discussion started by: Casey
4 Replies

8. UNIX for Dummies Questions & Answers

From Ascii files to Excell

Hi, Is there anyway to copy a certain column from the Ascii file into a column on an Excel sheet? Thanks, (4 Replies)
Discussion started by: cosmologist
4 Replies

9. UNIX for Advanced & Expert Users

line endings help of non-ASCII files

When you are dealing with ASCII files it easy to check on line endings type. You can just use the file command. You are not always lucky enough to be dealing with ASCII files. So in the cases that you don't have ASCII files how can you check what type of line endings you have? Please list all... (5 Replies)
Discussion started by: cokedude
5 Replies

10. Solaris

Convert files from binary to ASCII

I have a huge files in binary format thanks to help me in finding a way to convert these files from Binary format to ASCII format. (0 Replies)
Discussion started by: PRINCESS_RORO
0 Replies
App::Asciio(3pm)					User Contributed Perl Documentation					  App::Asciio(3pm)

NAME
App::Asciio - Plain ASCII diagram | | | | | | | | | | | | | | | | v | v | v | v v v _____ _____ / _ / __ \_ ___ ___ _ _ -----> __ / __ / ___/ / -----> /\__, / \___' \_ \_ \_/\____/ \____/ \_ \_ \_____ /_//_//___/ /___/ /_//_//_____/ | | | | | | | | | | | v | | | v | | | v | | | v | | v v v (\_/) (O.o) ASCII world domination is near! (> <) SYNOPSIS
$> perl asciio.pl DESCRIPTION
This gtk2-perl application allows you to draw ASCII diagrams in a modern (but simple) graphical application. The ASCII graphs can be saved as ASCII or in a format that allows you to modify them later. Thanks to all the Perl-QA hackathon 2008 in Oslo for pushing me to do an early release. Special thanks go to the Muppet and the gtk-perl group, Gabor Szabo for his help and advices. Adam Kennedy coined the cool name. Sometimes a diagram is worth a lot of text in a source code file. It has always been painfull to do ASCII diagrams by hand. DOCUMENTATION
Asciio user interface .-----------------------------------------------------------------. | Asciio | |-----------------------------------------------------------------| | ............................................................... | | ..............-------------..------------..--------------...... | | .............| stencils > || asciio > || box |..... | | .............| Rulers > || computer > || text |..... | | .............| File > || people > || wirl_arrow |..... | grid---------->.......'-------------'| divers > || axis |..... | | ............................'------------'| boxes > |..... | | ......................^...................| rulers > |..... | | ......................|...................'--------------'..... | | ......................|........................................ | | ......................|........................................ | | ......................|........................................ | | ......................|........................................ | '-----------------------|-----------------------------------------' | | context menu context menu The context menu allows to access to asciio commands. ASCII is used to insert ASCII elements. keyboard shortcuts All the keyboad commands definitions can be found under asciio/setup/actions/. Among the commands implemented are: o select all o delete o undo o group/ungroup o open / save o local clipboard operations A window displaying the currently available commands is displayed if you press K. elements There but a few elements implemented at the moment. wirl arrow An arrow that tries to do what you want. Try rotating the end clockwise then counter clockwise to see how it acts ^ | | --------. | | '------- | | O-------------X / | / | / | / v / / v box and text Both are implemented within the same code. Try double clicking on a box to see what you can do with it. .----------. | title | .----------. |----------| ************ | | | body 1 | * * '----------' | body 2 | ************ '----------' anything in a box (\_/) | edit_me (O.o) <------------' (> <) your own stencils Take a look at setup/stencils/computer for a stencil example. Stencils lites in setup/setup.ini will be loaded when Asciio starts. your own element type For simple elemnts, put your design in a box. that should cover 90% of anyone's needs. You can look in lib/stripes for element implementation examples. exporting to ASCII You can export to a file in ASCII format but using the .txt extension. Exporting to the clipboard is done with ctl + e. EXAMPLES
User code ^ ^ OS code / / / User code <----Mode----->OS code / / / User code v v OS code .---. .---. .---. .---. .---. .---. OS API '---' '---' '---' '---' '---' '---' | | | | | | v v | v | v .------------. | .-----------. | .-----. | Filesystem | | | Scheduler | | | MMU | '------------' | '-----------' | '-----' | | | | v | | v .----. | | .---------. | IO |<----' | | Network | '----' | '---------' | | | v v v .---------------------------------------. | HAL | '---------------------------------------' .---------. .---------. | State 1 | | State 2 | '---------' '---------' ^ ^ / / / / / / / / / v v ****** ****** ****** * T1 * * T2 * * T3 * ****** ****** ****** ^ ^ / / / / stimuli / v .---------. '--------| State 3 | '---------' DEPENDENCIES
gnome libraries, gtk, gtk-perl, perl BUGS AND LIMITATIONS
Undoubtedly many as I wrote this as a fun little project where I used no design nor 'methodic' whatsoever. AUTHOR
Khemir Nadim ibn Hamouda CPAN ID: NKH mailto:nadim@khemir.net LICENSE AND COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SUPPORTED OSes Gentoo I run gentoo, packages to install gtk-perl exist. Install Ascii with cpan. FreeBSD FreeBSD users can now install asciio either by package: $ pkg_add -r asciio or from source (out of the ports system) by: $ cd /usr/ports/graphics/asciio $ make install clean Thanks to Emanuel Haupt. Ubuntu and Debian Ports are on the way. Windows AsciiO is part of camelbox and can be found here: <http://code.google.com/p/camelbox/>. Install, run AsciiO from the 'bin' directory. .-------------------------------. / /| / camelbox for win32 / | / / | / / | .-------------------------------. | | ______\_, | | | (_. _ o_ _/ | | | '-' \_. / | | | / / | | | / / .--. .--. | | | ( ( / '' / '' " | | | \_.' ) | | | || _ './ | | | | ___.' / | | | '-./ .' |/ | | | | / )| | | | |/ // \ | . | | __// \__ | / | //\ /__/ mrf\__| | / | .--_/ \_--. | / | /__/ \__ |/ '-------------------------------' camelbox is a great distribution for windows. I hope it will merge with X-berry series of Perl distributions. Mac OsX This works too (and I have screenshots to prove it :). I don't own a mac and the mac user hasn't send me how to do it yet. other unices YMMV, install gtk-perl and AsciiO from cpan. SEE ALSO
http://www.jave.de http://search.cpan.org/~osfameron/Text-JavE-0.0.2/JavE.pm http://ditaa.sourceforge.net/ http://www.codeproject.com/KB/macros/codeplotter.aspx http://search.cpan.org/~jpierce/Text-FIGlet-1.06/FIGlet.pm http://www.fossildraw.com/?gclid=CLanxZXxoJECFRYYEAodnBS8Dg (doesn't always respond) http://www.ascii-art.de (used some entries as base for the network stencil) http://c2.com/cgi/wiki?UmlAsciiArt http://www.textfiles.com/art/ http://www2.b3ta.com/_bunny/texbunny.gif *o_ _o/* / * * < *o/* /> ) o/* / > *o < /> __o */ /* o__ * /> < * /* __o_ _o__ */ * / * * * < /> *o/* ejm97 __)__ perl v5.10.1 2010-04-25 App::Asciio(3pm)
All times are GMT -4. The time now is 06:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy