LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-24-2006, 02:10 AM   #1
virgule
LQ Newbie
 
Registered: Jan 2006
Location: Masachusetts, USA
Distribution: slackware, rhel
Posts: 14

Rep: Reputation: 0
why can't I get a prompt?


Sometimes when I expect to get a prompt... I don't. An example: I was reading a man page (haha, when am I not reading a man page?!), pressed q (my pager is less), and then... nothing happened. Another example: typed ps -ef, saw the usual stuff, no prompt at the end. Tried ^c, ^[ and neither did anything useful. Am I missing something totally basic here? (I don't know if this is helpful, but I think this doesn't happen in screen. I'm not *sure* that's the case, though.) Thanks!

~v
 
Old 04-24-2006, 02:35 AM   #2
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
For man pages, you have to exit with esc : q [escape colon q]

For your ps command, if it doesn't end with a prompt, something is terribly terribly wrong here

Is that on Slackware or RH? If it's both places, then it's you, buddy.

What terminal are you using?
 
Old 04-24-2006, 02:58 AM   #3
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
if youre using less as the pager, then q should quit and return you to the shell. Something is terribly wrong if thats the case..
 
Old 04-24-2006, 08:20 AM   #4
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
If it's in Slackware, what is the version of Bash?
 
Old 04-24-2006, 10:26 AM   #5
virgule
LQ Newbie
 
Registered: Jan 2006
Location: Masachusetts, USA
Distribution: slackware, rhel
Posts: 14

Original Poster
Rep: Reputation: 0
It's just in Slack. I'm using xterm and bash 3.00.16 (and I was wrong about it not happening with screen).
 
Old 04-24-2006, 10:28 AM   #6
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
that's the right version. Does it happen in console mode?
 
Old 04-24-2006, 10:32 AM   #7
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
Are you sure it's the right version? He should have build 4 of Bash 3.0, I think.

ftp://ftp.belnet.be/packages/slackwa...tches/packages
 
Old 04-24-2006, 10:37 AM   #8
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
The version he has is the one that comes with the Slackware 10.2 installation.

I did bash --version and I got the same results as him. Anyway I think it's user error (not understanding how to get out of man) and maybe some other stuff too, and not a problem with bash.
 
Old 04-24-2006, 10:39 AM   #9
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
Yes, indeed. And from the changelog:

"a/bash-3.0-i486-4.tgz: Fixed an obscure bug where suspending the first process
started in a new shell would cause it to hang.
Thanks to Grant Coady for discovering and fixing this bug."
 
Old 04-24-2006, 11:05 AM   #10
virgule
LQ Newbie
 
Registered: Jan 2006
Location: Masachusetts, USA
Distribution: slackware, rhel
Posts: 14

Original Poster
Rep: Reputation: 0
Wow, thank you so much!
 
Old 04-24-2006, 11:26 AM   #11
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
Does that mean you fixed something?
 
  


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
grub prompt oprogue SUSE / openSUSE 8 12-13-2005 02:07 PM
can not see the prompt ustek Slackware 5 02-13-2004 02:56 PM
Why Does Prompt Look Like ... Rubicone Linux - Newbie 5 03-19-2002 10:56 AM
Prompt Atroxic Linux - Newbie 5 01-09-2002 04:43 AM
Prompt name toxic53 Linux - General 1 09-26-2001 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:07 PM.

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
Open Source Consulting | Domain Registration