How to enable both Ctrl - H and backspace for deleting left on Solaris 10

unix

    Next

  • 1. Where is the "autorun" resp. "setup.exe" on a Solaris installation DVD ?
    Sorry again for this newbie question. I have never installed Solaris before (only used it). After having downloaded the x86 vesion of Solaris I pasted the parts successfully into an iso archive. The resulting ISO archive looks (syntactically) good when I peek into it. However I would have expected to find something like an "autorun" or "setup.exe" on this DVD (similar to the - sorry - Windows world) but do not. When I burn this ISO archive on a DVD and boot the target computer this target computer will not know what do do with this Solaris stuff. How do I boot and install Solaris (on a x86 system) with such a DVD? Thomas
  • 2. Multiple NICs on same subnet
    Hi, I was wondering how Solaris (version 9/10) handles traffic received through one of two interfaces, which are plugged into different switches but on the same subnet. The two interfaces are actually in the same pvlan, which spans both switches. sun_host_1 eth0 - 192.168.1.10 - switch A - pvlan1 eth1 - 192.168.1.11 - switch B - pvlan1 any_client virtual_nic - 192.168.1.12 - switch A primary_nic - 192.168.1.13 - switch A - pvlan1 standby_nic - 192.168.1.14 - switch B - pvlan1 The scenario I have is any_client above, needs to be able to communicate with the sun_host_1 over whichever interface is the primary at the time. If the any_client's active interface is plugged into switch A, along with eth0 from the sun_host_1, would sun_host_1 always reply to any_client over interface eth0, or would it use eth1 as well as it is on the same subnet ? Which interface would sun_host_1 use for the default gateway which would be on the 192.168.1/24 network, the last configured ? Any help appreciated. David
  • 3. Problems with kstat, -m64, load average
    Hi all, Solaris 10 gcc 3.4.5 (blastwave package) The following code works fine when compiled with -m32. However, when compiled with -m64 the load average values are totally wonky (as in huge, wrong numbers). I tinkered with changing the cast, but that didn't seem to matter. Any ideas? /* loadavgtest.c * * Built with gcc -Wall -lkstat -m64 loadavgtest.c -o loadavgtest */ #include <stdio.h> #include <kstat.h> int main(){ kstat_ctl_t* kc; kstat_t* ksp; kstat_named_t* kn1; kstat_named_t* kn5; kstat_named_t* kn15; kc = kstat_open(); if(kc == 0){ printf("kstat_open() error\n"); return -1; } ksp = kstat_lookup(kc, "unix", 0, "system_misc"); if(ksp == 0){ printf("kstat_lookup() error\n"); return -1; } if(kstat_read(kc,ksp,0) == -1){ printf("kstat_read() error\n"); return -1; } kn1 = kstat_data_lookup(ksp, "avenrun_1min"); kn5 = kstat_data_lookup(ksp, "avenrun_5min"); kn15 = kstat_data_lookup(ksp, "avenrun_15min"); if( (kn1 == 0) || (kn5 == 0) || (kn15 == 0) ){ printf("kstat_lookup() error\n"); return -1; } printf("1 val: %f\n", (double)kn1->value.ul/256); printf("5 val: %f\n", (double)kn1->value.ul/256); printf("15 val: %f\n", (double)kn1->value.ul/256); return 0; } Thanks, Dan
  • 4. Korn Shell problem.
    Hi Friends, operating system i am using is sun solaris and my shell is korn shell, when ever i open a file i can see ^M at the end of every line. could you please tell me how to overcome this? and i am usint terminal client as QVTERM and how can change from c shell to kron shell permanently
  • 5. Limit recursive DNS on Solaris
    Hi Folks, I know this is more BIND specific than Solaris, but we are running Sun kit and I know all the real gurus hang out here... sweet talk, sweet talk... Here goes the question... Is it possible to limit recursive lookups within BIND so that you can stop others using your DNS servers as open lookups. Let me explain a bit more. We have many remote users so we run our own DNS for a number of sites over a geographically diverse area so we do run an open recursive DNS lookup service. Is it possible to limit this to keep recursive lookups but block FOR JUST ONE OR TWO specific address ranges? I know you can do: options { allow-query { address_match_list; }; }; but can you INVERT this so it just lists those you **don't** want to be recursive for. I've looked in ye old BIND book but the cupboard was bare.... Thanks in advance, P.

How to enable both Ctrl - H and backspace for deleting left on Solaris 10

Postby lovecreatesbeauty » Tue, 07 Feb 2006 13:06:19 GMT

Somebodies prefer Ctrl - H but some others prefer backspace for
deleting the left characters, so is it possible to enable both on
Solaris 10?

Sincerely,

lovecreatesbeauty


Re: How to enable both Ctrl - H and backspace for deleting left on Solaris 10

Postby lovecreatesbeauty » Tue, 07 Feb 2006 13:44:21 GMT

I only find profile under /etc, but none under personal $HOME. I
changed default $HOME of root from / to /export/home/root, and this is
ok. After that, I copied the /etc/profile to /export/home/root, but the
second profile doesn't take effect, then I can only make changes in the
global /etc/profile. This is way I ask the question.

By the way, those two .profile files take effect on HP-UX 11 machine.


Re: How to enable both Ctrl - H and backspace for deleting left on Solaris 10

Postby Dave Uhring » Tue, 07 Feb 2006 13:50:46 GMT




Yes.


Re: How to enable both Ctrl - H and backspace for deleting left on Solaris 10

Postby Dave Uhring » Tue, 07 Feb 2006 13:54:53 GMT




Not ok; that is stupid.


Re: How to enable both Ctrl - H and backspace for deleting left on Solaris 10

Postby Mahmood » Tue, 07 Feb 2006 14:30:45 GMT

mostly I've seen this your Terminal's ability , if you are usign it
remotely and otherwise you have to define it accorindgly in your SHELL
if you are on the system itself,
Like I have enabled following on my Solaris 8 System as follows:

stty erase \^\?

in /etc/profile for the systemwide changes.


Regrads,

Nasir Mahmood.
PTML(Ufone)
Pakistan


Similar Threads:

1.backspace problem (ctrl-backspace)

Hi,

I have a script which does a few things before running an ncurses based
program.  When I run my script from a command prompt the ncurses based
program interprets the backspace key correctly.  When I run my script
using an execle function call from some C code, backspace no longer works
as expected - instead I have to use ctrl-backspace to get the usual
backspace key function. Any pointers on how I can get the backspace key to
work correctly from my C code?  

Regards,

Paul. 

-- 
Remove _rem_ before replying by email.

2.CTRL-ALT-Backspace...

3.CTRL+Backspace

4.Disable Alt + Ctrl + Backspace selectively

Hi,

I would like to configure my system some how so that when non root
users logon, the system disables Alt + Ctrl + Backspace from killing
X.  But when root is logged on, ALt + Ctrl + Backspace should work as
usual.  I know a DontZap entry in Xconfig will disable it for
everyone.  But this needs to be a bit more selective.  So it seems
like I have to write some kind of a program that will look at key
strokes and filter out Alt + Ctrl + Backspace combinations.

If there is a better way, I am most definitely open to it.  Thanks.

Xin Li

5.Change to parent directory by using Ctrl + Backspace key-binding

Hi,

I use tcsh + rxvt in my daily work.
I'm looking for a way that I could set up a key-binding, e.g.
Ctrl+Backspace
to do "cd .."
Currently , I'm using "alias .. `cd ..`" to help reduce bothering key
typing but
I still feel frustrated once I need to change to parent directory.

Thanks for your help!

6. ubuntu 7.10 - KDE - computer hangs when ctrl-alt-backspace

7. ctrl-alt-backspace sends computer into "suspend" mode after closing X.

8. ctrl+alt+backspace turns the computer off !



Return to unix

 

Who is online

Users browsing this forum: No registered users and 55 guest