Sponsored Content
Full Discussion: Word Wrap
Top Forums UNIX for Dummies Questions & Answers Word Wrap Post 302708341 by bsimon on Monday 1st of October 2012 11:49:40 AM
Old 10-01-2012
Word Wrap

When I cat a file that has several hundred characters in a line, the right hand side is truncated. How can I make everything displayed on my screen word wrap?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

word wrap in vi

I am using vi to edit shell scripts, but whenever I get to the end of the line it goes to the next line, and when I run the script it considers whatever was placed onthe next line a new command...I guess this has to do with word wrap- how do I continue to write on one line? (3 Replies)
Discussion started by: dangral
3 Replies

2. Shell Programming and Scripting

Wrap Interactive Script

Does anyone know of a program to wrap an interactive script into an application..I tried using platypus but i want a utility to allow interactive scripts to be run in a stand-alone window to avoid .profile settings on multiple computers...platypus provides the option of a text window output but... (0 Replies)
Discussion started by: meskue
0 Replies

3. HP-UX

word wrap issue with grep

in my HP-Unix environment I continue to have issues seeing the whole file path when I do a grep Example: >ps -ef |grep test > /testpath/is/here/ should see: >ps -ef |grep test > /testpath/is/here/not/here/test Is there a setting to turn word wrap on/off? It works fine in our AIX... (4 Replies)
Discussion started by: bowtiextreme
4 Replies

4. Shell Programming and Scripting

Word wrap with sed

Hi, I got some timetable in a file but it is all mixed up like this 01:00 hgrtwhrt #104:00 tyergethr05:00 tqqrthd qrth #107:00 qhtrhqerth10:00 qerthrthqr qtrqthr qthrrt11:00 thqrthqrthrr rthgreth #212:00 trhrthrth14:00 wrthwrtwrqrthwrthwr #2116:00 trqhthtr: rthrthr17:00 rtwhtrhwrth rthwrt... (6 Replies)
Discussion started by: stinkefisch
6 Replies

5. UNIX for Dummies Questions & Answers

How to wrap words in vi?

I just typed several long lines into vi but I only want it to have 80 columns. How can I set this in vi? (3 Replies)
Discussion started by: guitarscn
3 Replies

6. UNIX for Dummies Questions & Answers

Find EXACT word in files, just the word: no prefix, no suffix, no 'similar', just the word

I have a file that has the words I want to find in other files (but lets say I just want to find my words in a single file). Those words are IDs, so if my word is ZZZ4, outputs like aaZZZ4, ZZZ4bb, aaZZZ4bb, ZZ4, ZZZ, ZyZ4, ZZZ4.8 (or anything like that) WON'T BE USEFUL. I need the whole word... (6 Replies)
Discussion started by: chicchan
6 Replies

7. UNIX for Dummies Questions & Answers

word wrap does not work

I have an input file like this, 79 #--------------------------------------------------------------------------- 80 #- define generic contact 81 cat > ${NAGIOS_ETC}/contact-generic.cfg <<-'EOF' 82 define contact { 83 name ... (4 Replies)
Discussion started by: ramky79
4 Replies

8. UNIX for Dummies Questions & Answers

Word Wrap .CSV Fils

Is there a generic method for applying word wrap to all cells for a .csv file? (6 Replies)
Discussion started by: jimmyf
6 Replies

9. Shell Programming and Scripting

Uuencode a html file with word wrap

Hi, I have a file myfile.txt as seen below. Name Age Days --------- ------- -------- ABC 5 23 DEF 20 120 When i cat this file into a html file and send mail, I could see the file is opened as seen below. Name Age Days --------- ... (7 Replies)
Discussion started by: jayadanabalan
7 Replies
starwars(6x)                                                    XScreenSaver manual                                                   starwars(6x)

NAME
starwars - draws a perspective text crawl, like at the beginning of the movie SYNOPSIS
starwars [-display host:display.screen] [-window] [-root] [-visual visual] [-delay microseconds] [-program command] [-size integer ] [-col- umns integer] [-wrap | -no-wrap] [-left | -center | -right] [-lines integer] [-spin float] [-steps integer] [-delay usecs] [-font xlfd] [-no-textures] [-no-smooth] [-no-thick] [-fps] DESCRIPTION
The starwars program runs another program to generate a stream of text, then animates that text receeding into the background at an angle, in front of a star field. OPTIONS
starwars accepts the following options: -window Draw on a newly-created window. This is the default. -root Draw on the root window. -install Install a private colormap for the window. -visual visual Specify which visual to use. Legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual. -program sh-command The command to run to generate the text to display. This option may be any string acceptable to /bin/sh. The program will be run at the end of a pipe, and any characters that it prints to stdout will be printed on the starwars window. If the program exits, it will be launched again after we have processed all the text it produced. Note that starwars is not a terminal emulator: programs that try to directly address the screen will not do what you might expect. This program merely draws the characters on the screen left to right, top to bottom, in perspective. Lines (may) wrap when they reach the right edge. In other words, programs like fortune(1) will work, but programs like top(1) won't. Some examples: starwars -program 'cat /usr/src/linux*/README' starwars -columns 30 -program 'ping www.starwars.com' starwars -left -no-wrap -program 'ps -auxwwf' starwars -left -no-wrap -columns 45 -program 'top -bn1' starwars -left -columns 40 -program 'od -txC /dev/urandom' starwars -font fixed -program 'od -txC /dev/urandom' -size integer How large a font to use, in points. (Well, in some arbitrary unit we're calling "points" for the sake of argument.) Default: 24. -columns integer How many columns of text should be visible on the bottom line of the screen. Default: 60. Only one of -columns and -size may be specified; if both are specified, -columns takes priority. -wrap Word-wrap lines when they reach the rightmost column. This is the default. -no-wrap Do not word-wrap: just let the lines go off the right side of the screen. -left | -center | -right Whether to align the text flush left, centered, or flush right. The default is centered. -lines integer How many lines should be allowed to be on the screen before they fall off the end. The default is 125. -spin float The star field on the background slowly rotates. This is how fast. The default is 0.03. -steps integer How many steps should be used to scroll a single line. The default is 35. If the animation looks jerky to you, increase this num- ber. -delay usecs The delay between steps of the animation; default is 40000 (1/25th second.) -font font-name The name of the font to use. For best effect, this should be a large font (at least 36 points.) The bigger the font, the better looking the characters will be. Note that the size of this font affects only the clarity of the characters, not their size on the screen: for that, use the -size or -columns options. Default: -*-utopia-bold-r-normal-*-*-720-*-*-*-*-iso8859-1 -no-textures Instead of texture-mapping a real font to render the text, use a built-in font composed of line segments. On graphics cards with- out texture support, the line-segment font will have much better performance. -no-smooth When using the line-segment font, turn off anti-aliasing of the lines used to draw the font. This will make the text blockier, but may improve performance. -no-thick When using the line-segment font, turn off use of thick lines for the characters that are close to the foreground. This will make the text appear unnaturally skinny, but may improve performance. -fps Display the current frame rate, CPU load, and polygon count. ENVIRONMENT
DISPLAY to get the default host and display number. XENVIRONMENT to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property. SEE ALSO
xscreensaver(1), xscreensaver-text(1), fortune(1), phosphor(6x), apple2(6x), fontglide(6x), ljlatest(6x), dadadodo(1), webcollage(6x), driftnet(1) EtherPEG, EtherPeek COPYRIGHT
Copyright (C) 1998-2005 by Jamie Zawinski and Claudio Matsuoka. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. No representations are made about the suitabil- ity of this software for any purpose. It is provided "as is" without express or implied warranty. AUTHOR
Jamie Zawinski <jwz@jwz.org> and Claudio Matauoka <claudio@helllabs.org> X Version 11 5.15 (28-Sep-2011) starwars(6x)
All times are GMT -4. The time now is 07:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy