Sponsored Content
Top Forums Shell Programming and Scripting how to make VI editor show colors in Unix Post 61693 by Drewser on Monday 7th of February 2005 04:02:29 PM
Old 02-07-2005
no problem at all, another thing I like is a color 'ls' command.

you can just alias your current ls command with 'ls --color=auto' in your .bashrc (for bash) or .cshrc for (csh) depending on what shell your using.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How would I make a find command NOT show the path of a file?

When I do find . -name "*.txt" -size +0 -exec ls {} \; I get something like ./lpi_stdout.txt ./lpi_stderr.txt What would I need to do or pipe it into to strip off those first two characters so I just get lpi_stdout.txt lpi_stderr.txt ? Thanks for the help! (1 Reply)
Discussion started by: LordJezo
1 Replies

2. UNIX for Advanced & Expert Users

Unix vi editor

Dear All, Is there a way to handle special french, spanish character is vi editor (Sun Solaris 8). Foll. is a label in notepad (windows), Cliquez ici pour revenir Ã_ la recherche de l'hôtel this label is stored in a text file, when i tranfer this file to unix using ftp (tried both ansi & bin... (6 Replies)
Discussion started by: lloydnwo
6 Replies

3. UNIX for Dummies Questions & Answers

what command can show calendar in unix system?

what command can show calendar in unix system? (2 Replies)
Discussion started by: kennethchow
2 Replies

4. Linux

how to make text colorful in vi editor in fedora core 6

how to make texts colorful in vi editor in fedora core 6. (1 Reply)
Discussion started by: useless79
1 Replies

5. Shell Programming and Scripting

Is there any way to make up arrow show last command in CSh?

Hi, I've been looking for a way to make the up arrow show the last command in csh, like how it does in bash/ksh. I've been googling and just can't find anything.....anybody have any ideas? thanks! (5 Replies)
Discussion started by: sayeo
5 Replies

6. UNIX for Advanced & Expert Users

perl colors in nedit editor

Hi, I would like to change the color of the nedit editor for perl scripts. I tried to find the .nedit file in my $HOME directory but didn't find it. Can anyone tell where can I find the .nedit file or where can I modify the color for perl scripts in the nedit editor ? Thanks in... (2 Replies)
Discussion started by: Alalush
2 Replies

7. UNIX for Dummies Questions & Answers

show duplicates in unix

Hi, im a new member. Nice to meet you! I have a question, if someone could help me, ill really apreciate. It would make my daily work easier. :) i want to make a depth search of files in /log which the first 4 characters duplicate and with .kur extension. Example: ... (2 Replies)
Discussion started by: Master00
2 Replies

8. Shell Programming and Scripting

How to make diff show differences one line at a time and not group them?

Is there a way to tell diff to show differences one line at a time and not to group them? For example, I have two files: file1: line 1 line 2 line 3 diff line 4 diff line 5 diff line 6 line 7 file2: line 1 line 2 line 3 diff. line 4 diff. line 5 diff. line 6 line 7 (13 Replies)
Discussion started by: mmr11408
13 Replies

9. Windows & DOS: Issues & Discussions

Unable to show xclock in UNIX for windows

i had tried to run the xclock after i login into my HP UX machine using the C shell in the Services for Unix (Windows) but the xclock does not pop up. Do anyone has the same issue? Do i need to install some X windows package as well? Thanks (1 Reply)
Discussion started by: lchunleo
1 Replies

10. Shell Programming and Scripting

awk (or) UNIX random RGB colors generator?

Dear UNIX Friends, I was wondering if there is a random RGB color generator or any function in any unix platforms. Please share your ideas. Thanks (2 Replies)
Discussion started by: jacobs.smith
2 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 07:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy