Post by CreonPost by DavidPost by Brock McNuggetsPost by CreonPost by potheadPost by Kelly PhillipsOn Fri, 14 Feb 2025 13:50:13 -0000 (UTC), pothead
Post by potheadPost by CreonPost by DavidWho would like to discuss this with me?
https://dev.to/kcdchennai/understanding-etcpasswd-file-in-linux-1k2d
Yes: Given your track history, I'd recommend you don't mess with it.
You will probably break your system.
Instead, use your distro's supplied gui tools to make changes.
I predict that this is going to get very messy.
Hopefully he has a known to be good back up.
Are you thinking he'll try to edit it with his favorite text editor,
TextEdit(?), then save it as .rtf, and thus totally screwing up the
format? ;-)
Yep. You read my mind :)
I was surprised to find that TextEdit is in Linux Mint, also.
Different apps with the same name. Or so says chatGPT.
----------------------------------------------------------------------
The apps called TextEdit in macOS and Linux Mint share a name but are
completely different in function, design, and capabilities. Here’s how they
1. Origin & Default Status
• macOS TextEdit: Developed by Apple, TextEdit is the default text
editor on macOS and has been included since the early days of macOS (and
before that in NeXTSTEP).
• Linux Mint TextEdit: Not an official or default app—it is a
lightweight third-party text editor available for Linux, but not preinstalled
in Mint. Linux Mint’s default text editor is Xed, which is based on Gedit.
2. Features & Capabilities
• Supports both plain text (.txt) and rich text (.rtf, .rtfd) editing.
• Can open, edit, and save Word documents (.doc, .docx) with basic
formatting.
• Supports images, fonts, colors, and lists in rich text mode.
• Includes spell check, text-to-speech, and basic HTML editing.
• Simple, but offers some word processor-like features.
• A simple plain text editor—no rich text support.
• Very lightweight and minimal, focused solely on plain text editing.
• Lacks advanced formatting, but good for coding and script editing.
• Does not include built-in spell check or word processing tools.
• More akin to Notepad on Windows than macOS’s TextEdit.
3. UI & User Experience
• macOS TextEdit: Clean, polished, and integrated with macOS features
like iCloud syncing, autosave, and dark mode. Offers both lightweight editing
and some word processing.
• Linux Mint TextEdit: Barebones interface, no rich text or extra
formatting tools, very fast and minimalist, aimed at quick edits or code
writing.
4. Use Cases
• macOS TextEdit: Good for quick notes, rich text documents, basic word
processing, and even opening Word files.
• Linux Mint TextEdit: Good for quick plaintext editing, modifying
config files, or lightweight script editing.
Conclusion
Despite sharing a name, macOS TextEdit is much more feature-rich, with rich
text, formatting, and some word processor-like capabilities. The Linux Mint
TextEdit app is far more basic, only handling plain text. If you’re looking
for something equivalent to macOS’s TextEdit on Linux, Xed, Gedit, or
LibreOffice Writer would be better choices.
----------------------------------------------------------------------
Post by Creon(It's part of GNUStep.)
But it's unlikely he would use that as an editor on /etc/passwd. Still
doesn't matter: don't edit that file directly unless you know exactly
what you're doing -- and if you do, set your EDITOR and VISUAL environment
variables, and then use vipw(8).
THANK YOU! 🙂
The default file format for TextEdit.app is RTF. That's the name of
the GNUStep text editor, and theoretically the precursor to the Mac
version, with a provenance from NeXTStep.
$ dpkg -l textedit.app
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii textedit.app 5.0-3 amd64 Text editor for GNUstep
https://imgur.com/7g8bvsC
David,
This is what happens when you rely on "Snit", or LLM's (or both) for
your information: you end up having the disadvantage of being wrong.
To illustrate the point:
_[/nfs/ds/src/TextEdit.app/textedit.app-5.0]_(***@lm)🐧_
$ head -40 Document.m
/*
Document.m
Copyright (c) 1995-2009 by Apple Computer, Inc., all rights reserved.
Author: Ali Ozer
Document object for TextEdit.
As of TextEdit 1.5, a subclass of NSDocument.
*/
/*
IMPORTANT: This Apple software is supplied to you by Apple Computer, Inc. ("Apple") in
consideration of your agreement to the following terms, and your use, installation,
modification or redistribution of this Apple software constitutes acceptance of these
terms. If you do not agree with these terms, please do not use, install, modify or
redistribute this Apple software.
In consideration of your agreement to abide by the following terms, and subject to these
terms, Apple grants you a personal, non-exclusive license, under Apple's copyrights in
this original Apple software (the "Apple Software"), to use, reproduce, modify and
redistribute the Apple Software, with or without modifications, in source and/or binary
forms; provided that if you redistribute the Apple Software in its entirety and without
modifications, you must retain this notice and the following text and disclaimers in all
such redistributions of the Apple Software. Neither the name, trademarks, service marks
or logos of Apple Computer, Inc. may be used to endorse or promote products derived from
the Apple Software without specific prior written permission from Apple. Except as expressly
stated in this notice, no other rights or licenses, express or implied, are granted by Apple
herein, including but not limited to any patent rights that may be infringed by your
derivative works or by other works in which the Apple Software may be incorporated.
The Apple Software is provided by Apple on an "AS IS" basis. APPLE MAKES NO WARRANTIES,
EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF NON-INFRINGEMENT,
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS
USE AND OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE,
REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED AND
WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR
OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
_ _ _ _ _ _ _
Thoughts?
--
-c System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090 Ti
OS: Linux 6.14.0-rc2 Release: Mint 22.1 Mem: 258G
"Itsdifficulttobeverycreativewithonlyfiftysevencharacters!"