summary of textedit problem

From: thush@www.lanka.com
Date: Sun Mar 15 1998 - 21:13:02 CST


Hi Sun-Managers,
Thanks for the people helped and specially for amjadz@sts.com.jo

Original Question :
How to get rid of backup file generated by textedit.

Solution :
Has to write a wrapper(script) which calls textedit inside.
The following is a ksh script which has some debugging lines
inside for the ones who are not familiar with ksh. Save the
following script in your working directory and give it a
exec permission and save as textedit_NOBK (or someother name
other than textedit)

But this textedit version deletes the opened file only if
the file is opened at the command line itself like follows.
$ textedit_NOBK filename
$ textedit_NOBK filename &

If you want to work it in other cases
$ textedit_NOBK
$ textedit_NOBK & AND then open in file menu you have to
customize the script.

Regds.
Thushara Wickramasinghe
thush@lanka.com



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:33 CDT