Visit Our UNIX and Linux User Community

No $ when typing cw

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers No $ when typing cw
# 1  
Old 09-10-2012
No $ when typing cw


As a dummy my question is very simple. When typing cw I've read (many times) that a '$' should appear at the end of the word I'm about to change. However, it doesn't, and in my case the word is instantly deleted and so ready to be changed!

Can somebody tell me why this is, or maybe I have to enable something to make that appear (I imagine not). For anybodies information I'm working on a Macbook Terminal.

Thanks in advance.
# 2  
Old 09-10-2012
In standard vi(m) builds that is true, your build does a delete and insert, is that presenting a problem in use?
This User Gave Thanks to Skrynesaver For This Post:
# 3  
Old 09-10-2012
No, not at all. It was more of a question to see if that's normal. When you follow books as a beginner you're often not sure if what's happening 'should' or 'shouldn't' be happening. Hence this excellent forum.

I'm working from an old book of John Muster and several commands seem to not function as mentioned - ex : using z. to refresh the screen or z n. to display x lines doesn't work either. I expect that due to the using xterm (or is it bash) certain commands function differently. But I'll get the hang of it eventually..... LOL!
# 4  
Old 09-11-2012
If you on a Linux platform, you are actually using vim, not vi. There are many subtle differences between vim and vi.
# 5  
Old 09-11-2012
Hi fpmurphy.

Thanks for the info. I guess as 'skrnesaver' says, 'is that presenting a problem ..' the answer being 'no'. It's just useful to know what will happen when you type in 'x' command, so as one can expect a 'y' result.

As for vi or vim, I'm afraid to say I'm new to working in UNIX, however, if it's of some use I can tell you that I'm working on a macbook. The two bits of information that show themselves clearly when typing in the 'env' command - if that answers the question - is that it's xterm and a bash (C shell?) ... if that makes any sense?

Maybe you can point me in the direction of vi or vim, if it's of any importance.


Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. HP-UX

@ typing creates new line

Dear Concern, Please go through the article As per the article, we need to initiate below commands. But after creating new session, we face same problem. Please advise. stty intr "^c" stty kill "^u" Please find below... (6 Replies)
Discussion started by: makauser
6 Replies

2. Shell Programming and Scripting

Zero typing problem!

H, I I have this below script for removing the full path from a string which is indeed a filepath location if windows. It converts input \abc\asssh\abc To abc But if filename has 0 like: \abc\abc\00000Hgg Then its typing abc00000Hgg PLEASE note that its solaris. Script is: more... (10 Replies)
Discussion started by: nixhead
10 Replies

3. UNIX for Advanced & Expert Users

Determining typing latency

Hi all, When I use an editor (vi) that is spawned in a remote server, visually I could see the latency between typing a character/word and being displayed on the terminal. I could see this visually but how do I get a metric on this or how to quantify this? As expected, when I type in a editor... (6 Replies)
Discussion started by: matrixmadhan
6 Replies

4. UNIX for Dummies Questions & Answers

Typing in Japanese language

Hi. I am running Solaris 10,HPUX 11.31 and AIX 6.1. I am trying to get my system to write in Japanese. I can choose the Japanese language for the system to display, but I cannot figure out how to write in Japanese. I have set up my system, and Mozilla (including the menu and web pages) to display... (1 Reply)
Discussion started by: meeraramanathan
1 Replies

5. Shell Programming and Scripting

No output to CL when typing in CL.

Hello all, I am in a terminal on Solaris and something weird is happening... When I am typing I can't see what I am typing, although what I am typing is working. As is if I type the command and hit enter, the command runs. Anyone have a clue why or how I can make it display my typing? Is... (2 Replies)
Discussion started by: komputersman
2 Replies

6. UNIX for Advanced & Expert Users

Hiding Passwords while typing..

Hi, We need ur advice,... We are integrating our application (oracle) with OID,and OID is with another team. While integrating they have to provide their 'ADMIN-password' when the script prompts ,But the password they are about type is visible. If this is the case they are denying it,.... Is... (1 Reply)
Discussion started by: rrs
1 Replies

7. UNIX for Dummies Questions & Answers

tab instead of typing in ksh

Does anyone know how to set up ksh, so I can use tab instead of typing every letter out for the commands? Also, how do I set it up, so I can type exit once to exit the shell instead of multiple times. Does anyone know a good reference link for ksh commands? Thank you. (2 Replies)
Discussion started by: Jane@ist
2 Replies

8. Programming

hide password typing

I am doing a project in C program which requires to type in password in Unix terminal. Does anybody know how to shade or not output any words typed by user in the terminal? I use the function scan() to read typing from user. Thanks in advance. (2 Replies)
Discussion started by: ivancheung
2 Replies

Featured Tech Videos