LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 04-21-2005, 12:11 AM   #1
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
How to cleanly exit 'man' - Changing File Properties


Sometimes I start thinking I'm not really a newbie to Linux any more, then issues like these come up.

(1) What is the correct way to exit a man page? '^C' does nothing, and '^Z' leaves a stopped process.

(2) I have a text file that appears to me to be plain text, but Linux sees it as a 'Portable Pixmap File'. Whenever I go to open it, Linux wants to use 'Image Viewer'. I have to use 'Open With...' and choose a Text Editor. I tried copying and pasting the contents from nedit, but even the newly saved file is 'Portable Pixmap'. How can I convince Linux otherwise.
 
Old 04-21-2005, 12:20 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Ad 1)
A single press of the key Q

Ad 2)
What's it's extension, and which silly file-manager
claims it's a pixmap?


Cheers,
Tink
 
Old 04-21-2005, 12:21 AM   #3
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Re: How to cleanly exit 'man' - Changing File Properties

Quote:
Originally posted by rickh
What is the correct way to exit a man page? '^C' does nothing, and '^Z' leaves a stopped process.
try with the letter q...
 
Old 04-21-2005, 12:27 AM   #4
username17
Member
 
Registered: Aug 2004
Location: Norfolk VA
Distribution: Slackware 11
Posts: 230

Rep: Reputation: 30
BTW, when I first started using man I rebooted once to close out of man.
We all start somewhere..

PS, I said "when I first started" but don't take that as, we're all experts now. I still learn and I still suprise myself at how stupid I can be. =)
 
Old 04-21-2005, 01:08 AM   #5
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Original Poster
Rep: Reputation: 60
What's it's extension, and which silly file-manager
claims it's a pixmap?


Extension ... txt. File Manager ... whatever the Gnome default is.

...but I have solved the problem. It had someting to do with the way I created the file, and I can't remember anymore exactly how that was. I think it somehow involved the use of 'cat', but I've tried to duplicate it, and can't.

Anyway, a simple man > textfile created the file correctly.

Thanks ... and now I'll reclaim my self-described 'intermediate' linux user status, and see how long it lasts.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
exit a man page? gnuoob Linux - Newbie 2 08-27-2005 02:39 PM
man pages: how to exit? KlaymenDK Linux - Newbie 2 06-25-2004 09:03 AM
Exit man (elegantly) verstapp Linux - Newbie 2 03-01-2004 08:29 PM
Problem with k3b again, now cdrdao didn't exit cleanly krussell Linux - Software 3 02-08-2004 09:16 PM
Exit man, switch processes Bellrang Linux - Newbie 4 04-03-2003 11:15 AM


All times are GMT -5. The time now is 05:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration