Switch between ttys like on Linux

Hi ,
I would like to know how can i start process and assign it to a speciefic tty like /dev/pts/20 and whenever i need to interact with it , somehow i'll switch to that terminal like the ALT+CTRL+Fx on linux .

Hi,
I found following two technotes on sun sites.
Since virtual terminal is not supported by default,
below procedure is not supported one.
In Solaris 2.1, which few people have, this worked the same as the other
versions of UNIX for PCs did. It also works correctly in Solaris Base
Server 2.4, which was designed to work similar to Interactive UNIX.
In Solaris 2.4 and later, up to 2.6 at least, this was disabled by
default. However you can re-enable the feature with a little work if
you have root access to the system. Please note that this feature is
not officially supported, but it does seem to work, so the process is
documented here for those that require it. Please consider using CDE,
which has multiple workspaces, for future compatibility.
For Solaris 2.4, 2.5, and 2.5.1 you must create the /dev entries
yourself, after the system is installed. For 2.6, they are already
there and you can skip to the step where you edit /etc/inittab now.
Step 1 - Determine the device's major number:
# grep -i chanmux /etc/name_to_major
chanmux <num>
Step 2 - Add the /dev entries using the major number (<num>) you found:
mknod /dev/vt01 c <num> 1
mknod /dev/vt01 c <num> 1
Step 3 - Adding entries to /etc/inittab:
Add the following lines, one for each vt## device you created, to the
/etc/inittab file. Be sure to put them after the co entry.
co:234:respawn:/usr/lib/saf/ttymon -g -h -p "`uname -n` VT01
login" -T
AT386 -d /dev/vt01 -l console
co:234:respawn:/usr/lib/saf/ttymon -g -h -p "`uname -n` VT02
login" -T
AT386 -d /dev/vt02 -l console
Step 4 - Tell init that /etc/inittab was changed:
# /usr/sbin/init q
Now you can switch screens using <Alt>-<PrintScreen> followed
by <F1>
for vt01, <F2>, for vt02, etc. Using
<Alt>-<PrintScreen> followed by
<P> will switch to the previous screen, or <N> for the next
screen, in
cyclic order.
The one real difference is that to switch back to the normal console
screen you must use <Alt>-<PrintScreen> followed by
<H>, instead of <F8>
as Interactive UNIX used to use.
Let me remind you that this is not an officially supported mode of
Solaris X86. This FAQ is to help those migrating to Solaris X86 from
Interactive UNIX or SCO UNIX that require a feature like this for their
current environment.
A better solution is to plan to use CDE Workspace areas for this type of
function in the future. Each Workspace can then act as a virtual screen
and the buttons on the toolbar can be named for their function.
The VT feature has been removed starting from Solaris 8. Sun recommends
customers to move their programs to CDE as CDE provides a much better
functionality and is the Sun supported standard for multi-screen display.
As mentioned in FAQ 2445-02, the virtual terminal (vt) was all along an
unsupported and
deprecated feature in Solaris x86. It was maintained to ease the transition
from
IUS to Solaris.
If you would still like to use the vt on Solaris 8 without changing your
programs, you might want to check the XiG product from AcceleratedX -
http://www.acceleratedx.com/
Please note that we have not verified above product and we are not making a
product recommendation. Please check directly with the product vendor.
****************************************8
Hope this helps.
Thanks
Kalpesh

Similar Messages

  • [RESOLVED] Can't switch between TTYs when GDM is running.

    Hello, I have a strange problem because I can't think of why it would happen...
    If I boot up without GDM starting (ie: runlevel 3), I can switch between TTYs with Ctrl+Alt+Fx perfectly well, however if I then start GDM (or boot into runlevel 5 so it starts automatically), I no longer have this ability. Any idea why?
    Last edited by Barrucadu (2008-04-24 14:37:07)

    I think this has nothing to do with gdm, it's a problem with X. Last time I had this it was because X didn't properly interpret my keyboard settings - so try to comment out any specific Xkb* stuff in /etc/X11/xorg.conf and try to restart X.
    On the other hand, it might be something else - then I don't know.

  • [SOLVED] Delay when switching between ttys

    When I switch between tt2 - tt6 right after boot, I experience a delay of about 7 seconds
    before I am presented with the respective login prompt.
    During that time, I only get a blinking cursor in the upper left corner.
    Note that I experience the delay for each tty, but only for the first time that I switch.
    After that, switching is instantaneous.
    It doesn't matter whether I am logged in on tty1 or not.
    This problems seems to be relatively new.
    Kernel mode setting is enabled.
    Last edited by Aton (2013-04-12 12:14:19)

    Okay, I have found the problem.
    Seems that I hadn't correctly enabled [email protected].
    Journalctl:
    systemd[1]: Job sys-subsystem-net-devices-multi-user.device/start timed out.
    systemd[1]: Timed out waiting for device sys-subsystem-net-devices-multi-user.device.
    systemd[1]: Dependency failed for Automatic wireless network connection using netctl profiles.
    This somehow caused the problem.
    Whenever I switched ttys before those events, I would get the 7 second delay.
    After that, everything was normal.
    After correctly configuring netctl, the problem is gone.

  • Fastest way you switch between multiple images (CS3) ?

    I'm originally a Fireworks user (from 2001) and am starting to learn Photoshop as it is in my CS3 set and it's superiority in image editing.
    BUT, I was suprised/shocked/P.O.-ed to notice Photoshop doesn't have tabs to easily switch between images like Fireworks has had for the last 7 years.
    (Yes, I realize CS4 has that option now, but I'm not willing to dole out another $600 bucks for another upgrade )
    Anyway, enough ********.
    My question is:
    "Can you tell me how you switch between multiple images opened in Photoshop CS3?"
    I'm assuming there must be a keyboard shortcut I can't find, or something besides having to shrink down the images and routing through them . . .
    Thank you for your time and help,
    Brad

    Hi again My,
    Thanks for the reply on my other post as well.
    Ctrl+Tab
    Got it. Thank you.
    Quick and easy enough. I'm happy :-)
    Brad

  • HT5392 How can I use an Action List to re-order my layers in iAd Producer?  It looks like there's a tool for this, but I can't figure out how to use it.  I want to use a button to switch between a text field and a drawing pad layer.

    I am working on an iBooks Author Widget and want to allow the user to switch between drawing-pad functions and a text field on screen.  I'd like to create an action that will automatically re-order the layers so that the text field is accessible when typing but covered when writing by hand.  Then, I'd like the opposite to be available, so that the text field is accessible when typing, but the drawing pad is left alone.

    Have you tried using the selections in the Encore menu viewer that show you selected and activated states?

  • Is it possible to install Lion on the second hard disk on my Mini (2010) Snow Leopard Server, and switch between Lion and Snow Leopard? I like those voices Lion has in speech.

    Is it possible to install Lion on the second hard disk on my Mini (2010) Snow Leopard Server, and switch between Lion and Snow Leopard? I like those voices Lion has in speech.

    When baltwosaid NO emphatically, that was described as CORRECT ANSWER. Ditto in the caeses of the radically different answers from  Camelotand Matt Clifton
    Could it be that CORRECT ANSWER needs better defining by Apple?
    That apart, yes, switching might involve rebooting. About the voices, well, I was the other day adding voice to a commentary in a video I was working on. There's only American English accent in SL — Lion I believe has British ones as well.
    Why not, I wondered, try to install Lion purely for academic interest, maybe with an SD card (Sandisk Ultra II, 16GB) as Tom Nelson says is possible at http://macs.about.com/od/macoperatingsystems/ss/Perform-A-Clean-Install-Of-Os-X- Lion-On-Your-Mac.htm

  • If I have an airport extreme and a time capsule is it possible for seamless switching between the 2 when a signal is weak or drops Main reason is as I move from my first floor to my attic office and would like to place one (airport extreme)downstairs and

    If I have an airport extreme and a time capsule is it possible for seamless switching between the 2 when a signal is weak or drops
    Main reason is as I move from my first floor to my attic office and would like to place one (airport extreme)downstairs and time capsule upstairs to get complete coverage

    In theory, yes. If you configure the two base station into either an extended or roaming network configuration, you should be able to walk a laptop between routers and the laptop should attempt to connect/reconnect to the base station providing the stronger signal ... but, in reality, this is not always 100% true.

  • I am aware that many people, like me, have lost the ability to mirror their iPad, iPhone or computer with Apple TV.  Has anyone yet found a solution?  One day it worked, the next day the option to switch between the device and Apple TV had disappeared.

    Has anyone managed to resolve the problems encountered with Apple TV and the loss of ability to mirror iphones, ipads or computers?  One day it was working perfectly, from all the above devices, the next the option to switch between playing on the device or mirroring to apple tv had disappeared.  I have tried all the obvious such as updating iTunes, turning all devices off and then back on, but nothing is working.  Help please!

    Welcome to the Apple Community.
    Your problem is most certainly network related, you might try restarting your devices including your router as a temporary solution, but in the long term would be better correcting the problems with your network.
    Intermittent problems are often a result of interference. Interference can be caused by other networks in the neighbourhood or from household electrical items.
    You can download and install iStumbler (NetStumbler for windows users) to help you see which channels are used by neighbouring networks so that you can avoid them, but iStumbler will not see household items.
    Refer to your router manual for instructions on changing your wifi channel.
    There are other types of problems that can affect networks, but this is by far the most common, hence worth mentioning first.

  • How to switch between 2 windows of the same application using Cmd+Tab

    Hi,
    I am using my mac now since about 10 months. I was used to work with Linux and Windows XP.
    Something I am badly missing on mac os x is the possibility to switch between 2 windows of the same application using cmd + tab just like it simply works for Linux and Windows (and maybe many other OS out there!).
    Very often I have 2 text files open in 2 editor windows (e.g. TextEdit) and need to copy and paste text from one window to the other. I was used to simply use ALT+TAB. But here I have to get my right hand away from the keyboard and use the mouse to change the focus from one window to the other and then use the mouse again to get the focus back to the previous TextEdit windows.
    THIS REALLY *****!!!! It makes me crazy. I cannot believe that such a "modern" OP does not support this action. I must be doing something completely wrong or did not understand the mac correctly. Right?
    Does anyone have an idea how I can get mac to do something all other operating systems so easily do?
    Thanks
    Quartz84

    Hi Kappy,
    well what you are saying is obvious to me. This is not the point for me and not what I wanted to know. But I think you answered my question anyway: OS X is unable to switch between windows of the same application as I mentioned in my example.
    WHY NOT???
    Every other OS is able to differentiate between windows and not just applications.
    Another example: The Mail application and an Email editor window. When you are writing an Email and you want to switch to the main window of the Mail application to read something you must again use the mouse!
    I mean Apple seems to be "somehow" using FreeBSD in the background and even in FreeBSD's window manager it is possible to switch between windows of the same application.
    Well, in the Apple world it is always the pour user who is not intelligent enough to understand Apple's philosophy ;-(
    To me this is not modern, it is simply a weakness of the OS.
    Cheers
    Quartz84

  • How can I switch between apps without going to home screen?

    Is there anyway to switch between apps with one tap? (ie. without going to home screen first). Kind of like a command-tab feature.
    Steve

    Well, you can have one app that you can get to with a double push of the home button (set in settings which you want), but I think it's only your contacts list, or your ipod app. Still useful though.

  • Graphic distortion when switching between external and built-in display (rMBP)

    Recently (within the past two weeks or so) I've noticed a strange issue when switching between my external display (Thunderbolt) and my built-in display on my 15" rMBP. The following issue seems to be specific to Photoshop CS6.
    Typically, I'll have a PS document open on my external display and I'll wind up taking my to another location. If I close the PS document while on my built-in and then re-open it, I get all kinds of distortion and pixellation. Closing out PS and reopining, restarting, logging on/off; none of it seems to work. It seems like the issue is with the PSD itself, but it doesn't make any sense to me. Any ideas? Screenshot: http://i.imgur.com/iCipSc7.jpg

    Do you have intel gpy as well as other graphic card?  You may be viewing document on different gpu's.  PS does not like multiple gpu's.

  • When frequently switching between mobile and desktop view

    When I frequently switching between mobile and desktop view I have to open the layers every time since they get closed/collapsed. Adobe may need to fix it for the next version.

    You can use CTRL+# to switch between Code and Design View.
    By the way, this is the Dreamweaver Application Development forum which deals with questions about using server-side scripting languages like PHP or ColdFusion. General Dreamweaver questions should be posted in the regular Dreamweaver General Discussions forum.
    And while I´m at it: please use descriptive headlines such as "how to switch between Code and Design View" for your posts -- mentioning your screen name "Goula129" is not helpful to other users.

  • Double-tapping to switch between or clear running apps is not working with iPhone 4s.

    when I double tap to close out or switch between running functions, it does nothing ever since yesterday. I have the most current update since last week and the home button works for all other purposes so it's not broken. Now my battery is draining because I cannot shut off running apps. Please help!

    Hi Kate,
    Welcome to Apple Support Communities.
    It sounds like you’re running into a multitasking issue that’s preventing you from switching between apps or forcing them to quit. Try restarting your iPhone, as shown in the article linked below.
    Restart or reset your iPhone, iPad, or iPod touch - Apple Support
    If that doesn’t do it, you can always try restoring the iPhone to factory settings too.
    Use iTunes to restore your iOS device to factory settings - Apple Support
    Cheers,
    -Jason 

  • How to quickly switch between straight and curly quotes?

    I've recently moved from a Windows XP machine with MS Office to a Mac Pro with Pages.
    For the kinds of documents I typically work on, sometimes I need to have straight quotes, and sometimes curly quotes. With MS Word, I was able to create a couple of macros that would switch these preferences for me. With these macros linked to an icon in the toolbar, switching between straight and curly quotes was as easy as clicking a button.
    Now I'm looking for a way to do this -- or something like it -- with Pages.
    I know how to switch back and forth using the preferences menu, of course, but I'm looking for something quicker and simpler, since I often have to make this change several times a day.
    Can Automator do something like this? Or is there another way?
    -- Eric

    Turn off the auto correction and you can type Curly quotes with:
    left single ‘ option ]
    right single ’ option shift ]
    left double “ option [
    right double ” option shift [
    If you want the French quotes « and » they are option and option shift |
    Peter

  • Can i set up two emails accounts on the mail function tab and switch between them

    I would like to be able to set up two email accounts on the mail tab on the Iphone 5 and switch between them, is this possible?

    Yes it is possible to set up multiple accounts but you cannot switch between them in the mail app.  What you can do in settings/mail etc is have one set as active an dthe other as inactive and you can change that from time to time if you want

Maybe you are looking for