Screen backspace broken, delete ok, backspace and del ok in plain bash

Hi, all, im having a little trouble getting backspace to work in screen session, i have looked up previous messages and everything works fine in normal bash session to server (debian), utf-8 ok, delete ok, backspace ok, but when i launch screen on server side, the backspace is not working, i get visual bell.
On screen session at mac server this is working properly, and on local machine everything is ok.
I tried to set .screenrc file on server containing:
bindkey -d kb stuff \177
bindkey -d kb stuff "\177"
bindkey -d kb stuff ^?
bindkey -d kb stuff `H
(single line every try offcourse), but no solution so far.
I do realise most likely its not os x issue but im have not found working fix on linux sites either, and asking & telling im a mac user closes some doors.
Oh and i should point out, im using mbp and delete combo is fn-backspace, wich is working ok in screen, but plain backspace is the problem.
Any idea's or directions other than google appreciated. Thanks.
.:: Macbook Pro c2d & Maxtor 160Gb fw ::.   Mac OS X (10.4.8)  

Hi Freemem,
   What you didn't say is how you got backspace to work in the Debian shell. I don't know anything about screen but most command line utilities work correctly if you fix the problem at the terminal level rather than the shell level. You can use bindkey in the shell but that isn't always communicated to utilities launched from that shell. (like screen) I don't know if screen will benefit from the following but the preferred way to get the terminal to grok the '^?' control character being sent by the backspace or delete key is to use stty. (this issue is hardly limited to Macs; every machine I use, including RedHat, sends the '^?' control character when the backspace key is pressed) I use the following in my remote shells.
if [ "$-" = "himBH" ]; then
   stty erase ^?
fi
Note that the "^?" should actually be the control character produced by the key sequence, <Control>-v, <Delete>. Also, I've included the test for shell interactivity that I use; you may have to adjust that for Debian. If you copy-and-paste the above, make sure you replace the non-breaking spaces I used for indention at the beginning of the second line with real spaces. Note that I don't use screen so I don't know whether this will help in a screen session but I think it has a good chance; it helps with every app I use.
Gary
~~~~
   Just remember: when you go to court, you are trusting
   your fate to twelve people that weren't smart enough
   to get out of jury duty!

Similar Messages

  • How can I configure CTRL+Backspace to delete the previous word only and not the preceding space?

    The title pretty much explains it all. I'm using a different computer than usually and I'm pretty sure it used to only delete the word and not the space.

    Your observation is correct: Ctrl+BackSpace shouldn't delete the preceding space. However, if words are separated by two spaces, one of those spaces will be deleted.
    Stefan Blom, Microsoft Word MVP
    This is not the observed functionality in every case. It seems that MSWord haphazardly either removes the space or doesn't remove it.
    As an example, if I type "and when" and hit CTRL+Backspace, it will either delete the word only or the word and the space, but in most cases it will remove the space as well ("and when" becomes "and"). It seems to toggle between the two but I have no idea
    what is triggering it.

  • Can a script manually insert a delete (or backspace) into a text area?

    I'm new to action script, so this may have a simple answer, sorry if that's the case.
    I have a little movie created with a simple purpose of trying to mimic a system like cell phones have for character input.
    There are two text areas, one hidden off the screen that accepts the input from the user; a second text area in on screen and displays what the user had entered after some basic processing on the input.
    The hidden text area is pretty basic with listener that is responsible for grabbing the input keys and then mangling them to be inserted into the displayed text area based on the cell phone text entry multi-tap rules. Example user press 2-2-2  and the hidden input accepts 222 and then appends 'C' to the display text area. That's working great, but I have a problem if the user wants to delete from the display text area. I can't find a way to insert a delete or backspace key into the display text area. I've tried using StringFromCharCode (8) // Key.BACKSPACE, but that doesn't work. That just displays one of those undefined glyphs. I figure that things like clear, and delete are handled somewhere higher in the input chain and that's where I'm having a problem.
    I've looked, but I can't find a way to delete a single character from the text area. I was thinking if I could find the cursor location that I could just use some delete character method to get the job done, but I couldn't find how to do that.
    Any ideas on how to pull off manual delete function in a text area?

    Ned, I do really want to manually (by method of code) trigger a delete in a text area. The delete (or backspace) that I want added to the text area isn't directly entered by the user, it's the result of several key presses by the user. That's why I called it "manual" because it's done by the code, not by the user's direct input.
    Think about how text entry works on most phones... if you want to enter a letter you have to cycle through all the letters on a single key until you get to the character desired. As I stated before, if you want a 'c' you need to press 2 button 3 times. This is basically what I'm trying to do, but I want to add the ability to delete a character too if the correct sequence in entered, for example a sequence of ### would equal a backspace.
    Rothrock, I think you were thinking the same thing that a single key is used to do a backspace.
    I was thinking that I could possibly insert key event into the event queue for the text area to process, but I wasn't sure about that.
    Sorry, if this is confusing, I know it's not a straight forward design. I need onscreen and offscreen text areas with the onscreen one acting as a slave of the offscreen one.
    The way the code currently works is hidden text area had a listner that responds to changes, and that handler processes the key entered and deletes that character from the hidden text area. After the full sequence of characters (say 2 button has been pressed 3 times) the handler then sends the resulting character into the display text area. This part of the code works great. I can add any character including some specials like tab and newline. However if I want the text area to delete a character I don't have a way to do that. That's why I tried to insert the backspace key (0x08 or ^H, for other oldschoolers), but using that as a char code or string from char code doesn't work.
    I had also tried to create to set the focus to the display text area then create and dispatch a backspace keydown and keyup events to the visible text area and then return the focus back to the hidden textarea, but... no luck.

  • My iPod 4th gen has been broken for at least 2 years, the screen is broken so it won't spence me touching it but it still turns on, I have heaps of photos and vidios I would like to look at but my laptop is inked it to broke, I also have a pass code on it

    My iPod 4th gen has been broken for at least 2 years, the screen is broken so it won't sense me touching it but it still turns on, I have heaps of photos and vidios I would like to look at but my laptop that it was synced to is broke, I also have a pass code on my ipod. Is there anything I can do!

    Photos
    - If they are in an iPod backup then restore another iPod, iPhne or iPad from that backup. See the restore topic of:
    iOS: How to back up
    - Maybe from the restored iPod via
    How to perform iPad recovery for photos, videos
    Wondershare Dr.Fone for iOS: iPhone Data Recovery - Wondershare Official     
    http://www.amacsoft.com/ipod-data-recovery.html
    iPod recovery software to restore lost music files      
    -iPod touch Deleted Photo Recovery Tips You Should Know
    To restore the iPod:
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    You can also contact a Data Recovery Company

  • While typing in an email, I can not delete or backspace a single letter. When I delete one letter, the whole line disappear.

    While typing in an email, I can not delete or backspace a single letter. When I delete one letter, the whole line disappear. I am using Window 7 and latest Firefox.
    == This happened ==
    Every time Firefox opened
    == Using Firefox on my new machine with Window 7.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • I dropped my macbook pro and the screen is broken can i still use it with an external monitor? Or can I or how do I transfer hard drive files to my mac mini?

    I dropped my 17" macbook pro and the screen is broken. Can I still use it with an external monitor? When I plugged it into a monitor I had used it with before, I'm not able to see anything on the macbook screen to control it. It came on but I just got the blue screen with nothing else after typing in my password. (Didn't see the password form just assumed it was there somewhere and it did go from space to blue screen but no desktop icons, files, dock strip at top or anything else, just blank blue screen) so I can't access the system preferences.
    Or can I / or how do I, transfer hard drive files to my mac mini? If not salvageable as is can I pull out the hard drive and make it an external harddrive? In otherwords is anything salvageable? It seems it's coming on I just can't access anything. BTW I was told it would cost aprox $1000 to replace the screen! I paid almost $4000 for this thing and it was running great - makes me sick to lose it!

    I'd like to promise you that everything will be fine if you just get the monitor going - but it's hard to know what the hardware damage might be. It might be the monitor, or the damage might be greater.
    Your best solution would be visit your local Apple Store and let them know what your situation is. They have access to diagnostics you don't, and they might be able to the best way to save your data and keep you computing. It's still not covered, but they can tell you what your current options are.
    Um, you might consider investing in a backup drive.
    And there other repair options, too. Powerbook Medic http://www.powerbookmedic.com/xcart1/pages.php?pageid=67 offers reliable repairs, and quotes prices well under Apple's.

  • I cant back up my iPhone, as it needs a password but my screen is broken and i cant put in a password

    I cant back up my iPhone, as it needs a password but my screen is broken and i cant put in a password, is there anyways around this situation

    If your phone is locked because you entered passcode wrong too many times then you need to restore as new  and data will be lost
    http://support.apple.com/kb/ht1212

  • How do I restore my ipod to factory settings, but I have a passcode lock, and my screen is broken so I can't type in my password when I connect to itunes?

    Okay so I have had my ipod 4th gen for almost 2 years buy the screen has fallen out of the back casing, (I bought it as refurbished) and I am trying to reset it to factory settings, so when I get a new one I can register my device on apps/games since some apps require that you can only register on one device, but I think the thing that connects to the screen is ripped so the screen won't turn on and I can't physically touch it. What I want to know is how can I restore it with me not being able to type in the password lock since the screen is broken?
    or is there a way to disable the passcode lock through the computer?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • I cannot sync my phone because my device is locked and the screen is broken. how can i get around this?

    My screen on my iPhone 5s 16g has broken and i just received a new one in the mail. i want to sync my old phone to iTunes so i can restore my new one, but cannot sync do to the fact that my screen is broken and i am unable to unlock the phone… how can i get around this?

    You don't. If you use a 3rd party to "fix it" or attempt to do it yourself, Apple will reject the return and charge you the full price of the phone as if you had not returned it at all.
    It's too late. You should have been backing up before it failed.

  • My ipod touch screen is broken and whenever i press the lock screen button, the screen is white, what can i do to fix this?

    so my ipod touch screen is broken, and whenver i try to unlock the ipod screen, all that i can see is the top right hand corner of my ipod, and the rest is all whited out. Also, the jack which support the headphones to stay in place, one of the balls in the jack is pushed in which causes the headphones and stereo jack to slip all the time. I also have a problem which is when i try to sync my ipod to itunes. Last time i did it(which was 4 years ago), i synced my ipod and i started out with 225 songs, after the syncing process was complete, i ended up with 119 songs. I'm afraid to resync my ipod or back up my ipod to a computer because i dont want to lose the wonderful collection of 589 songs i have now. I'd really appreciate it if i got some feedback. Thanks.

    Apple will exchange your iPod for a refurbished one for this price. They do not fix yours.
    Apple - iPod Repair price                                    
    A third-party place like the following maybe less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens         
    Replace the screen and headphone jack yourself if you are up to it
      iPod Touch Repair – iFixit          

  • PLEASE HELP! My screen is broken and I need to sync!

    My screen broke, everything else is working fine, and I want to sync the broken phone with the computer one last time. I need the phone numbers. I have a Palm 755P from Verizon.
    I have the plug that is the USB end connected to my computer, and the prong thing that attaches to the bottom of the device with a "sync bottom" on it. My touch screen is broken and is many shades of vibrant color
    Is there a way to perform sync or navigate through menus without using the screen? Please help!

    I am connected to a Mac with OS 10.4. Thank  you!

  • My touch screen is broken and i need to back my files up but it wont let me connect to itunes because i have a passcode on my phone which i cant enter because my screen is broke

    my touch screen is broken and i need to back my files up but it wont let me connect to itunes because i have a passcode on my phone which i cant enter because my screen is broke

    Bummer. Hope you've been backing up to iCloud so you can restore your information after you get the phone replaced.

  • My iphone 4s' screen in broken, without dropping it.it just went hazy white to dark green and i can no longer see my screen, can i have a screen replacement?

    My iphone 4s' screen is broken. I haven't dropped it or anything, or else it must've shown through its physical appearance. It just went into hazy white and green and now i cannot use it. Can i have a replacement for it? Thanks

    Apple doesn't replace the screen, they replace the entire phone.  If you've tried the basics (restart, reset, restore from backup, restore as new) and your screen is still broken, bring it to Apple for replacement.  If you're not in the warranty period, you will pay $199 for the replacement.

  • HT1212 my iphone screen is broken and i need to access it through itunes but my phone is locked. it cannot be unlocked on the screen but is there any way i can do it on itunes?

    my iphone screen is broken and i need to access it through itunes but my phone is locked. it cannot be unlocked on the screen but is there any way i can do it on itunes so i can access it?

    Depends, if you've synced with this iTunes, while that passcode was enabled, you won't be prompted to enter the passcode when connecting your phone. If you have not synced, while that passcode was enabled, you will. So, if you fall in the later, there is no way to do what you want.

  • Have a problem with my MacBook Pro.5,3 and monitor.  Intermittently, the desk top screen becomes broken up into vertical sections, which appear in the wrong order, creating a haphazard picture.    The Apple icon, usually at top left corner, appears in to

    have a problem with my MacBook Pro.5,3 and monitor.  Intermittently, the desk top screen becomes broken up into vertical sections, which appear in the wrong order, creating a haphazard picture.
    The Apple icon, usually at top left corner, appears in top right corner  in a strip including all that left hand.  When the computer is restarted, the screen goes back to normal.  But I have to move the mouse to the far left of the screen and then up until it reappears on the far right hand side of the screen so that I can hit shut down button.
    It seems to happen randomly though always on desk top and sometimes when I move mouse and computer switches on from rest mode.   My large flat screen is relatively new.
    The video card on this computer, which is approximately two years old, is Nvidia FeForce 9400M.
    Any help would be welcome as my usual source of assistance is not available and I am not well versed in workings of the Mac although I have used one for many years.

    That sounds like a Hardware problem.
    You may be able to confirm that with Apple Hardware Test, or make an appointmenst for a free Genius Bar evaluation.

Maybe you are looking for