Not quite clear what exactly you are doing there; please give more info. Using leafpad to open / edit a file:
First is with open file, second after closing it.
Hi,
I unable to open any file using Vi editor,constantly getting the following error,
vi log.log
*** glibc detected *** malloc(): memory corruption: 0x081af510 **
uname -a
Linux sekac092 2.6.5-7.244-bigsmp #1 SMP Mon Dec 12 18:32:25 UTC 2005 i686 athlon i386 GNU/Linux
Also Note
ls... (8 Replies)
Hi all,
I have a shell script that i started editing, only in the midst of which i tried to save the changes i found that the file wasnt been provided with write/execute permissions.
I later have redone the changes and saved the file-
Just curious to know if there was any command wherein... (5 Replies)
helo
I install my product for koren language
I m uisng RHEL -4 operating system
now problem is whenever I open any file
vi filename
I got following error on the screen
E557: Cannot open termcap file
'vt100' not known. Available builtin terminals are:
builtin_ansi
... (1 Reply)
i have following query
e.g i want the VI Editor cursor at line number N instead of 0 while opening the file from unix prompt.
vi filename ??????
Can anyone help? (4 Replies)
Hi Everyone,
# cat a.txt
94,aqqc,62345907,
5,aeec,77,
# cat 1.pl
#!/usr/bin/perl
use strict;
use warnings;
use Date::Manip;
open(my $FA, "/root/a.txt") or die "$!";
while(<$FA>) {
chomp;
my @tmp=split(/\,/, $_);
if (index($tmp, "qq") ne -1) {
... (4 Replies)
I know how to check if any file has a unix process using a file by looking at 'lsof <fullpath/filename>' command.
I think using lsof is very expensive. Also to make it accurate we need to inlcude fullpath of the file.
Is there another command that can tell if a file has a truely active... (12 Replies)
Hi,
I would like to ask about the notepad++ text editor application, Although there are alternative and more great text editor in linux (gedit, geany, jedit) im still using the notepad++ sometimes cause for some of my own reason one of those is the minimalist text(what i mean is notepad++ has a... (2 Replies)
vi: syntax error at line 1: `)' unexpected
when I try to vi into the /etc/vfstab, the return gives me the above error.
how can resolve this so that I can have access into vi. (6 Replies)
Hi,
I am facing a problem regarding .csv file, my script does not read .csv file and if i open this file in vi editor and perform :wq option then only my script reads the .csv file.
Thanks (5 Replies)
Hello Experts,
I need to write a shell script to check if a file is open and something is being written to it. I want to know how OS handles it. I checked with lsof command but it is not working. For a test I did this.
while true; do echo `date` >>abc.txt; done
then I checked
lsof |... (5 Replies)
Discussion started by: shekhar_4_u
5 Replies
LEARN ABOUT DEBIAN
leafpad
leafpad(1) 2012-03-26 leafpad(1)NAME
leafpad - GTK+ based simple text editor
DESCRIPTION
leafpad is a simple GTK+ based text editor. The user interface is similar to Windows(tm) notepad. It aims to be lighter than GEdit and
KWrite and to be as useful as them.
WARNING: The encoding feature is derived from built-in Glib's iconv feature (g_convert), which you can check with command "iconv -l".
Leafpad can use only the listed encoding. Any other encoding cause serious data loss.
SYNOPSIS
leafpad [options] [filename]
OPTIONS --codeset=CODESET
Set codeset to open file.
--display=DISPLAY
X display to use.
--help
Dispaly the command line options.
--screen=SCREEN
X screen to use.
--sync
Make X calls synchronous.
--tab-width=WIDTH
Set tab width.
--version
Display version number.
ENVIRONMENT
None.
FILES
None.
SEE ALSO gedit(1)kwrite(1)AUTHORS
Program was written by Tarot Osuji <tarot@sdf.lonestar.org>.
This manual page was written by Carlos Z.F. Liu <carlosliu@users.sourceforge.net> for the Debian GNU system (but may be used by others).
Updated by Jari Aalto <jari.aalto@cante.net>.
Released under license GNU GPL v2 or (at your option) any later version. For more information about license, visit
<http://www.gnu.org/copyleft/gpl.html>.
leafpad 2012-03-23 leafpad(1)