LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-13-2006, 01:36 AM   #1
ed_po
LQ Newbie
 
Registered: Aug 2005
Posts: 13

Rep: Reputation: 0
Lightbulb Output redirection???


Hi every one, here is my problem:
my X doesn't work and i do things in cli, when i'm trying to bring up my wireless card , its driver start send all its messages to all vt's\tty's in the same time, i suppose it's normal but it doesn't let me type another commands....
I know the proper way to redirect command output , but apparently this is not the case....
i would be happy if someone gave me tips how to deal with CLI without X in particular situation and in general..

THANKS
 
Old 06-13-2006, 10:22 AM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 75
man 8 dmesg
 
Old 06-13-2006, 11:03 AM   #3
taylor_venable
Member
 
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

Rep: Reputation: 43
If it's the driver that's printing the messages, then they're probably coming from the kernel. You shouldn't lose your shell unless the system panics or something disastrous like that happens. But you will lose your prompt when a message from the kernel gets written to the screen (because the shell isn't aware that something else wrote a message to the terminal, the shell doesn't know that it has to re-print the prompt). If hitting enter a few times doesn't get your prompt back, something else is wrong. Maybe the program you're running to enable the wireless device is actually hanging, so the shell never gets to continue execution. In Linux, I don't know; but in BSD only one VT (called the "console") actually gets kernel messages, while the rest stay clean. If the problem is that kernel messages get written to all VTs, there's probably some way you can change that in your system's terminal configuration file. For a guess, it's /etc/ttys on BSD.
 
Old 06-13-2006, 01:17 PM   #4
ed_po
LQ Newbie
 
Registered: Aug 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Thank you man for such a detailed response. I'm going to dig in the direction you gave me.
 
  


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
tar command output redirection ah_kayyali Linux - Newbie 4 03-19-2006 07:30 AM
what is output redirection? LinuxPadawan General 5 05-18-2005 01:53 PM
Output redirection rmartine Linux - Newbie 2 01-25-2005 07:31 PM
output redirection to another directory spyghost Linux - Software 3 09-21-2003 10:28 AM
Output redirection legtester Linux - General 4 07-07-2003 03:36 PM


All times are GMT -5. The time now is 06:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration