Sponsored Content
Full Discussion: Text display
Top Forums UNIX for Dummies Questions & Answers Text display Post 302968365 by barrygordon on Tuesday 8th of March 2016 05:43:54 PM
Old 03-08-2016
Thanks. I just took a hex dump of the file and you are correct. It had a bunch of leading zeros (null characters) as soon as I got rid of them it showed correctly in the text editor.

Thanks
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Enter text and display on logo

Okay, lets say I have a entry field, to enter the persons name. Then I have a image of a car, and when the person hits submit on the form , the image loads and the name the person entered is displayed on the door or the car. How would I do this in a browser.could someone give me a Javascript or... (1 Reply)
Discussion started by: perleo
1 Replies

2. Shell Programming and Scripting

PHP: display text and picture

Can someone give me a script in php to: Connect to Mysql: DB= content TABLE = message Enter text , about 3000 characters, and put a image either left or right, top or bottom or the text. Please someone make me this script, ive spent several hours trying to figure it out. (1 Reply)
Discussion started by: perleo
1 Replies

3. Shell Programming and Scripting

Order text display not correct.

My shell script below for import data to Oracle it run okay. but the text display not correct follow order command executed. =========================Shell Script code================= #!/bin/sh #directory = ${1-'pwd'} #run import data with SQLLoader runSQLLoader() { ... (2 Replies)
Discussion started by: raccsdl
2 Replies

4. UNIX for Advanced & Expert Users

display HTML text in body using unix mailX ????

display HTML text in body using unix mailX ????Hello, could any one tell me how to display text in html layout by sending a file using mailx command in unix. i know to use mailx : mailx -s "SUBJECT" user.name@domail.com < file_name.txt instead of txt file i want to send html page and... (8 Replies)
Discussion started by: sparan_peddu
8 Replies

5. Shell Programming and Scripting

Display text between two words/characters

Using sed or awk, I need to display text between two words/characters. Below are two example inputs and the desired output. In a nutshell, I need the date-range value between the quotes (but only the first occurance of date-range as there can be more than one). Example One Input: xml-report... (1 Reply)
Discussion started by: cmichaelson
1 Replies

6. Shell Programming and Scripting

how to display multiline text

I am writing script that can run on solaris 10, Linux Fedora and windows taht has cybwin installed. I want to display a variable containing muli-line text. using echo command, the variable display all rows in single line i.e. it loses the format. Is there any other command that displays... (2 Replies)
Discussion started by: mmunir
2 Replies

7. Shell Programming and Scripting

display 5 lines from the particular text

Hi All, please help me to display 5 continious lines from a particular text. my file is as below. file1.txt ------ Good 1 2 3 4 5 luck 1 2 3 I want to diplay 5 lines from the word Good. (4 Replies)
Discussion started by: little_wonder
4 Replies

8. Solaris

Set display to text

How do I set up my solaris 10 machine to display in text mode instead of graphics mode, permanently? (1 Reply)
Discussion started by: jastanle84
1 Replies

9. Shell Programming and Scripting

Display text is string matches below.

I have not idea how I would accomplish this. I have a script that scans for CDP neighbours. I get the results in a file. I am interested in CDP Neighbor Details if name BSWITCH shows up. If BSWITCH is not present then skip. CDP Neighbor Details for 10.200.21.1... (1 Reply)
Discussion started by: mrlayance
1 Replies

10. What is on Your Mind?

Forum Display - Thread Preview Text Animation

Instead of the slow and not readable tooltips with the preview of the thread content in forum view, I have added the preview with mouseover (see attached movie). Let me know if you want a different kind of preview (animation, duration font-color, size, etc,) Thanks. <script>... (29 Replies)
Discussion started by: Neo
29 Replies
LE(1)                                                         General Commands Manual                                                        LE(1)

NAME
le - full screen text editor SYNOPSIS
le [options] filename DESCRIPTION
le is a text editor which offers wide range of capabilities with a simple interface. It has a pull down menu and a simple help system to get started. See KEYS section below to learn about key combinations. Among its features there are: various operations with stream and rectangular blocks, search and replace with full regular expressions, text formatting, undelete/uninsert, hex editing, tunable key sequences, tunable colors, tunable syntax highlighting. The editor currently supports only one loaded file at a time. KEYS
Here are some starting hints: F10 or C-n menu F1 help C-x exit (cancel) Arrows navigate In the editor the following key description is used: Key1-Key2 simultaneous key1 and key2 press Key1+Key2 sequential keys press Key1 | Key2 press Key1 OR Key2 ^Key Ctrl-Key ~Key Shift-Key ^~Key Ctrl-Shift-Key | Alt-Key Some of ^Fx, ~Fx, ^~Fx can be typed as ESC+Fx. The rest of key combinations can be seen in help, in menu and in the keyboard map (default one can be seen with le --dump-keymap). There is support for block filtering through an external program, a command output read-in, writing a block through a command. To read or write block from/to a command, use F4+R or F4+W and file name of the following format: ``|command args''. Filtering is achieved by F4+| followed by command name. STATUS LINE
On the status line you can see current line, column, the size of loaded file, the code of character under cursor, several one letter flags, file name, offset in bytes from the file beginning and percent position in the file. One letters flags are: * - modified; R - Russian keyboard (works only on certain terminals); I - insert, O - overstrike; A - autoindent; D - dos style line terminators (CR NL); U - undelete possible, u - uninsert possible; B - column block mode. TEXT PROTECTION
To prevent changes loss on crash, le regularly dumps the editing text, if changed, to ~/.le/tmp/FILENAME.PID , where FILENAME is the file name with slashes converted to underlines; PID is the process id of the editor process. When the editor gets a fatal signal, it also dumps the text, to ~/.le/tmp/DUMP-SIG-FILENAME.PID , where SIG is the signal number. OPTIONS
-r, --read-only Work as viewer, don't allow changes. If your system supports mmap(2), it will be used to get file contents to memory. -h, --hex-mode Start in hex mode --mmap Use mmap(2) to load file read-only. Can be used to view very large files or even devices. This implies -h. --mmap-rw Use mmap(2) to load file read-write in MAP_SHARED mode. Use with caution -- the changes go directly to file or disk, no undo. In this mode only replace can be used, but it allows editing of very large files or even devices. This implies -h. -b, --black-white Start in black & white mode -c, --color Start in color mode --dump-keymap Dump default keymap to stdout and exit --dump-colors Dump default color map to stdout and exit --version Print the version of LE and exit --help Print short description of options and exit FILES
DATADIR/colors ~/.le/colors DATADIR/colors-$TERM ~/.le/colors-$TERM Color palette description. Those files are sequentially read and color definitions in later files have higher precision. ~/.le/keymap-$TERM DATADIR/keymap-$TERM ~/.le/keymap DATADIR/keymap Key map descriptions. Only the first existing file is read. ~/.le/term-$TERM DATADIR/term-$TERM Terminal specific options. Only the first existing file is read. Use Options->Terminal menu to tune the options. ./.le.ini ~/.le/le.ini DATADIR/le.ini Options. Only the first existing file is read. Use menu Options to tune these. .le.syntax ~/.le/syntax DATADIR/syntax Syntax highlighting rules. Only the first existing file is read. There is no default built-in in the editor, so if those files are not present you won't see any syntax highlighting. ~/.le/mainmenu DATADIR/mainmenu Main editor menu. It has simple text format. Only the first existing file is read. ~/.le/history Various histories are saved here. Do not edit by hand. DATADIR is determined at compile time by configure script (pkgdatadir variable). By default it has value /usr/local/share/le. AUTHOR
The LE editor was written by Alexander V. Lukyanov <lav@yars.free.net>. 28 Sep 2000 LE(1)
All times are GMT -4. The time now is 05:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy