LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-09-2004, 08:24 PM   #1
Johnsernickle
Member
 
Registered: Aug 2002
Posts: 71

Rep: Reputation: 15
Login to a virtual terminal from another one


All i need to know is how i can log into virtual terminal two from virtual terminal one. Is there any way you can do this? if you try to output data to an unloged into virtual terminal with "openvt" or "> /dev/vt/x", it looks all messed up. So all i need to do is log into that terminal, so i can make a script that opens top in virtual terminal two when i start up. Thanks,

Petes
 
Old 07-17-2004, 12:46 AM   #2
osvaldomarques
Member
 
Registered: Jul 2004
Location: Rio de Janeiro - Brazil
Distribution: Conectiva 10 - Conectiva 8 - Slackware 9 - starting with LFS
Posts: 519

Rep: Reputation: 34
No. I think you don't need to log in the other terminal. All you need is set it up for it understand when you say "new line" it understand "carriage return"/"new line". In your script you have to include
Code:
(stty opost onlcr; "your command" >/dev/vt/x 2>/dev/vt/x) </dev/vt/x
I hope it helps.
 
  


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
virtual terminal deity46 Fedora 2 06-07-2005 08:39 PM
Virtual terminal Nawas111 Linux - Hardware 4 11-27-2004 05:02 PM
Virtual terminal blackzone Linux - General 4 07-22-2004 06:13 AM
Only one virtual terminal? kule Slackware 7 07-14-2004 05:06 PM
virtual terminal not centered matt_w_lambert Linux - General 1 02-12-2004 09:44 AM


All times are GMT -5. The time now is 05:17 PM.

Main Menu
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