Terminal's line wrap turned off globally?

Hi, I've had a problem that's been bugging me since 10.6 came out.
I have to log onto HP switches as part of my job, and their weird command line interface disables line wrap on the terminal window. Fair enough, they can do what they want, once I'm finished I just close the window and start another.
However, since 10.6 came along, when the HP sends the sequence to disable line wrap, it disables line wrap in all open windows. New windows opened after this are fine, but all windows open at the time (including to all the non-HP network equipment I have to manage) lose any text that goes past the end of the line, instead of wrapping.
I'm getting sick of having to close all my windows and re-log in to all my other sessions after I have to log into an HP switch.
To head off any comments about terminal prompts (since that's what most of my searches turn up), I use tcsh with the very boring prompt "%m%# ". It's not that.

Terminal and general Unix oriented questions are best asked in the Mac OS X Technologies > Unix Forum
<http://discussions.apple.com/forum.jspa?forumID=735>
I do not know what is happening with Terminal, but you could try (even as an experiment) iTerm (free download)
<http://iterm.sourceforge.net/>
iTerm is my preferred terminal emulator. At work, I typically have 2 iTerm windows, and each window has about 8 to 10 tabbed sessions ssh'ed into at least 7 different systems (Macs, Linux, Solaris, AIX, to name a few). Lucky for me, my current emplorer has not made me work the HP-UX Yet!
Message was edited by: BobHarris

Similar Messages

  • Terminal's line wrap turned off globally instead of per window?

    Hi, I've had a problem that's been bugging me since 10.6 came out.
    I have to log onto HP switches as part of my job, and their weird command line interface disables line wrap on the terminal window. Fair enough, they can do what they want, once I'm finished I just close the window.
    However, since 10.6 came along, when the HP sends the sequence to disable line wrap, it disables line wrap in all open windows. New windows opened after this are fine, but all windows open at the time (including to all the non-HP network equipment I have to manage) lose any text that goes past the end of the line, instead of wrapping. Note it's lost, it's not overwriting the last character on the line.
    This feels like a bug to me where something that's supposed to apply to a single window is applying to all. I'm getting frustrated having to close all my windows and re-log in to all my other sessions after I have to log into an HP switch.
    To head off any comments about terminal prompts (since that's what most of my searches turn up), I use tcsh with the very boring prompt "%m%# ". It's not that.

    Besides my previous iTerm suggestion in your original Snow Leopard forum post, you could try adding the following to your prompt
    set prompt="%{e[?7h%}%m%# " # enable auto wrap with each prompt
    This way each time you get your tcsh prompt, it will reset the autowrap mode.
    I tried this, and it seems to work.
    I got the escape codes from HP
    <http://h30097.www3.hp.com/docs/basedoc/DOCUMENTATION/V50A_HTML/MAN/MAN5/0036___.HTM>
    Well HP didn't actually write them, but rather written by Digital Equipment Corporation for Digital UNIX (formally OFS/1), but then it became Compaq Tru64 UNIX, and then finally HP Tru64 UNIX, where HP is successfully killing the product.

  • Is there a way to turn off global ...

    if you hold down the ctrl key and uncheck a song it unchecks the entire playlist, i have accidentaly done this twice now, even tho i backup the play list it never comes back the same, not quite sure how i keep doing this but i do (prob just rest my hand there) anyway is it poss?

    great answer, god dont know why i didnt think of that (actually never noticed that option) still wish i could turn it off tho
    thanks!!

  • Acrobat XI, Edit Text ... can you turn off line wrapping?

    Just upgraded from Acrobat X Pro to XI Pro ... any way to toggle line-wrapping on & off in edit text mode?
    I appreciate that XI has much livelier text editing, but sometimes I don't want the text to be that lively.
    Making a simple tweak in text often changes line wrapping on totally other lines in a paragraph, even if the line with the change doesn't wrap differently. Nothing about the font or character spacing appears to change, just the paragraph right border.
    Often the original line wrapping can be restored by adjusting the paragraph object's right border back to where it was, but sometimes that introduces even more line wrapping differences. Any way to make this more stable?

    That's Text Chat window open > View menu > Messages sub set.
    7:23 PM Monday; October 29, 2007

  • Can I turn off mouse battery low notification

    I use rechargeable batteries in my Magic Mouse and I use to have no problems but since upgrading (from 10.6.8 to 10.10) I keep getting notifications on screen that my battery is low even if I just charged them. Now, I know it's due to the voltage difference in rechargeables but I would like to just turn off that little pop up that keeps popping up on screen I click on it to hide it but it just keeps coming back and it's annoying.
    What's funny is the battery is fully charged and the menu says 0% battery and has said that through 2 weeks of heavy use. If I swap them out for newly charged batteries it still says the batteries are at 0%.

    Yes - have checked them all and there's nothing to check or uncheck. This is one of those little things that's annoying and turns out it annoys lots of people given the number of requests for solutions in this forum and non-Apple forums. Apparently this issue has become worse with each OS upgrade. I have tested OS identified problem batteries and found plenty of charge. Besides the interval between when the notifications start and when the batteries fail is quite long.
    Many suggestions including Terminal scripts suggest simply turning off Notifications completely but that means loss of something useful.
    What is wanted is to allow the notification re declining trackpad, mouse, keyboard battery power is to show itself, let it be clicked close, and to stop popping up all the time.
    I did go to a Genius Bar for help (bit hard to demonstrate without the iMac being there) and the Genius didn't think there was such a problem. Having had Geniuses give themselves away in never looking at Apple Support Forums, I came prepared with links to this issue raised on this and other posts. Amazed he decided that maybe there is a problem/issue, could not find anyone to suggest a solution, but suggested I put in a feedback form. I think Apple people look at these even less than they look at the Support Forums, and so that is why I was looking to the Apple User community for a solution.

  • How can I turn off word wrap in the View Source output?

    I'm trying to extract HTML from Word and one way to do that is to save the Word file as a .htm file and then View Source in a browser and copy that. But the words are wrapped in the View Source file. I want each paragraph to be all on one line. Is there a setting for the View Source feature that will turn off word wrap?
    Once I have that done and copied into a plain text editor, I will use Search>Replace to get rid of all the stuff Word puts there and just end up with the simple paragraph tags at the end of each paragraph, all on one line.

    You can disable wrapping and syntax highlighting in the View menu in the Edit > View Source window.

  • This pops up when exporting in iMovie "Unable to prepare project for publishing: The project could not be prepared for publishing because an error occurred. (ParamErr: error in user parameter list)" I have turned off my Time Machine in terminal.

    This pops up when exporting in iMovie "Unable to prepare project for publishing: The project could not be prepared for publishing because an error occurred. (ParamErr: error in user parameter list)" I have turned off my Time Machine in terminal yet it remains. What do I do, I need your help PLEASE.

    Hi
    Error -50 paramErr  Error in user parameter list
    Can there be any external hard disks - if so How is/are it/they formatted ? Must be Mac OS Extended (hfs) if used for Video.
    UNIX/DOS/FAT32/Mac OS Exchange - works for most but not for VIDEO.
    What this means in Your situation is above me.
    • free space on internal boot hard disk? How much ?
    Video codec
    • streamingDV, AIC etc. (not .avi, .mp4, .m4v, .wmv etc as they are containers not codecs)
    Pictures
    • in what format ? .jpg, .bmp, .tif, else ?
    Audio
    • from where/what format ? iTunes, .avi, .mp3, .aiff, else ?
    The "com.apple.iMovie.plist" file
    Many users has not observed that there are TWO libraries.
    • Library - at root level
    • Library - in user/account folder - THIS IS THE ONE to look into
    from Luke Burns
    I fixed the problem.. but it was very, very strange. I had a very long section for credits and set the line spacing to 1.0.. for some reason this caused it. I removed it, and it worked fine. I put it back, and I couldn't preview or play the video.
    I don't know why that could cause that big of a problem, but it did..
    Klaus1
    You need more free space on your hard drive.
    jonorparkerjon
    After phone support from apple I ended up creating a new project and adding all 117 clips back in individually till I found out what clips flagged and would not allow me to export. I had 3 I deleted and replaced and everything works now 1hr after tedious work....
    Where do Your material come from
    • Camera
    • External hard disk
    • USB-memory
    And all are connected so that iMovie can find it ?
    Yours Bengt W

  • Disable Line wrap in Terminal

    How do you disable line wrap in bash? As in
    $ls -la
    or
    mysql> select * from db;
    displaying exceedingly lengthy data. Or perhaps readline options to disable wrapping?
    May be just a horizontal scroll bar in Terminal?

    Thanks for responding. I believe that setting is for input not output. Plus it is on. I think terminal needs a horizontal scrool bar.
    $ bind -v
    set bind-tty-special-chars on
    set blink-matching-paren on
    set byte-oriented off
    set completion-ignore-case off
    set convert-meta off
    set disable-completion off
    set enable-keypad off
    set expand-tilde off
    set history-preserve-point off
    set horizontal-scroll-mode on
    set input-meta on
    set mark-directories on
    set mark-modified-lines off
    set mark-symlinked-directories off
    set match-hidden-files on
    set meta-flag on
    set output-meta on
    set page-completions on
    set prefer-visible-bell on
    set print-completions-horizontally off
    set show-all-if-ambiguous off
    set show-all-if-unmodified off
    set visible-stats off
    set bell-style audible
    set comment-begin #
    set completion-query-items 100
    set editing-mode emacs
    set keymap emacs

  • Speed up your OS... turn Autosave & Versions off globally

    If you're experiencing slow opening apps or windows since upgrading to Mountain Lion... as I have... and you don't want your OS to automatically save your TextEdit files, etc. then simply disable Autosave and Versions via Terminal.
    Open Terminal and enter this command which will turn off Autosave & Versions globally:
    defaults write -g ApplePersistence -bool no
    Now reboot.
    Voila!
    I experienced a very noticeable speed increase when opening apps and even opening some previously slow opening Dock folders after doing the above.
    If for some reason in the future you want to turn Autosave and Versions back on just change 'no' to 'yes'
    Feel the speed!

    Haha, no Ron, 'suspect' was just me being polite.
    This terminal command has been around for a while, at least since 10.7.3 as I recall. The only thing I don't know is exactly why it runs up against this error. My suspicion is that when Autosave and/or Versions tries to save (and they're not the same thing, BTW — Versions saves to /.DocumentRevisions-V100; Autosave saves to ~/Library/Saved Application State), that global default setting is conflicting with another CoreServices app or process.
    Regarding permissions, the problem with this is well-known and quite widespread, as another poster has already found out.

  • My IPhone 5 will not turn on, I had a new screen I stalled, all working great, the next day I was flying so turn off the phone and since trying to turn back in again,,, I receive many lines of white text stating incorrect shutdown please help

    hhello, please help if you can,,,
    i had a new screen installed, everything working fine, as was using the phone, the next day I was flying so turn off the phone in the usual way...
    oon arrival turned the phone on, received a slow acting black background with the apple sign visual, but never moved from that......... So tried a reset still the same just left looking at the apple sing in the middle if the screen,makes it there for 5 mins but still never turn on completely,,,,,
    again I tried,,,,,, again I tried a reset, then started to received lines of white writing, about 4-5 lines slowly like it was being typed, which stateed INCORRECT SHUTDOWN, ????????? then took out my MacBook air, to connect to ITunes to see whaypt I could do,
    i tunes did not find the phone as would normally so opened ITunes manually, still did not find the Iphone,,,,,
    Any Ideas please, as it is useless stuck in the drawer, I am an apple user, an quite knowledgable having other Iphine 5, IPad air and Mac,,,,, I am stuck,,,,
    PLease Help,my hank you in advance

    SharmFarm wrote:
    Good ev Ning Mario49    firstly I would like to say a great thank you for your attention to trying to help me,,,,,    i have looked at the links and will try everything stated first thing…
    Hi Mario,,,,
    I tried everything in your reply,,, thank you again,, I had done that once before and all was working great,,
    I have just now tried the Reinstall via iTunes, about 20 into the download, the iTunes logo on the phone disappeared, and the Apple Logo appeared again,,, I waited until the iTunes stated that the download had finished, and the install was in progress,,,
    Nothing happened, still the Apple Logo was visual on the screen, iTunes never recognised the phone which it was on my iTunes account previously,,,
    Still just a bunch of lines, maybe 5 or 6 so small writing,, I personally can not read what it is telling me, someone said it reads, incorrect shutdown,,,????????
    Please advise,???
    I am now at a loss,,, I really became excited when I saw the iTunes icon after putting the phone into restore,,,???
    Thank you again
    D

  • MacBook pro doesnt start. When I start my lap top, it shows the apple and the line uploading but it only goes like to 1/3 and then it goes blank for some seconds, then it turns off by itself and turn on again and happen the same, apple logo, etc

    MacBook Pro doesnt start. When I start my lap top, it shows the apple and the line uploading but it only goes like to 1/3 and then it goes blank for some seconds, then it turns off by itself and turn on again and happen the same, apple logo, line .. the noise like-fan going on, then turn off and turn on again. Tried starting holding option command P and R key and didnt work either. Starting to think I have lost all my data inside

    Try a SMC reset.
    http://support.apple.com/kb/ht3964
    It might be helpful if you indicated the exact model/year of your MBP.  Are you running Lion OSX?
    Ciao.

  • How do i turn off TFS adding bulds to Global List? and or to the "Found In" drop down in work items?

    We do not use the standard TFS build definitions in our drop downs, and have scripted updating the global list with our standard build numbers. However, we get both the TFS builds and our build numbers in the "Found In" field of work items. How
    do I disable TFS automatically adding the "Builds - " list into the "Found In" field Rules? and or updating the Global List?

    Hi CRHill,  
    Thanks for your post.
    What’s the version of your TFS Server?
    What’s the “not use the standard TFS Build definitions in our drop downs” mean? 
    You’re using the TFS Build Definition to build your solution but not use the default TFS build process template in it?
    If you don’t use TFS build definitions to build  your solution, how the TFS builds’ numbers be generated and added in team project Global list?
    As far as I know all the completed TFS build numbers will be added in to team project Global list by default, and there’s no a default way to turn off that in TFS Server. Please refer to the workaround in this article:
    http://readcommit.blogspot.com/2008/04/found-in-build-team-build-list-make-it.html.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • My iphone 4S only start whit cable plug in and then show battery very low (with red line end) then try to turn on but show searching in operator name command and not connecting and no work properly and when I plug out it turn off!!! what should I do?

    My iphone 4S only start whit cable plug in and then show battery very low (with red line end) then try to turn on but show searching in operator name command and not connecting and no work properly and when I plug out it turn off!!! what should I do?

    I'm afraid you'll have to get the phone serviced, dropping the phone must have damaged additional parts inside the phone.
    But Apple will not service the phone anymore, opening the phone and replacing the battery should only be done by authorized personal, not by users.
    You'll have to look for a 3rd party repair shop and see if they can fix this, sorry.

  • How can I turn off the 2 blue lines running vertically in my image in Photoshop?

    How can I turn off the 2 blue lines running vertically through my image in Photoshop? I want to save my work but do not know if these lines will persist in the saved image.

    normfb wrote:
    I assume the Rulers are showing. In that case, to get rid of each line use the Move tool to straddle the line and drag it whence it came. I really didn't need to add this comment but it is the first time in years I have had a chance to use the word "whence".
    Is this a guide I see before me? Doeth it conspire to confuseth mine eyes with sapphire lines that afoul my worthy parchment, and draw my quill from its righteous path? Be gone foul guide from whence thou cometh.  Verily, forsooth, and hey nonny nonny.

  • How to turn off Bluetooth adapter via command line or script?

    I'm trying to write a batch script that will be able to turn on/off any connected Bluetooth adapters.
    In the "Bluetooth Settings" window, how can I change the "Turn off Bluetooth adapter" setting via command line or script?
    Due to my account not being verified yet, I cannot post a screenshot.  I will update this thread as soon as my account is verified.

    get-service -DisplayName 'Bluetooth Support Service' | Stop-Service
    ¯\_(ツ)_/¯

Maybe you are looking for

  • I dont see the point of using Ant Build compared to executable Jars?

    I always think that to complete a project you successfully build it. And i thought that building is done automatically if you create an executable JAR? So what is ANT for? Arent Executables is the same as building your project?

  • Purchases from multiple iTunes stores (different countries)

    Do I have to have  a new/different accounts to bye from iTunes in the US? My account is Norwegian. I tired to by from the US store but it said that i only could by from the Norwegian store. When I tried to make another account for the US store it sai

  • Recent Booting up Problems

    Hey guys, I've been using a windows XP partition on my Macbook Pro for a few years now occasionally for gaming, otherwise I just use the standard Mac OS. I've run into a new problem. I was using it today, and went to the washroom. As I was returning,

  • An error occurred while USB device is connected to your Horizon View 6.1 desktop

    Hi, Recently we upgraded View from 5.3 to 6.1. Currently I use the virtual desktop agent 5.3.3 (VMware-viewagent-x86_64-5.3.3-2299613). USB redirection works fine. If I update the agent to 6.1 (VMware-viewagent-x86_64-6.1.0-2509441), the USB redirect

  • IPhoto update and Won't open and lost all of my images !?!

    I'm a photography student and store my images in iphoto, I updated it today, once its finished I go to look in iphoto and it says that my mac is too old for the newer version! ITS LESS THAN 6 MONTHS OLD! I then went onto finder to see if my images ar